PoC Monitor
← All CVEs
CVE-2025-39839published 19 Sep 2025 15:26 UTCData: JSON · API

Linux

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

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.

First public PoC None yetno public PoC found
Public PoCs00 on GitHub
CVSS8.8high · scored by CNA · CWE-125
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

Linux Linux
  • >= 2df5278b0267c799f3e877e8eeddbb6e93cda0bb, < 30fc47248f02b8a14a61df469e1da4704be1a19f
  • >= 2df5278b0267c799f3e877e8eeddbb6e93cda0bb, < 1e36c6c8dc8023b4bbe9a16e819f9998b9b6a183
  • >= 2df5278b0267c799f3e877e8eeddbb6e93cda0bb, < 5d334bce9fad58cf328d8fa14ea1fff855819863
  • >= 2df5278b0267c799f3e877e8eeddbb6e93cda0bb, < dce6c2aa70e94c04c523b375dfcc664d7a0a560a
  • >= 2df5278b0267c799f3e877e8eeddbb6e93cda0bb, < bb37252c9af1cb250f34735ee98f80b46be3cef1
  • >= 2df5278b0267c799f3e877e8eeddbb6e93cda0bb, < 20080709457bc1e920eb002483d7d981d9b2ac1c
  • >= 2df5278b0267c799f3e877e8eeddbb6e93cda0bb, < a67c6397fcb7e842d3c595243049940970541c48
  • >= 2df5278b0267c799f3e877e8eeddbb6e93cda0bb, < d77b6ff0ce35a6d0b0b7b9581bc3f76d041d4087

Fixed in 30fc47248f02b8a14a61df469e1da4704be1a19f, 1e36c6c8dc8023b4bbe9a16e819f9998b9b6a183, 5d334bce9fad58cf328d8fa14ea1fff855819863, dce6c2aa70e94c04c523b375dfcc664d7a0a560a, bb37252c9af1cb250f34735ee98f80b46be3cef1, 20080709457bc1e920eb002483d7d981d9b2ac1c, a67c6397fcb7e842d3c595243049940970541c48, d77b6ff0ce35a6d0b0b7b9581bc3f76d041d4087

Linux Linux
  • 3.10

Fixed in 0, 5.4.299, 5.10.243, 5.15.192, 6.1.151, 6.6.105, 6.12.46, 6.16.6, 6.17

Mitigation

Upgrade Linux to 30fc47248f02b8a14a61df469e1da4704be1a19f or 1e36c6c8dc8023b4bbe9a16e819f9998b9b6a183 or 5d334bce9fad58cf328d8fa14ea1fff855819863 or dce6c2aa70e94c04c523b375dfcc664d7a0a560a or bb37252c9af1cb250f34735ee98f80b46be3cef1 or 20080709457bc1e920eb002483d7d981d9b2ac1c or a67c6397fcb7e842d3c595243049940970541c48 or d77b6ff0ce35a6d0b0b7b9581bc3f76d041d4087 or later.

Upgrade Linux to 0 or 5.4.299 or 5.10.243 or 5.15.192 or 6.1.151 or 6.6.105 or 6.12.46 or 6.16.6 or 6.17 or later.

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published19 Sep 2025 · t = 0

No public PoC found yet; not in CISA KEV.

PoC repositories

Found on GitHub.

No PoC repositories found yet.