CVE-2025-39839

batman-adv: fix OOB read/write in network-coding decode

HIGH
7.1
CVSS Score
Published: September 19, 2025 at 03:26 PM UTC
Updated: October 19, 2026 at 09:10 PM UTC
15 products affected across 3 vendorsLinux KernelDebian LinuxRUGGEDCOM RST2428P Firmware

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.1
Exploit prediction
EPSS 0.3%

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

3.10 ≤ v < 5.4.2995.11 ≤ v < 5.15.1925.16 ≤ v < 6.1.1515.5 ≤ v < 5.10.2436.13 ≤ v < 6.16.66.2 ≤ v < 6.6.1056.7 ≤ v < 6.12.462df5278b0267c799f3e877e8eeddbb6e93cda0bb6.176.17 rc16.17 rc26.17 rc36.17 rc4
Vendor states this is fixed in 1e36c6c8dc8023b4bbe9a16e819f9998b9b6a183 (fixed)
Vendor states this is fixed in 20080709457bc1e920eb002483d7d981d9b2ac1c (fixed)
Vendor states this is fixed in 30fc47248f02b8a14a61df469e1da4704be1a19f (fixed)
Vendor states this is fixed in 5d334bce9fad58cf328d8fa14ea1fff855819863 (fixed)
Vendor states this is fixed in a67c6397fcb7e842d3c595243049940970541c48 (fixed)
Vendor states this is fixed in bb37252c9af1cb250f34735ee98f80b46be3cef1 (fixed)
Vendor states this is fixed in d77b6ff0ce35a6d0b0b7b9581bc3f76d041d4087 (fixed)
Vendor states this is fixed in dce6c2aa70e94c04c523b375dfcc664d7a0a560a (fixed)
Vendor states this is fixed in 3.10 (unaffected)
Vendor states this is fixed in 5.10.243 (unaffected)
Vendor states this is fixed in 5.15.192 (unaffected)
Vendor states this is fixed in 5.4.299 (unaffected)
Vendor states this is fixed in 6.1.151 (unaffected)
Vendor states this is fixed in 6.12.46 (unaffected)
Vendor states this is fixed in 6.16.6 (unaffected)
Vendor states this is fixed in 6.17 (unaffected)
Vendor states this is fixed in 6.6.105 (unaffected)
v < V3.3
Affected range stops below V3.3, so it looks safe — our inference, not a vendor statement
v < V3.3
Affected range stops below V3.3, so it looks safe — our inference, not a vendor statement
v < V3.3
Affected range stops below V3.3, so it looks safe — our inference, not a vendor statement
v < V3.3
Affected range stops below V3.3, so it looks safe — our inference, not a vendor statement
v < V3.3
Affected range stops below V3.3, so it looks safe — our inference, not a vendor statement
v < V3.3
Affected range stops below V3.3, so it looks safe — our inference, not a vendor statement
v < V3.3
Affected range stops below V3.3, so it looks safe — our inference, not a vendor statement
v < V3.3
Affected range stops below V3.3, so it looks safe — our inference, not a vendor statement

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-125

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card