Back to overview

CVE-2026-64218

Description
In the Linux kernel, the following vulnerability has been resolved: batman-adv: bla: fix report_work leak on backbone_gw purge batadv_bla_purge_backbone_gw() removes stale backbone gateway entries, but fails to properly handle their associated report_work: - If report_work is running, the purge must wait for it to finish before freeing the backbone_gw, 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 hlist_for_each_entry_safe() inside a spin_lock_bh() section, but cancel_work_sync() 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 cancel_work_sync() and dropping the hash_entry reference. Repeat until no more entries require purging.

Metadata

CVE ID
CVE-2026-64218
State
PUBLISHED
Assigner
Linux
Reserved
2026-07-19 15:36 UTC
Published
2026-07-24 15:23 UTC
Last updated
2026-07-24 15:23 UTC
Vendor / Product
Linux / Linux
Sources
cve.org  ·  NVD

Severity & Metrics

No CVSS data available.

Affected products (2)
VendorProductPlatformVersions
Linux Linux 23721387c409087fd3b97e274f34d3ddc0970b74 < ce2c0ee4d76d5ee4b391fe0e31334361e25030ec, 23721387c409087fd3b97e274f34d3ddc0970b74 < 3423a45e5c3d3c5129f88143a9a969787d7d5a0a, 23721387c409087fd3b97e274f34d3ddc0970b74 < f1303adb1e59582f76c22798a2e2e150e054a9e7, 23721387c409087fd3b97e274f34d3ddc0970b74 < 48663158222b3b7f6ee6791a67d512ede7fc94bb …
Linux Linux 3.5, 0 < 3.5, 5.10.258 ≤ 5.10.*, 5.15.209 ≤ 5.15.* …
Back to overview