CVE-2025-39839
In the Linux kernel, the following vulnerability has been resolved: batman-adv: fix OOB read/write in network-coding decode batadv_nc_skb_decode_packet() trusts coded_len and checks only against skb->len. XOR starts at sizeof(struct batadv_unicast_packet), reducing payload headroom, and the source skb length is not verified, allowing an out-of-bounds read and a small out-of-bounds write. Validate that coded_len fits within the payload area of both destination and source sk_buffs before XORing.
- CVSS 3.1
- 7.1
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H - EPSS
- 0.3% chance of exploitation in the next 30 days; higher than 17% of CVEs (scores of 2026-10-25)
- CWE
- CWE-125
- Published
- Modified
- Record from
- the NVD, synced
Affected
- debian:debian_linux
- linux:linux_kernel
References
- https://git.kernel.org/stable/c/1e36c6c8dc8023b4bbe9a16e819f9998b9b6a183
- https://git.kernel.org/stable/c/20080709457bc1e920eb002483d7d981d9b2ac1c
- https://git.kernel.org/stable/c/30fc47248f02b8a14a61df469e1da4704be1a19f
- https://git.kernel.org/stable/c/5d334bce9fad58cf328d8fa14ea1fff855819863
- https://git.kernel.org/stable/c/a67c6397fcb7e842d3c595243049940970541c48