CVE-2025-39839
Unknown Unknown - Not Provided
BaseFortify

Publication date: 2025-09-19

Last updated on: 2025-11-03

Assigner: kernel.org

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.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2025-09-19
Last Modified
2025-11-03
Generated
2026-05-07
AI Q&A
2025-09-19
EPSS Evaluated
2026-05-05
NVD
Affected Vendors & Products
Showing 2 associated CPEs
Vendor Product Version / Range
linux linux_kernel 5.10.244
linux linux_kernel 6.1.153
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?

This vulnerability is an out-of-bounds (OOB) read and write issue in the Linux kernel's batman-adv module, specifically in the network-coding decode function batadv_nc_skb_decode_packet(). The function trusts a length value (coded_len) and only checks it against the destination buffer length (skb->len), but does not verify the source buffer length. This leads to reading and writing beyond the intended memory boundaries, which can cause memory corruption or crashes.


How can this vulnerability impact me? :

The out-of-bounds read and write can lead to memory corruption, which may cause system instability, crashes, or potentially allow an attacker to execute arbitrary code or escalate privileges on the affected system running the vulnerable Linux kernel module.


What immediate steps should I take to mitigate this vulnerability?

Update the Linux kernel to a version where the batman-adv module has the fix applied that validates coded_len against the payload area of both destination and source sk_buffs before XORing. This prevents the out-of-bounds read and write. Until then, avoid using the affected batman-adv network-coding features if possible.


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart