CVE-2026-64096

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

State
Published
Severity
8.8 High
Published
Jul 19, 2026
Updated
Aug 5, 2026
Reserved
Jul 19, 2026

Read the record on cve.org

Description

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

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

batadv_mcast_purge_orig() 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->mcast_want_all_ipv6_node will then access already freed memory.

Fix this by moving batadv_mcast_purge_orig() to batadv_orig_node_release(), just before the call_rcu() invocation. This ensures RCU readers that were active at purge time have drained before the orig_node memory is reclaimed.

Scores

CVSSScoreVectorSource
3.18.8 HighCVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • ab49886e3da73b6b35ece21006e191910427bb30 to before ff3a4487ead475e27b43280b8ee3d8464fe280e1Affected
  • ab49886e3da73b6b35ece21006e191910427bb30 to before 78a63fb2f7d5630d1c1f2859a20d4e4226863b41Affected
  • ab49886e3da73b6b35ece21006e191910427bb30 to before ced48f55bac73f0822eae90509e51b42b4f646c8Affected
  • ab49886e3da73b6b35ece21006e191910427bb30 to before 70bcb678561f0fb58f33270fc73f12f3be72b878Affected
  • ab49886e3da73b6b35ece21006e191910427bb30 to before aef897c9d2dd0d9339167fb82b62beff68d076cbAffected
  • ab49886e3da73b6b35ece21006e191910427bb30 to before 8a3707653ab658e082ccd992e92594e01b09a3fcAffected
  • ab49886e3da73b6b35ece21006e191910427bb30 to before edfb1e094104a50f931553dc82ac59246569fd32Affected
  • ab49886e3da73b6b35ece21006e191910427bb30 to before 20c2d6a20ca936f5aaa6dd40f73f262ac45c87ccAffected
LinuxLinux
  • 3.15Affected
  • before 3.15Not affected
  • 5.10.258 through 5.10.*Not affected
  • 5.15.209 through 5.15.*Not affected
  • 6.1.175 through 6.1.*Not affected
  • 6.6.142 through 6.6.*Not affected
  • 6.12.92 through 6.12.*Not affected
  • 6.18.34 through 6.18.*Not affected
  • 7.0.11 through 7.0.*Not affected
  • 7.1 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.