{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-139713",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-11-30T13:22:15.949Z",
        "datePublished": "2026-11-30T13:37:17.217Z",
        "dateUpdated": "2026-11-30T13:37:17.217Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-11-30T13:37:17.217Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nusb: gadget: f_mass_storage: ignore class requests while inactive\n\nSET_CONFIGURATION is handled asynchronously by the mass-storage thread.\nA class request can arrive after the composite core selects the function\nbut before the thread installs common->fsg, or while the function is being\ndisabled.\n\nfsg_setup() already rejects this state with -EOPNOTSUPP, but checking it\nthrough fsg_is_set() also emits a warning. Check the active function\ndirectly so normal requests during a configuration transition are rejected\nwithout hiding fsg_is_set() warnings from other internal paths."
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/usb/gadget/function/f_mass_storage.c"
                    ],
                    "versions": [
                        {
                            "version": "8876f5e7d3b2a320777dd4f6f5301d474c97a06c",
                            "lessThan": "b329c38b42433ee0b3558523ab50fcd3c990dd2d",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "8876f5e7d3b2a320777dd4f6f5301d474c97a06c",
                            "lessThan": "4fc2a00fea6fec51c8a0e330d5b5f75d7a29705f",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "8876f5e7d3b2a320777dd4f6f5301d474c97a06c",
                            "lessThan": "98ec0ab400cf1db34cf0a9084e24874288765b82",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "8876f5e7d3b2a320777dd4f6f5301d474c97a06c",
                            "lessThan": "1433ba7e8873e03354458c9635c5e7b79b67e7cd",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "8876f5e7d3b2a320777dd4f6f5301d474c97a06c",
                            "lessThan": "fe38ceb4b581549068db488f1c99fd13022ff15d",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "8876f5e7d3b2a320777dd4f6f5301d474c97a06c",
                            "lessThan": "59093ab344fd3e52d579c44c0c12a3708fd80793",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "8876f5e7d3b2a320777dd4f6f5301d474c97a06c",
                            "lessThan": "80f82ad5c4d12fda0570b9e5e791df15269ee74b",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "8876f5e7d3b2a320777dd4f6f5301d474c97a06c",
                            "lessThan": "e84caed6e7f58d96ea2e4aaa0b947ab05faa451b",
                            "status": "affected",
                            "versionType": "git"
                        }
                    ]
                },
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "affected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/usb/gadget/function/f_mass_storage.c"
                    ],
                    "versions": [
                        {
                            "version": "2.6.36",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "2.6.36",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.10.275",
                            "lessThanOrEqual": "5.10.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.15.226",
                            "lessThanOrEqual": "5.15.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.1.193",
                            "lessThanOrEqual": "6.1.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.6.163",
                            "lessThanOrEqual": "6.6.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.12.119",
                            "lessThanOrEqual": "6.12.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.18.65",
                            "lessThanOrEqual": "6.18.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.3.6",
                            "lessThanOrEqual": "7.3.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.4-rc1",
                            "lessThanOrEqual": "*",
                            "status": "unaffected",
                            "versionType": "original_commit_for_fix"
                        }
                    ]
                }
            ],
            "cpeApplicability": [
                {
                    "nodes": [
                        {
                            "operator": "OR",
                            "negate": false,
                            "cpeMatch": [
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "2.6.36",
                                    "versionEndExcluding": "5.10.275"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "2.6.36",
                                    "versionEndExcluding": "5.15.226"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "2.6.36",
                                    "versionEndExcluding": "6.1.193"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "2.6.36",
                                    "versionEndExcluding": "6.6.163"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "2.6.36",
                                    "versionEndExcluding": "6.12.119"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "2.6.36",
                                    "versionEndExcluding": "6.18.65"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "2.6.36",
                                    "versionEndExcluding": "7.3.6"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "2.6.36",
                                    "versionEndExcluding": "7.4-rc1"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/b329c38b42433ee0b3558523ab50fcd3c990dd2d"
                },
                {
                    "url": "https://git.kernel.org/stable/c/4fc2a00fea6fec51c8a0e330d5b5f75d7a29705f"
                },
                {
                    "url": "https://git.kernel.org/stable/c/98ec0ab400cf1db34cf0a9084e24874288765b82"
                },
                {
                    "url": "https://git.kernel.org/stable/c/1433ba7e8873e03354458c9635c5e7b79b67e7cd"
                },
                {
                    "url": "https://git.kernel.org/stable/c/fe38ceb4b581549068db488f1c99fd13022ff15d"
                },
                {
                    "url": "https://git.kernel.org/stable/c/59093ab344fd3e52d579c44c0c12a3708fd80793"
                },
                {
                    "url": "https://git.kernel.org/stable/c/80f82ad5c4d12fda0570b9e5e791df15269ee74b"
                },
                {
                    "url": "https://git.kernel.org/stable/c/e84caed6e7f58d96ea2e4aaa0b947ab05faa451b"
                }
            ],
            "title": "usb: gadget: f_mass_storage: ignore class requests while inactive",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        }
    }
}