{"id":41243,"date":"2026-10-19T00:32:47","date_gmt":"2026-10-18T16:32:47","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-98771"},"modified":"2026-10-19T00:32:47","modified_gmt":"2026-10-18T16:32:47","slug":"cve-2026-98771","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-98771","title":{"rendered":"CVE-2026-98771 &#8211; In the Linux kernel, the following vulnerability has been resolved:\n\nusb: storage: sierra_"},"content":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>usb: storage: sierra_ms: reject short SWoC info transfers<\/p>\n<p>sierra_get_swoc_info() requests sizeof(struct swoc_info) (60) bytes<br \/>\nfrom the device via usb_control_msg(), but its callers only treat a<br \/>\nnegative return value as failure. A device that answers the<br \/>\nvendor-specific GetSwocInfo request with a short IN transfer is<br \/>\ntherefore accepted, leaving the tail of the freshly allocated<br \/>\n(kmalloc(), non-zeroing) swoc_info buffer uninitialized.<\/p>\n<p>truinst_show() subsequently prints swocInfo-&gt;rev, swocInfo-&gt;LinuxSKU<br \/>\nand swocInfo-&gt;LinuxVer from that buffer into the world-readable<br \/>\n(0444) &#8220;truinst&#8221; sysfs attribute. An emulated\/malicious USB device<br \/>\n(VID 0x1199, PID 0x0fff) can exploit this to disclose up to 5 bytes<br \/>\nof stale kernel heap memory (kmalloc-64) to unprivileged userspace,<br \/>\nonce per sysfs read, indefinitely. On kernels built without<br \/>\ninit_on_alloc this leaks recently freed heap contents.<\/p>\n<p>Only accept the transfer when the full structure was received.<br \/>\nsierra_ms_init() already retries failed queries, so well-behaved<br \/>\ndevices are unaffected.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>usb: storage: sierra_ms: reject short SWoC info transfers<\/p>\n<p>sierra_get_swoc_info() requests sizeof(struct swoc_info) (60) bytes<br \/>\nfrom<\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-41243","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/41243","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=41243"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=41243"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=41243"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}