{
  "schemaVersion": 1,
  "attribution": [
    {
      "source": "CISA Known Exploited Vulnerabilities",
      "url": "https://www.cisa.gov/known-exploited-vulnerabilities-catalog",
      "licence": "US government work"
    },
    {
      "source": "GitHub Advisory Database",
      "url": "https://github.com/advisories",
      "licence": "CC BY 4.0"
    },
    {
      "source": "Have I Been Pwned",
      "url": "https://haveibeenpwned.com/",
      "licence": "CC BY 4.0"
    },
    {
      "source": "CVE Program (CVE records)",
      "url": "https://www.cve.org/Legal/TermsOfUse",
      "licence": "CVE Terms of Use",
      "notice": "Copyright © 1999-2026, The MITRE Corporation. CVE is a trademark and the CVE logo is a registered trademark of The MITRE Corporation.",
      "terms": "CVE Usage: MITRE hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute Common Vulnerabilities and Exposures (CVE™). Any copy you make for such purposes is authorized provided that you reproduce MITRE's copyright designation and this license in any such copy."
    },
    {
      "source": "FIRST EPSS",
      "url": "https://www.first.org/epss/",
      "licence": "free to use; FIRST requests attribution"
    }
  ],
  "record": {
    "id": "CVE-2026-64095",
    "sourceURL": "https://www.cve.org/CVERecord?id=CVE-2026-64095",
    "idYear": 2026,
    "status": "PUBLISHED",
    "publishedAt": "2026-07-19T15:40:02.360Z",
    "updatedAt": "2026-08-05T12:39:09.386Z",
    "importedAt": "2026-10-24T01:58:25.636Z",
    "snapshot": {
      "id": "cve_2026-10-24_midnight_baseline",
      "at": "2026-10-24T00:00:00.000Z",
      "source": "https://github.com/CVEProject/cvelistV5/releases/tag/cve_2026-10-24_0100Z"
    },
    "facts": {
      "title": "batman-adv: bla: avoid double decrement of bla.num_requests",
      "summary": "In the Linux kernel, the following vulnerability has been resolved:\n\nbatman-adv: bla: avoid double decrement of bla.num_requests\n\nThe bla.num_requests is increased when no request_sent was in progress. And\nit is decremented in various places (announcement was received, backbone is\npurged, periodic work). But the check if the request_sent is actually set\nto a specific state and the atomic_dec/_inc are not safe because they are\nnot atomic (TOCTOU) and multiple such code portions can run concurrently.\n\nAt the same time, it is necessary to modify request_sent (state) and\nbla.num_requests atomically. Otherwise batadv_bla_send_request() might set\nrequest_sent to 1 and is interrupted.  batadv_handle_announce() can then\nset request_sent back to 0 and decrement num_requests before\nbatadv_bla_send_request() incremented it.\n\nThe two operations must therefore be locked. And since state (request_sent)\nand wait_periods are only accessed inside this lock, they can be converted\nto simpler datatypes. And to avoid that the bla.num_requests is touched by\na parallel running context with a valid backbone_gw reference after\nbatadv_bla_purge_backbone_gw() ran, a third state \"stopped\" is required to\ncorrectly signal that a backbone_gw is in the state of being cleaned up.",
      "affected": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "23721387c409087fd3b97e274f34d3ddc0970b74",
              "status": "affected",
              "versionType": "git",
              "lessThan": "1f013bc94154f2e78e97d0296175664224c796e0"
            },
            {
              "version": "23721387c409087fd3b97e274f34d3ddc0970b74",
              "status": "affected",
              "versionType": "git",
              "lessThan": "5328b95960774f2e189f22485616bc7b8eb2f7e3"
            },
            {
              "version": "23721387c409087fd3b97e274f34d3ddc0970b74",
              "status": "affected",
              "versionType": "git",
              "lessThan": "8ff9c59d1b7b48c2596878341a5310f32895d52b"
            },
            {
              "version": "23721387c409087fd3b97e274f34d3ddc0970b74",
              "status": "affected",
              "versionType": "git",
              "lessThan": "a9393751ecf7e9096f93cb6eed02db4f79125765"
            },
            {
              "version": "23721387c409087fd3b97e274f34d3ddc0970b74",
              "status": "affected",
              "versionType": "git",
              "lessThan": "461f1e3dfb888701895b766446c55db2b10db705"
            },
            {
              "version": "23721387c409087fd3b97e274f34d3ddc0970b74",
              "status": "affected",
              "versionType": "git",
              "lessThan": "45384612f29692fbf0c770200361a7acff90125c"
            },
            {
              "version": "23721387c409087fd3b97e274f34d3ddc0970b74",
              "status": "affected",
              "versionType": "git",
              "lessThan": "65497ad155a3246df177b5ef662cd6e5a32cb470"
            },
            {
              "version": "23721387c409087fd3b97e274f34d3ddc0970b74",
              "status": "affected",
              "versionType": "git",
              "lessThan": "83ab69bd12b80f6ea169c8bea6977701b53a043d"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "versions": [
            {
              "version": "3.5",
              "status": "affected"
            },
            {
              "version": "0",
              "status": "unaffected",
              "versionType": "semver",
              "lessThan": "3.5"
            },
            {
              "version": "5.10.259",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.10.*"
            },
            {
              "version": "5.15.210",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.15.*"
            },
            {
              "version": "6.1.176",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.1.*"
            },
            {
              "version": "6.6.143",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.6.*"
            },
            {
              "version": "6.12.93",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.12.*"
            },
            {
              "version": "6.18.34",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.18.*"
            },
            {
              "version": "7.0.11",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "7.0.*"
            },
            {
              "version": "7.1",
              "status": "unaffected",
              "versionType": "original_commit_for_fix",
              "lessThanOrEqual": "*"
            }
          ]
        }
      ]
    }
  }
}