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

batman-adv: mcast: avoid OOB read of num_dests header

Before the access to struct batadv_tvlv_mcast_tracker's num_dests, it is
attempted to check whether enough space is actually in the network header.
But instead of using offsetofend() to check for the whole size (2) which
must be accessible, offsetof() of is called. The latter is always returning
0. The comparison with the network header length will always return that
enough data is available - even when only 1 or 0 bytes are accessible.

Instead of using offsetofend(), use the more common check for the whole
header.
Published: 2026-08-15
Score: 8.1 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The batman‑adv multicast handling in the Linux kernel contains a bounds‑check bug that allows an out‑of‑bounds read of the num_dests field in the batadv_tvlv_mcast_tracker structure. The check mistakenly uses offsetof instead of offsetofend, causing the length comparison to always succeed even when the packet is incomplete. The result is an unsolicited read of kernel memory, which can reveal sensitive data but does not directly enable code execution. The weakness corresponds to an out‑of‑bounds read vulnerability (CWE-125).

Affected Systems

Linux kernel implementations that include the batman‑adv multicast driver and have not applied the patch commit that corrects the bounds check. The fix is included in all recent kernel releases; any kernel built from source before that commit is potentially affected. No specific version list is supplied in the advisory.

Risk and Exploitability

The CVSS score of 8.1 indicates high severity, yet the EPSS score is below 1 % and the vulnerability is not listed in CISA KEV, indicating a low probability of public exploitation. The flaw requires an attacker to be able to send malicious IPv4 multicast frames to a system that has the batman‑adv driver loaded. Based on the description, the likely attack vector is a local or network attacker who can reach the compromised host’s multicast interface. Exploitation would allow information disclosure from kernel memory, potentially aiding further attacks. The overall risk remains moderate, but the lack of an available exploit and the need for proximity keep the threat relatively low.

Generated by OpenCVE AI on August 22, 2026 at 09:23 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update the Linux kernel to a version that includes the batman‑adv bounds‑check fix.
  • If a kernel update is not immediately possible, disable the batman‑adv driver or unbind interfaces that use it to prevent the code from executing.
  • Restrict multicast traffic on the affected interfaces, for example by configuring ACLs or firewall rules to drop malformed or unexpected multicast packets before they reach the kernel.

Generated by OpenCVE AI on August 22, 2026 at 09:23 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sat, 22 Aug 2026 08:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-119

Wed, 19 Aug 2026 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-125
References
Metrics threat_severity

None

threat_severity

Moderate


Mon, 17 Aug 2026 09:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-119

Mon, 17 Aug 2026 06:00:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 8.1, 'vector': 'CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H'}


Sat, 15 Aug 2026 06:00:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: batman-adv: mcast: avoid OOB read of num_dests header Before the access to struct batadv_tvlv_mcast_tracker's num_dests, it is attempted to check whether enough space is actually in the network header. But instead of using offsetofend() to check for the whole size (2) which must be accessible, offsetof() of is called. The latter is always returning 0. The comparison with the network header length will always return that enough data is available - even when only 1 or 0 bytes are accessible. Instead of using offsetofend(), use the more common check for the whole header.
Title batman-adv: mcast: avoid OOB read of num_dests header
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-08-17T05:41:47.496Z

Reserved: 2026-08-09T03:40:39.913Z

Link: CVE-2026-72227

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-15T06:21:49.510

Modified: 2026-08-17T06:18:23.910

Link: CVE-2026-72227

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-08-15T00:00:00Z

Links: CVE-2026-72227 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-22T09:30:17Z

Weaknesses