CVE-2026-64218

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

7.8 high EPSS 0.18%

Published 24 Jul 2026 Updated 5 Aug 2026 CNA: Linux

Check your servers for CVE-2026-64218

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-64218 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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.

Severity (CVSS)

7.8 high CVSS 3.1 from Linux (CNA)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack vector
local: the attacker needs local access, or a user has to open a prepared file
Attack complexity
low: an attack works without special conditions
Privileges required
low: the attacker needs an ordinary user account
User interaction
none: nobody has to click or open anything
Scope
unchanged: the damage stays inside the vulnerable component
Impact
confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 0.18%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 4.15% of all scored CVEs. Scores of 30 Nov 2026.

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 23721387c409087fd3b97e274f34d3ddc0970b74, before ce2c0ee4d76d5ee4b391fe0e31334361e25030ec
affected from 23721387c409087fd3b97e274f34d3ddc0970b74, before 3423a45e5c3d3c5129f88143a9a969787d7d5a0a
affected from 23721387c409087fd3b97e274f34d3ddc0970b74, before f1303adb1e59582f76c22798a2e2e150e054a9e7
affected from 23721387c409087fd3b97e274f34d3ddc0970b74, before 48663158222b3b7f6ee6791a67d512ede7fc94bb
affected from 23721387c409087fd3b97e274f34d3ddc0970b74, before eeddd7bab3d59c1e98642a204141f8c5d6194707
affected from 23721387c409087fd3b97e274f34d3ddc0970b74, before c6de1a5a9c406e30b91f1515a6ce05cc84023baa
affected from 23721387c409087fd3b97e274f34d3ddc0970b74, before 95a7034661274cf5985708bd2f6d86ee46f88fa9
affected from 23721387c409087fd3b97e274f34d3ddc0970b74, before 0459430add32ea41f3e2ef9351610e6d33627a6b
Other versions: unaffected
Linux
affected 3.5
unaffected before 3.5
unaffected from 5.10.258 up to and including 5.10.*
unaffected from 5.15.209 up to and including 5.15.*
unaffected from 6.1.175 up to and including 6.1.*
unaffected from 6.6.142 up to and including 6.6.*
unaffected from 6.12.92 up to and including 6.12.*
unaffected from 6.18.34 up to and including 6.18.*
unaffected from 7.0.11 up to and including 7.0.*
unaffected 7.1 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-64218 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-64218

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2026-64218
trivy image --scanners vuln IMAGE | grep CVE-2026-64218

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2026-64218 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.