batman-adv: tt: fix TOCTOU race for reported vlans
Summary
| CVE | CVE-2026-64091 |
|---|---|
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-07-19 16:17:49 UTC |
| Updated | 2026-07-20 15:17:08 UTC |
| 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. |
Risk And Classification
Primary CVSS: v3.1 9.8 CRITICAL from 416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS: 0.001840000 probability, percentile 0.082530000 (date 2026-07-20)
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | Secondary | 9.8 | CRITICAL | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| 3.1 | CNA | DECLARED | 9.8 | CRITICAL | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
LowPrivileges Required
NoneUser Interaction
NoneScope
UnchangedConfidentiality
HighIntegrity
HighAvailability
HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Linux | Linux | affected 16116dac23396e73c01eeee97b102e4833a4b205 e4236bf3ec8d6bb15d0d8d825dcf9933a7d6666b git | Not specified |
| CNA | Linux | Linux | affected 16116dac23396e73c01eeee97b102e4833a4b205 724a8eb4155669797c96b70d70e354284ae3b5a8 git | Not specified |
| CNA | Linux | Linux | affected 16116dac23396e73c01eeee97b102e4833a4b205 211ea59988e1cba43cb0367ad65d379b56f9c3bd git | Not specified |
| CNA | Linux | Linux | affected 16116dac23396e73c01eeee97b102e4833a4b205 65a1e67339aa8c95ac544b796946af388930ee23 git | Not specified |
| CNA | Linux | Linux | affected 16116dac23396e73c01eeee97b102e4833a4b205 b4d4efd4e351593c81e9293d4b4408d244fa5ee7 git | Not specified |
| CNA | Linux | Linux | affected 16116dac23396e73c01eeee97b102e4833a4b205 4cc85aec8d3c9ab4dc716dc9f1ed36fca16b227f git | Not specified |
| CNA | Linux | Linux | affected 16116dac23396e73c01eeee97b102e4833a4b205 9a9c859457bc440a55773e01ff18b1bb5bab6836 git | Not specified |
| CNA | Linux | Linux | affected 16116dac23396e73c01eeee97b102e4833a4b205 94d27005016be15ffc638b2ecbc4d58805ad7b48 git | Not specified |
| CNA | Linux | Linux | affected 3134c5a32810c510f1f447c135cec346acbb71c3 git | Not specified |
| CNA | Linux | Linux | affected e861e03a1b5b615ad1b57b1802b17e260eedccfe git | Not specified |
| CNA | Linux | Linux | affected 0b81edc8818903c64c4d121bc51cd5825be8cc67 git | Not specified |
| CNA | Linux | Linux | affected 90ae6475b1753f0c1a4c66034b5666de3189fac8 git | Not specified |
| CNA | Linux | Linux | affected 3.16.60 3.17 semver | Not specified |
| CNA | Linux | Linux | affected 4.4.217 4.5 semver | Not specified |
| CNA | Linux | Linux | affected 4.9.217 4.10 semver | Not specified |
| CNA | Linux | Linux | affected 4.14.174 4.15 semver | Not specified |
| CNA | Linux | Linux | affected 4.17 | Not specified |
| CNA | Linux | Linux | unaffected 4.17 semver | Not specified |
| CNA | Linux | Linux | unaffected 5.10.259 5.10.* semver | Not specified |
| CNA | Linux | Linux | unaffected 5.15.210 5.15.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.1.176 6.1.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.6.143 6.6.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.12.93 6.12.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.18.34 6.18.* semver | Not specified |
| CNA | Linux | Linux | unaffected 7.0.11 7.0.* semver | Not specified |
| CNA | Linux | Linux | unaffected 7.1 * original_commit_for_fix | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| git.kernel.org/stable/c/9a9c859457bc440a55773e01ff18b1bb5bab6836 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/b4d4efd4e351593c81e9293d4b4408d244fa5ee7 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/e4236bf3ec8d6bb15d0d8d825dcf9933a7d6666b | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/724a8eb4155669797c96b70d70e354284ae3b5a8 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/94d27005016be15ffc638b2ecbc4d58805ad7b48 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/65a1e67339aa8c95ac544b796946af388930ee23 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/211ea59988e1cba43cb0367ad65d379b56f9c3bd | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/4cc85aec8d3c9ab4dc716dc9f1ed36fca16b227f | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.