{"id":"CVE-2025-40093","summary":"usb: gadget: f_ecm: Refactor bind path to use __free()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nusb: gadget: f_ecm: Refactor bind path to use __free()\n\nAfter an bind/unbind cycle, the ecm-\u003enotify_req is left stale. If a\nsubsequent bind fails, the unified error label attempts to free this\nstale request, leading to a NULL pointer dereference when accessing\nep-\u003eops-\u003efree_request.\n\nRefactor the error handling in the bind path to use the __free()\nautomatic cleanup mechanism.","modified":"2026-04-16T00:00:44.215040789Z","published":"2025-10-30T09:48:00.807Z","related":["openSUSE-SU-2025:15702-1","openSUSE-SU-2026:10301-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/40xxx/CVE-2025-40093.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/070f341d86cf2c098d63e484a86c7c1d2696a868"},{"type":"WEB","url":"https://git.kernel.org/stable/c/15b9faf53ba8719700596e7ef78879ce200e8c2e"},{"type":"WEB","url":"https://git.kernel.org/stable/c/42988380ac67c76bb9dff8f77d7ef3eefd50b7b5"},{"type":"WEB","url":"https://git.kernel.org/stable/c/4630c68bade82f087eaaab22e9a361da2f18d139"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d3745aaef19198d0c81637a7dd50ef53c4f879b7"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/40xxx/CVE-2025-40093.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-40093"},{"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":"da741b8c56d612b5dd26ffa31341911a5fea23ee"},{"fixed":"d3745aaef19198d0c81637a7dd50ef53c4f879b7"},{"fixed":"070f341d86cf2c098d63e484a86c7c1d2696a868"},{"fixed":"15b9faf53ba8719700596e7ef78879ce200e8c2e"},{"fixed":"4630c68bade82f087eaaab22e9a361da2f18d139"},{"fixed":"42988380ac67c76bb9dff8f77d7ef3eefd50b7b5"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-40093.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.6.27"},{"fixed":"6.1.158"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.114"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.55"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.17.5"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-40093.json"}}],"schema_version":"1.7.5"}