U.S. flag   An official website of the United States government
Dot gov

Official websites use .gov
A .gov website belongs to an official government organization in the United States.

Https

Secure .gov websites use HTTPS
A lock (Dot gov) or https:// means you've safely connected to the .gov website. Share sensitive information only on official, secure websites.

CVE-2026-31659 Detail

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.


Metrics

NVD enrichment efforts reference publicly available information to associate vector strings. CVSS information contributed by other sources is also displayed.
CVSS 4.0 Severity and Vector Strings:

NIST CVSS score
NIST: NVD
N/A
NVD assessment not yet provided.

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving NIST webspace. We have provided these links to other web sites because they may have information that would be of interest to you. No inferences should be drawn on account of other sites being referenced, or not, from this page. There may be other web sites that are more appropriate for your purpose. NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites. Further, NIST does not endorse any commercial products that may be mentioned on these sites. Please address comments about this page to [email protected].

URL Source(s) Tag(s)
https://git.kernel.org/stable/c/2997f4bd1f982e7013709946e00be89b507693fa kernel.org
https://git.kernel.org/stable/c/3a359bf5c61d52e7f09754108309d637532164a6 kernel.org
https://git.kernel.org/stable/c/69d61639bc7e963c3b645e570279d731e7c89062 kernel.org
https://git.kernel.org/stable/c/7e5d007e0df946bffb8542fb112e0044014a5897 kernel.org
https://git.kernel.org/stable/c/95c71365a2222908441b54d6f2c315e0c79fcec3 kernel.org
https://git.kernel.org/stable/c/cf2199171ef799ca7270019125f4a91bd20ad4d9 kernel.org
https://git.kernel.org/stable/c/de6c1dc3c7d01a152607e6fcecee4d5288283f10 kernel.org
https://git.kernel.org/stable/c/f970646b9a39539d1bac86822ac78b5915455ea9 kernel.org

Weakness Enumeration

CWE-ID CWE Name Source

Change History

1 change records found show changes

Quick Info

CVE Dictionary Entry:
CVE-2026-31659
NVD Published Date:
04/24/2026
NVD Last Modified:
04/24/2026
Source:
kernel.org