-
Notifications
You must be signed in to change notification settings - Fork 6.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
drivers/wifi/espat: Invalid parameter checks lead to system crashes #81804
Labels
area: Wi-Fi
Wi-Fi
bug
The issue is a bug, or the PR is fixing a bug
priority: low
Low impact/importance bug
Comments
hongquan-prog
added a commit
to hongquan-prog/zephyr
that referenced
this issue
Nov 23, 2024
The code for checking the null pointer is incorrect, with ESP_AT_CIPDINFO_USE turned on, after a soft reboot of the host and before a reboot of ESP32, the host may receive an incorrect IPD message causing a system crash. Fixes zephyrproject-rtos#81804 Signed-off-by: Hongquan Li <[email protected]>
hongquan-prog
added a commit
to hongquan-prog/zephyr
that referenced
this issue
Nov 29, 2024
The code for checking the null pointer is incorrect, with ESP_AT_CIPDINFO_USE turned on, after a soft reboot of the host and before a reboot of ESP32, the host may receive an incorrect IPD message causing a system crash. Fixes zephyrproject-rtos#81804 Signed-off-by: Hongquan Li <[email protected]>
hongquan-prog
added a commit
to hongquan-prog/zephyr
that referenced
this issue
Dec 1, 2024
The code for checking the null pointer is incorrect, with ESP_AT_CIPDINFO_USE turned on, after a soft reboot of the host and before a reboot of ESP32, the host may receive an incorrect IPD message causing a system crash. Fixes zephyrproject-rtos#81804 Signed-off-by: Hongquan Li <[email protected]>
hongquan-prog
added a commit
to hongquan-prog/zephyr
that referenced
this issue
Dec 2, 2024
The code for checking the null pointer is incorrect, with ESP_AT_CIPDINFO_USE turned on, after a soft reboot of the host and before a reboot of ESP32, the host may receive an incorrect IPD message causing a system crash. Fixes zephyrproject-rtos#81804 Signed-off-by: Hongquan Li <[email protected]>
hongquan-prog
added a commit
to hongquan-prog/zephyr
that referenced
this issue
Dec 2, 2024
The code for checking the null pointer is incorrect, with ESP_AT_CIPDINFO_USE turned on, after a soft reboot of the host and before a reboot of ESP32, the host may receive an incorrect IPD message causing a system crash. Fixes zephyrproject-rtos#81804 Signed-off-by: Hongquan Li <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
area: Wi-Fi
Wi-Fi
bug
The issue is a bug, or the PR is fixing a bug
priority: low
Low impact/importance bug
Describe the bug
If the system opens the ESP_AT_CIPDINFO_USE option, when the host side
reboot may receive some invalid IPD information (esp32 has not been restarted),
at this time, because the system has just booted up, IPD in the link id does
not exist in the host side, it will execute the following code, but due to the
return value checking logic is incorrect, and continue to use the null pointer
to cause the system to crash.
Expected behavior
The system is booting up normally.
Impact
Until the host side restarts esp32, the host side may receive some messages from IPD causing the system to crash
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: