{"id":"CVE-2025-38497","published":"2025-07-28T11:22:05Z","modified":"2026-05-11T21:29:09Z","title":"usb: gadget: configfs: Fix OOB read on empty string write","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nusb: gadget: configfs: Fix OOB read on empty string write\n\nWhen writing an empty string to either 'qw_sign' or 'landingPage'\nsysfs attributes, the store functions attempt to access page[l - 1]\nbefore validating that the length 'l' is greater than zero.\n\nThis patch fixes the vulnerability by adding a check at the beginning\nof os_desc_qw_sign_store() and webusb_landingPage_store() to handle\nthe zero-length input case gracefully by returning immediately.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00295,"percentile":0.14581,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/78b41148cfea2a3f04d87adf3a71b21735820a37","tags":[]},{"url":"https://git.kernel.org/stable/c/d68b7c8fefbaeae8f065b84e40cf64baf4cc0c76","tags":[]},{"url":"https://git.kernel.org/stable/c/15a87206879951712915c03c8952a73d6a74721e","tags":[]},{"url":"https://git.kernel.org/stable/c/2798111f8e504ac747cce911226135d50b8de468","tags":[]},{"url":"https://git.kernel.org/stable/c/58bdd5160184645771553ea732da5c2887fc9bd1","tags":[]},{"url":"https://git.kernel.org/stable/c/783ea37b237a9b524f1e5ca018ea17d772ee0ea0","tags":[]},{"url":"https://git.kernel.org/stable/c/22b7897c289cc25d99c603f5144096142a30d897","tags":[]},{"url":"https://git.kernel.org/stable/c/3014168731b7930300aab656085af784edc861f6","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html","tags":[]}],"priority":{"score":2.9,"factors":[{"name":"EPSS percentile","points":2.92}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 87213d388e927aaa88b21d5ff7e1f75ca2288da1, < 78b41148cfea2a3f04d87adf3a71b21735820a37",">= 87213d388e927aaa88b21d5ff7e1f75ca2288da1, < d68b7c8fefbaeae8f065b84e40cf64baf4cc0c76",">= 87213d388e927aaa88b21d5ff7e1f75ca2288da1, < 15a87206879951712915c03c8952a73d6a74721e",">= 87213d388e927aaa88b21d5ff7e1f75ca2288da1, < 2798111f8e504ac747cce911226135d50b8de468",">= 87213d388e927aaa88b21d5ff7e1f75ca2288da1, < 58bdd5160184645771553ea732da5c2887fc9bd1",">= 87213d388e927aaa88b21d5ff7e1f75ca2288da1, < 783ea37b237a9b524f1e5ca018ea17d772ee0ea0",">= 87213d388e927aaa88b21d5ff7e1f75ca2288da1, < 22b7897c289cc25d99c603f5144096142a30d897",">= 87213d388e927aaa88b21d5ff7e1f75ca2288da1, < 3014168731b7930300aab656085af784edc861f6"]},{"vendor":"Linux","product":"Linux","versions":["3.16"]}],"euvd":{"id":"EUVD-2025-22866","exploited":false,"provenance":"source"}}