In the Linux kernel, the following vulnerability has been resolved: usb: cdns3: fix use-after-free in cdns3_gadget_exit() cdns3_gadget_start() arms… (CVE-2026-98757)
Description
A use-after-free vulnerability in the Linux kernel's usb cdns3 driver was resolved. The flaw involved cdns3_gadget_exit() not properly waiting for deferred work to complete before freeing resources, potentially allowing use of freed memory. The fix ensures that all queued work completes before releasing endpoints and buffers. This vulnerability was identified via static analysis and has no known exploits in the wild.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Linux kernel's usb cdns3 driver had a use-after-free vulnerability in the cdns3_gadget_exit() function. The driver queues deferred work on system_freezable_wq for handling endpoint 0 status and buffer realignment, both referencing the cdns3_device structure. However, cdns3_gadget_exit() did not wait for these deferred works to complete before freeing endpoints, buffers, and the gadget device, which could lead to queued work running after the memory was freed. The fix involves waiting for these works to finish after the gadget driver is unbound and IRQs are freed, preventing use-after-free conditions. This issue was discovered by an internal static analysis tool.
Potential Impact
The vulnerability could allow use-after-free conditions in the usb cdns3 driver, potentially leading to memory corruption or kernel instability. No known exploits are reported in the wild. The impact is limited to systems using the affected driver and could affect kernel reliability or security if exploited.
Mitigation Recommendations
A fix is available that waits for all deferred work to complete before freeing resources in the cdns3 driver. Users should apply the official Linux kernel updates that include this patch. Since this is a kernel-level issue, updating to a patched kernel version is the recommended remediation.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-cfx2-v35h-c74w
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-98757"]
Threat ID: 6ad520ab2cdf04f6569939bf
Added to database: 10/18/2026, 19:40:27 UTC
Last enriched: 10/18/2026, 22:22:53 UTC
Last updated: 10/18/2026, 22:22:53 UTC
Views: 2
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.