CVE-2024-57991: wifi: rtw89: chan: fix soft lockup in rtw89_entity_recalc_mgnt_roles()
In the Linux kernel, the following vulnerability has been resolved:
wifi: rtw89: chan: fix soft lockup in rtw89_entity_recalc_mgnt_roles()
During rtw89_entity_recalc_mgnt_roles(), there is a normalizing process
which will re-order the list if an entry with target pattern is found.
And once one is found, should have aborted the list_for_each_entry. But,
`break` just aborted the inner for-loop. The outer list_for_each_entry
still continues. Normally, only the first entry will match the target
pattern, and the re-ordering will change nothing, so there won't be
soft lockup. However, in some special cases, soft lockup would happen.
Fix it by `goto fill` to break from the list_for_each_entry.
The following is a sample of kernel log for this problem.
watchdog: BUG: soft lockup - CPU#1 stuck for 26s! [wpa_supplicant:2055]
[...]
RIP: 0010:rtw89_entity_recalc ([...] chan.c:392 chan.c:479) rtw89_core
[...]
Security readout for executives and security teams
Plain-English summary
This Linux kernel Wi-Fi driver flaw can cause a system soft lockup, creating a denial-of-service risk on affected systems using the rtw89 Realtek Wi-Fi driver. It does not indicate data theft or privilege escalation in the provided sources.
Executive priority
Treat as a targeted availability issue, not a broad data compromise. Patch affected Linux endpoints during normal security maintenance, with higher priority for systems where Wi-Fi downtime disrupts operations.
Technical view
The bug is in rtw89_entity_recalc_mgnt_roles(). During list reordering, a break exits only an inner loop, allowing the outer list iteration to continue after normalization. In special cases this can cause a soft lockup, with logs showing wpa_supplicant stuck in rtw89 code.
Likely exposure
Exposure appears limited to affected Linux kernels using the rtw89 Wi-Fi driver. The source lists Linux 6.13, 6.13.2, and 6.14-related affected version data, plus fixing stable commits.
Exploitation context
The CVSS vector is local, low complexity, low privileges, no user interaction, with high availability impact. KEV is false, and the supplied sources do not report active exploitation or public exploit use.
Researcher notes
The source evidence is concise and kernel-specific. It supports a denial-of-service assessment through soft lockup, but does not provide affected hardware lists, distribution status, exploit reports, or operational workarounds beyond applying the fix.
Mitigation direction
Update to a kernel or distro package containing the referenced stable fixes.
Check Linux distribution advisories for the backported fix status.
Prioritize laptops, workstations, or appliances using Realtek rtw89 Wi-Fi hardware.
Where feasible, avoid affected rtw89 Wi-Fi use until patched.
Monitor kernel logs for soft lockup messages involving rtw89 code.
Validation and detection
Inventory systems running affected Linux kernel versions.
Confirm whether the rtw89 driver is loaded or required.
Verify the running kernel includes one of the referenced stable commits or vendor backport.
Review kernel logs for rtw89_entity_recalc or soft lockup messages.
Confirm remediation after reboot into the patched kernel.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cve · low confidence lookup
CVE-2024-57991 mapping review
Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.