{"id":"CVE-2026-98810","state":"PUBLISHED","title":"wifi: mac80211: fix slab-out-of-bounds read in ieee80211_monitor_select_queue()","description":"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->len\nbefore dereferencing pointers into skb->data to access the 802.11 header.\nHowever, skb->len 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->data + len_rthdr may extend\npast the linear head buffer even though skb->len appears sufficient.\n\nThis leads to a slab-out-of-bounds read when accessing hdr->frame_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->len before dereferencing skb->data\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->len to validate accesses to skb->data,\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.","publishedAt":"2026-10-18T15:48:56.733Z","updatedAt":"2026-10-19T09:26:03.626Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"9b8a74e3482f9fc077a88c13fa0ceca8feb0b772","status":"affected","lessThan":"63e7064b4c1c4b540bf2f0cba47384f92ab95307","versionType":"git"},{"version":"9b8a74e3482f9fc077a88c13fa0ceca8feb0b772","status":"affected","lessThan":"6f63e919fe1e335b8abcb3a28bfd4804a98d875a","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/mac80211/iface.c","net/mac80211/tx.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"2.6.24","status":"affected"},{"version":"0","status":"unaffected","lessThan":"2.6.24","versionType":"semver"},{"version":"7.2.10","status":"unaffected","lessThanOrEqual":"7.2.*","versionType":"semver"},{"version":"7.3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/mac80211/iface.c","net/mac80211/tx.c"]}],"references":["https://git.kernel.org/stable/c/63e7064b4c1c4b540bf2f0cba47384f92ab95307","https://git.kernel.org/stable/c/6f63e919fe1e335b8abcb3a28bfd4804a98d875a"],"weaknesses":[],"ingestedAt":"2026-10-29T20:13:43.249Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/98xxx/CVE-2026-98810.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-98810","state":"PUBLISHED","datePublished":"2026-10-18T15:48:56.733Z","dateUpdated":"2026-10-19T09:26:03.626Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-09-25T10:25:14.371Z"},"containers":{"cna":{"title":"wifi: mac80211: fix slab-out-of-bounds read in ieee80211_monitor_select_queue()","descriptions":[{"lang":"en","value":"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->len\nbefore dereferencing pointers into skb->data to access the 802.11 header.\nHowever, skb->len 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->data + len_rthdr may extend\npast the linear head buffer even though skb->len appears sufficient.\n\nThis leads to a slab-out-of-bounds read when accessing hdr->frame_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->len before dereferencing skb->data\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->len to validate accesses to skb->data,\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."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"9b8a74e3482f9fc077a88c13fa0ceca8feb0b772","status":"affected","lessThan":"63e7064b4c1c4b540bf2f0cba47384f92ab95307","versionType":"git"},{"version":"9b8a74e3482f9fc077a88c13fa0ceca8feb0b772","status":"affected","lessThan":"6f63e919fe1e335b8abcb3a28bfd4804a98d875a","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/mac80211/iface.c","net/mac80211/tx.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"2.6.24","status":"affected"},{"version":"0","status":"unaffected","lessThan":"2.6.24","versionType":"semver"},{"version":"7.2.10","status":"unaffected","lessThanOrEqual":"7.2.*","versionType":"semver"},{"version":"7.3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/mac80211/iface.c","net/mac80211/tx.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/63e7064b4c1c4b540bf2f0cba47384f92ab95307"},{"url":"https://git.kernel.org/stable/c/6f63e919fe1e335b8abcb3a28bfd4804a98d875a"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-10-19T09:26:03.626Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.24","versionEndExcluding":"7.2.10"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.24","versionEndExcluding":"7.3"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}