Bug 2536616 (CVE-2026-93141) - CVE-2026-93141 kernel: usb: gadget: r8a66597: avoid double free of ep0_req in probe error path
Summary: CVE-2026-93141 kernel: usb: gadget: r8a66597: avoid double free of ep0_req in...
Keywords:
Status: NEW
Alias: CVE-2026-93141
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-09-17 18:53 UTC by OSIDB Bzimport
Modified: 2026-10-20 11:58 UTC (History)
17 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-09-17 18:53:05 UTC
In the Linux kernel, the following vulnerability has been resolved:

usb: gadget: r8a66597: avoid double free of ep0_req in probe error path

If usb_add_gadget_udc() fails, r8a66597_probe() jumps to err_add_udc
and frees ep0_req, then falls through to clean_up2 where ep0_req is
freed again when it is non-NULL.

Remove the redundant free from err_add_udc and keep the cleanup in
clean_up2 so the request is released exactly once.

Issue found using a prototype static analysis tool
and confirmed by code review.


Note You need to log in before you can comment on or make changes to this bug.