Skip to content
FlawDB
Sign in

CVE-2026-139713

UNSCORED

usb: gadget: f_mass_storage: ignore class requests while inactive

AI summary AI generated

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.

Mitigation

  • No fix listed yet: follow the vendor advisory.

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

Vulnerability facts

Affected
Linux >= 8876f5e7d3b2a320777dd4f6f5301d474c97a06c, < b329c38b42433ee0b3558523ab50fcd3c990dd2d; >= 8876f5e7d3b2a320777dd4f6f5301d474c97a06c, < 4fc2a00fea6fec51c8a0e330d5b5f75d7a29705f; >= 8876f5e7d3b2a320777dd4f6f5301d474c97a06c, < 98ec0ab400cf1db34cf0a9084e24874288765b82; >= 8876f5e7d3b2a320777dd4f6f5301d474c97a06c, < 1433ba7e8873e03354458c9635c5e7b79b67e7cd; >= 8876f5e7d3b2a320777dd4f6f5301d474c97a06c, < fe38ceb4b581549068db488f1c99fd13022ff15d; >= 8876f5e7d3b2a320777dd4f6f5301d474c97a06c, < 59093ab344fd3e52d579c44c0c12a3708fd80793; >= 8876f5e7d3b2a320777dd4f6f5301d474c97a06c, < 80f82ad5c4d12fda0570b9e5e791df15269ee74b; >= 8876f5e7d3b2a320777dd4f6f5301d474c97a06c, < e84caed6e7f58d96ea2e4aaa0b947ab05faa451b; Linux 2.6.36
Fixed in
Linux 4fc2a00fea6fec51c8a0e330d5b5f75d7a29705f, Linux 98ec0ab400cf1db34cf0a9084e24874288765b82, Linux 1433ba7e8873e03354458c9635c5e7b79b67e7cd, Linux 59093ab344fd3e52d579c44c0c12a3708fd80793, Linux 80f82ad5c4d12fda0570b9e5e791df15269ee74b
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Unknown
CVSS
Not scored yet
Published
Modified

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

Package / productAffectedFixedSource
Linux>= 8876f5e7d3b2a320777dd4f6f5301d474c97a06c, < b329c38b42433ee0b3558523ab50fcd3c990dd2d; >= 8876f5e7d3b2a320777dd4f6f5301d474c97a06c, < 4fc2a00fea6fec51c8a0e330d5b5f75d7a29705f; >= 8876f5e7d3b2a320777dd4f6f5301d474c97a06c, < 98ec0ab400cf1db34cf0a9084e24874288765b82; >= 8876f5e7d3b2a320777dd4f6f5301d474c97a06c, < 1433ba7e8873e03354458c9635c5e7b79b67e7cd; >= 8876f5e7d3b2a320777dd4f6f5301d474c97a06c, < fe38ceb4b581549068db488f1c99fd13022ff15d; >= 8876f5e7d3b2a320777dd4f6f5301d474c97a06c, < 59093ab344fd3e52d579c44c0c12a3708fd80793; >= 8876f5e7d3b2a320777dd4f6f5301d474c97a06c, < 80f82ad5c4d12fda0570b9e5e791df15269ee74b; >= 8876f5e7d3b2a320777dd4f6f5301d474c97a06c, < e84caed6e7f58d96ea2e4aaa0b947ab05faa451b—cvelist
Linux2.6.36—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

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.

Technologies

References

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.

See all
Vulnerabilities, newest first
SeverityIdentifier / vulnerabilityTechnologySignalsAge
MEDIUM 6.5CVE-2026-140063

Glib2: authenticated dos via pre-emptive 128mib read-buffer allocation in gdbusworker

Linux kernel+1
MEDIUM 5.1CVE-2026-140038

Binutils: gprofng uses predictable /tmp directory with unchecked mkdir() enabling symlink-based file clobber

Linux kernel+1
HIGH 7.3CVE-2026-139801

KVM: nSVM: Check validity of vmcs01 save area copied from SMRAM on RSM

Linux kernel
UNSCOREDCVE-2026-139800

9p/xen: drain response work after unbinding IRQ

Linux kernel
HIGH 7.0CVE-2026-139799

mm/shmem: hold off eviction in shmem_writeout()

Linux kernel
Sponsors