CVE-2026-64091 Details
Description
In the Linux kernel, the following vulnerability has been resolved: batman-adv: tt: fix TOCTOU race for reported vlans The local TT based TVLV is generated by first checking the number of VLANs which have at least one TT entry. A new buffer with the correct size for the VLANs is then allocated. Only then, the list of VLANs s used to fill the VLAN entries in the buffer. During this time, the meshif_vlan_list_lock is held. But the actual number of TT entries of each VLAN can still increase during this time - just not the number of VLANs in the list. But the prefilter used in the buffer size calculation might still cause an increase of the number of VLANs which need to be stored. Simply because a VLAN might now suddenly have at least one entry when it had none in the pre-alloc check - and then needs to occupy space which was not allocated. It is better to overestimate the buffer size at the beginning and then fill the buffer only with the VLANs which are not empty.
A vulnerability has been identified in the Linux kernel's batman-adv module, specifically related to how VLANs are managed in the translation table. This issue arises from a time-of-check to time-of-use (TOCTOU) race condition. The problem occurs when the system checks the number of VLANs with at least one translation table entry and allocates a buffer based on this count. However, while the buffer is being prepared, the actual number of entries can increase, potentially leading to a mismatch between the allocated buffer size and the data that needs to be stored. This vulnerability affects several versions of the Linux kernel.
Users can upgrade to the latest version of the Linux kernel where this vulnerability has been addressed.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/211ea59988e1cba43cb0367ad65d379b56f9c3bd | kernel.org | Patch |
| https://git.kernel.org/stable/c/4cc85aec8d3c9ab4dc716dc9f1ed36fca16b227f | kernel.org | Patch |
| https://git.kernel.org/stable/c/65a1e67339aa8c95ac544b796946af388930ee23 | kernel.org | Patch |
| https://git.kernel.org/stable/c/724a8eb4155669797c96b70d70e354284ae3b5a8 | kernel.org | Patch |
| https://git.kernel.org/stable/c/94d27005016be15ffc638b2ecbc4d58805ad7b48 | kernel.org | Patch |
| https://git.kernel.org/stable/c/9a9c859457bc440a55773e01ff18b1bb5bab6836 | kernel.org | Patch |
| https://git.kernel.org/stable/c/b4d4efd4e351593c81e9293d4b4408d244fa5ee7 | kernel.org | Patch |
| https://git.kernel.org/stable/c/e4236bf3ec8d6bb15d0d8d825dcf9933a7d6666b | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-367 | Time-of-check Time-of-use (TOCTOU) Race Condition | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 3.16.60, < 3.17 >= 4.4.217, < 4.5 >= 4.9.217, < 4.10 >= 4.14.174, < 4.15 >= 4.17.1, < 5.10.259 >= 5.11, < 5.15.210 >= 5.16, < 6.1.176 >= 6.2, < 6.6.143 >= 6.7, < 6.12.93 >= 6.13, < 6.18.34 >= 6.19, < 7.0.11 4.17 - 4.17 rc7 7.1 rc1 7.1 rc2 7.1 rc3 7.1 rc4 |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Aug 11, 2026 | Initial Analysis | [email protected] |
| Jul 20, 2026 | CVE Modified | kernel.org |
| Jul 19, 2026 | New CVE Received | kernel.org |