CVE-2026-64218

batman-adv: bla: fix report_work leak on backbone_gw purge

HIGH
7.8
CVSS Score
Published: July 24, 2026 at 03:23 PM UTC
Updated: August 11, 2026 at 06:38 PM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.8
Exploit prediction
EPSS 0.1%

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

3.5 ≤ v < 5.10.2583.5 ≤ v < 5.15.2093.5 ≤ v < 6.1.1753.5 ≤ v < 6.12.923.5 ≤ v < 6.18.343.5 ≤ v < 6.6.1423.5 ≤ v < 7.0.113.5 ≤ v < 7.15.11 ≤ v < 5.15.2095.16 ≤ v < 6.1.1756.13 ≤ v < 6.18.346.19 ≤ v < 7.0.116.2 ≤ v < 6.6.1426.7 ≤ v < 6.12.9223721387c409087fd3b97e274f34d3ddc0970b747.1 rc17.1 rc27.1 rc37.1 rc4
Vendor states this is fixed in 0459430add32ea41f3e2ef9351610e6d33627a6b (fixed)
Vendor states this is fixed in 3423a45e5c3d3c5129f88143a9a969787d7d5a0a (fixed)
Vendor states this is fixed in 48663158222b3b7f6ee6791a67d512ede7fc94bb (fixed)
Vendor states this is fixed in 95a7034661274cf5985708bd2f6d86ee46f88fa9 (fixed)
Vendor states this is fixed in c6de1a5a9c406e30b91f1515a6ce05cc84023baa (fixed)
Vendor states this is fixed in ce2c0ee4d76d5ee4b391fe0e31334361e25030ec (fixed)
Vendor states this is fixed in eeddd7bab3d59c1e98642a204141f8c5d6194707 (fixed)
Vendor states this is fixed in f1303adb1e59582f76c22798a2e2e150e054a9e7 (fixed)
Vendor states this is fixed in 3.5 (unaffected)
Vendor states this is fixed in 5.10.258 (unaffected)
Vendor states this is fixed in 5.15.209 (unaffected)
Vendor states this is fixed in 6.1.175 (unaffected)
Vendor states this is fixed in 6.12.92 (unaffected)
Vendor states this is fixed in 6.18.34 (unaffected)
Vendor states this is fixed in 6.6.142 (unaffected)
Vendor states this is fixed in 7.0.11 (unaffected)
Vendor states this is fixed in 7.1 (unaffected)

CVSS

7.8HIGHLinux
Vector?

Quick Info

StatusANALYZED
CWE
NVD-CWE-noinfo

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card