{"id":33301,"date":"2026-10-06T20:31:43","date_gmt":"2026-10-06T12:31:43","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-98232"},"modified":"2026-10-06T20:31:43","modified_gmt":"2026-10-06T12:31:43","slug":"cve-2026-98232","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-98232","title":{"rendered":"CVE-2026-98232 &#8211; In the Linux kernel, the following vulnerability has been resolved:\n\nscsi: core: Validate"},"content":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>scsi: core: Validate MODE SENSE lengths in scsi_cdl_enable()<\/p>\n<p>scsi_cdl_enable() uses length fields returned by MODE SENSE to locate<br \/>\nthe ATA feature mode page in a 64-byte stack buffer. A target can report<br \/>\na total length shorter than its mode header and block descriptors. The<br \/>\nunsigned subtraction used for the MODE SELECT length can wrap, and the<br \/>\nseparately computed buf_data can point beyond buf.<\/p>\n<p>During automatic scan, enable is false, so the read-modify-write of<br \/>\nbuf_data[4] can clear the low two bits of a target-selected<br \/>\nout-of-bounds stack byte. scsi_mode_select() can then copy up to 64<br \/>\nbytes from outside the buffer into the outgoing MODE SELECT payload,<br \/>\ndisclosing stack contents to the target.<\/p>\n<p>This is reachable while scanning a USB storage device that identifies as<br \/>\nan ATA device and advertises CDL support. No filesystem mount or<br \/>\nuserspace access to the block device is required.<\/p>\n<p>On upstream commit cee9395acd80 (&#8220;Linux 7.3-rc1&#8221;), a build-specific,<br \/>\none-vCPU QEMU\/Raw Gadget proof using QEMU-only multi-UDC allocator<br \/>\nsampling executed a fixed proof command inside the guest and created a<br \/>\nUID-0-owned marker during automatic enumeration, with KASLR and NX<br \/>\nenabled.<\/p>\n<p>The issue was independently found during security research at Drivesec<br \/>\nS.r.l.<\/p>\n<p>Cap the available length to the buffer size. Validate and consume the<br \/>\nmode header and block descriptor lengths before using the page, and<br \/>\nrequire the five bytes needed to access the CDL field.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>scsi: core: Validate MODE SENSE lengths in scsi_cdl_enable()<\/p>\n<p>scsi_cdl_enable() uses length fields returned by MODE SENSE to locate<\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-33301","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/33301","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=33301"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=33301"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=33301"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}