Freed-memory read via unlocked driver dereference
Published Jun 18, 2025 · Updated May 11, 2026
Use-after-free in the Linux kernel USB gadget core allows local users to trigger an invalid read from freed kernel memory. The usb_udc_uevent() callback dereferences udc->driver without holding udc_lock while concurrent gadget-driver unregistration can free that structure. Reachability requires CAP_SYS_ADMIN or root in the initial user namespace, and the demonstrated consequence is a KASAN-detected kernel-memory read.
Summary
What happened
Use-after-free in the Linux kernel USB gadget core allows local users to trigger an invalid read from freed kernel memory. The usb_udc_uevent() callback dereferences udc->driver without holding udc_lock while concurrent gadget-driver unregistration can free that structure. Reachability requires CAP_SYS_ADMIN or root in the initial user namespace, and the demonstrated consequence is a KASAN-detected kernel-memory read.
The record
- CVE
- CVE-2022-49980
- Published
- Jun 18, 2025
- Updated
- May 11, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-416
- Attack vector
- local
- Privileges
- admin
Timeline
How it unfolded
- Jun 18, 2025CVE publishedPublication date reported by the CVE source.
- May 11, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=2ccea03a8f7ec93641791f2760d7cdc6cab6205f <2191c00855b03aa59c20e698be713d952d51fc18
- Affected versionversion=2ccea03a8f7ec93641791f2760d7cdc6cab6205f <f44b0b95d50fffeca036e1ba36770390e0b519dd
- Affected versionversion=3.1
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- syzbot usb_udc_uevent reproducerproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo