Skip to content
8.8 High

CVE-2025-39839 In the Linux kernel, the following vulnerability has been resolved: batman-adv: fix OOB read/write in network-coding…

Description

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.

Affected products and versions

Product Affected versions Fixed in
Linux 6.17 earliest → < 6.17 6.17
Linux 6.16 earliest → < 6.16.6 6.16.6
Linux 6.12 earliest → < 6.12.46 6.12.46
Linux 6.6 earliest → < 6.6.105 6.6.105
Linux 6.1 earliest → < 6.1.151 6.1.151
Linux 5.15 earliest → < 5.15.192 5.15.192
Linux 5.10 earliest → < 5.10.243 5.10.243
Linux 5.4 earliest → < 5.4.299 5.4.299
Linux 3.10 No fix stated
Show the 17 other branches
Product Affected versions Fixed in
RUGGEDCOM RST2428P 3.3 earliest → < 3.3 3.3
SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 family 3.3 earliest → < 3.3 3.3
SCALANCE XCH328 3.3 earliest → < 3.3 3.3
SCALANCE XCM324 3.3 earliest → < 3.3 3.3
SCALANCE XCM328 3.3 earliest → < 3.3 3.3
SCALANCE XCM332 3.3 earliest → < 3.3 3.3
SCALANCE XRH334 (24 V DC, 8xFO, CC) 3.3 earliest → < 3.3 3.3
SCALANCE XRM334 (230 V AC, 12xFO) 3.3 earliest → < 3.3 3.3
SCALANCE XRM334 (230 V AC, 8xFO) 3.3 earliest → < 3.3 3.3
SCALANCE XRM334 (230V AC, 2x10G, 24xSFP, 8xSFP+) 3.3 earliest → < 3.3 3.3
SCALANCE XRM334 (24 V DC, 12xFO) 3.3 earliest → < 3.3 3.3
SCALANCE XRM334 (24 V DC, 8xFO) 3.3 earliest → < 3.3 3.3
SCALANCE XRM334 (24V DC, 2x10G, 24xSFP, 8xSFP+) 3.3 earliest → < 3.3 3.3
SCALANCE XRM334 (2x230 V AC, 12xFO) 3.3 earliest → < 3.3 3.3
SCALANCE XRM334 (2x230 V AC, 8xFO) 3.3 earliest → < 3.3 3.3
SCALANCE XRM334 (2x230V AC, 2x10G, 24xSFP, 8xSFP+) 3.3 earliest → < 3.3 3.3
SIMATIC CN 4100 5.0 earliest → < 5.0 5.0

References

Timeline

  1. Published
  2. Last modified
The 18283 CVEs of Linux →
Track this CVE