VDB

CVE-2026-72121

CVE-2026-72121 PUBLISHED CVSS 8.8 HIGH

can: bcm: add locking when updating filter and timer values

Reported by linux · Published August 15, 2026

In the Linux kernel, the following vulnerability has been resolved: can: bcm: add locking when updating filter and timer values KCSAN detected a simultaneous access to timer values that can be overwritten in bcm_rx_setup() when updating timer and filter content while bcm_rx_handler(), bcm_rx_timeout_handler() or bcm_rx_thr_handler() run concurrently on incoming CAN traffic. Protect the timer (ival1/ival2/kt_ival1/kt_ival2/kt_lastmsg) and filter (nframes/flags/frames/last_frames) updates in bcm_rx_setup() with a new per-op bcm_rx_update_lock, taken with the matching scope in the RX handlers. memcpy_from_msg() is staged into a temporary buffer before the lock is taken, since it can sleep and must not run under a spinlock. hrtimer_cancel() is always called without bcm_rx_update_lock held, since bcm_rx_timeout_handler()/bcm_rx_thr_handler() take the same lock and a running callback would otherwise deadlock against the canceller. Also close a related race: bcm_rx_setup() cleared the RTR flag in the stored reply frame's can_id as a separate, unprotected step after the frame content was already installed, so a concurrent bcm_rx_handler() could transmit a stale reply with CAN_RTR_FLAG still set. Fold that normalization into the initial frame preparation instead (on the staged buffer for updates, directly on op->frames pre-registration for new ops), so the installed frame is always atomically self-consistent. bcm_rx_handler()'s RX_RTR_FRAME check now takes a lock-protected snapshot of op->flags before deciding whether to call bcm_can_tx(), but does not hold the lock across that call. Also take a lock-protected snapshot of the currframe in bcm_can_tx() to avoid partly overwrites by content updates in bcm_tx_setup(). Finally check if a TX_RESET_MULTI_IDX/SETTIMER might have reset op->currframe between the two locked sections in bcm_can_tx(). Omit calling hrtimer_forward() with zero interval in bcm_rx_thr_handler(). kt_ival2 may have been concurrently cleared by bcm_rx_setup() before it cancels this timer, so check kt_ival2 inside the bcm_rx_update_lock.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
python3-perfAmazon Linux1:6.1.186-228.374.amzn2023
kernel6.12-headersAmazon Linux1:6.12.103-127.188.amzn2023
perfAmazon Linux1:6.1.186-228.374.amzn2023
kernel6.12-modules-extra-commonAmazon Linux1:6.12.103-127.188.amzn2023

Risk scores

CVSS 3.1
8.8
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected products

VendorProductVersions
LinuxLinux7595de7bc56e0e52b74e56c90f7e247bf626d628, fbd8fdc2b218e979cfe422b139b8f74c12419d1f, 2a437b86ac5a9893c902f30ef66815bf13587bf6
LinuxLinux6.15, 0, 5.10.265
amazon:2023python3-perf0
amazon:2023kernel6.12-headers0
amazon:2023perf0
amazon:2023kernel6.12-modules-extra-common0
linuxlinux_kernel6.6.93, 6.15, 6.12.31
amazon:2023kernel6.12-devel0
amazon:2023kernel6.180
amazon:2023kernel6.12-tools-devel0
amazon:2023kernel-livepatch-6.18.44-99.1490
amazon:2023kernel-modules-extra-common0
amazon:2023kernel6.18-tools-devel0
amazon:2023kernel-modules-extra0
amazon:2023kernel-tools-devel0
amazon:2023kernel0
amazon:2023bpftool0
amazon:2023kernel6.18-modules-extra0
LinuxLinux6.1.183, 8f1c022541bf5a923c8d6fa483112c15250f30a4, 6.6.93
amazon:2023kernel-headers0

…and 18 more

Timeline

  • Aug 15, 2026 Coalition ESS Score
  • Aug 15, 2026 CVE Published
  • Aug 19, 2026 Security Advisory
  • Aug 19, 2026 CVE Updated
  • Aug 24, 2026 EPSS Score (30 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-72121
vulnetix vdb fixes CVE-2026-72121

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-72121/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 ›