CVE Catalog

CVE-2026-90023

Low risk· EPSS 12%
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.22%

12th percentile - higher than 12% of all known CVEs

Summary

In the Linux kernel, the usb: gadget: f_mass_storage driver has a null pointer dereference in fsg_common_set_num_buffers(). fsg_num_buffers_validate() was previously removed because Kconfig limited n from 2 to 256, but setting page content so that kstrtou8() reflects n as 0 or 1 bypasses these restrictions and leads to a null pointer dereference when n is 0. The fix adds a check for n < 2 and returns -EINVAL.

Risk Assessment

Can lead to a kernel crash (panic) in the USB gadget mass storage context. Requires the ability to set configuration page content by a user.

Recommendation

Update the Linux kernel to a version containing the fix that adds a check for n < 2 and returns -EINVAL. Until patched, restrict access to USB gadget mass storage configuration.

Related vulnerabilities

Original NVD description (English source)

In the Linux kernel, the following vulnerability has been resolved: usb: gadget: f_mass_storage: fix null pointer dereference in fsg_common_set_num_buffers() Previously fsg_num_buffers_validate() was removed as it was not necessary due to Kconfig setting the limits for n from 2 to 256 with default as 2. However, setting the page content in such a way that kstrtou8() reflects n value as either 0 or 1 bypasses these restrictions leading to a null pointer dereference if n is 0. Fix this by adding a check for n < 2 and returning -EINVAL if n is either 0 or 1 consistent with Kconfig logic.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS