Local kernel compromise via RDMA restrack use-after-free
Published Dec 30, 2025 · Updated Dec 30, 2025
Use-after-free in the Linux RDMA restrack subsystem allows local users to disclose or corrupt kernel memory through concurrent MR operations. The rdma_restrack_del path skips completion waiting and rdma_restrack_put during deletion, letting ib_dereg_mr_user free an MR while fill_res_mr_entry retains and reads its reference. An unprivileged local user needs an RDMA device or SoftRoCE and access to uverbs nodes; exploitation can disclose data, corrupt memory, crash the kernel, or exhaust kernel memory.
Summary
What happened
Use-after-free in the Linux RDMA restrack subsystem allows local users to disclose or corrupt kernel memory through concurrent MR operations. The rdma_restrack_del path skips completion waiting and rdma_restrack_put during deletion, letting ib_dereg_mr_user free an MR while fill_res_mr_entry retains and reads its reference. An unprivileged local user needs an RDMA device or SoftRoCE and access to uverbs nodes; exploitation can disclose data, corrupt memory, crash the kernel, or exhaust kernel memory.
The record
- CVE
- CVE-2022-50822
- Published
- Dec 30, 2025
- Updated
- Dec 30, 2025
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- T1499.001
- 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=13ef5539def732dc7b9c58c320d97a0a95b52634 <13586753ae55146269a6dc8b216f17d86b81560c
- Affected versionversion=13ef5539def732dc7b9c58c320d97a0a95b52634 <37c90753079fc95d93cc31b79796dd2ae57ad018
- Affected versionversion=13ef5539def732dc7b9c58c320d97a0a95b52634 <8731cb5c7820bef577bab4ff17691fbf61c671cb
- Affected versionversion=13ef5539def732dc7b9c58c320d97a0a95b52634 <dac153f2802db1ad46207283cb9b2aae3d707a45
- Affected versionversion=5.10
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