{"id":29261,"date":"2026-09-25T20:32:16","date_gmt":"2026-09-25T12:32:16","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-98107"},"modified":"2026-09-25T20:32:16","modified_gmt":"2026-09-25T12:32:16","slug":"cve-2026-98107","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-98107","title":{"rendered":"CVE-2026-98107 &#8211; In the Linux kernel, the following vulnerability has been resolved:\n\nBluetooth: L2CAP: fix"},"content":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>Bluetooth: L2CAP: fix out-of-bounds write in l2cap_ecred_connect<\/p>\n<p>l2cap_chan_connect() tries to ensure there are no more than<br \/>\nL2CAP_ECRED_CONN_SCID_MAX pending ECRED channels, so they fit in the<br \/>\nsame L2CAP_ECRED_CONN_REQ that l2cap_ecred_connect() constructs.<\/p>\n<p>However, the check only counts deferred channels.  If 6 L2CAP sockets<br \/>\nare connected at the same time in order DDDDND (D=deferred,<br \/>\nN=non-deferred), the last can bump the total to max+1.  It results to<br \/>\none __le16 written out of bounds of the scid array, and an invalid<br \/>\nECRED_CONN_REQ being sent.<\/p>\n<p>Fix by leaving room for the non-deferred pending ECRED channels in the<br \/>\ncounting in l2cap_chan_connect(), so the limit can&#8217;t be exceeded.<\/p>\n<p>Move counting under same critical section where the channel is added.<br \/>\nAlthough race conditions involving this appear unreachable, it&#8217;s easier<br \/>\nto see.<\/p>\n<p>Also add WARN_ON_ONCE check in l2cap_ecred_defer_connect() to make this<br \/>\nless brittle.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>Bluetooth: L2CAP: fix out-of-bounds write in l2cap_ecred_connect<\/p>\n<p>l2cap_chan_connect() tries to ensure there are no more than<br \/>\nL2CAP<\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-29261","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/29261","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=29261"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=29261"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=29261"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}