PoC Monitor
← All CVEs
CVE-2026-31659published 24 Apr 2026 14:45 UTCData: JSON · API

Linux

batman-adv: reject oversized global TT response buffers

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.

First public PoC None yetno public PoC found
Public PoCs00 on GitHub
CVSS9.8critical · scored by CNA · CWE-190
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

Linux Linux
  • >= 7ea7b4a142758deaf46c1af0ca9ceca6dd55138b, < 7e5d007e0df946bffb8542fb112e0044014a5897
  • >= 7ea7b4a142758deaf46c1af0ca9ceca6dd55138b, < 2997f4bd1f982e7013709946e00be89b507693fa
  • >= 7ea7b4a142758deaf46c1af0ca9ceca6dd55138b, < 95c71365a2222908441b54d6f2c315e0c79fcec3
  • >= 7ea7b4a142758deaf46c1af0ca9ceca6dd55138b, < 69d61639bc7e963c3b645e570279d731e7c89062
  • >= 7ea7b4a142758deaf46c1af0ca9ceca6dd55138b, < f970646b9a39539d1bac86822ac78b5915455ea9
  • >= 7ea7b4a142758deaf46c1af0ca9ceca6dd55138b, < de6c1dc3c7d01a152607e6fcecee4d5288283f10
  • >= 7ea7b4a142758deaf46c1af0ca9ceca6dd55138b, < cf2199171ef799ca7270019125f4a91bd20ad4d9
  • >= 7ea7b4a142758deaf46c1af0ca9ceca6dd55138b, < 3a359bf5c61d52e7f09754108309d637532164a6

Fixed in 7e5d007e0df946bffb8542fb112e0044014a5897, 2997f4bd1f982e7013709946e00be89b507693fa, 95c71365a2222908441b54d6f2c315e0c79fcec3, 69d61639bc7e963c3b645e570279d731e7c89062, f970646b9a39539d1bac86822ac78b5915455ea9, de6c1dc3c7d01a152607e6fcecee4d5288283f10, cf2199171ef799ca7270019125f4a91bd20ad4d9, 3a359bf5c61d52e7f09754108309d637532164a6

Linux Linux
  • 3.13

Fixed in 0, 5.10.253, 5.15.203, 6.1.169, 6.6.135, 6.12.82, 6.18.23, 6.19.13, 7.0

Mitigation

Upgrade Linux to 7e5d007e0df946bffb8542fb112e0044014a5897 or 2997f4bd1f982e7013709946e00be89b507693fa or 95c71365a2222908441b54d6f2c315e0c79fcec3 or 69d61639bc7e963c3b645e570279d731e7c89062 or f970646b9a39539d1bac86822ac78b5915455ea9 or de6c1dc3c7d01a152607e6fcecee4d5288283f10 or cf2199171ef799ca7270019125f4a91bd20ad4d9 or 3a359bf5c61d52e7f09754108309d637532164a6 or later.

Upgrade Linux to 0 or 5.10.253 or 5.15.203 or 6.1.169 or 6.6.135 or 6.12.82 or 6.18.23 or 6.19.13 or 7.0 or later.

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published24 Apr 2026 · t = 0

No public PoC found yet; not in CISA KEV.

PoC repositories

Found on GitHub.

No PoC repositories found yet.