Out-of-bounds Read in Linux
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.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.003, 17.7th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Linux — versions 2df5278b0267c799f3e877e8eeddbb6e93cda0bb, 3.10, 0
- Linux Kernel — versions 6.17
- Debian Linux — versions 11.0
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (w4zu/Debian_security). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- git.kernel.org/stable/c/30fc47248f02b8a14a61df469e1da4704be1a19f (Patch)
- git.kernel.org/stable/c/1e36c6c8dc8023b4bbe9a16e819f9998b9b6a183 (Patch)
- git.kernel.org/stable/c/5d334bce9fad58cf328d8fa14ea1fff855819863 (Patch)
- git.kernel.org/stable/c/dce6c2aa70e94c04c523b375dfcc664d7a0a560a (Patch)
- git.kernel.org/stable/c/bb37252c9af1cb250f34735ee98f80b46be3cef1 (Patch)
- git.kernel.org/stable/c/20080709457bc1e920eb002483d7d981d9b2ac1c (Patch)
- git.kernel.org/stable/c/a67c6397fcb7e842d3c595243049940970541c48 (Patch)
- git.kernel.org/stable/c/d77b6ff0ce35a6d0b0b7b9581bc3f76d041d4087 (Patch)
- lists.debian.org/debian-lts-announce/2025/10/msg00007.html (Mailing List, Third Party Advisory)
- lists.debian.org/debian-lts-announce/2025/10/msg00008.html (Mailing List, Third Party Advisory)