Description
In the Linux kernel, the following vulnerability has been resolved: batman-adv: bla: prevent use-after-free when deleting claims When batadv_bla_del_backbone_claims() removes all claims for a backbone, it does this by dropping the link entry in the hash list. This list entry itself was one of the references which need to be dropped at the same time via batadv_claim_put(). But the batadv_claim_put() must not be done before the last access to the claim object in this function. Otherwise the claim might be freed already by the batadv_claim_release() function before the list entry was dropped.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
23721387c409087fd3b97e274f34d3ddc0970b74 to < 1d4b241482d9025c537afb3c7c8419c72c0e0c82affected23721387c409087fd3b97e274f34d3ddc0970b74 to < a1a99837bb6169cfb9187abaa2005e8f12079426affected23721387c409087fd3b97e274f34d3ddc0970b74 to < b88c865dcf6e9f20bfe66a360d4b62941ef769b8affected23721387c409087fd3b97e274f34d3ddc0970b74 to < 368449e467d5f1e2c2e987bf2bd57000ba75e10baffected23721387c409087fd3b97e274f34d3ddc0970b74 to < 6c5dc6d68e6ba7f0224a757a39ed52fcdb54d472affected23721387c409087fd3b97e274f34d3ddc0970b74 to < 00155f336a5e8b1006d2ca9ae7ad8fc4a44bb401affected23721387c409087fd3b97e274f34d3ddc0970b74 to < 0cc9847c64cb6e61118bc78c9187c8209a7197faaffected23721387c409087fd3b97e274f34d3ddc0970b74 to < 4ae1709a314060a196981b344610d023ea841e57affected
Linux Linux
Default version status: affected
3.5affected0 to < 3.5unaffected5.10.258 to ≤ 5.10.*unaffected5.15.209 to ≤ 5.15.*unaffected6.1.175 to ≤ 6.1.*unaffected6.6.140 to ≤ 6.6.*unaffected6.12.90 to ≤ 6.12.*unaffected6.18.32 to ≤ 6.18.*unaffected7.0.9 to ≤ 7.0.*unaffected7.1 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/1d4b241482d9025c537afb3c7c8419c72c0e0c82 ↗
- https://git.kernel.org/stable/c/a1a99837bb6169cfb9187abaa2005e8f12079426 ↗
- https://git.kernel.org/stable/c/b88c865dcf6e9f20bfe66a360d4b62941ef769b8 ↗
- https://git.kernel.org/stable/c/368449e467d5f1e2c2e987bf2bd57000ba75e10b ↗
- https://git.kernel.org/stable/c/6c5dc6d68e6ba7f0224a757a39ed52fcdb54d472 ↗
- https://git.kernel.org/stable/c/00155f336a5e8b1006d2ca9ae7ad8fc4a44bb401 ↗
- https://git.kernel.org/stable/c/0cc9847c64cb6e61118bc78c9187c8209a7197fa ↗
- https://git.kernel.org/stable/c/4ae1709a314060a196981b344610d023ea841e57 ↗