CVE-2026-72122
can: bcm: fix lockless bound/ifindex race and silent RX_SETUP failure
Description
In the Linux kernel, the following vulnerability has been resolved: can: bcm: fix lockless bound/ifindex race and silent RX_SETUP failure bcm_sendmsg() reads bo->ifindex and checks bo->bound before taking lock_sock(), while bcm_notify(), bcm_connect() and bcm_release() all mutate both fields under that same lock. Because the lockless reads and the locked writes are unordered with respect to each other, a racing bcm_notify() (device unregister) or bcm_connect() (concurrent bind on another thread sharing the socket) can make bcm_sendmsg() observe an inconsistent combination, e.g. a stale bound=1 together with the now-cleared ifindex=0, silently turning a socket bound to a specific CAN interface into one that also matches "any" interface. Keep the lockless bo->bound check purely as a fast-path reject, and move the ifindex read (and a bo->bound re-check) into the locked section, where every writer already serializes. This removes the possibility of observing the two fields torn against each other, rather than trying to fix it with more READ_ONCE()/WRITE_ONCE() pairs on two independently updated fields. Annotate the now-purely-lockless bo->bound accesses consistently across all its write sites. Also fix bcm_rx_setup() silently returning success when the target device disappears concurrently instead of reporting -ENODEV, so a broken RX op is no longer left registered as if it had succeeded.
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 kernel patches for the bcm module.
- Ensure proper locking in bcm_sendmsg.
- Fix silent RX_SETUP failures in bcm_rx_setup.
- Update to the latest stable kernel version.
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-72122.
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-72122 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-72122
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-72122 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-72122 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:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L Changed Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': 'ffd980f976e7fd666c2e61bf8ab35107efd11828', 'lessThan': '9e60c586faeaed80d55ab8ce2a4b8e56133bc395', 'versionType': 'git'}, {'status': 'affected', 'version': 'ffd980f976e7fd666c2e61bf8ab35107efd11828', 'lessThan': 'ffa80a2af27c97453861a5128e537214a31cd18a', 'versionType': 'git'}, {'status': 'affected', 'version': 'ffd980f976e7fd666c2e61bf8ab35107efd11828', 'lessThan': '6bcc5cd247c2934373bc2a1cdf8bf12321169543', 'versionType': 'git'}, {'status': 'affected', 'version': 'ffd980f976e7fd666c2e61bf8ab35107efd11828', 'lessThan': '0f6f9f95294b4cbb26ba02209e893e3bd91237c3', 'versionType': 'git'}, {'status': 'affected', 'version': 'ffd980f976e7fd666c2e61bf8ab35107efd11828', 'lessThan': 'b70f1a15533afeeec5d07f20bec3f3867ab1c7b6', 'versionType': 'git'}, {'status': 'affected', 'version': 'ffd980f976e7fd666c2e61bf8ab35107efd11828', 'lessThan': '35f0ac19efb1a3f6c5e12c00e475a9ec2d9c3a6d', 'versionType': 'git'}, {'status': 'affected', 'version': 'ffd980f976e7fd666c2e61bf8ab35107efd11828', 'lessThan': 'b9c6ac6fb4e01b34575816066e5d3890a57b3c86', 'versionType': 'git'}, {'status': 'affected', 'version': 'ffd980f976e7fd666c2e61bf8ab35107efd11828', 'lessThan': 'd9b091d9d22fee81ec53fb55d2032951993ceadb', 'versionType': 'git'}], 'programFiles': ['net/can/bcm.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '2.6.25'}, {'status': 'unaffected', 'version': '0', 'lessThan': '2.6.25', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '5.10.261', 'versionType': 'semver', 'lessThanOrEqual': '5.10.*'}, {'status': 'unaffected', 'version': '5.15.212', 'versionType': 'semver', 'lessThanOrEqual': '5.15.*'}, {'status': 'unaffected', 'version': '6.1.178', 'versionType': 'semver', 'lessThanOrEqual': '6.1.*'}, {'status': 'unaffected', 'version': '6.6.145', 'versionType': 'semver', 'lessThanOrEqual': '6.6.*'}, {'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-rc4', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['net/can/bcm.c'], 'defaultStatus': 'affected'}] [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': 'ffd980f976e7fd666c2e61bf8ab35107efd11828', 'lessThan': '9e60c586faeaed80d55ab8ce2a4b8e56133bc395', 'versionType': 'git'}, {'status': 'affected', 'version': 'ffd980f976e7fd666c2e61bf8ab35107efd11828', 'lessThan': 'ffa80a2af27c97453861a5128e537214a31cd18a', 'versionType': 'git'}, {'status': 'affected', 'version': 'ffd980f976e7fd666c2e61bf8ab35107efd11828', 'lessThan': '6bcc5cd247c2934373bc2a1cdf8bf12321169543', 'versionType': 'git'}, {'status': 'affected', 'version': 'ffd980f976e7fd666c2e61bf8ab35107efd11828', 'lessThan': '0f6f9f95294b4cbb26ba02209e893e3bd91237c3', 'versionType': 'git'}, {'status': 'affected', 'version': 'ffd980f976e7fd666c2e61bf8ab35107efd11828', 'lessThan': 'b70f1a15533afeeec5d07f20bec3f3867ab1c7b6', 'versionType': 'git'}, {'status': 'affected', 'version': 'ffd980f976e7fd666c2e61bf8ab35107efd11828', 'lessThan': '35f0ac19efb1a3f6c5e12c00e475a9ec2d9c3a6d', 'versionType': 'git'}, {'status': 'affected', 'version': 'ffd980f976e7fd666c2e61bf8ab35107efd11828', 'lessThan': 'b9c6ac6fb4e01b34575816066e5d3890a57b3c86', 'versionType': 'git'}, {'status': 'affected', 'version': 'ffd980f976e7fd666c2e61bf8ab35107efd11828', 'lessThan': 'd9b091d9d22fee81ec53fb55d2032951993ceadb', 'versionType': 'git'}], 'programFiles': ['net/can/bcm.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '2.6.25'}, {'status': 'unaffected', 'version': '0', 'lessThan': '2.6.25', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '5.10.261', 'versionType': 'semver', 'lessThanOrEqual': '5.10.*'}, {'status': 'unaffected', 'version': '5.15.212', 'versionType': 'semver', 'lessThanOrEqual': '5.15.*'}, {'status': 'unaffected', 'version': '6.1.178', 'versionType': 'semver', 'lessThanOrEqual': '6.1.*'}, {'status': 'unaffected', 'version': '6.6.145', 'versionType': 'semver', 'lessThanOrEqual': '6.6.*'}, {'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/can/bcm.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': 'ffd980f976e7fd666c2e61bf8ab35107efd11828', 'lessThan': '9e60c586faeaed80d55ab8ce2a4b8e56133bc395', 'versionType': 'git'}, {'status': 'affected', 'version': 'ffd980f976e7fd666c2e61bf8ab35107efd11828', 'lessThan': 'ffa80a2af27c97453861a5128e537214a31cd18a', 'versionType': 'git'}, {'status': 'affected', 'version': 'ffd980f976e7fd666c2e61bf8ab35107efd11828', 'lessThan': '6bcc5cd247c2934373bc2a1cdf8bf12321169543', 'versionType': 'git'}, {'status': 'affected', 'version': 'ffd980f976e7fd666c2e61bf8ab35107efd11828', 'lessThan': '0f6f9f95294b4cbb26ba02209e893e3bd91237c3', 'versionType': 'git'}, {'status': 'affected', 'version': 'ffd980f976e7fd666c2e61bf8ab35107efd11828', 'lessThan': 'b70f1a15533afeeec5d07f20bec3f3867ab1c7b6', 'versionType': 'git'}, {'status': 'affected', 'version': 'ffd980f976e7fd666c2e61bf8ab35107efd11828', 'lessThan': '35f0ac19efb1a3f6c5e12c00e475a9ec2d9c3a6d', 'versionType': 'git'}, {'status': 'affected', 'version': 'ffd980f976e7fd666c2e61bf8ab35107efd11828', 'lessThan': 'b9c6ac6fb4e01b34575816066e5d3890a57b3c86', 'versionType': 'git'}, {'status': 'affected', 'version': 'ffd980f976e7fd666c2e61bf8ab35107efd11828', 'lessThan': 'd9b091d9d22fee81ec53fb55d2032951993ceadb', 'versionType': 'git'}], 'programFiles': ['net/can/bcm.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '2.6.25'}, {'status': 'unaffected', 'version': '0', 'lessThan': '2.6.25', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '5.10.261', 'versionType': 'semver', 'lessThanOrEqual': '5.10.*'}, {'status': 'unaffected', 'version': '5.15.212', 'versionType': 'semver', 'lessThanOrEqual': '5.15.*'}, {'status': 'unaffected', 'version': '6.1.178', 'versionType': 'semver', 'lessThanOrEqual': '6.1.*'}, {'status': 'unaffected', 'version': '6.6.145', 'versionType': 'semver', 'lessThanOrEqual': '6.6.*'}, {'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-rc4', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['net/can/bcm.c'], 'defaultStatus': 'affected'}] Added Description In the Linux kernel, the following vulnerability has been resolved: can: bcm: fix lockless bound/ifindex race and silent RX_SETUP failure bcm_sendmsg() reads bo->ifindex and checks bo->bound before taking lock_sock(), while bcm_notify(), bcm_connect() and bcm_release() all mutate both fields under that same lock. Because the lockless reads and the locked writes are unordered with respect to each other, a racing bcm_notify() (device unregister) or bcm_connect() (concurrent bind on another thread sharing the socket) can make bcm_sendmsg() observe an inconsistent combination, e.g. a stale bound=1 together with the now-cleared ifindex=0, silently turning a socket bound to a specific CAN interface into one that also matches "any" interface. Keep the lockless bo->bound check purely as a fast-path reject, and move the ifindex read (and a bo->bound re-check) into the locked section, where every writer already serializes. This removes the possibility of observing the two fields torn against each other, rather than trying to fix it with more READ_ONCE()/WRITE_ONCE() pairs on two independently updated fields. Annotate the now-purely-lockless bo->bound accesses consistently across all its write sites. Also fix bcm_rx_setup() silently returning success when the target device disappears concurrently instead of reporting -ENODEV, so a broken RX op is no longer left registered as if it had succeeded. Added Reference https://git.kernel.org/stable/c/0f6f9f95294b4cbb26ba02209e893e3bd91237c3 Added Reference https://git.kernel.org/stable/c/35f0ac19efb1a3f6c5e12c00e475a9ec2d9c3a6d Added Reference https://git.kernel.org/stable/c/6bcc5cd247c2934373bc2a1cdf8bf12321169543 Added Reference https://git.kernel.org/stable/c/9e60c586faeaed80d55ab8ce2a4b8e56133bc395 Added Reference https://git.kernel.org/stable/c/b70f1a15533afeeec5d07f20bec3f3867ab1c7b6 Added Reference https://git.kernel.org/stable/c/b9c6ac6fb4e01b34575816066e5d3890a57b3c86 Added Reference https://git.kernel.org/stable/c/d9b091d9d22fee81ec53fb55d2032951993ceadb Added Reference https://git.kernel.org/stable/c/ffa80a2af27c97453861a5128e537214a31cd18a