# CVE-2026-64218: batman-adv: bla: fix report\_work leak on backbone\_gw purge

- Priority: **Routine**
- Reason: Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-07-24 · Modified: 2026-08-05
- Aliases: UBUNTU-CVE-2026-64218, DEBIAN-CVE-2026-64218
- Record: https://cvemate.com/vulnerability/CVE-2026-64218 · JSON: https://cvemate.com/vulnerability/CVE-2026-64218/json

## Description

```text
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.
```

## Signals

- CVSS: 7.8 high (v3.1, CVE.org) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS: 0.13%, percentile 2.782%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 171)

- debian linux (Debian): \< 6.1.176-1 \| \< 6.12.94-1 \| \< 7.0.12-1
- ubuntu linux (Ubuntu): All versions (No fix recorded) \| \< 5.15.0-186.196 \| \< 6.8.0-139.139 \| \< 7.0.0-28.28
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws (Ubuntu): All versions (No fix recorded) \| \< 5.15.0-1112.119 \| \< 6.8.0-1064.67 \| \< 7.0.0-1009.9
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.15 (Ubuntu): \< 5.15.0-1112.119~20.04.1
- ubuntu linux-aws-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.3 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.4 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.8 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.14 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.17 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.2 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.5 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.8 (Ubuntu): \< 6.8.0-1064.67~22.04.1
- ubuntu linux-aws-fips (Ubuntu): All versions (No fix recorded) \| \< 5.15.0-1112.119+fips1 \| \< 6.8.0-1064.67+fips1
- ubuntu linux-aws-hwe (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure (Ubuntu): All versions (No fix recorded) \| \< 5.15.0-1117.126 \| \< 6.8.0-1067.75 \| \< 7.0.0-1010.10

## References (first 20 of 37)

- <https://git.kernel.org/stable/c/ce2c0ee4d76d5ee4b391fe0e31334361e25030ec>
- <https://git.kernel.org/stable/c/3423a45e5c3d3c5129f88143a9a969787d7d5a0a>
- <https://git.kernel.org/stable/c/f1303adb1e59582f76c22798a2e2e150e054a9e7>
- <https://git.kernel.org/stable/c/48663158222b3b7f6ee6791a67d512ede7fc94bb>
- <https://git.kernel.org/stable/c/eeddd7bab3d59c1e98642a204141f8c5d6194707>
- <https://git.kernel.org/stable/c/c6de1a5a9c406e30b91f1515a6ce05cc84023baa>
- <https://git.kernel.org/stable/c/95a7034661274cf5985708bd2f6d86ee46f88fa9>
- <https://git.kernel.org/stable/c/0459430add32ea41f3e2ef9351610e6d33627a6b>
- <https://ubuntu.com/security/CVE-2026-64218>
- <https://www.cve.org/CVERecord?id=CVE-2026-64218>
- <https://git.kernel.org/linus/0459430add32ea41f3e2ef9351610e6d33627a6b>
- <https://ubuntu.com/security/notices/USN-8618-1>
- <https://ubuntu.com/security/notices/USN-8620-1>
- <https://ubuntu.com/security/notices/USN-8620-2>
- <https://ubuntu.com/security/notices/USN-8620-3>
- <https://ubuntu.com/security/notices/USN-8620-4>
- <https://ubuntu.com/security/notices/USN-8663-1>
- <https://ubuntu.com/security/notices/USN-8664-1>
- <https://ubuntu.com/security/notices/USN-8668-1>
- <https://ubuntu.com/security/notices/USN-8728-1>

---

Data as of 2026-12-05T04:39:21.737Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
