{"id":"CVE-2026-72226","state":"PUBLISHED","title":"batman-adv: tt: prevent TVLV OOB check overflow","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nbatman-adv: tt: prevent TVLV OOB check overflow\n\nA TT unicast TVLV contains the number of VLANs stored in it. This number is\nan u16 and gets multiplied by the size of the struct\nbatadv_tvlv_tt_vlan_data (8 bytes). The size can therefore overflow the u16\nused to store the tt_vlan_len. All additional safety checks to prevent\nout-of-bounds access of the TVLV buffer are invalid due to this overflow.\n\nUsing size_t prevents this overflow and ensures that the safety checks\ncompare against the actual buffer requirements.","publishedAt":"2026-08-15T05:54:18.285Z","updatedAt":"2026-10-16T18:45:02.826Z","severity":{"score":9.8,"label":"Critical","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/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":"7ea7b4a142758deaf46c1af0ca9ceca6dd55138b","status":"affected","lessThan":"0de12a4c4847f571d82a9cd96bc633eded41d7c6","versionType":"git"},{"version":"7ea7b4a142758deaf46c1af0ca9ceca6dd55138b","status":"affected","lessThan":"d6ff4764ff784ede25f5c83a6f5883a74c93a5ea","versionType":"git"},{"version":"7ea7b4a142758deaf46c1af0ca9ceca6dd55138b","status":"affected","lessThan":"1898273c5dc8148267ef9f97cd2517a2822350e7","versionType":"git"},{"version":"7ea7b4a142758deaf46c1af0ca9ceca6dd55138b","status":"affected","lessThan":"604bd5042fbcd1ab9f7cd98fd847ec017aeede8a","versionType":"git"},{"version":"7ea7b4a142758deaf46c1af0ca9ceca6dd55138b","status":"affected","lessThan":"7319c0794f91be2734aac695794e7203606b49f8","versionType":"git"},{"version":"7ea7b4a142758deaf46c1af0ca9ceca6dd55138b","status":"affected","lessThan":"3256c05d5a9db34346eaf20f52dddde984852d77","versionType":"git"},{"version":"7ea7b4a142758deaf46c1af0ca9ceca6dd55138b","status":"affected","lessThan":"6222b443686525cb5a9b6a9cecf23b2e2ab23e2a","versionType":"git"},{"version":"7ea7b4a142758deaf46c1af0ca9ceca6dd55138b","status":"affected","lessThan":"7a581d9aaba8c82bd6177fa36b2588eea77f6e2b","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/batman-adv/translation-table.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"3.13","status":"affected"},{"version":"0","status":"unaffected","lessThan":"3.13","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/translation-table.c"]}],"references":["https://git.kernel.org/stable/c/0de12a4c4847f571d82a9cd96bc633eded41d7c6","https://git.kernel.org/stable/c/d6ff4764ff784ede25f5c83a6f5883a74c93a5ea","https://git.kernel.org/stable/c/1898273c5dc8148267ef9f97cd2517a2822350e7","https://git.kernel.org/stable/c/604bd5042fbcd1ab9f7cd98fd847ec017aeede8a","https://git.kernel.org/stable/c/7319c0794f91be2734aac695794e7203606b49f8","https://git.kernel.org/stable/c/3256c05d5a9db34346eaf20f52dddde984852d77","https://git.kernel.org/stable/c/6222b443686525cb5a9b6a9cecf23b2e2ab23e2a","https://git.kernel.org/stable/c/7a581d9aaba8c82bd6177fa36b2588eea77f6e2b"],"weaknesses":[],"ingestedAt":"2026-10-29T20:12:58.252Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/72xxx/CVE-2026-72226.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-72226","state":"PUBLISHED","datePublished":"2026-08-15T05:54:18.285Z","dateUpdated":"2026-10-16T18:45:02.826Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-08-09T03:40:39.913Z"},"containers":{"cna":{"title":"batman-adv: tt: prevent TVLV OOB check overflow","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nbatman-adv: tt: prevent TVLV OOB check overflow\n\nA TT unicast TVLV contains the number of VLANs stored in it. This number is\nan u16 and gets multiplied by the size of the struct\nbatadv_tvlv_tt_vlan_data (8 bytes). The size can therefore overflow the u16\nused to store the tt_vlan_len. All additional safety checks to prevent\nout-of-bounds access of the TVLV buffer are invalid due to this overflow.\n\nUsing size_t prevents this overflow and ensures that the safety checks\ncompare against the actual buffer requirements."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"7ea7b4a142758deaf46c1af0ca9ceca6dd55138b","status":"affected","lessThan":"0de12a4c4847f571d82a9cd96bc633eded41d7c6","versionType":"git"},{"version":"7ea7b4a142758deaf46c1af0ca9ceca6dd55138b","status":"affected","lessThan":"d6ff4764ff784ede25f5c83a6f5883a74c93a5ea","versionType":"git"},{"version":"7ea7b4a142758deaf46c1af0ca9ceca6dd55138b","status":"affected","lessThan":"1898273c5dc8148267ef9f97cd2517a2822350e7","versionType":"git"},{"version":"7ea7b4a142758deaf46c1af0ca9ceca6dd55138b","status":"affected","lessThan":"604bd5042fbcd1ab9f7cd98fd847ec017aeede8a","versionType":"git"},{"version":"7ea7b4a142758deaf46c1af0ca9ceca6dd55138b","status":"affected","lessThan":"7319c0794f91be2734aac695794e7203606b49f8","versionType":"git"},{"version":"7ea7b4a142758deaf46c1af0ca9ceca6dd55138b","status":"affected","lessThan":"3256c05d5a9db34346eaf20f52dddde984852d77","versionType":"git"},{"version":"7ea7b4a142758deaf46c1af0ca9ceca6dd55138b","status":"affected","lessThan":"6222b443686525cb5a9b6a9cecf23b2e2ab23e2a","versionType":"git"},{"version":"7ea7b4a142758deaf46c1af0ca9ceca6dd55138b","status":"affected","lessThan":"7a581d9aaba8c82bd6177fa36b2588eea77f6e2b","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/batman-adv/translation-table.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"3.13","status":"affected"},{"version":"0","status":"unaffected","lessThan":"3.13","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/translation-table.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/0de12a4c4847f571d82a9cd96bc633eded41d7c6"},{"url":"https://git.kernel.org/stable/c/d6ff4764ff784ede25f5c83a6f5883a74c93a5ea"},{"url":"https://git.kernel.org/stable/c/1898273c5dc8148267ef9f97cd2517a2822350e7"},{"url":"https://git.kernel.org/stable/c/604bd5042fbcd1ab9f7cd98fd847ec017aeede8a"},{"url":"https://git.kernel.org/stable/c/7319c0794f91be2734aac695794e7203606b49f8"},{"url":"https://git.kernel.org/stable/c/3256c05d5a9db34346eaf20f52dddde984852d77"},{"url":"https://git.kernel.org/stable/c/6222b443686525cb5a9b6a9cecf23b2e2ab23e2a"},{"url":"https://git.kernel.org/stable/c/7a581d9aaba8c82bd6177fa36b2588eea77f6e2b"}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","baseScore":9.8,"baseSeverity":"CRITICAL"},"scenarios":[{"lang":"en","value":"AV:N - Crafted BATADV_UNICAST_TVLV frames from remote mesh peers reach batadv_tt_tvlv_unicast_handler_v1() via batadv_batman_skb_recv() → batadv_recv_unicast_tvlv() → batadv_tvlv_containers_process() without local syscall or ioctl access on the victim.\nAC:L - An attacker reliably bypasses TVLV bounds checks by setting num_vlan so flex_array_size() overflows the u16 tt_vlan_len (e.g. 8192 VLANs wraps length to 4); all packet fields are attacker-controlled with no races or victim-state dependencies.\nPR:N - batman-adv TVLV receive processing performs no authentication or capability check on senders; any unauthenticated mesh peer injecting ETH_P_BATMAN unicast TVLV frames to an active mesh node triggers the vulnerable path without Linux credentials on the victim.\nUI:N - Exploitation is triggered solely by the attacker transmitting malicious mesh packets; no victim mount, click, or runtime configuration change is required beyond batman-adv already being active on a mesh interface.\nS:U - Out-of-bounds reads and translation-table corruption occur within the victim kernel networking subsystem on the mesh node; the flaw does not cross VM, container, IOMMU, or other separate security-authority boundaries.\nC:H - Overflowed tt_vlan_len invalidates the length check, so batadv_handle_tt_response() offsets tt_change by struct_size() far beyond the skb and _batadv_tt_update_changes() performs out-of-bounds reads of kernel memory for each computed entry.\nI:H - Out-of-bounds tt_change data drives batadv_tt_global_add()/batadv_tt_global_del() and batadv_tt_fill_gtable(), writing attacker-influenced or leaked bytes into kmalloc-backed translation-table objects suitable for heap corruption and control-flow hijacking.\nA:H - Dereferencing tt_change pointers tens of kilobytes past the packet buffer can cause kernel oops or panic, and corrupt translation-table updates can destabilize or disable mesh routing on the victim node."}]}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-08-17T05:41:46.404Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.13","versionEndExcluding":"5.10.261"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.13","versionEndExcluding":"5.15.212"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.13","versionEndExcluding":"6.1.178"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.13","versionEndExcluding":"6.6.145"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.13","versionEndExcluding":"6.12.97"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.13","versionEndExcluding":"6.18.40"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.13","versionEndExcluding":"7.1.5"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.13","versionEndExcluding":"7.2"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2026-72226","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"total"}],"version":"2.0.3","timestamp":"2026-10-16T18:44:17.010963Z"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-10-16T18:45:02.826Z"}}]}}}