CVE-2026-72227

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

State
Published
Severity
8.1 High
Published
Aug 15, 2026
Updated
Aug 17, 2026
Reserved
Aug 9, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.18.1 HighCVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 07afe1ba288c04280622fa002ed385f1ac0b6fe6 to before 80f62893d135f415e7a374dd47b468ec298f7aedAffected
  • 07afe1ba288c04280622fa002ed385f1ac0b6fe6 to before d2b657c9653fcebca828a2ead13f444e0da68817Affected
  • 07afe1ba288c04280622fa002ed385f1ac0b6fe6 to before 7d1a877670bc2e901241073f022ca8d1b2f85f1cAffected
  • 07afe1ba288c04280622fa002ed385f1ac0b6fe6 to before 38eaed28e250895d56f4b7989bd65479a511c5c3Affected
LinuxLinux
  • 6.8Affected
  • before 6.8Not affected
  • 6.12.97 through 6.12.*Not affected
  • 6.18.40 through 6.18.*Not affected
  • 7.1.5 through 7.1.*Not affected
  • 7.2 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.