CVE-2025-38497
Last modified
CVE-2025-38497 is a high-severity vulnerability rated 7.1/10 on the CVSS scale. 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 'qw_sign' or 'landingPage' sysfs attributes, the store functions attempt to access page[l - 1] before validating that the length 'l' is greater than zero. This patch fixes the vulnerability by adding a check at the beginning of os_desc_qw_sign_store() and webusb_landingPage_store() to handle the zero-length input case gracefully by returning immediately.. EPSS estimates a 0.15% chance of exploitation in the next 30 days.
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 'qw_sign' or 'landingPage' sysfs attributes, the store functions attempt to access page[l - 1] before validating that the length 'l' is greater than zero. This patch fixes the vulnerability by adding a check at the beginning of os_desc_qw_sign_store() and webusb_landingPage_store() to handle the zero-length input case gracefully by returning immediately.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Linux | Linux Kernel | >= 3.16, < 5.4.297 | — |
| Linux | Linux Kernel | >= 5.5, < 5.10.241 | — |
| Linux | Linux Kernel | >= 5.11, < 5.15.190 | — |
| Linux | Linux Kernel | >= 5.16, < 6.1.147 | — |
| Linux | Linux Kernel | >= 6.2, < 6.6.100 | — |
| Linux | Linux Kernel | >= 6.7, < 6.12.40 | — |
| Linux | Linux Kernel | >= 6.13, < 6.15.8 | — |
| Linux | Linux Kernel | 6.16 | Rc1 |
| Debian | Debian Linux | 11.0 | — |
References
- https://lists.debian.org/debian-lts-announce/2025/10/msg00007.htmlThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2025/10/msg00008.htmlThird Party Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2025-38497?
How severe is CVE-2025-38497?
How do I fix CVE-2025-38497?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2025
- CVE-2025-38491In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-38492In the Linux kernel, the following vulnerability has been re…4.7
- CVE-2025-38493In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-38494In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2025-38495In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-38496In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-38498In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-38499In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-3850A vulnerability, which was classified as problematic, has be…2.7
- CVE-2025-38500In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2025-38501In the Linux kernel, the following vulnerability has been re…7.5
- CVE-2025-38502In the Linux kernel, the following vulnerability has been re…7.1
Are you affected by CVE-2025-38497?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
