CVE-2026-64218
batman-adv: bla: fix report_work leak on backbone_gw purge
Reported by linux · Published July 24, 2026
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.
EPSS 0.13% · 2.7th percentile
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 23721387c409087fd3b97e274f34d3ddc0970b74, 23721387c409087fd3b97e274f34d3ddc0970b74, 23721387c409087fd3b97e274f34d3ddc0970b74 |
| Linux | Linux | 3.5, 0, 5.10.258 |
| linux | linux_kernel | 3.5, 3.5, 3.5 |
| Linux | Linux | 23721387c409087fd3b97e274f34d3ddc0970b74, 23721387c409087fd3b97e274f34d3ddc0970b74, 23721387c409087fd3b97e274f34d3ddc0970b74 |
Timeline
- Jul 24, 2026 Coalition ESS Score
- Jul 24, 2026 CVE Published
- Jul 25, 2026 EPSS Score (11 in total, the first dated here)
- Jul 26, 2026 Security Advisory (20 in total, the first dated here)
- Aug 5, 2026 CVE Updated
- Aug 12, 2026 Distribution Patch (21 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-64218
vulnetix vdb fixes CVE-2026-64218
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-64218/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart