VDB

CVE-2026-72122

CVE-2026-72122 PUBLISHED CVSS 7.3 HIGH

can: bcm: fix lockless bound/ifindex race and silent RX_SETUP failure

Reported by linux · Published August 15, 2026

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.

Risk scores

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

Affected products

VendorProductVersions
LinuxLinuxffd980f976e7fd666c2e61bf8ab35107efd11828, ffd980f976e7fd666c2e61bf8ab35107efd11828, ffd980f976e7fd666c2e61bf8ab35107efd11828
LinuxLinux2.6.25, 0, 5.10.261
linuxlinux_kernel2.6.25, 2.6.25, 2.6.25
amazon:2023microvm-kernel6.180
amazon:2023kernel-livepatch-6.1.180-225.3600
amazon:2023perf0
amazon:2023perf6.120
amazon:2023kernel6.18-devel0
amazon:2023kernel6.12-modules-extra0
amazon:2023kernel-tools-devel0
amazon:2023kernel6.120
amazon:2023kernel6.12-headers0
amazon:2023kernel6.180
amazon:2023kernel6.18-headers0
amazon:2023bpftool0
amazon:2023kernel6.12-tools0
amazon:2023kernel-headers0
amazon:2023kernel6.18-modules-extra0
amazon:2023bpftool6.120
amazon:2023bpftool6.180

…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 (11 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-72122
vulnetix vdb fixes CVE-2026-72122

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