{"id":"CVE-2026-139713","summary":"usb: gadget: f_mass_storage: ignore class requests while inactive","details":"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-\u003efsg, 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.","modified":"2026-12-01T21:02:39.761881167Z","published":"2026-11-30T13:37:17.217Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139713.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/1433ba7e8873e03354458c9635c5e7b79b67e7cd"},{"type":"WEB","url":"https://git.kernel.org/stable/c/4fc2a00fea6fec51c8a0e330d5b5f75d7a29705f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/59093ab344fd3e52d579c44c0c12a3708fd80793"},{"type":"WEB","url":"https://git.kernel.org/stable/c/80f82ad5c4d12fda0570b9e5e791df15269ee74b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/98ec0ab400cf1db34cf0a9084e24874288765b82"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b329c38b42433ee0b3558523ab50fcd3c990dd2d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e84caed6e7f58d96ea2e4aaa0b947ab05faa451b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/fe38ceb4b581549068db488f1c99fd13022ff15d"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139713.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139713"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"8876f5e7d3b2a320777dd4f6f5301d474c97a06c"},{"fixed":"b329c38b42433ee0b3558523ab50fcd3c990dd2d"},{"fixed":"4fc2a00fea6fec51c8a0e330d5b5f75d7a29705f"},{"fixed":"98ec0ab400cf1db34cf0a9084e24874288765b82"},{"fixed":"1433ba7e8873e03354458c9635c5e7b79b67e7cd"},{"fixed":"fe38ceb4b581549068db488f1c99fd13022ff15d"},{"fixed":"59093ab344fd3e52d579c44c0c12a3708fd80793"},{"fixed":"80f82ad5c4d12fda0570b9e5e791df15269ee74b"},{"fixed":"e84caed6e7f58d96ea2e4aaa0b947ab05faa451b"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139713.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.6.36"},{"fixed":"5.10.275"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.226"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.193"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.163"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.119"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.65"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.3.6"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139713.json"}}],"schema_version":"1.9.2"}