Kernel memory corruption via EFA teardown use-after-free
Published Dec 30, 2025 · Updated Dec 30, 2025
Use-after-free in the Linux kernel EFA RDMA driver allows local users to corrupt kernel memory by repeatedly destroying a failed QP. In drivers/infiniband/hw/efa/efa_verbs.c, QP and CQ teardown drops the mmap-entry reference before device destruction succeeds, so a retry reuses and frees an already released entry. Access requires the local RDMA uverbs device and a failing EFA admin queue; successful triggering can corrupt the slab allocator, crash the host, or enable kernel control-flow hijacking.
Summary
What happened
Use-after-free in the Linux kernel EFA RDMA driver allows local users to corrupt kernel memory by repeatedly destroying a failed QP. In drivers/infiniband/hw/efa/efa_verbs.c, QP and CQ teardown drops the mmap-entry reference before device destruction succeeds, so a retry reuses and frees an already released entry. Access requires the local RDMA uverbs device and a failing EFA admin queue; successful triggering can corrupt the slab allocator, crash the host, or enable kernel control-flow hijacking.
The record
- CVE
- CVE-2023-54201
- Published
- Dec 30, 2025
- Updated
- Dec 30, 2025
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- T1068
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Dec 30, 2025CVE publishedPublication date reported by the CVE source.
- Dec 30, 2025Record 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.7
- Affected versionversion=ff6629f88c529b07d9704c656c64dae76910e3e9 <24f9884971f9b34915b67baacf7350a3f6f19ea4
- Affected versionversion=ff6629f88c529b07d9704c656c64dae76910e3e9 <cf38960386f3cc4abf395e556af915e4babcafd2
- Affected versionversion=ff6629f88c529b07d9704c656c64dae76910e3e9 <dc202c57e9a1423aed528e4b8dc949509cd32191
- Affected versionversion=ff6629f88c529b07d9704c656c64dae76910e3e9 <e79db2f51a564fd4daa3e508b987df5e81c34b20
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
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