VDB

CVE-2026-72118

CVE-2026-72118 PUBLISHED

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.

PackageEcosystemFixed in
kernel6.12Amazon Linux1:6.12.103-127.188.amzn2023
kernel-modules-extraAmazon Linux1:6.1.186-228.374.amzn2023
kernelAmazon Linux1:6.1.186-228.374.amzn2023
kernel6.18-develAmazon Linux1:6.18.44-99.149.amzn2023
kernel6.18-modules-extraAmazon Linux1:6.18.44-99.149.amzn2023
kernel-headersAmazon Linux1:6.1.186-228.374.amzn2023
kernel6.12-toolsAmazon Linux1:6.12.103-127.188.amzn2023
kernel-tools-develAmazon Linux1:6.1.186-228.374.amzn2023
perf6.18Amazon Linux1:6.18.44-99.149.amzn2023
kernel6.18Amazon Linux1:6.18.44-99.149.amzn2023
kernel6.12-develAmazon Linux1:6.12.103-127.188.amzn2023
kernel-livepatch-6.1.186-228.374Amazon Linux1:1.0-0.amzn2023

10 more packages have a fixed version. See every fix in Lookup.

Affected products

VendorProductVersions
LinuxLinuxffd980f976e7fd666c2e61bf8ab35107efd11828, ffd980f976e7fd666c2e61bf8ab35107efd11828, ffd980f976e7fd666c2e61bf8ab35107efd11828
LinuxLinux2.6.25, 0, 5.10.265
amazon:2023kernel6.120
amazon:2023kernel-modules-extra0
amazon:2023kernel0
amazon:2023kernel6.18-devel0
amazon:2023kernel6.18-modules-extra0
amazon:2023kernel-headers0
amazon:2023kernel6.12-tools0
amazon:2023kernel-tools-devel0
amazon:2023perf6.180
amazon:2023kernel6.180
amazon:2023kernel6.12-devel0
amazon:2023kernel-livepatch-6.1.186-228.3740
amazon:2023python3-perf6.180
amazon:2023kernel6.18-modules-extra-common0
amazon:2023perf6.120
amazon:2023kernel6.18-tools-devel0
amazon:2023kernel6.12-tools-devel0
amazon:2023kernel6.12-headers0

…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

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›