CVE-2025-21823: Linux kernel · batman-adv: Drop unmanaged ELP metric worker
Source GCVE Database
Not known to be exploited · CVSS 5.5 Medium.
Data as of 30 Oct 2026, 01:14 UTC
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 27 Feb 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 29 Oct 2026.
What to do
AI-suggested
A fix has been implemented in the Linux kernel batman-adv module that removes the per-interface neighbor metric worker and consolidates metric gathering to avoid deadlocks and invalid memory accesses. Users should update to the fixed kernel version once available. Until patched, avoid unloading the batman-adv module or removing interfaces abruptly if possible to reduce risk.
Description
CVE-2025-21823 is a medium severity vulnerability in the Linux kernel's batman-adv module related to the handling of the ELP metric worker. The issue arises from the previous design where per-interface neighbor metric workers could continue running even after interfaces were removed or the module unloaded, potentially causing invalid memory accesses. The fix involves removing the per-interface neighbor metric worker and consolidating metric gathering within the interface worker, using RCU locking mechanisms carefully to avoid deadlocks and ensure proper cleanup.
References
- nvd.nist.gov/vuln/detail/CVE-2025-21823 (opens in a new tab)
- git.kernel.org/stable/c/0fdc3c166ac17b26014313fa2b93696354511b24 (opens in a new tab)
- git.kernel.org/stable/c/1c334629176c2d644befc31a20d4bf75542f7631 (opens in a new tab)
- git.kernel.org/stable/c/3c0e0aecb78cb2a2ca1dc701982d08fedb088dc6 (opens in a new tab)
- git.kernel.org/stable/c/781a06fd265a8151f7601122d9c2e985663828ff (opens in a new tab)
- git.kernel.org/stable/c/8c8ecc98f5c65947b0070a24bac11e12e47cc65d (opens in a new tab)
- git.kernel.org/stable/c/a0019971f340ae02ba54cf1861f72da7e03e6b66 (opens in a new tab)
- git.kernel.org/stable/c/a7aa2317285806640c844acd4cd2cd768e395264 (opens in a new tab)
- git.kernel.org/stable/c/af264c2a9adc37f4bdf88ca7f3affa15d8c7de9e (opens in a new tab)
- lists.debian.org/debian-lts-announce/2025/03/msg00028.html (opens in a new tab)
- lists.debian.org/debian-lts-announce/2025/05/msg00030.html (opens in a new tab)