CVE-2026-139713: usb: gadget: f_mass_storage: ignore class requests while inactive

Published Nov 30, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

usb: gadget: fmassstorage: ignore class requests while inactive

SETCONFIGURATION is handled asynchronously by the mass-storage thread. A class request can arrive after the composite core selects the function but before the thread installs common->fsg, or while the function is being disabled.

fsgsetup() already rejects this state with -EOPNOTSUPP, but checking it through fsgisset() also emits a warning. Check the active function directly so normal requests during a configuration transition are rejected without hiding fsgisset() warnings from other internal paths.

Affected Software

1 affected component
Linux Linux kernel

Event History

Nov 30, 2026
CVE Published
via MITRE·01:37 PM
Data Sourced
via MITRE·01:37 PM
Description
Data Sourced
via NVD·02:20 PM
Description

Frequently Asked Questions

1

Which systems are exposed to this condition?

The condition is specific to Linux USB gadget configurations using the f_mass_storage function. It occurs while that function is transitioning into or out of an active configuration.

2

What request timing triggers the issue?

A USB class request can arrive after the composite core selects the mass-storage function but before the mass-storage thread installs common->fsg, or while the function is being disabled. During these inactive states, the request should be rejected with -EOPNOTSUPP without generating the normal fsg_is_set() warning.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203