This commit closes #11738. Actual fix is tracked in: https://github.com/espressif/esp-hal-3rdparty/pull/2