Kernel memory exposure and corruption via unchecked coded_len
Published Sep 19, 2025 · Updated Sep 19, 2025
Out-of-bounds access in Linux batman-adv allows attackers to expose or corrupt kernel memory via malformed network-coded packets. batadv_nc_skb_decode_packet trusts coded_len, subtracts the unicast header from destination headroom, and fails to verify the source skb payload before XORing. Reachability requires an active batman-adv mesh with network coding; crafted link-local traffic can disclose or overwrite kernel memory and interrupt the host.
Summary
What happened
Out-of-bounds access in Linux batman-adv allows attackers to expose or corrupt kernel memory via malformed network-coded packets. batadv_nc_skb_decode_packet trusts coded_len, subtracts the unicast header from destination headroom, and fails to verify the source skb payload before XORing. Reachability requires an active batman-adv mesh with network coding; crafted link-local traffic can disclose or overwrite kernel memory and interrupt the host.
The record
- CVE
- CVE-2025-39839
- Published
- Sep 19, 2025
- Updated
- Sep 19, 2025
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-125, T1499.004
- Attack vector
- adjacent
- Privileges
- unauthenticated
Timeline
How it unfolded
- Sep 19, 2025CVE publishedPublication date reported by the CVE source.
- Sep 19, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=2df5278b0267c799f3e877e8eeddbb6e93cda0bb <1e36c6c8dc8023b4bbe9a16e819f9998b9b6a183
- Affected versionversion=2df5278b0267c799f3e877e8eeddbb6e93cda0bb <20080709457bc1e920eb002483d7d981d9b2ac1c
- Affected versionversion=2df5278b0267c799f3e877e8eeddbb6e93cda0bb <30fc47248f02b8a14a61df469e1da4704be1a19f
- Affected versionversion=2df5278b0267c799f3e877e8eeddbb6e93cda0bb <5d334bce9fad58cf328d8fa14ea1fff855819863
- Affected versionversion=2df5278b0267c799f3e877e8eeddbb6e93cda0bb <a67c6397fcb7e842d3c595243049940970541c48
- Affected versionversion=2df5278b0267c799f3e877e8eeddbb6e93cda0bb <bb37252c9af1cb250f34735ee98f80b46be3cef1
- Affected versionversion=2df5278b0267c799f3e877e8eeddbb6e93cda0bb <d77b6ff0ce35a6d0b0b7b9581bc3f76d041d4087
- Affected versionversion=2df5278b0267c799f3e877e8eeddbb6e93cda0bb <dce6c2aa70e94c04c523b375dfcc664d7a0a560a
- Affected versionversion=3.10
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo