{"id":41332,"date":"2026-10-19T00:33:16","date_gmt":"2026-10-18T16:33:16","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-98860"},"modified":"2026-10-19T00:33:16","modified_gmt":"2026-10-18T16:33:16","slug":"cve-2026-98860","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-98860","title":{"rendered":"CVE-2026-98860 &#8211; In the Linux kernel, the following vulnerability has been resolved:\n\nHID: bpf: cast size t"},"content":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>HID: bpf: cast size to ssize_t when checking hid_bpf_hw_request<\/p>\n<p>As reported by Sashiko:<br \/>\nIf a transport driver encounters a hardware error and returns a negative<br \/>\nerror code such as -EPIPE, ret is implicitly promoted to size_t when<br \/>\ncompared against size. This causes the negative error code to evaluate<br \/>\nas a large positive number, making the (ret &gt; size) condition true.<\/p>\n<p>This silently converts the hardware error into a success return value<br \/>\nand copies the unmodified buffer back, which could leave BPF programs<br \/>\noperating on uninitialized or stale data.<\/p>\n<p>Fix this by casting size into ssize_t to return the actual negative<br \/>\nerror code.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>HID: bpf: cast size to ssize_t when checking hid_bpf_hw_request<\/p>\n<p>As reported by Sashiko:<br \/>\nIf a transport driver encounters a hardwar<\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-41332","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/41332","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=41332"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=41332"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=41332"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}