{"id":"CVE-2026-72122","published":"2026-08-15T05:53:00Z","modified":"2026-10-16T18:44:57Z","title":"can: bcm: fix lockless bound/ifindex race and silent RX_SETUP failure","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\ncan: bcm: fix lockless bound/ifindex race and silent RX_SETUP failure\n\nbcm_sendmsg() reads bo->ifindex and checks bo->bound before taking\nlock_sock(), while bcm_notify(), bcm_connect() and bcm_release() all\nmutate both fields under that same lock. Because the lockless reads\nand the locked writes are unordered with respect to each other, a\nracing bcm_notify() (device unregister) or bcm_connect() (concurrent\nbind on another thread sharing the socket) can make bcm_sendmsg()\nobserve an inconsistent combination, e.g. a stale bound=1 together\nwith the now-cleared ifindex=0, silently turning a socket bound to a\nspecific CAN interface into one that also matches \"any\" interface.\n\nKeep the lockless bo->bound check purely as a fast-path reject, and\nmove the ifindex read (and a bo->bound re-check) into the locked\nsection, where every writer already serializes. This removes the\npossibility of observing the two fields torn against each other,\nrather than trying to fix it with more READ_ONCE()/WRITE_ONCE() pairs\non two independently updated fields. Annotate the now-purely-lockless\nbo->bound accesses consistently across all its write sites.\n\nAlso fix bcm_rx_setup() silently returning success when the target\ndevice disappears concurrently instead of reporting -ENODEV, so a\nbroken RX op is no longer left registered as if it had succeeded.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.3,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00164,"percentile":0.05735,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/9e60c586faeaed80d55ab8ce2a4b8e56133bc395","tags":[]},{"url":"https://git.kernel.org/stable/c/ffa80a2af27c97453861a5128e537214a31cd18a","tags":[]},{"url":"https://git.kernel.org/stable/c/6bcc5cd247c2934373bc2a1cdf8bf12321169543","tags":[]},{"url":"https://git.kernel.org/stable/c/0f6f9f95294b4cbb26ba02209e893e3bd91237c3","tags":[]},{"url":"https://git.kernel.org/stable/c/b70f1a15533afeeec5d07f20bec3f3867ab1c7b6","tags":[]},{"url":"https://git.kernel.org/stable/c/35f0ac19efb1a3f6c5e12c00e475a9ec2d9c3a6d","tags":[]},{"url":"https://git.kernel.org/stable/c/b9c6ac6fb4e01b34575816066e5d3890a57b3c86","tags":[]},{"url":"https://git.kernel.org/stable/c/d9b091d9d22fee81ec53fb55d2032951993ceadb","tags":[]}],"priority":{"score":6.3,"factors":[{"name":"EPSS percentile","points":1.15},{"name":"CVSS severity","points":5.11}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= ffd980f976e7fd666c2e61bf8ab35107efd11828, < 9e60c586faeaed80d55ab8ce2a4b8e56133bc395",">= ffd980f976e7fd666c2e61bf8ab35107efd11828, < ffa80a2af27c97453861a5128e537214a31cd18a",">= ffd980f976e7fd666c2e61bf8ab35107efd11828, < 6bcc5cd247c2934373bc2a1cdf8bf12321169543",">= ffd980f976e7fd666c2e61bf8ab35107efd11828, < 0f6f9f95294b4cbb26ba02209e893e3bd91237c3",">= ffd980f976e7fd666c2e61bf8ab35107efd11828, < b70f1a15533afeeec5d07f20bec3f3867ab1c7b6",">= ffd980f976e7fd666c2e61bf8ab35107efd11828, < 35f0ac19efb1a3f6c5e12c00e475a9ec2d9c3a6d",">= ffd980f976e7fd666c2e61bf8ab35107efd11828, < b9c6ac6fb4e01b34575816066e5d3890a57b3c86",">= ffd980f976e7fd666c2e61bf8ab35107efd11828, < d9b091d9d22fee81ec53fb55d2032951993ceadb"]},{"vendor":"Linux","product":"Linux","versions":["2.6.25"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-10-16T18:42:08.458786Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-58880","exploited":false,"provenance":"source"}}