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.
INFO
Published Date :
Aug. 15, 2026, 6:21 a.m.
Last Modified :
Aug. 17, 2026, 6:18 a.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 3.1 | HIGH | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
Solution
- Apply the kernel patch for batman-adv.
- Update the Linux kernel to the latest version.
- Reboot the system after updating.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-72227.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-72227 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-72227
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-72227 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-72227 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Aug. 17, 2026
Action Type Old Value New Value Added CVSS V3.1 AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H Changed Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '07afe1ba288c04280622fa002ed385f1ac0b6fe6', 'lessThan': '80f62893d135f415e7a374dd47b468ec298f7aed', 'versionType': 'git'}, {'status': 'affected', 'version': '07afe1ba288c04280622fa002ed385f1ac0b6fe6', 'lessThan': 'd2b657c9653fcebca828a2ead13f444e0da68817', 'versionType': 'git'}, {'status': 'affected', 'version': '07afe1ba288c04280622fa002ed385f1ac0b6fe6', 'lessThan': '7d1a877670bc2e901241073f022ca8d1b2f85f1c', 'versionType': 'git'}, {'status': 'affected', 'version': '07afe1ba288c04280622fa002ed385f1ac0b6fe6', 'lessThan': '38eaed28e250895d56f4b7989bd65479a511c5c3', 'versionType': 'git'}], 'programFiles': ['net/batman-adv/multicast_forw.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '6.8'}, {'status': 'unaffected', 'version': '0', 'lessThan': '6.8', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '6.12.97', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.40', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.1.5', 'versionType': 'semver', 'lessThanOrEqual': '7.1.*'}, {'status': 'unaffected', 'version': '7.2-rc3', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['net/batman-adv/multicast_forw.c'], 'defaultStatus': 'affected'}] [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '07afe1ba288c04280622fa002ed385f1ac0b6fe6', 'lessThan': '80f62893d135f415e7a374dd47b468ec298f7aed', 'versionType': 'git'}, {'status': 'affected', 'version': '07afe1ba288c04280622fa002ed385f1ac0b6fe6', 'lessThan': 'd2b657c9653fcebca828a2ead13f444e0da68817', 'versionType': 'git'}, {'status': 'affected', 'version': '07afe1ba288c04280622fa002ed385f1ac0b6fe6', 'lessThan': '7d1a877670bc2e901241073f022ca8d1b2f85f1c', 'versionType': 'git'}, {'status': 'affected', 'version': '07afe1ba288c04280622fa002ed385f1ac0b6fe6', 'lessThan': '38eaed28e250895d56f4b7989bd65479a511c5c3', 'versionType': 'git'}], 'programFiles': ['net/batman-adv/multicast_forw.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '6.8'}, {'status': 'unaffected', 'version': '0', 'lessThan': '6.8', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '6.12.97', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.40', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.1.5', 'versionType': 'semver', 'lessThanOrEqual': '7.1.*'}, {'status': 'unaffected', 'version': '7.2', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['net/batman-adv/multicast_forw.c'], 'defaultStatus': 'affected'}] -
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Aug. 15, 2026
Action Type Old Value New Value Added Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '07afe1ba288c04280622fa002ed385f1ac0b6fe6', 'lessThan': '80f62893d135f415e7a374dd47b468ec298f7aed', 'versionType': 'git'}, {'status': 'affected', 'version': '07afe1ba288c04280622fa002ed385f1ac0b6fe6', 'lessThan': 'd2b657c9653fcebca828a2ead13f444e0da68817', 'versionType': 'git'}, {'status': 'affected', 'version': '07afe1ba288c04280622fa002ed385f1ac0b6fe6', 'lessThan': '7d1a877670bc2e901241073f022ca8d1b2f85f1c', 'versionType': 'git'}, {'status': 'affected', 'version': '07afe1ba288c04280622fa002ed385f1ac0b6fe6', 'lessThan': '38eaed28e250895d56f4b7989bd65479a511c5c3', 'versionType': 'git'}], 'programFiles': ['net/batman-adv/multicast_forw.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '6.8'}, {'status': 'unaffected', 'version': '0', 'lessThan': '6.8', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '6.12.97', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.40', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.1.5', 'versionType': 'semver', 'lessThanOrEqual': '7.1.*'}, {'status': 'unaffected', 'version': '7.2-rc3', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['net/batman-adv/multicast_forw.c'], 'defaultStatus': 'affected'}] 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. Added Reference https://git.kernel.org/stable/c/38eaed28e250895d56f4b7989bd65479a511c5c3 Added Reference https://git.kernel.org/stable/c/7d1a877670bc2e901241073f022ca8d1b2f85f1c Added Reference https://git.kernel.org/stable/c/80f62893d135f415e7a374dd47b468ec298f7aed Added Reference https://git.kernel.org/stable/c/d2b657c9653fcebca828a2ead13f444e0da68817