batman-adv: mcast: validate tracker padding before forwarding
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel ea01fff30f631e67ee5f0a2b97855d772b3a35fc, Kernel 441b922dd65fc50b9b32c2116c4058e96d0746c0, Kernel bc9419c51ec011447d63c5c262482d3a682f993a and 4 more.
In the Linux kernel, the following vulnerability has been resolved: batman-adv: mcast: validate tracker padding before forwarding A multicast tracker with an even number of destinations needs two padding bytes after its destination list. batadv_mcast_forw_packet() currently only checks that the count field and the addresses fit in the tracker TVLV. If an unpadded even tracker is compacted to an odd number of destinations, batadv_mcast_forw_shrink_update_headers() includes those missing padding bytes in the amount to remove. The subsequent memmove can then write two bytes past the old packet tail. With no tailroom, this corrupts skb_shared_info. Include the required padding in the existing tracker length check. This rejects the malformed tracker before either received or locally generated packets can reach the compactor.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=2dfe644a1ce017cacd449adabd68c3bc49199e11 <ea01fff30f631e67ee5f0a2b97855d772b3a35fc, >=2dfe644a1ce017cacd449adabd68c3bc49199e11 <441b922dd65fc50b9b32c2116c4058e96d0746c0, >=2dfe644a1ce017cacd449adabd68c3bc49199e11 <bc9419c51ec011447d63c5c262482d3a682f993a, >=2dfe644a1ce017cacd449adabd68c3bc49199e11 <dc52eedaf27cb9ca4f52202f391c1793c0c54eba, =6.8 | ea01fff30f631e67ee5f0a2b97855d772b3a35fc, 441b922dd65fc50b9b32c2116c4058e96d0746c0, bc9419c51ec011447d63c5c262482d3a682f993a, dc52eedaf27cb9ca4f52202f391c1793c0c54eba |
| linux-kernel: Kernel | >=6.19.0 <7.3.5, >=6.8.0 <6.12.118, >=6.13.0 <6.18.64 | 7.3.5, 6.12.118, 6.18.64 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket