Kernel memory corruption via zero-packet double free
Published Apr 3, 2024 · Updated Aug 5, 2026
Double free in the Linux kernel cdns3 USB gadget driver allows local users to corrupt kernel memory via exact-multiple transfers. In cdns3_gadget_giveback, usb_gadget_giveback_request frees a driver-allocated zero-length request, then cdns3_gadget_ep_free_request frees it again. The path requires a configured Cadence USB gadget controller and a locally queued transfer whose length is an exact multiple of the endpoint maximum packet size; exploitation can expose or overwrite kernel memory, elevate privileges, or panic the kernel.
Summary
What happened
Double free in the Linux kernel cdns3 USB gadget driver allows local users to corrupt kernel memory via exact-multiple transfers. In cdns3_gadget_giveback, usb_gadget_giveback_request frees a driver-allocated zero-length request, then cdns3_gadget_ep_free_request frees it again. The path requires a configured Cadence USB gadget controller and a locally queued transfer whose length is an exact multiple of the endpoint maximum packet size; exploitation can expose or overwrite kernel memory, elevate privileges, or panic the kernel.
The record
- CVE
- CVE-2024-26748
- Published
- Apr 3, 2024
- Updated
- Aug 5, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-415, T1068
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Apr 3, 2024CVE publishedPublication date reported by the CVE source.
- Aug 5, 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=5.4
- Affected versionversion=7733f6c32e36ff9d7adadf40001039bf219b1cbe <1e204a8e9eb514e22a6567fb340ebb47df3f3a48
- Affected versionversion=7733f6c32e36ff9d7adadf40001039bf219b1cbe <3a2a909942b5335b7ea66366d84261b3ed5f89c8
- Affected versionversion=7733f6c32e36ff9d7adadf40001039bf219b1cbe <5fd9e45f1ebcd57181358af28506e8a661a260b3
- Affected versionversion=7733f6c32e36ff9d7adadf40001039bf219b1cbe <70e8038813f9d3e72df966748ebbc40efe466019
- Affected versionversion=7733f6c32e36ff9d7adadf40001039bf219b1cbe <92d20406a3d4ff3e8be667c79209dc9ed31df5b3
- Affected versionversion=7733f6c32e36ff9d7adadf40001039bf219b1cbe <9a52b694b066f299d8b9800854a8503457a8b64c
- Affected versionversion=7733f6c32e36ff9d7adadf40001039bf219b1cbe <aad6132ae6e4809e375431f8defd1521985e44e7
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.
Public exploit references
No public exploit references are available in this record.
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