Bug Report: Stack overflow in sae_displ and eapol_logoff tasks on ESP32-C5
Hardware: ESP32-C5 (Predator board)
Firmware: GhostESP Revival v1.9.8 (Build config: default.esp32c5)
Steps to reproduce:
- Connect to a WPA3 network
- Run
saeflood
- Board crashes with: "Guru Meditation Error: Core 0 panic'ed (Stack protection fault)"
Detected in task "sae_displ"
Same issue occurs with:
attack -e (EAPOL Logoff) crashes in task "eapol_logoff"
Root cause:
Stack size for both tasks is too small (2048 bytes). Needs to be increased to at least 4096 or 8192.
Suggested fix:
In main/attacks/wifi/sae_flood.c:
xTaskCreate(sae_flood_display_task, "sae_displ", 2048, ...) → change to 4096
In main/attacks/wifi/eapol_logoff.c:
xTaskCreate(eapol_logoff_task, "eapol_logoff", 2048, ...) → change to 4096
Additional issue:
The LVGL build system is broken for ESP32-C5, preventing users from recompiling with the fix. Please also check LVGL configuration (lv_font_montserrat_14 macro conflict).
Logs attached.
Please increase stack sizes and fix the LVGL build for ESP32-C5.
[serial_log_1778413962551.txt](https://github.com/user-attachments/files/27567171/serial_log_1778413962551.txt
serial_log_1778414104722.txt
Bug Report: Stack overflow in sae_displ and eapol_logoff tasks on ESP32-C5
Hardware: ESP32-C5 (Predator board)
Firmware: GhostESP Revival v1.9.8 (Build config: default.esp32c5)
Steps to reproduce:
saefloodDetected in task "sae_displ"
Same issue occurs with:
attack -e(EAPOL Logoff) crashes in task "eapol_logoff"Root cause:
Stack size for both tasks is too small (2048 bytes). Needs to be increased to at least 4096 or 8192.
Suggested fix:
In main/attacks/wifi/sae_flood.c:
xTaskCreate(sae_flood_display_task, "sae_displ", 2048, ...) → change to 4096
In main/attacks/wifi/eapol_logoff.c:
xTaskCreate(eapol_logoff_task, "eapol_logoff", 2048, ...) → change to 4096
Additional issue:
The LVGL build system is broken for ESP32-C5, preventing users from recompiling with the fix. Please also check LVGL configuration (lv_font_montserrat_14 macro conflict).
Logs attached.
Please increase stack sizes and fix the LVGL build for ESP32-C5.
[serial_log_1778413962551.txt](https://github.com/user-attachments/files/27567171/serial_log_1778413962551.txt
serial_log_1778414104722.txt