CVE-2026-64218

Source
https://cve.org/CVERecord?id=CVE-2026-64218
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-64218.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-64218
Downstream
Published
2026-07-24T15:23:05.814Z
Modified
2026-07-28T04:02:21.592508332Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
batman-adv: bla: fix report_work leak on backbone_gw purge
Details

In the Linux kernel, the following vulnerability has been resolved:

batman-adv: bla: fix reportwork leak on backbonegw purge

batadvblapurgebackbonegw() removes stale backbone gateway entries, but fails to properly handle their associated report_work:

  • If reportwork is running, the purge must wait for it to finish before freeing the backbonegw, otherwise the worker may access freed memory (e.g. bat_priv).
  • If report_work is pending, the purge must cancel it and release the reference held for that pending work item.

The previous implementation called hlistforeachentrysafe() inside a spinlockbh() section, but cancelworksync() may sleep and therefore cannot be called from within a spinlock-protected region.

Restructure the loop to handle one entry per spinlock critical section: acquire the lock, find the next entry to purge, remove it from the hash list, then release the lock before calling cancelworksync() and dropping the hash_entry reference. Repeat until no more entries require purging.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/64xxx/CVE-2026-64218.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
23721387c409087fd3b97e274f34d3ddc0970b74
Fixed
ce2c0ee4d76d5ee4b391fe0e31334361e25030ec
Fixed
3423a45e5c3d3c5129f88143a9a969787d7d5a0a
Fixed
f1303adb1e59582f76c22798a2e2e150e054a9e7
Fixed
48663158222b3b7f6ee6791a67d512ede7fc94bb
Fixed
eeddd7bab3d59c1e98642a204141f8c5d6194707
Fixed
c6de1a5a9c406e30b91f1515a6ce05cc84023baa
Fixed
95a7034661274cf5985708bd2f6d86ee46f88fa9
Fixed
0459430add32ea41f3e2ef9351610e6d33627a6b

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-64218.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
3.5.0
Fixed
5.10.258
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.209
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.175
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.142
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.92
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.34
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.0.11

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-64218.json"