CVE-2026-64096: batman-adv: mcast: fix use-after-free in orig_node RCU release

Published Jul 19, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

batman-adv: mcast: fix use-after-free in orignode RCU release

batadvmcastpurgeorig() removes entries from RCU-protected hlists but does not wait for an RCU grace period before returning. Concurrent RCU readers may still accesses references to those entries at the point of removal. RCU-protected readers trying to operate on entries like orig->mcastwantallipv6node will then access already freed memory.

Fix this by moving batadvmcastpurgeorig() to batadvorignoderelease(), just before the callrcu() invocation. This ensures RCU readers that were active at purge time have drained before the orignode memory is reclaimed.

Affected Software

12 affected components
Linux Kernel
Linux Linux kernel>=3.15<5.10.258
Linux Linux kernel>=5.11<5.15.209
Linux Linux kernel>=5.16<6.1.175
Linux Linux kernel>=6.2<6.6.142
Linux Linux kernel>=6.7<6.12.92
Linux Linux kernel>=6.13<6.18.34
Linux Linux kernel>=6.19<7.0.11
Linux Linux kernel=7.1-rc1
Linux Linux kernel=7.1-rc2
Linux Linux kernel=7.1-rc3
Linux Linux kernel=7.1-rc4

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Configuration

    Move batadv_mcast_purge_orig() into batadv_orig_node_release() so that orig_node memory is reclaimed only after RCU-protected readers active at purge time have drained (RCU grace period).

    batman-adv (Linux kernel) RCU release ordering for orig_node = Ensure orig_node memory reclamation waits for an RCU grace period after removing RCU-protected entries

Event History

Jul 19, 2026
CVE Published
via MITRE·03:40 PM
Data Sourced
via MITRE·03:40 PM
DescriptionSeverity
Data Sourced
via NVD·04:17 PM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

Which systems are exposed to this issue?

Systems running a Linux kernel with batman-adv multicast functionality are the relevant population. Exploitation requires access to the adjacent network, as indicated by the CVSS attack vector.

2

Does exploitation require credentials or user interaction?

No. The CVSS vector specifies no privileges required and no user interaction, with low attack complexity.

3

What is the impact if the flaw is exploited?

The vulnerability is rated high severity with a CVSS 3.1 score of 8.8. The provided vector indicates high impact to confidentiality, integrity, and availability.

4

What changes in the fix prevent the use-after-free?

The fix moves multicast-originator cleanup to the originator-node release path immediately before call_rcu(). This ensures readers active when entries are purged have completed before the originator-node memory is reclaimed.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203