CVE-2022-49876: wifi: mac80211: fix general-protection-fault in ieee80211_subif_start_xmit()
In the Linux kernel, the following vulnerability has been resolved:
wifi: mac80211: fix general-protection-fault in ieee80211subifstartxmit()
When device is running and the interface status is changed, the gpf issue is triggered. The problem triggering process is as follows: Thread A: Thread B ieee80211runtimechangeiftype() processonework() ... ... ieee80211dostop() ... ... ... sdata->bss = NULL ... ... ieee80211subifstartxmit() ieee80211multicasttounicast //!sdata->bss->multicasttounicast cause gpf issue
When the interface status is changed, the sending queue continues to send packets. After the bss is set to NULL, the bss is accessed. As a result, this causes a general-protection-fault issue.
The following is the stack information: general protection fault, probably for non-canonical address 0xdffffc000000002f: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000178-0x000000000000017f] Workqueue: mld mldifcwork RIP: 0010:ieee80211subifstartxmit+0x25b/0x1310 Call Trace: <TASK> devhardstartxmit+0x1be/0x990 devqueuexmit+0x2c9a/0x3b60 ip6finishoutput2+0xf92/0x1520 ip6finishoutput+0x6af/0x11e0 ip6output+0x1ed/0x540 mldsendpack+0xa09/0xe70 mldifcwork+0x71c/0xdb0 processonework+0x9bf/0x1710 workerthread+0x665/0x1080 kthread+0x2e4/0x3a0 retfromfork+0x1f/0x30 </TASK>
Affected Software
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2022-49876?
CVE-2022-49876 has been classified as a moderate severity vulnerability due to the potential for a general protection fault.
How do I fix CVE-2022-49876?
To fix CVE-2022-49876, update the Linux kernel to the latest stable version where this vulnerability has been addressed.
What systems are affected by CVE-2022-49876?
CVE-2022-49876 affects the Linux kernel and can impact any system running this software.
What happens if CVE-2022-49876 is exploited?
Exploiting CVE-2022-49876 can lead to a general protection fault, potentially causing a system crash or instability.
Is there a workaround for CVE-2022-49876?
Currently, the preferred method to address CVE-2022-49876 is to apply the kernel updates that resolve the vulnerability.