CVE-2026-72118
can: bcm: fix CAN frame rx/tx statistics
Reported by linux · Published August 15, 2026
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kernel6.12 | Amazon Linux | 1:6.12.103-127.188.amzn2023 |
| kernel-modules-extra | Amazon Linux | 1:6.1.186-228.374.amzn2023 |
| kernel | Amazon Linux | 1:6.1.186-228.374.amzn2023 |
| kernel6.18-devel | Amazon Linux | 1:6.18.44-99.149.amzn2023 |
| kernel6.18-modules-extra | Amazon Linux | 1:6.18.44-99.149.amzn2023 |
| kernel-headers | Amazon Linux | 1:6.1.186-228.374.amzn2023 |
| kernel6.12-tools | Amazon Linux | 1:6.12.103-127.188.amzn2023 |
| kernel-tools-devel | Amazon Linux | 1:6.1.186-228.374.amzn2023 |
| perf6.18 | Amazon Linux | 1:6.18.44-99.149.amzn2023 |
| kernel6.18 | Amazon Linux | 1:6.18.44-99.149.amzn2023 |
| kernel6.12-devel | Amazon Linux | 1:6.12.103-127.188.amzn2023 |
| kernel-livepatch-6.1.186-228.374 | Amazon Linux | 1:1.0-0.amzn2023 |
10 more packages have a fixed version. See every fix in Lookup.
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | ffd980f976e7fd666c2e61bf8ab35107efd11828, ffd980f976e7fd666c2e61bf8ab35107efd11828, ffd980f976e7fd666c2e61bf8ab35107efd11828 |
| Linux | Linux | 2.6.25, 0, 5.10.265 |
| amazon:2023 | kernel6.12 | 0 |
| amazon:2023 | kernel-modules-extra | 0 |
| amazon:2023 | kernel | 0 |
| amazon:2023 | kernel6.18-devel | 0 |
| amazon:2023 | kernel6.18-modules-extra | 0 |
| amazon:2023 | kernel-headers | 0 |
| amazon:2023 | kernel6.12-tools | 0 |
| amazon:2023 | kernel-tools-devel | 0 |
| amazon:2023 | perf6.18 | 0 |
| amazon:2023 | kernel6.18 | 0 |
| amazon:2023 | kernel6.12-devel | 0 |
| amazon:2023 | kernel-livepatch-6.1.186-228.374 | 0 |
| amazon:2023 | python3-perf6.18 | 0 |
| amazon:2023 | kernel6.18-modules-extra-common | 0 |
| amazon:2023 | perf6.12 | 0 |
| amazon:2023 | kernel6.18-tools-devel | 0 |
| amazon:2023 | kernel6.12-tools-devel | 0 |
| amazon:2023 | kernel6.12-headers | 0 |
…and 18 more
Timeline
- Aug 15, 2026 Coalition ESS Score
- Aug 15, 2026 CVE Published
- Aug 19, 2026 Security Advisory
- Aug 24, 2026 EPSS Score (18 in total, the first dated here)
- Nov 6, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-72118
vulnetix vdb fixes CVE-2026-72118
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-72118/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart