0.0
NA
CVE-2026-72118
can: bcm: fix CAN frame rx/tx statistics
Description

In the Linux kernel, the following vulnerability has been resolved: can: bcm: fix CAN frame rx/tx statistics KCSAN detected a data race within the bcm_rx_handler() when two CAN frames have been simultaneously received and processed in a single rx op by two different CPUs. Use atomic operations with (signed) long data types to access the statistics in the hot path to fix the KCSAN complaint. Additionally simplify the update and check of statistics overflow by using the atomic operations in separate bcm_update_[rx|tx]_stats() functions. The rx variant runs under bcm_rx_update_lock to prevent races when resetting the two rx counters; the tx variant runs under bcm_tx_lock and only needs to guard its own counter's overflow. As the rx path resets its values already at LONG_MAX / 100, there is no conflict between the two locking domains (bcm_rx_update_lock vs. bcm_tx_lock) even for ops that use both paths. The rx statistics update and the frames_filtered update in bcm_rx_changed() were previously performed in two separate bcm_rx_update_lock sections. For an rx op subscribed on all interfaces (ifindex == 0), bcm_rx_handler() can run concurrently on different CPUs, so a counter reset by one CPU between these two sections could leave frames_filtered larger than frames_abs on another CPU, producing a bogus (even negative) reduction percentage in procfs. Update the statistics in the same critical section as bcm_rx_changed() to close this gap, which also removes the now unneeded extra lock/unlock pair around the traffic_flags calculation.

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
Affected Products

The following products are affected by CVE-2026-72118 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Linux linux_kernel
Solution
Resolve data race in CAN frame statistics handling using atomic operations and locking.
  • Use atomic operations for statistics access in hot path.
  • Simplify statistics overflow checks with atomic operations.
  • Update statistics within a single critical section.
  • Apply vendor-provided patches for the Linux kernel.
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-72118 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-72118 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-72118 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2026-72118 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
    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': '8b2783172d92edd650de6006ebd1c800937021ab', 'versionType': 'git'}, {'status': 'affected', 'version': 'ffd980f976e7fd666c2e61bf8ab35107efd11828', 'lessThan': '970caff5c1a63702c80e08d920256bcb5f88ecc5', 'versionType': 'git'}, {'status': 'affected', 'version': 'ffd980f976e7fd666c2e61bf8ab35107efd11828', 'lessThan': '8104bcdb2612fdda95169ddc3b49747b2ff98d24', 'versionType': 'git'}, {'status': 'affected', 'version': 'ffd980f976e7fd666c2e61bf8ab35107efd11828', 'lessThan': 'df47f07cdc801a6afe05a486b5a343c3e532a93c', 'versionType': 'git'}, {'status': 'affected', 'version': 'ffd980f976e7fd666c2e61bf8ab35107efd11828', 'lessThan': 'e6c24ba95fc3f1b5e1dcd28b1c6e59ef61a9daa5', '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': '6.6.148', 'versionType': 'semver', 'lessThanOrEqual': '6.6.*'}, {'status': 'unaffected', 'version': '6.12.101', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.42', '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': '8b2783172d92edd650de6006ebd1c800937021ab', 'versionType': 'git'}, {'status': 'affected', 'version': 'ffd980f976e7fd666c2e61bf8ab35107efd11828', 'lessThan': '970caff5c1a63702c80e08d920256bcb5f88ecc5', 'versionType': 'git'}, {'status': 'affected', 'version': 'ffd980f976e7fd666c2e61bf8ab35107efd11828', 'lessThan': '8104bcdb2612fdda95169ddc3b49747b2ff98d24', 'versionType': 'git'}, {'status': 'affected', 'version': 'ffd980f976e7fd666c2e61bf8ab35107efd11828', 'lessThan': 'df47f07cdc801a6afe05a486b5a343c3e532a93c', 'versionType': 'git'}, {'status': 'affected', 'version': 'ffd980f976e7fd666c2e61bf8ab35107efd11828', 'lessThan': 'e6c24ba95fc3f1b5e1dcd28b1c6e59ef61a9daa5', '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': '6.6.148', 'versionType': 'semver', 'lessThanOrEqual': '6.6.*'}, {'status': 'unaffected', 'version': '6.12.101', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.42', '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': '8b2783172d92edd650de6006ebd1c800937021ab', 'versionType': 'git'}, {'status': 'affected', 'version': 'ffd980f976e7fd666c2e61bf8ab35107efd11828', 'lessThan': '970caff5c1a63702c80e08d920256bcb5f88ecc5', 'versionType': 'git'}, {'status': 'affected', 'version': 'ffd980f976e7fd666c2e61bf8ab35107efd11828', 'lessThan': '8104bcdb2612fdda95169ddc3b49747b2ff98d24', 'versionType': 'git'}, {'status': 'affected', 'version': 'ffd980f976e7fd666c2e61bf8ab35107efd11828', 'lessThan': 'df47f07cdc801a6afe05a486b5a343c3e532a93c', 'versionType': 'git'}, {'status': 'affected', 'version': 'ffd980f976e7fd666c2e61bf8ab35107efd11828', 'lessThan': 'e6c24ba95fc3f1b5e1dcd28b1c6e59ef61a9daa5', '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': '6.6.148', 'versionType': 'semver', 'lessThanOrEqual': '6.6.*'}, {'status': 'unaffected', 'version': '6.12.101', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.42', '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 CAN frame rx/tx statistics KCSAN detected a data race within the bcm_rx_handler() when two CAN frames have been simultaneously received and processed in a single rx op by two different CPUs. Use atomic operations with (signed) long data types to access the statistics in the hot path to fix the KCSAN complaint. Additionally simplify the update and check of statistics overflow by using the atomic operations in separate bcm_update_[rx|tx]_stats() functions. The rx variant runs under bcm_rx_update_lock to prevent races when resetting the two rx counters; the tx variant runs under bcm_tx_lock and only needs to guard its own counter's overflow. As the rx path resets its values already at LONG_MAX / 100, there is no conflict between the two locking domains (bcm_rx_update_lock vs. bcm_tx_lock) even for ops that use both paths. The rx statistics update and the frames_filtered update in bcm_rx_changed() were previously performed in two separate bcm_rx_update_lock sections. For an rx op subscribed on all interfaces (ifindex == 0), bcm_rx_handler() can run concurrently on different CPUs, so a counter reset by one CPU between these two sections could leave frames_filtered larger than frames_abs on another CPU, producing a bogus (even negative) reduction percentage in procfs. Update the statistics in the same critical section as bcm_rx_changed() to close this gap, which also removes the now unneeded extra lock/unlock pair around the traffic_flags calculation.
    Added Reference https://git.kernel.org/stable/c/8104bcdb2612fdda95169ddc3b49747b2ff98d24
    Added Reference https://git.kernel.org/stable/c/8b2783172d92edd650de6006ebd1c800937021ab
    Added Reference https://git.kernel.org/stable/c/970caff5c1a63702c80e08d920256bcb5f88ecc5
    Added Reference https://git.kernel.org/stable/c/df47f07cdc801a6afe05a486b5a343c3e532a93c
    Added Reference https://git.kernel.org/stable/c/e6c24ba95fc3f1b5e1dcd28b1c6e59ef61a9daa5
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.