Out-of-Bounds Read Vulnerability in Linux Kernel Affecting USB Gadget Configuration
CVE-2025-38497
What is CVE-2025-38497?
A vulnerability in the Linux kernel's USB gadget configuration allows an out-of-bounds read when writing an empty string to certain sysfs attributes. Specifically, the functions handling 'qw_sign' and 'landingPage' failed to validate input length before accessing memory beyond the buffer. This could lead to undefined behavior or potential information leaks. A patch has been applied to the functions that ensures input is checked for zero-length and handles such cases appropriately, enhancing system integrity.
Affected Version(s)
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 2798111f8e504ac747cce911226135d50b8de468
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 58bdd5160184645771553ea732da5c2887fc9bd1
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 783ea37b237a9b524f1e5ca018ea17d772ee0ea0