batman-adv: bla: reacquire gw address after skb realloc
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 9e794b6bf4a2c65d698d7433ddfabc54a5d53a88 · < e5e18886aadd3870e2d84e32a9678317fab1dd9e| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
batman-adv: bla: reacquire gw address after skb realloc
The pskb_may_pull() called by batadv_bla_is_backbone_gw() could reallocate the buffer behind the skb. Variables which were pointing to the old buffer need to be reassigned to avoid an use-after-free.
From the CVE record · Linux
The Linux kernel’s batman-adv backbone gateway check can use a stale buffer pointer after pskb_may_pull() reallocates the packet buffer, causing a use-after-free. The input does not specify how an attacker could trigger this issue or whether network access, authentication, or user interaction is required.
Engineers running Linux kernels with batman-adv should check whether their versions are affected; no affected versions are listed.