CVE Catalog

CVE-2026-93141

Unknown
Published: Translated: NVD NIST

Summary

In the Linux kernel's USB gadget r8a66597 driver, there is a double free of ep0_req in the probe error path. If usb_add_gadget_udc() fails, ep0_req is freed twice, which could lead to memory corruption.

Risk Assessment

This could lead to system crashes or potential exploitation for privilege escalation in environments using this driver.

Recommendation

Apply the patch that removes the redundant free in err_add_udc and keeps the cleanup in clean_up2.

Other vulnerabilities in Linux kernel

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS