CVE-2026-80839

batman-adv: reject unrepresentable multicast TVLV offsets

Published Sep 4, 2026 CVSS n/a EPSS < 1% KEV · Not listed
Description
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 sk_buff are 16-bit
offsets from skb->head, and U16_MAX is reserved as the unset transport
header value. batadv_tvlv_call_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, skb_set_transport_header()
truncates it so that the transport header precedes the network header.
The negative difference is then returned by skb_network_header_len() as
a large u32. batadv_mcast_forw_packet() consequently accepts an oversized
multicast tracker and accesses memory beyond the skb data.

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

Analysis

AI-generated

Technical impact

The kernel’s batman-adv module accepts a multicast TVLV without validating that the calculated end offset remains within the 16‑bit range reserved for transport and network header fields. When an offset exceeds this maximum, the kernel’s skb_set_transport_header() truncates the value so that the transport header precedes the network header, producing a negative difference. The batadv_mcast_forw_packet() routine interprets this as an oversized tracker and subsequently reads memory past the skb data, potentially exposing kernel memory contents or causing a crash. The vulnerability is a classic out‑of‑bounds read rooted in insufficient bounds checking of packet header offsets.

Affected Systems

The flaw originates in the Linux kernel's batman-adv implementation and affects all builds that include this module. No specific kernel release or product version limitations are documented in the provided data; therefore, any Linux deployment running batman-adv is potentially affected.

Risk and Exploitability

The issue allows a remote attacker, able to inject crafted multicast TVLV packets into the network path, to trigger memory corruption or information disclosure. No EPSS value is supplied, and the vulnerability is not listed in CISA’s KEV catalog, yet the lack of bounds checking suggests a high severity risk. Exploitation would require network access to the target system and presence of the batman-adv stack.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Install the kernel update that incorporates skb_set_transport_header_careful() and rejects unrepresentable TVLVs
  • Rebuild or reinstall batman‑adv ensuring it links against the patched kernel helpers
  • Configure network filtering to restrict or audit unexpected multicast traffic to reduce the chance of the exploit being successful

Generated by OpenCVE AI on September 4, 2026 at 19:24 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4817-1 linux-6.12 security update
Debian DSA Debian DSA DSA-6528-1 linux security update
Ubuntu USN Ubuntu USN USN-9019-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-9020-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9022-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9023-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9024-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9025-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9026-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-9039-1 Linux kernel (Azure CVM) vulnerabilities
Ubuntu USN Ubuntu USN USN-9040-1 Linux kernel (Low Latency NVIDIA) vulnerabilities
Ubuntu USN Ubuntu USN USN-9066-1 Linux kernel (HWE) vulnerabilities
Ubuntu USN Ubuntu USN USN-9091-1 Linux kernel (NVIDIA Tegra) vulnerabilities
Ubuntu USN Ubuntu USN USN-9160-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-9183-1 Linux kernel (FIPS) vulnerabilities
Ubuntu USN Ubuntu USN USN-9192-1 Linux kernel (NVIDIA) vulnerabilities
History
Type Values Removed Values Added
Weaknesses CWE-125
Type Values Removed Values Added
Description 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 sk_buff are 16-bit offsets from skb->head, and U16_MAX is reserved as the unset transport header value. batadv_tvlv_call_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, skb_set_transport_header() truncates it so that the transport header precedes the network header. The negative difference is then returned by skb_network_header_len() as a large u32. batadv_mcast_forw_packet() consequently accepts an oversized multicast tracker and accesses memory beyond the skb data. Add skb_set_transport_header_careful(), an offset-aware counterpart to skb_reset_transport_header_careful(), which validates the final head-relative offset before assigning it. Use the new helper in batadv_tvlv_call_handler() and reject unrepresentable TVLVs before setting the network header.
Title batman-adv: reject unrepresentable multicast TVLV offsets
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Oct 19, 2026, 8:44 AM
Reserved
Aug 26, 2026, 2:34 PM
Status
Received
Published
Sep 4, 2026, 4:18 PM
Modified
Oct 19, 2026, 9:17 AM