usb: gadget: f_mass_storage: ignore class requests while inactive

Summary

CVECVE-2026-139713
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-11-30 14:20:01 UTC
Updated2026-11-30 14:20:01 UTC
DescriptionIn 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.

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected 8876f5e7d3b2a320777dd4f6f5301d474c97a06c b329c38b42433ee0b3558523ab50fcd3c990dd2d git Not specified
CNA Linux Linux affected 8876f5e7d3b2a320777dd4f6f5301d474c97a06c 4fc2a00fea6fec51c8a0e330d5b5f75d7a29705f git Not specified
CNA Linux Linux affected 8876f5e7d3b2a320777dd4f6f5301d474c97a06c 98ec0ab400cf1db34cf0a9084e24874288765b82 git Not specified
CNA Linux Linux affected 8876f5e7d3b2a320777dd4f6f5301d474c97a06c 1433ba7e8873e03354458c9635c5e7b79b67e7cd git Not specified
CNA Linux Linux affected 8876f5e7d3b2a320777dd4f6f5301d474c97a06c fe38ceb4b581549068db488f1c99fd13022ff15d git Not specified
CNA Linux Linux affected 8876f5e7d3b2a320777dd4f6f5301d474c97a06c 59093ab344fd3e52d579c44c0c12a3708fd80793 git Not specified
CNA Linux Linux affected 8876f5e7d3b2a320777dd4f6f5301d474c97a06c 80f82ad5c4d12fda0570b9e5e791df15269ee74b git Not specified
CNA Linux Linux affected 8876f5e7d3b2a320777dd4f6f5301d474c97a06c e84caed6e7f58d96ea2e4aaa0b947ab05faa451b git Not specified
CNA Linux Linux affected 2.6.36 Not specified
CNA Linux Linux unaffected 2.6.36 semver Not specified
CNA Linux Linux unaffected 5.10.275 5.10.* semver Not specified
CNA Linux Linux unaffected 5.15.226 5.15.* semver Not specified
CNA Linux Linux unaffected 6.1.193 6.1.* semver Not specified
CNA Linux Linux unaffected 6.6.163 6.6.* semver Not specified
CNA Linux Linux unaffected 6.12.119 6.12.* semver Not specified
CNA Linux Linux unaffected 6.18.65 6.18.* semver Not specified
CNA Linux Linux unaffected 7.3.6 7.3.* semver Not specified
CNA Linux Linux unaffected 7.4-rc1 * original_commit_for_fix Not specified

References

ReferenceSourceLinkTags
git.kernel.org/stable/c/4fc2a00fea6fec51c8a0e330d5b5f75d7a29705f 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/e84caed6e7f58d96ea2e4aaa0b947ab05faa451b 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/b329c38b42433ee0b3558523ab50fcd3c990dd2d 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/80f82ad5c4d12fda0570b9e5e791df15269ee74b 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/98ec0ab400cf1db34cf0a9084e24874288765b82 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/59093ab344fd3e52d579c44c0c12a3708fd80793 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/1433ba7e8873e03354458c9635c5e7b79b67e7cd 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/fe38ceb4b581549068db488f1c99fd13022ff15d 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report