{"id":6788,"date":"2026-09-04T18:49:17","date_gmt":"2026-09-04T10:49:17","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-72122"},"modified":"2026-09-04T18:49:17","modified_gmt":"2026-09-04T10:49:17","slug":"cve-2026-72122","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-72122","title":{"rendered":"CVE-2026-72122 [HIGH] &#8211; In the Linux kernel, the following vulnerability has been resolved:\n\ncan: bcm: fix lockles"},"content":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>can: bcm: fix lockless bound\/ifindex race and silent RX_SETUP failure<\/p>\n<p>bcm_sendmsg() reads bo-&gt;ifindex and checks bo-&gt;bound before taking<br \/>\nlock_sock(), while bcm_notify(), bcm_connect() and bcm_release() all<br \/>\nmutate both fields under that same lock. Because the lockless reads<br \/>\nand the locked writes are unordered with respect to each other, a<br \/>\nracing bcm_notify() (device unregister) or bcm_connect() (concurrent<br \/>\nbind on another thread sharing the socket) can make bcm_sendmsg()<br \/>\nobserve an inconsistent combination, e.g. a stale bound=1 together<br \/>\nwith the now-cleared ifindex=0, silently turning a socket bound to a<br \/>\nspecific CAN interface into one that also matches &#8220;any&#8221; interface.<\/p>\n<p>Keep the lockless bo-&gt;bound check purely as a fast-path reject, and<br \/>\nmove the ifindex read (and a bo-&gt;bound re-check) into the locked<br \/>\nsection, where every writer already serializes. This removes the<br \/>\npossibility of observing the two fields torn against each other,<br \/>\nrather than trying to fix it with more READ_ONCE()\/WRITE_ONCE() pairs<br \/>\non two independently updated fields. Annotate the now-purely-lockless<br \/>\nbo-&gt;bound accesses consistently across all its write sites.<\/p>\n<p>Also fix bcm_rx_setup() silently returning success when the target<br \/>\ndevice disappears concurrently instead of reporting -ENODEV, so a<br \/>\nbroken RX op is no longer left registered as if it had succeeded.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>can: bcm: fix lockless bound\/ifindex race and silent RX_SETUP failure<\/p>\n<p>bcm_sendmsg() reads bo-&gt;ifindex and checks bo-&gt;bound before <\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-6788","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/6788","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln"}],"about":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/types\/vuln"}],"wp:attachment":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=6788"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=6788"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=6788"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}