{"id":"CVE-2026-98810","summary":"wifi: mac80211: fix slab-out-of-bounds read in ieee80211_monitor_select_queue()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: mac80211: fix slab-out-of-bounds read in ieee80211_monitor_select_queue()\n\nieee80211_monitor_select_queue() validates the skb length using skb-\u003elen\nbefore dereferencing pointers into skb-\u003edata to access the 802.11 header.\nHowever, skb-\u003elen includes data in both the linear head buffer and\nnon-linear fragments/pages. When AF_PACKET sends a packet large enough to\nbecome non-linear, the 802.11 header at skb-\u003edata + len_rthdr may extend\npast the linear head buffer even though skb-\u003elen appears sufficient.\n\nThis leads to a slab-out-of-bounds read when accessing hdr-\u003eframe_control,\nas the kernel reads beyond the allocated skb head buffer:\n\n  BUG: KASAN: slab-out-of-bounds in ieee80211_monitor_select_queue+0x1ed/0x220\n\nsyzbot has hit the same issues.\n\nFix this by checking skb_headlen(skb) (which gives the length of the\nlinear data region) instead of skb-\u003elen before dereferencing skb-\u003edata\npointers. This ensures the required bytes are actually present in the\nlinear portion of the skb.\n\nApply the same fix to ieee80211_validate_radiotap_len() which has the\nsame class of bug: it uses skb-\u003elen to validate accesses to skb-\u003edata,\nand to the corresponding checks in ieee80211_monitor_start_xmit(): for\ndrivers advertising NETIF_F_SG the skb is not linearized before\nndo_start_xmit, so the 802.11 header can be read past the linear\nbuffer there as well.","modified":"2026-10-20T02:31:08.682770239Z","published":"2026-10-18T15:48:56.733Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98810.json"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/63e7064b4c1c4b540bf2f0cba47384f92ab95307"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6f63e919fe1e335b8abcb3a28bfd4804a98d875a"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98810.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98810"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"9b8a74e3482f9fc077a88c13fa0ceca8feb0b772"},{"fixed":"63e7064b4c1c4b540bf2f0cba47384f92ab95307"},{"fixed":"6f63e919fe1e335b8abcb3a28bfd4804a98d875a"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98810.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.6.24"},{"fixed":"7.2.10"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98810.json"}}],"schema_version":"1.9.0"}