@Mauro ********
I found this online for you
The Immigration Bureau of Thailand has announced a temporary waiver of overstay fines for foreign tourists trapped by the flooding in eight southern provinces (including the province containing Hat Yai). This suggests that many travellers are unable to leave, likely because transport and crossing points are disrupted. 
• Some “immigration offices affected by flooding” are reportedly being restored “as soon as possible” to resume services.