Description
In the Linux kernel, the following vulnerability has been resolved: batman-adv: bla: only purge non-released claims When batadv_bla_purge_claims() goes through the list of claims, it is only traversing the hash list with an rcu_read_lock(). Due to a potential parallel batadv_claim_put(), it can happen that it encounters a claim which was actually in the process of being released+freed by batadv_claim_release(). In this case, backbone_gw is set to NULL before the delayed RCU kfree is started. Calling batadv_bla_claim_get_backbone_gw() is then no longer allowed because it would cause a NULL-ptr derefence. To avoid this, only claims with a valid reference counter must be purged. All others are already taken care of.
References (8)
Core 8
Core References
Scores
CVSS v3
5.5
EPSS
0.0012
EPSS Percentile
2.1%
Attack Vector
LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Details
CWE
CWE-476
Status
published
Products (28)
linux/Kernel
3.5.0 - 5.10.258linux
linux/Kernel
5.11.0 - 5.15.209linux
linux/Kernel
5.16.0 - 6.1.175linux
linux/Kernel
6.13.0 - 6.18.32linux
linux/Kernel
6.19.0 - 7.0.9linux
linux/Kernel
6.2.0 - 6.6.140linux
linux/Kernel
6.7.0 - 6.12.90linux
Linux/Linux
< 3.5
Linux/Linux
23721387c409087fd3b97e274f34d3ddc0970b74 - 6725c523a35eeca611ff37e7d4a8712fae92aefd
Linux/Linux
23721387c409087fd3b97e274f34d3ddc0970b74 - 7b7ebb7222a5524ce58e48cc9c6d688320ea6cfe
... and 18 more
Published
May 28, 2026
Tracked Since
May 28, 2026