batman-adv: bla: put backbone reference on failed claim hash insert
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 3db0decf1185357d6ab2256d0dede1ca9efda03d · < 0baf4b659cdc7305cf685b5a5d60f9e3816ab5d0| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
batman-adv: bla: put backbone reference on failed claim hash insert
When batadv_bla_add_claim() fails to insert a new claim into the hash, it leaked a reference to the backbone_gw for which the claim was intended. Call batadv_backbone_gw_put() on the error path to release the reference and avoid leaking the backbone_gw object.
From the CVE record · Linux
The Linux kernel's batman-adv BLA code leaks a backbone gateway reference when a new claim cannot be inserted into the hash. This can prevent the backbone gateway object from being released. The input does not specify how an attacker could trigger the failure or whether network access, authentication, or user interaction is required.
Engineers running Linux kernels with batman-adv should check their versions; affected versions are not specified.