CVE-2026-64091
Received Received - Intake

Race Condition in Linux Kernel batman-adv TT Handling

Vulnerability report for CVE-2026-64091, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-07-19

Last updated on: 2026-07-19

Assigner: kernel.org

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-07-19
Last Modified
2026-07-19
Generated
2026-07-20
AI Q&A
2026-07-19
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Currently, no data is known.

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This is a TOCTOU (Time-of-Check to Time-of-Use) race condition in the Linux kernel's batman-adv module. It occurs when generating a local TT based TVLV buffer. The vulnerability arises because the number of VLANs with TT entries can increase between the initial size check and buffer allocation, leading to potential buffer overflow or incorrect data handling.

Detection Guidance

This vulnerability is specific to the Linux kernel's batman-adv module and involves a race condition in VLAN handling. Detection requires checking for the presence of the vulnerable code path in the kernel module. No direct commands are provided in the context to detect this issue. Review kernel logs for related errors or monitor batman-adv module behavior for inconsistencies.

Impact Analysis

This vulnerability could allow local attackers to cause a denial of service or potentially execute arbitrary code in the kernel. It may lead to system crashes, memory corruption, or privilege escalation if exploited.

Compliance Impact

This vulnerability does not directly affect compliance with GDPR, HIPAA, or similar standards as it pertains to a race condition in the Linux kernel's batman-adv module related to VLAN handling. Compliance impacts would depend on system-specific configurations and usage rather than this vulnerability itself.

Mitigation Strategies

Update the Linux kernel to the latest patched version to resolve the batman-adv TT TOCTOU race condition in the TT based TVLV handling.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-64091. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart