Skip to content
CVE PROGRAM SOURCE RECORD8.1 High

CVE-2026-72227

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

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 07afe1ba288c04280622fa002ed385f1ac0b6fe6 to < 80f62893d135f415e7a374dd47b468ec298f7aedaffected
  • 07afe1ba288c04280622fa002ed385f1ac0b6fe6 to < d2b657c9653fcebca828a2ead13f444e0da68817affected
  • 07afe1ba288c04280622fa002ed385f1ac0b6fe6 to < 7d1a877670bc2e901241073f022ca8d1b2f85f1caffected
  • 07afe1ba288c04280622fa002ed385f1ac0b6fe6 to < 38eaed28e250895d56f4b7989bd65479a511c5c3affected

Linux Linux

Default version status: affected

  • 6.8affected
  • 0 to < 6.8unaffected
  • 6.12.97 to ≤ 6.12.*unaffected
  • 6.18.40 to ≤ 6.18.*unaffected
  • 7.1.5 to ≤ 7.1.*unaffected
  • 7.2 to ≤ *unaffected

References