# CVE-2026-31659: batman-adv: reject oversized global TT response buffers

- Priority: **Prioritise**
- Reason: Severe, CVSS 9.8 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 0% (FIRST, 04-12-2026)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2026-04-24 · Modified: 2026-10-19
- Aliases: UBUNTU-CVE-2026-31659, DEBIAN-CVE-2026-31659
- Record: https://cvemate.com/vulnerability/CVE-2026-31659 · JSON: https://cvemate.com/vulnerability/CVE-2026-31659/json

## Description

```text
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.
```

## Signals

- CVSS: 9.8 critical (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS: 0.437%, percentile 39.764%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 161)

- debian linux (Debian): \< 6.1.170-1 \| \< 6.12.85-1 \| \< 6.19.13-1
- ubuntu linux (Ubuntu): \< 3.13.0-215.266 \| \< 4.4.0-283.317 \| \< 4.15.0-253.265 \| \< 5.4.0-233.253 \| \< 5.15.0-185.195 \| \< 6.8.0-134.134 \| \< 6.17.0-40.40
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws (Ubuntu): \< 4.4.0-1156.162 \| \< 4.4.0-1194.209 \| \< 4.15.0-1194.207 \| \< 5.4.0-1161.172 \| \< 5.15.0-1111.118 \| \< 6.8.0-1060.63 \| \< 6.17.0-1019.19
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.15 (Ubuntu): \< 5.15.0-1111.118~20.04.1
- ubuntu linux-aws-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.3 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.4 (Ubuntu): \< 5.4.0-1161.172~18.04.1
- ubuntu linux-aws-5.8 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.14 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.17 (Ubuntu): \< 6.17.0-1019.19~24.04.1
- ubuntu linux-aws-6.2 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.5 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.8 (Ubuntu): \< 6.8.0-1060.63~22.04.1
- ubuntu linux-aws-fips (Ubuntu): \< 4.15.0-2132.138 \| All versions (No fix recorded) \| \< 5.4.0-1161.172+fips1 \| \< 5.15.0-1111.118+fips1 \| \< 6.8.0-1060.63+fips1
- ubuntu linux-aws-hwe (Ubuntu): \< 4.15.0-1194.207~16.04.1
- ubuntu linux-azure (Ubuntu): \< 4.15.0-1205.220~14.04.1 \| \< 4.15.0-1204.219~16.04.1 \| All versions (No fix recorded) \| \< 5.4.0-1166.172 \| \< 5.15.0-1116.125 \| \< 6.8.0-1063.71

## References (first 20 of 51)

- <https://git.kernel.org/stable/c/7e5d007e0df946bffb8542fb112e0044014a5897>
- <https://git.kernel.org/stable/c/2997f4bd1f982e7013709946e00be89b507693fa>
- <https://git.kernel.org/stable/c/95c71365a2222908441b54d6f2c315e0c79fcec3>
- <https://git.kernel.org/stable/c/69d61639bc7e963c3b645e570279d731e7c89062>
- <https://git.kernel.org/stable/c/f970646b9a39539d1bac86822ac78b5915455ea9>
- <https://git.kernel.org/stable/c/de6c1dc3c7d01a152607e6fcecee4d5288283f10>
- <https://git.kernel.org/stable/c/cf2199171ef799ca7270019125f4a91bd20ad4d9>
- <https://git.kernel.org/stable/c/3a359bf5c61d52e7f09754108309d637532164a6>
- <https://ubuntu.com/security/CVE-2026-31659>
- <https://www.cve.org/CVERecord?id=CVE-2026-31659>
- <https://git.kernel.org/linus/3a359bf5c61d52e7f09754108309d637532164a6>
- <https://ubuntu.com/security/notices/USN-8490-1>
- <https://ubuntu.com/security/notices/USN-8491-1>
- <https://ubuntu.com/security/notices/USN-8492-1>
- <https://ubuntu.com/security/notices/USN-8493-1>
- <https://ubuntu.com/security/notices/USN-8492-2>
- <https://ubuntu.com/security/notices/USN-8497-1>
- <https://ubuntu.com/security/notices/USN-8498-1>
- <https://ubuntu.com/security/notices/USN-8499-1>
- <https://ubuntu.com/security/notices/USN-8493-2>

---

Data as of 2026-12-05T05:35:25.040Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
