# CVE-2026-139713: usb: gadget: f\_mass\_storage: ignore class requests while inactive

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **Published:** 2026-11-30T13:37:17.217Z
- **Modified:** 2026-11-30T14:20:01.917Z

> **AI summary (AI-generated, claude-haiku-5-5):** In the Linux kernel USB mass-storage gadget function, class requests arriving during a configuration transition were not cleanly rejected, causing a warning path; the fix checks the active function directly.

## Who should check

- Anyone running Linux \>= 8876f5e7d3b2a320777dd4f6f5301d474c97a06c, \< b329c38b42433ee0b3558523ab50fcd3c990dd2d; \>= 8876f5e7d3b2a320777dd4f6f5301d474c97a06c, \< 4fc2a00fea6fec51c8a0e330d5b5f75d7a29705f; \>= 8876f5e7d3b2a320777dd4f6f5301d474c97a06c, \< 98ec0ab400cf1db34cf0a9084e24874288765b82; \>= 8876f5e7d3b2a320777dd4f6f5301d474c97a06c, \< 1433ba7e8873e03354458c9635c5e7b79b67e7cd; \>= 8876f5e7d3b2a320777dd4f6f5301d474c97a06c, \< fe38ceb4b581549068db488f1c99fd13022ff15d; \>= 8876f5e7d3b2a320777dd4f6f5301d474c97a06c, \< 59093ab344fd3e52d579c44c0c12a3708fd80793; \>= 8876f5e7d3b2a320777dd4f6f5301d474c97a06c, \< 80f82ad5c4d12fda0570b9e5e791df15269ee74b; \>= 8876f5e7d3b2a320777dd4f6f5301d474c97a06c, \< e84caed6e7f58d96ea2e4aaa0b947ab05faa451b
- Anyone running Linux 2.6.36

## Description

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

usb: gadget: f\_mass\_storage: ignore class requests while inactive

SET\_CONFIGURATION 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.

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

## Affected and fixed versions

- Linux: \>= 8876f5e7d3b2a320777dd4f6f5301d474c97a06c, \< b329c38b42433ee0b3558523ab50fcd3c990dd2d; \>= 8876f5e7d3b2a320777dd4f6f5301d474c97a06c, \< 4fc2a00fea6fec51c8a0e330d5b5f75d7a29705f; \>= 8876f5e7d3b2a320777dd4f6f5301d474c97a06c, \< 98ec0ab400cf1db34cf0a9084e24874288765b82; \>= 8876f5e7d3b2a320777dd4f6f5301d474c97a06c, \< 1433ba7e8873e03354458c9635c5e7b79b67e7cd; \>= 8876f5e7d3b2a320777dd4f6f5301d474c97a06c, \< fe38ceb4b581549068db488f1c99fd13022ff15d; \>= 8876f5e7d3b2a320777dd4f6f5301d474c97a06c, \< 59093ab344fd3e52d579c44c0c12a3708fd80793; \>= 8876f5e7d3b2a320777dd4f6f5301d474c97a06c, \< 80f82ad5c4d12fda0570b9e5e791df15269ee74b; \>= 8876f5e7d3b2a320777dd4f6f5301d474c97a06c, \< e84caed6e7f58d96ea2e4aaa0b947ab05faa451b (cvelist)
- Linux: 2.6.36 (cvelist)

## Technologies

Linux kernel

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-139713. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-139713.md
Affected: Linux >= 8876f5e7d3b2a320777dd4f6f5301d474c97a06c, < b329c38b42433ee0b3558523ab50fcd3c990dd2d; >= 8876f5e7d3b2a320777dd4f6f5301d474c97a06c, < 4fc2a00fea6fec51c8a0e330d5b5f75d7a29705f; >= 8876f5e7d3b2a320777dd4f6f5301d474c97a06c, < 98ec0ab400cf1db34cf0a9084e24874288765b82; >= 8876f5e7d3b2a320777dd4f…
Fixed in: Linux 4fc2a00fea6fec51c8a0e330d5b5f75d7a29705f, Linux 98ec0ab400cf1db34cf0a9084e24874288765b82, Linux 1433ba7e8873e03354458c9635c5e7b79b67e7cd, Linux 59093ab344fd3e52d579c44c0c12a3708fd80793, Linux 80f82ad5c4d12fda0570b9e5e791df15269ee74b

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-139713 being exploited?

There is no confirmed exploitation: CVE-2026-139713 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known.

### How serious is CVE-2026-139713?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-139713?

Linux \>= 8876f5e7d3b2a320777dd4f6f5301d474c97a06c, \< b329c38b42433ee0b3558523ab50fcd3c990dd2d; \>= 8876f5e7d3b2a320777dd4f6f5301d474c97a06c, \< 4fc2a00fea6fec51c8a0e330d5b5f75d7a29705f; \>= 8876f5e7d3b2a320777dd4f6f5301d474c97a06c, \< 98ec0ab400cf1db34cf0a9084e24874288765b82; \>= 8876f5e7d3b2a320777dd4f6f5301d474c97a06c, \< 1433ba7e8873e03354458c9635c5e7b79b67e7cd; \>= 8876f5e7d3b2a320777dd4f6f5301d474c97a06c, \< fe38ceb4b581549068db488f1c99fd13022ff15d; \>= 8876f5e7d3b2a320777dd4f6f5301d474c97a06c, \< 59093ab344fd3e52d579c44c0c12a3708fd80793; \>= 8876f5e7d3b2a320777dd4f6f5301d474c97a06c, \< 80f82ad5c4d12fda0570b9e5e791df15269ee74b; \>= 8876f5e7d3b2a320777dd4f6f5301d474c97a06c, \< e84caed6e7f58d96ea2e4aaa0b947ab05faa451b; Linux 2.6.36.

### Is there a fix for CVE-2026-139713?

Yes. Fixed in Linux 4fc2a00fea6fec51c8a0e330d5b5f75d7a29705f, Linux 98ec0ab400cf1db34cf0a9084e24874288765b82, Linux 1433ba7e8873e03354458c9635c5e7b79b67e7cd, Linux 59093ab344fd3e52d579c44c0c12a3708fd80793, Linux 80f82ad5c4d12fda0570b9e5e791df15269ee74b. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-139713?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/b329c38b42433ee0b3558523ab50fcd3c990dd2d>
- other: <https://git.kernel.org/stable/c/4fc2a00fea6fec51c8a0e330d5b5f75d7a29705f>
- other: <https://git.kernel.org/stable/c/98ec0ab400cf1db34cf0a9084e24874288765b82>
- other: <https://git.kernel.org/stable/c/1433ba7e8873e03354458c9635c5e7b79b67e7cd>
- other: <https://git.kernel.org/stable/c/fe38ceb4b581549068db488f1c99fd13022ff15d>
- other: <https://git.kernel.org/stable/c/59093ab344fd3e52d579c44c0c12a3708fd80793>
- other: <https://git.kernel.org/stable/c/80f82ad5c4d12fda0570b9e5e791df15269ee74b>
- other: <https://git.kernel.org/stable/c/e84caed6e7f58d96ea2e4aaa0b947ab05faa451b>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-139713>

HTML: <https://flawdb.com/CVE-2026-139713> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-139713>
