{"id":66890,"date":"2025-07-28T17:33:32","date_gmt":"2025-07-28T14:03:32","guid":{"rendered":"https:\/\/afaghhosting.net\/blog\/cve-2025-38497-linux-kernel-usb-gadget-configfs-out-of-bounds-read\/"},"modified":"2025-07-28T17:33:32","modified_gmt":"2025-07-28T14:03:32","slug":"cve-2025-38497-linux-kernel-usb-gadget-configfs-out-of-bounds-read","status":"publish","type":"post","link":"https:\/\/afaghhosting.net\/blog\/cve-2025-38497-linux-kernel-usb-gadget-configfs-out-of-bounds-read\/","title":{"rendered":"CVE-2025-38497 &#8211; Linux Kernel USB Gadget configfs Out-of-Bounds Read"},"content":{"rendered":"<p><strong>CVE ID : <\/strong>CVE-2025-38497<br \/>\n<br \/>\n<strong>Published : <\/strong> July 28, 2025, 12:15 p.m. | 1\u00a0hour, 5\u00a0minutes ago<br \/>\n<br \/>\n<strong>Description : <\/strong>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>usb: gadget: configfs: Fix OOB read on empty string write<\/p>\n<p>When writing an empty string to either &#8216;qw_sign&#8217; or &#8216;landingPage&#8217;<br \/>\nsysfs attributes, the store functions attempt to access page[l &#8211; 1]\nbefore validating that the length &#8216;l&#8217; is greater than zero.<\/p>\n<p>This patch fixes the vulnerability by adding a check at the beginning<br \/>\nof os_desc_qw_sign_store() and webusb_landingPage_store() to handle<br \/>\nthe zero-length input case gracefully by returning immediately.<br \/>\n<br \/>\n<strong>Severity:<\/strong> 0.0 | NA<br \/>\n<br \/>\nVisit the link for more details, such as CVSS details, affected products, timeline, and more&#8230;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>CVE ID : CVE-2025-38497 Published : July 28, 2025, 12:15 p.m. | 1\u00a0hour, 5\u00a0minutes ago Description : In the Linux kernel, the following vulnerability has been resolved: usb: gadget: configfs: Fix OOB read on empty string write When writing an empty string to either &#8216;qw_sign&#8217; or &#8216;landingPage&#8217; sysfs attributes, the store functions attempt to access &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[26],"tags":[],"class_list":["post-66890","post","type-post","status-publish","format-standard","hentry","category-vulnerability"],"_links":{"self":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/66890","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/comments?post=66890"}],"version-history":[{"count":0,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/66890\/revisions"}],"wp:attachment":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/media?parent=66890"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/categories?post=66890"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/tags?post=66890"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}