batman-adv: avoid OGM aggregation when skb tailroom is insufficient
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ c6c8fea29769d998d94fcec9b9f14d4b52b349d3 · < 0e35db29fc5a97a8553f7c2d3a2ba730e46b1ee8| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
batman-adv: avoid OGM aggregation when skb tailroom is insufficient
When OGM aggregation state is toggled at runtime, an existing forwarded packet may have been allocated with only packet_len bytes, while a later packet can still be selected for aggregation. Appending in this case can hit skb_put overflow conditions.
Reject aggregation when the target skb tailroom cannot accommodate the new packet. The caller then falls back to creating a new forward packet instead of appending.
From the CVE record · Linux
A batman-adv forwarded packet can lack enough tailroom for OGM aggregation after aggregation state is toggled at runtime. Appending another packet can then trigger an skb_put overflow. The input does not establish how an attacker could trigger this condition or whether authentication or user interaction is required.
Engineers running Linux kernels with batman-adv should check their versions; affected versions are not specified.