{"id":"CVE-2026-139713","aliases":["CVE-2026-139713"],"related":[],"kind":"vulnerability","state":"published","title":"usb: gadget: f_mass_storage: ignore class requests while inactive","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-11-30T13:37:17.217Z","modified":"2026-11-30T14:20:01.917Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"8876f5e7d3b2a320777dd4f6f5301d474c97a06c","fixed":"b329c38b42433ee0b3558523ab50fcd3c990dd2d","status":"affected"},{"type":"git","introduced":"8876f5e7d3b2a320777dd4f6f5301d474c97a06c","fixed":"4fc2a00fea6fec51c8a0e330d5b5f75d7a29705f","status":"affected"},{"type":"git","introduced":"8876f5e7d3b2a320777dd4f6f5301d474c97a06c","fixed":"98ec0ab400cf1db34cf0a9084e24874288765b82","status":"affected"},{"type":"git","introduced":"8876f5e7d3b2a320777dd4f6f5301d474c97a06c","fixed":"1433ba7e8873e03354458c9635c5e7b79b67e7cd","status":"affected"},{"type":"git","introduced":"8876f5e7d3b2a320777dd4f6f5301d474c97a06c","fixed":"fe38ceb4b581549068db488f1c99fd13022ff15d","status":"affected"},{"type":"git","introduced":"8876f5e7d3b2a320777dd4f6f5301d474c97a06c","fixed":"59093ab344fd3e52d579c44c0c12a3708fd80793","status":"affected"},{"type":"git","introduced":"8876f5e7d3b2a320777dd4f6f5301d474c97a06c","fixed":"80f82ad5c4d12fda0570b9e5e791df15269ee74b","status":"affected"},{"type":"git","introduced":"8876f5e7d3b2a320777dd4f6f5301d474c97a06c","fixed":"e84caed6e7f58d96ea2e4aaa0b947ab05faa451b","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"2.6.36","status":"affected"},{"type":"semver","introduced":"0","fixed":"2.6.36","status":"unaffected"},{"type":"semver","introduced":"5.10.275","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.226","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.193","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.163","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.119","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.65","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.3.6","lastAffected":"7.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.4-rc1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/b329c38b42433ee0b3558523ab50fcd3c990dd2d","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/4fc2a00fea6fec51c8a0e330d5b5f75d7a29705f","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/98ec0ab400cf1db34cf0a9084e24874288765b82","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1433ba7e8873e03354458c9635c5e7b79b67e7cd","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/fe38ceb4b581549068db488f1c99fd13022ff15d","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/59093ab344fd3e52d579c44c0c12a3708fd80793","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/80f82ad5c4d12fda0570b9e5e791df15269ee74b","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e84caed6e7f58d96ea2e4aaa0b947ab05faa451b","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-139713","url":"https://www.cve.org/CVERecord?id=CVE-2026-139713","licence":"CVE Terms of Use","modified":"2026-11-30T13:37:17.217Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-139713","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139713","licence":"Public domain","modified":"2026-11-30T14:20:01.917Z"}],"updatedAt":"2026-11-30T14:33:11.026Z","epss":{"score":0.0031,"percentile":0.25778,"date":"2026-12-01T12:00:22.000Z"}}