U.S. flag   An official website of the United States government
Dot gov

Official websites use .gov
A .gov website belongs to an official government organization in the United States.

Https

Secure .gov websites use HTTPS
A lock (Dot gov) or https:// means you've safely connected to the .gov website. Share sensitive information only on official, secure websites.

CVE-2025-39839 Detail

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.


Metrics

NVD enrichment efforts reference publicly available information to associate vector strings. CVSS information contributed by other sources is also displayed.
CVSS 4.0 Severity and Vector Strings:

NIST CVSS score
NIST: NVD
N/A
NVD assessment not yet provided.

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving NIST webspace. We have provided these links to other web sites because they may have information that would be of interest to you. No inferences should be drawn on account of other sites being referenced, or not, from this page. There may be other web sites that are more appropriate for your purpose. NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites. Further, NIST does not endorse any commercial products that may be mentioned on these sites. Please address comments about this page to [email protected].

URL Source(s) Tag(s)
https://git.kernel.org/stable/c/1e36c6c8dc8023b4bbe9a16e819f9998b9b6a183 kernel.org
https://git.kernel.org/stable/c/20080709457bc1e920eb002483d7d981d9b2ac1c kernel.org
https://git.kernel.org/stable/c/30fc47248f02b8a14a61df469e1da4704be1a19f kernel.org
https://git.kernel.org/stable/c/5d334bce9fad58cf328d8fa14ea1fff855819863 kernel.org
https://git.kernel.org/stable/c/a67c6397fcb7e842d3c595243049940970541c48 kernel.org
https://git.kernel.org/stable/c/bb37252c9af1cb250f34735ee98f80b46be3cef1 kernel.org
https://git.kernel.org/stable/c/d77b6ff0ce35a6d0b0b7b9581bc3f76d041d4087 kernel.org
https://git.kernel.org/stable/c/dce6c2aa70e94c04c523b375dfcc664d7a0a560a kernel.org

Weakness Enumeration

CWE-ID CWE Name Source

Change History

1 change records found show changes

Quick Info

CVE Dictionary Entry:
CVE-2025-39839
NVD Published Date:
09/19/2025
NVD Last Modified:
09/19/2025
Source:
kernel.org