CVE-2024-56543: wifi: ath12k: Skip Rx TID cleanup for self peer
In the Linux kernel, the following vulnerability has been resolved:
wifi: ath12k: Skip Rx TID cleanup for self peer
During peer create, dp setup for the peer is done where Rx TID is updated for all the TIDs. Peer object for self peer will not go through dp setup.
When core halts, dp cleanup is done for all the peers. While cleanup, rxtid::ab is accessed which causes below stack trace for self peer.
WARNING: CPU: 6 PID: 12297 at drivers/net/wireless/ath/ath12k/dprx.c:851 Call Trace: warn+0x7b/0x1a0 ath12kdprxfragscleanup+0xd2/0xe0 [ath12k] reportbug+0x10b/0x200 handlebug+0x3f/0x70 excinvalidop+0x13/0x60 asmexcinvalidop+0x16/0x20 ath12kdprxfragscleanup+0xd2/0xe0 [ath12k] ath12kdprxfragscleanup+0xca/0xe0 [ath12k] ath12kdprxpeertidcleanup+0x39/0xa0 [ath12k] ath12kmacpeercleanupall+0x61/0x100 [ath12k] ath12kcorehalt+0x3b/0x100 [ath12k] ath12kcorereset+0x494/0x4c0 [ath12k]
sta object in peer will be updated when remote peer is created. Hence use peer::sta to detect the self peer and skip the cleanup.
Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.0.1-00029-QCAHKSWPLSILICONZ-1 Tested-on: WCN7850 hw2.0 PCI WLAN.HMT.1.0.c5-00481-QCAHMTSWPLV1.0V2.0SILICONZ-3
Other sources
This CVE was automatically created from a reference found in an email or other text. If you are reading this, then this CVE entry is probably erroneous, since this text should be replaced by the official CVE description automatically.
— Launchpad
Affected Software
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2024-56543?
CVE-2024-56543 has a severity rating that may impact system security depending on the configuration and usage.
How do I fix CVE-2024-56543?
To fix CVE-2024-56543, ensure that you apply the latest patches provided for the affected Linux kernel and Qualcomm products.
Which versions of Linux kernel are affected by CVE-2024-56543?
CVE-2024-56543 affects various versions of the Linux kernel involved in the functionality of the ath12k driver.
Is CVE-2024-56543 related to specific Qualcomm hardware?
Yes, CVE-2024-56543 impacts Qualcomm devices such as the QCN9274 and WCN7850 modules.
What kind of vulnerability is CVE-2024-56543?
CVE-2024-56543 is a vulnerability within the Linux kernel's handling of the ath12k WiFi driver impacting peer setup.