Executive brief
A vulnerability was identified in the Linux kernel's B.A.T.M.A.N. Advanced mesh networking protocol. When a network interface is disabled, the system may still attempt to send routing messages through it, leading to a system crash (NULL pointer dereference). This could allow a local user with sufficient privileges to disrupt network operations or cause a denial-of-service on the affected machine.
Technical details
A vulnerability exists in the batman-adv (B.A.T.M.A.N. Advanced) implementation within the Linux kernel, specifically in the OGMv2 (Originator Message version 2) protocol handling. When a 'batadv_hard_iface' is disabled, its 'mesh_iface' pointer is set to NULL. However, a race condition or improper state check allows 'batadv_v_ogm_send_meshif()' to continue dispatching messages via 'batadv_v_ogm_queue_on_if()'. This function unconditionally calls 'netdev_priv()' on the NULL pointer, resulting in a kernel panic. The fix introduces a check to ensure the interface association is still valid before processing. This issue affects Linux kernels from version 4.6 onwards until patched in various stable branches in June 2026.
Affected products
- Linux Linux 4.6 to 5.10.259, 5.15.161, 6.1.94, 6.6.34, 6.9.5, 6.10-rc3
Timeline
- 2026-05-28: other: Patch authored by Sven Eckelmann
- 2026-06-24: advisory: CVE-2026-52913 published
References
- https://git.kernel.org/stable/c/040fe8eb34624002071dd21de9824dfe668ce65d
- https://git.kernel.org/stable/c/1be1e99cbd5b74a69d3f92200ca87cf1bce852db
- https://git.kernel.org/stable/c/31dcb9711abd1dcd2080d9fac05c79dd9997d6bf
- https://git.kernel.org/stable/c/4ff461af943efb5e74d09942d5ffee7644d1e1fe
- https://git.kernel.org/stable/c/70c9f6ab0d8f785087fb74fb85464a9a5288bfdb
- https://git.kernel.org/stable/c/aad70db50ea3d7dfe30e402b889ff075a293b287
- https://git.kernel.org/stable/c/d7391a2b854a62235539c68e9cbf6fc7910a8e9a