CVE-2026-72227

Source
https://cve.org/CVERecord?id=CVE-2026-72227
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-72227.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-72227
Downstream
Published
2026-08-15T05:54:19.020Z
Modified
2026-08-18T03:56:39.060576043Z
Severity
  • 8.1 (High) CVSS_V3 - CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H CVSS Calculator
Summary
batman-adv: mcast: avoid OOB read of num_dests header
Details

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 batadvtvlvmcasttracker's numdests, 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.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/72xxx/CVE-2026-72227.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
80f62893d135f415e7a374dd47b468ec298f7aed
Fixed
d2b657c9653fcebca828a2ead13f444e0da68817
Fixed
7d1a877670bc2e901241073f022ca8d1b2f85f1c
Fixed
38eaed28e250895d56f4b7989bd65479a511c5c3

Database specific

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

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.8.0
Fixed
6.12.97
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.40
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.1.5

Database specific

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