{"id":"CVE-2026-93141","summary":"usb: gadget: r8a66597: avoid double free of ep0_req in probe error path","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nusb: gadget: r8a66597: avoid double free of ep0_req in probe error path\n\nIf usb_add_gadget_udc() fails, r8a66597_probe() jumps to err_add_udc\nand frees ep0_req, then falls through to clean_up2 where ep0_req is\nfreed again when it is non-NULL.\n\nRemove the redundant free from err_add_udc and keep the cleanup in\nclean_up2 so the request is released exactly once.\n\nIssue found using a prototype static analysis tool\nand confirmed by code review.","modified":"2026-09-19T03:47:28.321765430Z","published":"2026-09-17T16:11:40.761Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/93xxx/CVE-2026-93141.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/150d3f3c461345b6c9ae784912cf1e49c8e5ff6b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/41d541e3718db01668a4cd29815ee4b3b55f76d2"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6648c470918371766f6d368113dd2a4faebac93f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6be64cca6527f7fc99b05abf54f22db91bbc116f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7721cf32efa428bd9649f4a9b89fc85601df87de"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b2e68583c7c51eea2aafb8f1793e0d285c56ac82"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c9e93290ffe7db22a8131a5f5fd026335090fbbe"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f9c43246128a2dd0f2bbad71decf153910ce3606"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/93xxx/CVE-2026-93141.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-93141"},{"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":"776976a67ae25d18be42794fd783a50757402cbe"},{"fixed":"c9e93290ffe7db22a8131a5f5fd026335090fbbe"},{"fixed":"7721cf32efa428bd9649f4a9b89fc85601df87de"},{"fixed":"f9c43246128a2dd0f2bbad71decf153910ce3606"},{"fixed":"150d3f3c461345b6c9ae784912cf1e49c8e5ff6b"},{"fixed":"b2e68583c7c51eea2aafb8f1793e0d285c56ac82"},{"fixed":"6648c470918371766f6d368113dd2a4faebac93f"},{"fixed":"6be64cca6527f7fc99b05abf54f22db91bbc116f"},{"fixed":"41d541e3718db01668a4cd29815ee4b3b55f76d2"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-93141.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.17.0"},{"fixed":"5.10.270"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.221"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.188"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.157"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.110"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.52"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.2.6"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-93141.json"}}],"schema_version":"1.9.0"}