{"id":"CVE-2022-49876","summary":"wifi: mac80211: fix general-protection-fault in ieee80211_subif_start_xmit()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: mac80211: fix general-protection-fault in ieee80211_subif_start_xmit()\n\nWhen device is running and the interface status is changed, the gpf issue\nis triggered. The problem triggering process is as follows:\nThread A:                           Thread B\nieee80211_runtime_change_iftype()   process_one_work()\n    ...                                 ...\n    ieee80211_do_stop()                 ...\n    ...                                 ...\n        sdata-\u003ebss = NULL               ...\n        ...                             ieee80211_subif_start_xmit()\n                                            ieee80211_multicast_to_unicast\n                                    //!sdata-\u003ebss-\u003emulticast_to_unicast\n                                      cause gpf issue\n\nWhen the interface status is changed, the sending queue continues to send\npackets. After the bss is set to NULL, the bss is accessed. As a result,\nthis causes a general-protection-fault issue.\n\nThe following is the stack information:\ngeneral protection fault, probably for non-canonical address\n0xdffffc000000002f: 0000 [#1] PREEMPT SMP KASAN\nKASAN: null-ptr-deref in range [0x0000000000000178-0x000000000000017f]\nWorkqueue: mld mld_ifc_work\nRIP: 0010:ieee80211_subif_start_xmit+0x25b/0x1310\nCall Trace:\n\u003cTASK\u003e\ndev_hard_start_xmit+0x1be/0x990\n__dev_queue_xmit+0x2c9a/0x3b60\nip6_finish_output2+0xf92/0x1520\nip6_finish_output+0x6af/0x11e0\nip6_output+0x1ed/0x540\nmld_sendpack+0xa09/0xe70\nmld_ifc_work+0x71c/0xdb0\nprocess_one_work+0x9bf/0x1710\nworker_thread+0x665/0x1080\nkthread+0x2e4/0x3a0\nret_from_fork+0x1f/0x30\n\u003c/TASK\u003e","modified":"2026-04-02T08:28:01.173565Z","published":"2025-05-01T14:10:25.040Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49876.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/03eb68c72cee249aeb7af7d04a83c033aca3d6d9"},{"type":"WEB","url":"https://git.kernel.org/stable/c/780854186946e0de2be192ee7fa5125666533b3a"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49876.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49876"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"f856373e2f31ffd340e47e2b00027bd4070f74b3"},{"fixed":"03eb68c72cee249aeb7af7d04a83c033aca3d6d9"},{"fixed":"780854186946e0de2be192ee7fa5125666533b3a"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-49876.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"}]}