{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-64218","id":"CVE-2026-64218","title":"batman-adv: bla: fix report_work leak on backbone_gw purge","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 me","descriptionLong":"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.","published":"2026-07-24T15:23:05.814Z","updated":"2026-10-28T02:30:21.578393698Z","reserved":"2026-07-19T15:36:31.770Z","status":"Analyzed","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"Linux"},"metrics":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"Linux"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"}],"rating":"high","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"23721387c409087fd3b97e274f34d3ddc0970b74","lessThan":"ce2c0ee4d76d5ee4b391fe0e31334361e25030ec","status":"affected","versionType":"git"},{"version":"23721387c409087fd3b97e274f34d3ddc0970b74","lessThan":"3423a45e5c3d3c5129f88143a9a969787d7d5a0a","status":"affected","versionType":"git"},{"version":"23721387c409087fd3b97e274f34d3ddc0970b74","lessThan":"f1303adb1e59582f76c22798a2e2e150e054a9e7","status":"affected","versionType":"git"},{"version":"23721387c409087fd3b97e274f34d3ddc0970b74","lessThan":"48663158222b3b7f6ee6791a67d512ede7fc94bb","status":"affected","versionType":"git"},{"version":"23721387c409087fd3b97e274f34d3ddc0970b74","lessThan":"eeddd7bab3d59c1e98642a204141f8c5d6194707","status":"affected","versionType":"git"},{"version":"23721387c409087fd3b97e274f34d3ddc0970b74","lessThan":"c6de1a5a9c406e30b91f1515a6ce05cc84023baa","status":"affected","versionType":"git"},{"version":"23721387c409087fd3b97e274f34d3ddc0970b74","lessThan":"95a7034661274cf5985708bd2f6d86ee46f88fa9","status":"affected","versionType":"git"},{"version":"23721387c409087fd3b97e274f34d3ddc0970b74","lessThan":"0459430add32ea41f3e2ef9351610e6d33627a6b","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"3.5","status":"affected"},{"version":"0","lessThan":"3.5","status":"unaffected","versionType":"semver"},{"version":"5.10.258","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.209","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.175","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.142","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.92","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.34","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.0.11","lessThanOrEqual":"7.0.*","status":"unaffected","versionType":"semver"},{"version":"7.1","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":[],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/ce2c0ee4d76d5ee4b391fe0e31334361e25030ec","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/3423a45e5c3d3c5129f88143a9a969787d7d5a0a","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/f1303adb1e59582f76c22798a2e2e150e054a9e7","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/48663158222b3b7f6ee6791a67d512ede7fc94bb","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/eeddd7bab3d59c1e98642a204141f8c5d6194707","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/c6de1a5a9c406e30b91f1515a6ce05cc84023baa","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/95a7034661274cf5985708bd2f6d86ee46f88fa9","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/0459430add32ea41f3e2ef9351610e6d33627a6b","tags":["Patch","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/64xxx/CVE-2026-64218.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-64218","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.0013,"epssPercentile":0.02694,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-64218","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-64218","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-64218","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-64218","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}