Skip to main content
Network Thinking Solutions Logo

CVE-2025-38497

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.

All CVEs
CVE-2025-38497Published 7/28/2025

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.

Vendor advisory
CVSS7.1High

Overview

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.

Published
7/28/2025
Last modified
6/17/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
linux kernel
linux
≥ 3.16, < 5.4.297

Verify advisory

Source
linux kernel
linux
≥ 5.5, < 5.10.241

Verify advisory

Source
linux kernel
linux
≥ 5.11, < 5.15.190

Verify advisory

Source
linux kernel
linux
≥ 5.16, < 6.1.147

Verify advisory

Source
linux kernel
linux
≥ 6.2, < 6.6.100

Verify advisory

Source
linux kernel
linux
≥ 6.7, < 6.12.40

Verify advisory

Source
linux kernel
linux
≥ 6.13, < 6.15.8

Verify advisory

Source
linux kernel
linux
6.16

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
debian linux
debian
11.0

Verify advisory

Source
Linux
Linux
≥ 87213d388e927aaa88b21d5ff7e1f75ca2288da1, < 78b41148cfea2a3f04d87adf3a71b21735820a37

Verify advisory

Source
Linux
Linux
≥ 87213d388e927aaa88b21d5ff7e1f75ca2288da1, < d68b7c8fefbaeae8f065b84e40cf64baf4cc0c76

Verify advisory

Source
Linux
Linux
≥ 87213d388e927aaa88b21d5ff7e1f75ca2288da1, < 15a87206879951712915c03c8952a73d6a74721e

Verify advisory

Source
Linux
Linux
≥ 87213d388e927aaa88b21d5ff7e1f75ca2288da1, < 2798111f8e504ac747cce911226135d50b8de468

Verify advisory

Source
Linux
Linux
≥ 87213d388e927aaa88b21d5ff7e1f75ca2288da1, < 58bdd5160184645771553ea732da5c2887fc9bd1

Verify advisory

Source
Linux
Linux
≥ 87213d388e927aaa88b21d5ff7e1f75ca2288da1, < 783ea37b237a9b524f1e5ca018ea17d772ee0ea0

Verify advisory

Source
Linux
Linux
≥ 87213d388e927aaa88b21d5ff7e1f75ca2288da1, < 22b7897c289cc25d99c603f5144096142a30d897

Verify advisory

Source
Linux
Linux
≥ 87213d388e927aaa88b21d5ff7e1f75ca2288da1, < 3014168731b7930300aab656085af784edc861f6

Verify advisory

Source
Linux
Linux
3.16

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 7.1. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.