zephyrproject-rtos / zephyr

Primary Git Repository for the Zephyr Project. Zephyr is a new generation, scalable, optimized, secure RTOS for multiple hardware architectures.
https://docs.zephyrproject.org
Apache License 2.0
10.5k stars 6.43k forks source link

WiFi ESP_AT: SecureFault on WiFi Disconnects #76523

Open ligogeorge opened 1 month ago

ligogeorge commented 1 month ago

Describe the bug

ESP_AT WiFi driver causing secure fault on WiFi disconnects.

image

To Reproduce Steps to reproduce the behavior:

  1. Add ESP_AT WiFi driver with TFM enabled
  2. Connect to WiFi
  3. Perform a DNS Query
  4. Disconnect WiFi

Expected behavior

WiFi disconnect should not cause any hard fault. Impact

This causes unintentional reboots. Logs and console output

Environment (please complete the following information):

Additional context

github-actions[bot] commented 1 month ago

Hi @lijoppans! We appreciate you submitting your first issue for our open-source project. 🌟

Even though I'm a bot, I can assure you that the whole community is genuinely grateful for your time and effort. 🤖💙

rftafas commented 3 weeks ago

Environment (please complete the following information):

  • Using nRF SDK v2.6.1

Maybe this should be plaftorm: nRF.

ligogeorge commented 3 weeks ago

nRF SDK 2.6.x implies corresponding Zephyr version 3.6.x.

It looks like this fault is not happening on Zephyr 3.7.0 (nRF SDK 2.7.0), but ESP AT code looks same, probably Zephyr layers handling it.

rftafas commented 3 weeks ago

ESP-AT runs ESP-IDF and it is not related to Platform:ESP32 (which is Zephyr on ESP32). This gets the right eyes with the right label.