{"id":"CVE-2026-72232","state":"PUBLISHED","title":"batman-adv: ensure minimal ethernet header on TX","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nbatman-adv: ensure minimal ethernet header on TX\n\nAs documented in commit 8bd67ebb50c0 (\"net: bridge: xmit: make sure we have\nat least eth header len bytes\"), it is possible by for a local user with\neBPF TC hook access to attach a tc filter which truncates the packet and\nredirects to an batadv interface. But the code assumes that at least\nETH_HLEN bytes are available and thus might read outside of the available\nbuffer.\n\nThe batadv_interface_tx() must therefore always check itself if enough data\nis available for the ethernet header and don't rely on min_header_len.","publishedAt":"2026-08-15T05:54:22.864Z","updatedAt":"2026-10-16T18:45:03.394Z","severity":{"score":7.8,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"Linux"},"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"c6c8fea29769d998d94fcec9b9f14d4b52b349d3","status":"affected","lessThan":"58799078afebd5115e052bf69ad6697f9759dd6f","versionType":"git"},{"version":"c6c8fea29769d998d94fcec9b9f14d4b52b349d3","status":"affected","lessThan":"38cd10b0aeec755d89f78722a2b83f4088ff0cb0","versionType":"git"},{"version":"c6c8fea29769d998d94fcec9b9f14d4b52b349d3","status":"affected","lessThan":"811fea37620f2097955d95ce81cfdba03fd30f1b","versionType":"git"},{"version":"c6c8fea29769d998d94fcec9b9f14d4b52b349d3","status":"affected","lessThan":"e6640923afee619d9fa82b07394dc9498e202304","versionType":"git"},{"version":"c6c8fea29769d998d94fcec9b9f14d4b52b349d3","status":"affected","lessThan":"6b4f521e01257387906f8b969ad3450d8208d4e2","versionType":"git"},{"version":"c6c8fea29769d998d94fcec9b9f14d4b52b349d3","status":"affected","lessThan":"9e16b6751a8206de0b865d99bb02771e6751d12d","versionType":"git"},{"version":"c6c8fea29769d998d94fcec9b9f14d4b52b349d3","status":"affected","lessThan":"dbeb4145d9778f922f459935da9a027750765a69","versionType":"git"},{"version":"c6c8fea29769d998d94fcec9b9f14d4b52b349d3","status":"affected","lessThan":"49df66b7993c80b80c7eb9a84ba5b3410c8296a0","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/batman-adv/mesh-interface.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"2.6.38","status":"affected"},{"version":"0","status":"unaffected","lessThan":"2.6.38","versionType":"semver"},{"version":"5.10.261","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.212","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.178","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.145","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.97","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.40","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.1.5","status":"unaffected","lessThanOrEqual":"7.1.*","versionType":"semver"},{"version":"7.2","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/batman-adv/mesh-interface.c"]}],"references":["https://git.kernel.org/stable/c/58799078afebd5115e052bf69ad6697f9759dd6f","https://git.kernel.org/stable/c/38cd10b0aeec755d89f78722a2b83f4088ff0cb0","https://git.kernel.org/stable/c/811fea37620f2097955d95ce81cfdba03fd30f1b","https://git.kernel.org/stable/c/e6640923afee619d9fa82b07394dc9498e202304","https://git.kernel.org/stable/c/6b4f521e01257387906f8b969ad3450d8208d4e2","https://git.kernel.org/stable/c/9e16b6751a8206de0b865d99bb02771e6751d12d","https://git.kernel.org/stable/c/dbeb4145d9778f922f459935da9a027750765a69","https://git.kernel.org/stable/c/49df66b7993c80b80c7eb9a84ba5b3410c8296a0"],"weaknesses":[],"ingestedAt":"2026-10-29T20:12:58.252Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/72xxx/CVE-2026-72232.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-72232","state":"PUBLISHED","datePublished":"2026-08-15T05:54:22.864Z","dateUpdated":"2026-10-16T18:45:03.394Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-08-09T03:40:39.913Z"},"containers":{"cna":{"title":"batman-adv: ensure minimal ethernet header on TX","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nbatman-adv: ensure minimal ethernet header on TX\n\nAs documented in commit 8bd67ebb50c0 (\"net: bridge: xmit: make sure we have\nat least eth header len bytes\"), it is possible by for a local user with\neBPF TC hook access to attach a tc filter which truncates the packet and\nredirects to an batadv interface. But the code assumes that at least\nETH_HLEN bytes are available and thus might read outside of the available\nbuffer.\n\nThe batadv_interface_tx() must therefore always check itself if enough data\nis available for the ethernet header and don't rely on min_header_len."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"c6c8fea29769d998d94fcec9b9f14d4b52b349d3","status":"affected","lessThan":"58799078afebd5115e052bf69ad6697f9759dd6f","versionType":"git"},{"version":"c6c8fea29769d998d94fcec9b9f14d4b52b349d3","status":"affected","lessThan":"38cd10b0aeec755d89f78722a2b83f4088ff0cb0","versionType":"git"},{"version":"c6c8fea29769d998d94fcec9b9f14d4b52b349d3","status":"affected","lessThan":"811fea37620f2097955d95ce81cfdba03fd30f1b","versionType":"git"},{"version":"c6c8fea29769d998d94fcec9b9f14d4b52b349d3","status":"affected","lessThan":"e6640923afee619d9fa82b07394dc9498e202304","versionType":"git"},{"version":"c6c8fea29769d998d94fcec9b9f14d4b52b349d3","status":"affected","lessThan":"6b4f521e01257387906f8b969ad3450d8208d4e2","versionType":"git"},{"version":"c6c8fea29769d998d94fcec9b9f14d4b52b349d3","status":"affected","lessThan":"9e16b6751a8206de0b865d99bb02771e6751d12d","versionType":"git"},{"version":"c6c8fea29769d998d94fcec9b9f14d4b52b349d3","status":"affected","lessThan":"dbeb4145d9778f922f459935da9a027750765a69","versionType":"git"},{"version":"c6c8fea29769d998d94fcec9b9f14d4b52b349d3","status":"affected","lessThan":"49df66b7993c80b80c7eb9a84ba5b3410c8296a0","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/batman-adv/mesh-interface.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"2.6.38","status":"affected"},{"version":"0","status":"unaffected","lessThan":"2.6.38","versionType":"semver"},{"version":"5.10.261","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.212","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.178","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.145","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.97","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.40","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.1.5","status":"unaffected","lessThanOrEqual":"7.1.*","versionType":"semver"},{"version":"7.2","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/batman-adv/mesh-interface.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/58799078afebd5115e052bf69ad6697f9759dd6f"},{"url":"https://git.kernel.org/stable/c/38cd10b0aeec755d89f78722a2b83f4088ff0cb0"},{"url":"https://git.kernel.org/stable/c/811fea37620f2097955d95ce81cfdba03fd30f1b"},{"url":"https://git.kernel.org/stable/c/e6640923afee619d9fa82b07394dc9498e202304"},{"url":"https://git.kernel.org/stable/c/6b4f521e01257387906f8b969ad3450d8208d4e2"},{"url":"https://git.kernel.org/stable/c/9e16b6751a8206de0b865d99bb02771e6751d12d"},{"url":"https://git.kernel.org/stable/c/dbeb4145d9778f922f459935da9a027750765a69"},{"url":"https://git.kernel.org/stable/c/49df66b7993c80b80c7eb9a84ba5b3410c8296a0"}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":7.8,"baseSeverity":"HIGH"},"scenarios":[{"lang":"en","value":"AV:L - Reachable only via local ndo_start_xmit on a batadv netdev after a TC/eBPF program (bpf_redirect/bpf_clone_redirect or mirred) truncates an skb below ETH_HLEN; there is no credible remote or adjacent path without local TC/BPF control.\nAC:L - An attacker with CAP_NET_ADMIN can reliably attach a TC clsact filter, shrink the skb (e.g. bpf_skb_adjust_room), and redirect to bat0; no race or victim state beyond attacker-controlled namespace setup is required.\nPR:L - Exploitation requires CAP_NET_ADMIN to attach TC/BPF programs and create/use a batadv interface; this capability is obtainable by unprivileged users inside user/network namespaces (unshare -Urn), not only init-namespace root.\nUI:N - No victim interaction is needed; the attacker triggers the bug by installing the TC filter and transmitting or test-running the crafted skb themselves.\nS:U - Impact remains within the kernel/network stack security authority (memory disclosure, mesh state corruption, crash); it does not by itself cross a VM, container, or IOMMU boundary.\nC:H - Missing ETH_HLEN validation causes an out-of-bounds read of up to 12 bytes past skb->tail via eth_hdr(), exposing adjacent slab/uninitialized kernel memory and enabling heap grooming for further exploitation.\nI:H - OOB-read ethernet header fields drive batadv_tt_local_add, DAT/ARP snooping, and mesh forwarding decisions, corrupting translation/routing state; kernel OOB reads are also commonly chained into arbitrary write primitives.\nA:H - Reading beyond the skb buffer can trigger kernel oops/panic (as seen in the analogous bridge/bpf_redirect syzbot reports) and enables repeated, attacker-controlled crashes on mesh nodes running batman-adv."}]}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-08-17T05:41:49.683Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.38","versionEndExcluding":"5.10.261"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.38","versionEndExcluding":"5.15.212"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.38","versionEndExcluding":"6.1.178"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.38","versionEndExcluding":"6.6.145"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.38","versionEndExcluding":"6.12.97"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.38","versionEndExcluding":"6.18.40"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.38","versionEndExcluding":"7.1.5"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.38","versionEndExcluding":"7.2"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2026-72232","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"version":"2.0.3","timestamp":"2026-10-16T18:44:26.055305Z"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-10-16T18:45:03.394Z"}}]}}}