CVE-2026-31659batman-adv: reject oversized global TT response buffers
- 9.8CriticalCVSS base score
- 0.42%Exploitation in 30 daysEPSS · top 63% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
Description
In the Linux kernel, the following vulnerability has been resolved: batman-adv: reject oversized global TT response buffers batadv_tt_prepare_tvlv_global_data() builds the allocation length for a global TT response in 16-bit temporaries. When a remote originator advertises a large enough global TT, the TT payload length plus the VLAN header offset can exceed 65535 and wrap before kmalloc(). The full-table response path still uses the original TT payload length when it fills tt_change, so the wrapped allocation is too small and batadv_tt_prepare_tvlv_global_data() writes past the end of the heap object before the later packet-size check runs. Fix this by rejecting TT responses whose TVLV value length cannot fit in the 16-bit TVLV payload length field.
Timeline
ID reserved
By Linux
- 46 days later
· 46 days later
Published
- 6 months later
· 6 months later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| LinuxCNA (assigner) | 3.1 | Critical9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVDNVD · Modified | 3.1 | Critical9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 0.42% · top 63% of all CVEs (18 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: yes · Technical impact: total
The list uses the assigner's score when there is one, then CISA's, then NVD's: Critical 9.8.
Affected products
- affected 7ea7b4a142758deaf46c1af0ca9ceca6dd55138b – < 7e5d007e0df946bffb8542fb112e0044014a5897
- affected 7ea7b4a142758deaf46c1af0ca9ceca6dd55138b – < 2997f4bd1f982e7013709946e00be89b507693fa
- affected 7ea7b4a142758deaf46c1af0ca9ceca6dd55138b – < 95c71365a2222908441b54d6f2c315e0c79fcec3
- affected 7ea7b4a142758deaf46c1af0ca9ceca6dd55138b – < 69d61639bc7e963c3b645e570279d731e7c89062
- affected 7ea7b4a142758deaf46c1af0ca9ceca6dd55138b – < f970646b9a39539d1bac86822ac78b5915455ea9
- affected 7ea7b4a142758deaf46c1af0ca9ceca6dd55138b – < de6c1dc3c7d01a152607e6fcecee4d5288283f10
- affected 7ea7b4a142758deaf46c1af0ca9ceca6dd55138b – < cf2199171ef799ca7270019125f4a91bd20ad4d9
- affected 7ea7b4a142758deaf46c1af0ca9ceca6dd55138b – < 3a359bf5c61d52e7f09754108309d637532164a6
- affected 3.13
- unaffected < 3.13
- unaffected 5.10.253 – ≤ 5.10.*
- unaffected 5.15.203 – ≤ 5.15.*
- unaffected 6.1.169 – ≤ 6.1.*
- unaffected 6.6.135 – ≤ 6.6.*
- unaffected 6.12.82 – ≤ 6.12.*
- unaffected 6.18.23 – ≤ 6.18.*
- unaffected 6.19.13 – ≤ 6.19.*
- unaffected 7.0 – ≤ *
References
References8
- https://git.kernel.org/stable/c/7e5d007e0df946bffb8542fb112e0044014a5897 (opens in a new tab)
- https://git.kernel.org/stable/c/2997f4bd1f982e7013709946e00be89b507693fa (opens in a new tab)
- https://git.kernel.org/stable/c/95c71365a2222908441b54d6f2c315e0c79fcec3 (opens in a new tab)
- https://git.kernel.org/stable/c/69d61639bc7e963c3b645e570279d731e7c89062 (opens in a new tab)
- https://git.kernel.org/stable/c/f970646b9a39539d1bac86822ac78b5915455ea9 (opens in a new tab)
- https://git.kernel.org/stable/c/de6c1dc3c7d01a152607e6fcecee4d5288283f10 (opens in a new tab)
- https://git.kernel.org/stable/c/cf2199171ef799ca7270019125f4a91bd20ad4d9 (opens in a new tab)
- https://git.kernel.org/stable/c/3a359bf5c61d52e7f09754108309d637532164a6 (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2026-25552 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2026-31659)Record last updated .