{
  "id": "CVE-2026-64218",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-64218",
  "published_at": "2026-07-24T15:23:05.814Z",
  "title": "batman-adv: bla: fix report_work leak on backbone_gw purge",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 7.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "In the Linux kernel, the following vulnerability has been resolved:\n\nbatman-adv: bla: fix report_work leak on backbone_gw purge\n\nbatadv_bla_purge_backbone_gw() removes stale backbone gateway entries,\nbut fails to properly handle their associated report_work:\n\n- If report_work is running, the purge must wait for it to finish before\n  freeing the backbone_gw, otherwise the worker may access freed memory\n  (e.g. bat_priv).\n- If report_work is pending, the purge must cancel it and release the\n  reference held for that pending work item.\n\nThe previous implementation called hlist_for_each_entry_safe() inside a\nspin_lock_bh() section, but cancel_work_sync() may sleep and therefore\ncannot be called from within a spinlock-protected region.\n\nRestructure the loop to handle one entry per spinlock critical section:\nacquire the lock, find the next entry to purge, remove it from the hash\nlist, then release the lock before calling cancel_work_sync() and\ndropping the hash_entry reference. Repeat until no more entries require\npurging.",
  "cpes": [
    "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.1:rc1:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.1:rc2:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.1:rc3:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.1:rc4:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= 23721387c409087fd3b97e274f34d3ddc0970b74, \u003c ce2c0ee4d76d5ee4b391fe0e31334361e25030ec",
          "\u003e= 23721387c409087fd3b97e274f34d3ddc0970b74, \u003c 3423a45e5c3d3c5129f88143a9a969787d7d5a0a",
          "\u003e= 23721387c409087fd3b97e274f34d3ddc0970b74, \u003c f1303adb1e59582f76c22798a2e2e150e054a9e7",
          "\u003e= 23721387c409087fd3b97e274f34d3ddc0970b74, \u003c 48663158222b3b7f6ee6791a67d512ede7fc94bb",
          "\u003e= 23721387c409087fd3b97e274f34d3ddc0970b74, \u003c eeddd7bab3d59c1e98642a204141f8c5d6194707",
          "\u003e= 23721387c409087fd3b97e274f34d3ddc0970b74, \u003c c6de1a5a9c406e30b91f1515a6ce05cc84023baa",
          "\u003e= 23721387c409087fd3b97e274f34d3ddc0970b74, \u003c 95a7034661274cf5985708bd2f6d86ee46f88fa9",
          "\u003e= 23721387c409087fd3b97e274f34d3ddc0970b74, \u003c 0459430add32ea41f3e2ef9351610e6d33627a6b"
        ],
        "fixed_in": [
          "ce2c0ee4d76d5ee4b391fe0e31334361e25030ec",
          "3423a45e5c3d3c5129f88143a9a969787d7d5a0a",
          "f1303adb1e59582f76c22798a2e2e150e054a9e7",
          "48663158222b3b7f6ee6791a67d512ede7fc94bb",
          "eeddd7bab3d59c1e98642a204141f8c5d6194707",
          "c6de1a5a9c406e30b91f1515a6ce05cc84023baa",
          "95a7034661274cf5985708bd2f6d86ee46f88fa9",
          "0459430add32ea41f3e2ef9351610e6d33627a6b"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "3.5"
        ],
        "fixed_in": [
          "0",
          "5.10.258",
          "5.15.209",
          "6.1.175",
          "6.6.142",
          "6.12.92",
          "6.18.34",
          "7.0.11",
          "7.1"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to ce2c0ee4d76d5ee4b391fe0e31334361e25030ec or 3423a45e5c3d3c5129f88143a9a969787d7d5a0a or f1303adb1e59582f76c22798a2e2e150e054a9e7 or 48663158222b3b7f6ee6791a67d512ede7fc94bb or eeddd7bab3d59c1e98642a204141f8c5d6194707 or c6de1a5a9c406e30b91f1515a6ce05cc84023baa or 95a7034661274cf5985708bd2f6d86ee46f88fa9 or 0459430add32ea41f3e2ef9351610e6d33627a6b or later.",
      "Upgrade Linux to 0 or 5.10.258 or 5.15.209 or 6.1.175 or 6.6.142 or 6.12.92 or 6.18.34 or 7.0.11 or 7.1 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
