Skip to content
Heist/ feed
Back to feed
CriticalFix available

batman-adv: tt: fix TOCTOU race for reported vlans

Type: advisorySources: OSV

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.

Products
Kernel
Affected versions
Not specified
Fixed versions
5.10.259, 5.15.210, 6.1.176, 6.12.93, 6.18.34, 6.6.143, 7.0.11
CVEs
CVE-2026-64091
Confirmed fixed CVEs
Not specified
Updated in this feed
2 Nov 2026, 20:29 UTC · Revision 1

Source evidence

batman-adv: tt: fix TOCTOU race for reported vlans

core-osv · Original source

Published 19 Jul 2026, 15:40 UTC

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.

osv:CVE-2026-64091

Kernel

Fixed versions: 5.10.259, 5.15.210, 6.1.176, 6.6.143, 6.12.93, 6.18.34, 7.0.11

Complete source record
{
  "id": "121d7b9e23606de5d6f012ee65f7546fa30515476884d7c54e2210b29c819c68",
  "url": "https://osv.dev/vulnerability/CVE-2026-64091",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "batman-adv: tt: fix TOCTOU race for reported vlans",
    "summary": "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.",
    "evidence": "osv:CVE-2026-64091",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "5.10.259",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.15.210",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.1.176",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.6.143",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.12.93",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.18.34",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "7.0.11",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "critical",
    "structured": {
      "id": "CVE-2026-64091",
      "aliases": [
        "CVE-2026-64091"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "16116dac23396e73c01eeee97b102e4833a4b205"
                },
                {
                  "fixed": "e4236bf3ec8d6bb15d0d8d825dcf9933a7d6666b"
                },
                {
                  "fixed": "724a8eb4155669797c96b70d70e354284ae3b5a8"
                },
                {
                  "fixed": "211ea59988e1cba43cb0367ad65d379b56f9c3bd"
                },
                {
                  "fixed": "65a1e67339aa8c95ac544b796946af388930ee23"
                },
                {
                  "fixed": "b4d4efd4e351593c81e9293d4b4408d244fa5ee7"
                },
                {
                  "fixed": "4cc85aec8d3c9ab4dc716dc9f1ed36fca16b227f"
                },
                {
                  "fixed": "9a9c859457bc440a55773e01ff18b1bb5bab6836"
                },
                {
                  "fixed": "94d27005016be15ffc638b2ecbc4d58805ad7b48"
                }
              ]
            },
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "3.16.60"
                },
                {
                  "fixed": "3.17"
                }
              ]
            },
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "4.4.217"
                },
                {
                  "fixed": "4.5"
                }
              ]
            },
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "4.9.217"
                },
                {
                  "fixed": "4.10"
                }
              ]
            },
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "4.14.174"
                },
                {
                  "fixed": "4.15"
                }
              ]
            },
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "3134c5a32810c510f1f447c135cec346acbb71c3"
                }
              ]
            },
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "e861e03a1b5b615ad1b57b1802b17e260eedccfe"
                }
              ]
            },
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0b81edc8818903c64c4d121bc51cd5825be8cc67"
                }
              ]
            },
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "90ae6475b1753f0c1a4c66034b5666de3189fac8"
                }
              ]
            }
          ],
          "versions": [
            "v3.16.85",
            "v3.16.84",
            "v3.16.83",
            "v3.16.82",
            "v3.16.81",
            "v3.16.80",
            "v3.16.79",
            "v3.16.78",
            "v3.16.77",
            "v3.16.76",
            "v3.16.75",
            "v3.16.74",
            "v3.16.73",
            "v3.16.72",
            "v3.16.71",
            "v3.16.70",
            "v3.16.69",
            "v3.16.68",
            "v3.16.67",
            "v3.16.66",
            "v3.16.65",
            "v3.16.64",
            "v3.16.63",
            "v3.16.62",
            "v3.16.61",
            "v3.16.60",
            "v4.4.302",
            "v4.4.301",
            "v4.4.300",
            "v4.4.299",
            "v4.4.298",
            "v4.4.297",
            "v4.4.296",
            "v4.4.295",
            "v4.4.294",
            "v4.4.293",
            "v4.4.292",
            "v4.4.291",
            "v4.4.290",
            "v4.4.289",
            "v4.4.288",
            "v4.4.287",
            "v4.4.286",
            "v4.4.285",
            "v4.4.284",
            "v4.4.283",
            "v4.4.282",
            "v4.4.281",
            "v4.4.280",
            "v4.4.279",
            "v4.4.278",
            "v4.4.277",
            "v4.4.276",
            "v4.4.275",
            "v4.4.274",
            "v4.4.273",
            "v4.4.272",
            "v4.4.271",
            "v4.4.270",
            "v4.4.269",
            "v4.4.268",
            "v4.4.267",
            "v4.4.266",
            "v4.4.265",
            "v4.4.264",
            "v4.4.263",
            "v4.4.262",
            "v4.4.261",
            "v4.4.260",
            "v4.4.259",
            "v4.4.258",
            "v4.4.257",
            "v4.4.256",
            "v4.4.255",
            "v4.4.254",
            "v4.4.253",
            "v4.4.252",
            "v4.4.251",
            "v4.4.250",
            "v4.4.249",
            "v4.4.248",
            "v4.4.247",
            "v4.4.246",
            "v4.4.245",
            "v4.4.244",
            "v4.4.243",
            "v4.4.242",
            "v4.4.241",
            "v4.4.240",
            "v4.4.239",
            "v4.4.238",
            "v4.4.237",
            "v4.4.236",
            "v4.4.235",
            "v4.4.234",
            "v4.4.233",
            "v4.4.232",
            "v4.4.231",
            "v4.4.230",
            "v4.4.229",
            "v4.4.228",
            "v4.4.227",
            "v4.4.226",
            "v4.4.225",
            "v4.4.224",
            "v4.4.223",
            "v4.4.222",
            "v4.4.221",
            "v4.4.220",
            "v4.4.219",
            "v4.4.218",
            "v4.4.217",
            "v4.9.337",
            "v4.9.336",
            "v4.9.335",
            "v4.9.334",
            "v4.9.333",
            "v4.9.332",
            "v4.9.331",
            "v4.9.330",
            "v4.9.329",
            "v4.9.328",
            "v4.9.327",
            "v4.9.326",
            "v4.9.325",
            "v4.9.324",
            "v4.9.323",
            "v4.9.322",
            "v4.9.321",
            "v4.9.320",
            "v4.9.319",
            "v4.9.318",
            "v4.9.317",
            "v4.9.316",
            "v4.9.315",
            "v4.9.314",
            "v4.9.313",
            "v4.9.312",
            "v4.9.311",
            "v4.9.310",
            "v4.9.309",
            "v4.9.308",
            "v4.9.307",
            "v4.9.306",
            "v4.9.305",
            "v4.9.304",
            "v4.9.303",
            "v4.9.302",
            "v4.9.301",
            "v4.9.300",
            "v4.9.299",
            "v4.9.298",
            "v4.9.297",
            "v4.9.296",
            "v4.9.295",
            "v4.9.294",
            "v4.9.293",
            "v4.9.292",
            "v4.9.291",
            "v4.9.290",
            "v4.9.289",
            "v4.9.288",
            "v4.9.287",
            "v4.9.286",
            "v4.9.285",
            "v4.9.284",
            "v4.9.283",
            "v4.9.282",
            "v4.9.281",
            "v4.9.280",
            "v4.9.279",
            "v4.9.278",
            "v4.9.277",
            "v4.9.276",
            "v4.9.275",
            "v4.9.274",
            "v4.9.273",
            "v4.9.272",
            "v4.9.271",
            "v4.9.270",
            "v4.9.269",
            "v4.9.268",
            "v4.9.267",
            "v4.9.266",
            "v4.9.265",
            "v4.9.264",
            "v4.9.263",
            "v4.9.262",
            "v4.9.261",
            "v4.9.260",
            "v4.9.259",
            "v4.9.258",
            "v4.9.257",
            "v4.9.256",
            "v4.9.255",
            "v4.9.254",
            "v4.9.253",
            "v4.9.252",
            "v4.9.251",
            "v4.9.250",
            "v4.9.249",
            "v4.9.248",
            "v4.9.247",
            "v4.9.246",
            "v4.9.245",
            "v4.9.244",
            "v4.9.243",
            "v4.9.242",
            "v4.9.241",
            "v4.9.240",
            "v4.9.239",
            "v4.9.238",
            "v4.9.237",
            "v4.9.236",
            "v4.9.235",
            "v4.9.234",
            "v4.9.233",
            "v4.9.232",
            "v4.9.231",
            "v4.9.230",
            "v4.9.229",
            "v4.9.228",
            "v4.9.227",
            "v4.9.226",
            "v4.9.225",
            "v4.9.224",
            "v4.9.223",
            "v4.9.222",
            "v4.9.221",
            "v4.9.220",
            "v4.9.219",
            "v4.9.218",
            "v4.9.217",
            "v4.14.336",
            "v4.14.335",
            "v4.14.334",
            "v4.14.333",
            "v4.14.332",
            "v4.14.331",
            "v4.14.330",
            "v4.14.329",
            "v4.14.328",
            "v4.14.327",
            "v4.14.326",
            "v4.14.325",
            "v4.14.324",
            "v4.14.323",
            "v4.14.322",
            "v4.14.321",
            "v4.14.320",
            "v4.14.319",
            "v4.14.318",
            "v4.14.317",
            "v4.14.316",
            "v4.14.315",
            "v4.14.314",
            "v4.14.313",
            "v4.14.312",
            "v4.14.311",
            "v4.14.310",
            "v4.14.309",
            "v4.14.308",
            "v4.14.307",
            "v4.14.306",
            "v4.14.305",
            "v4.14.304",
            "v4.14.303",
            "v4.14.302",
            "v4.14.301",
            "v4.14.300",
            "v4.14.299",
            "v4.14.298",
            "v4.14.297",
            "v4.14.296",
            "v4.14.295",
            "v4.14.294",
            "v4.14.293",
            "v4.14.292",
            "v4.14.291",
            "v4.14.290",
            "v4.14.289",
            "v4.14.288",
            "v4.14.287",
            "v4.14.286",
            "v4.14.285",
            "v4.14.284",
            "v4.14.283",
            "v4.14.282",
            "v4.14.281",
            "v4.14.280",
            "v4.14.279",
            "v4.14.278",
            "v4.14.277",
            "v4.14.276",
            "v4.14.275",
            "v4.14.274",
            "v4.14.273",
            "v4.14.272",
            "v4.14.271",
            "v4.14.270",
            "v4.14.269",
            "v4.14.268",
            "v4.14.267",
            "v4.14.266",
            "v4.14.265",
            "v4.14.264",
            "v4.14.263",
            "v4.14.262",
            "v4.14.261",
            "v4.14.260",
            "v4.14.259",
            "v4.14.258",
            "v4.14.257",
            "v4.14.256",
            "v4.14.255",
            "v4.14.254",
            "v4.14.253",
            "v4.14.252",
            "v4.14.251",
            "v4.14.250",
            "v4.14.249",
            "v4.14.248",
            "v4.14.247",
            "v4.14.246",
            "v4.14.245",
            "v4.14.244",
            "v4.14.243",
            "v4.14.242",
            "v4.14.241",
            "v4.14.240",
            "v4.14.239",
            "v4.14.238",
            "v4.14.237",
            "v4.14.236",
            "v4.14.235",
            "v4.14.234",
            "v4.14.233",
            "v4.14.232",
            "v4.14.231",
            "v4.14.230",
            "v4.14.229",
            "v4.14.228",
            "v4.14.227",
            "v4.14.226",
            "v4.14.225",
            "v4.14.224",
            "v4.14.223",
            "v4.14.222",
            "v4.14.221",
            "v4.14.220",
            "v4.14.219",
            "v4.14.218",
            "v4.14.217",
            "v4.14.216",
            "v4.14.215",
            "v4.14.214",
            "v4.14.213",
            "v4.14.212",
            "v4.14.211",
            "v4.14.210",
            "v4.14.209",
            "v4.14.208",
            "v4.14.207",
            "v4.14.206",
            "v4.14.205",
            "v4.14.204",
            "v4.14.203",
            "v4.14.202",
            "v4.14.201",
            "v4.14.200",
            "v4.14.199",
            "v4.14.198",
            "v4.14.197",
            "v4.14.196",
            "v4.14.195",
            "v4.14.194",
            "v4.14.193",
            "v4.14.192",
            "v4.14.191",
            "v4.14.190",
            "v4.14.189",
            "v4.14.188",
            "v4.14.187",
            "v4.14.186",
            "v4.14.185",
            "v4.14.184",
            "v4.14.183",
            "v4.14.182",
            "v4.14.181",
            "v4.14.180",
            "v4.14.179",
            "v4.14.178",
            "v4.14.177",
            "v4.14.176",
            "v4.14.175",
            "v4.14.174"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-64091.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "4.17.0"
                },
                {
                  "fixed": "5.10.259"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.11.0"
                },
                {
                  "fixed": "5.15.210"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.16.0"
                },
                {
                  "fixed": "6.1.176"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.2.0"
                },
                {
                  "fixed": "6.6.143"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.7.0"
                },
                {
                  "fixed": "6.12.93"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.13.0"
                },
                {
                  "fixed": "6.18.34"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.19.0"
                },
                {
                  "fixed": "7.0.11"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-64091.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:23.836014125Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/211ea59988e1cba43cb0367ad65d379b56f9c3bd",
        "https://git.kernel.org/stable/c/4cc85aec8d3c9ab4dc716dc9f1ed36fca16b227f",
        "https://git.kernel.org/stable/c/65a1e67339aa8c95ac544b796946af388930ee23",
        "https://git.kernel.org/stable/c/724a8eb4155669797c96b70d70e354284ae3b5a8",
        "https://git.kernel.org/stable/c/94d27005016be15ffc638b2ecbc4d58805ad7b48",
        "https://git.kernel.org/stable/c/9a9c859457bc440a55773e01ff18b1bb5bab6836",
        "https://git.kernel.org/stable/c/b4d4efd4e351593c81e9293d4b4408d244fa5ee7",
        "https://git.kernel.org/stable/c/e4236bf3ec8d6bb15d0d8d825dcf9933a7d6666b",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/64xxx/CVE-2026-64091.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-64091",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/64xxx/CVE-2026-64091.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-64091",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 489859,
  "published_at": "2026-07-19T15:40:00.03+00:00"
}