SB2025120864 - Use-after-free in Linux kernel usb cdns3 driver
Published: December 8, 2025
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 1 security vulnerability.
1) Use-after-free (CVE-ID: CVE-2025-40314)
The vulnerability allows a local user to escalate privileges on the system.
The vulnerability exists due to a use-after-free error within the __cdnsp_gadget_init() and cdnsp_gadget_exit() functions in drivers/usb/cdns3/cdnsp-gadget.c. A local user can escalate privileges on the system.
Remediation
Install update from vendor's website.
References
- https://git.kernel.org/stable/c/0cf9a50af91fbdac3849f8d950e883a3eaa3ecea
- https://git.kernel.org/stable/c/37158ce6ba964b62d1e3eebd11f03c6900a52dd1
- https://git.kernel.org/stable/c/87c5ff5615dc0a37167e8faf3adeeddc6f1344a3
- https://git.kernel.org/stable/c/9c52f01429c377a2d32cafc977465f37b5384f77
- https://git.kernel.org/stable/c/ea37884097a0931abb8e11e40eacfb25e9fdb5e9
- https://git.kernel.org/stable/c/fdf573c517627a96f5040f988e9b21267806be5c