CVE-2026-80839

Source
https://cve.org/CVERecord?id=CVE-2026-80839
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-80839.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-80839
Downstream
Published
2026-09-04T15:54:49.378Z
Modified
2026-09-06T03:46:52.885541181Z
Summary
batman-adv: reject unrepresentable multicast TVLV offsets
Details

In the Linux kernel, the following vulnerability has been resolved:

batman-adv: reject unrepresentable multicast TVLV offsets

The network and transport header fields in struct skbuff are 16-bit offsets from skb->head, and U16MAX is reserved as the unset transport header value. batadvtvlvcall_handler() sets both fields from a received multicast TVLV without checking whether the TVLV end is representable.

If the end offset exceeds the field's range, skbsettransportheader() truncates it so that the transport header precedes the network header. The negative difference is then returned by skbnetworkheaderlen() as a large u32. batadvmcastforw_packet() consequently accepts an oversized multicast tracker and accesses memory beyond the skb data.

Add skbsettransportheadercareful(), an offset-aware counterpart to skbresettransportheadercareful(), which validates the final head-relative offset before assigning it. Use the new helper in batadvtvlvcall_handler() and reject unrepresentable TVLVs before setting the network header.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/80xxx/CVE-2026-80839.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
07afe1ba288c04280622fa002ed385f1ac0b6fe6
Fixed
da1f5aa7ec93f2cc17f5cd30efc54f62af433cf2
Fixed
916ec741e65af072b98e475feaad98c063da1b7c
Fixed
1b466746fe109127fd983100a228cdd1f1f6ece2
Fixed
2b46baa591d0a7c16b62f150917187e70d053be6
Fixed
f12c2de4f542e3220e17e0606f492110064f04cb

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-80839.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.8.0
Fixed
6.12.108
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.49
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.1.13
Type
ECOSYSTEM
Events
Introduced
7.2.0
Fixed
7.2.3

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-80839.json"