{"id":40971,"date":"2026-10-19T00:31:42","date_gmt":"2026-10-18T16:31:42","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-98499"},"modified":"2026-10-19T00:31:42","modified_gmt":"2026-10-18T16:31:42","slug":"cve-2026-98499","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-98499","title":{"rendered":"CVE-2026-98499 &#8211; In the Linux kernel, the following vulnerability has been resolved:\n\nHID: wacom: fix OOB r"},"content":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>HID: wacom: fix OOB read in wacom_wac_pen_serial_enforce()<\/p>\n<p>The &#8216;wacom_wac_pen_serial_enforce()&#8217; function may calculate and pass an<br \/>\ninvalid offset to hid_field_extract(), resulting in memory reads at<br \/>\nincorrect addresses &#8212; possibly beyond the end of the report.  If a<br \/>\nfield in the HID descriptor lists more usages than its Report Count<br \/>\nactually reserves space for, the function&#8217;s inner &#8216;j&#8217; will walk past<br \/>\nthe end of the field:<\/p>\n<p>\tfor (i = 0; i maxfield; i++) {<br \/>\n\t\tfor (j = 0; j field[i]-&gt;maxusage; j++) {<br \/>\n\t\t\t&#8230;<br \/>\n\t\t\tvalue = hid_field_extract(hdev, raw_data + 1,<br \/>\n\t\t\t\t\t\t  offset + j * size, size);<\/p>\n<p>A descriptor listing 12288 usages against Report Count 1 has the loop<br \/>\nextract the usage at index 12287 from bit offset 98296 &#8212; about 12 KB<br \/>\npast a 2-byte received report.  The value is stored in<br \/>\nwacom_wac-&gt;serial[0] and can reach userspace as an MSC_SERIAL event,<br \/>\nmaking this an information disclosure.<\/p>\n<p>Clamp the loop to field-&gt;report_count, the number of value slots the<br \/>\nreport holds.  Value slots past the last declared usage are still<br \/>\nscanned; they reuse that usage (HID 1.11, 6.2.2.8).<\/p>\n<p>Verified on v6.12.105 with a UHID reproducer: a 2-byte report from<br \/>\nsuch a descriptor trips KASAN before the patch and not after it.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>HID: wacom: fix OOB read in wacom_wac_pen_serial_enforce()<\/p>\n<p>The &#8216;wacom_wac_pen_serial_enforce()&#8217; function may calculate and pass an<\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-40971","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/40971","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=40971"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=40971"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=40971"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}