Kernel memory corruption via SRP port lifetime mismatch
Published Jun 18, 2025 · Updated Aug 5, 2026
Use-after-free in the Linux kernel RDMA SRP target allows local users with CAP_SYS_ADMIN to trigger kernel memory corruption during target setup. The RDMA core can free struct srpt_port while LIO retains its embedded port data, so srpt_enable_tpg reads eight bytes through a stale lifetime relationship. Reaching the fault requires privileged access to the LIO target configfs interface; the published KASAN evidence demonstrates an invalid kernel read but does not establish remote reachability.
Summary
What happened
Use-after-free in the Linux kernel RDMA SRP target allows local users with CAP_SYS_ADMIN to trigger kernel memory corruption during target setup. The RDMA core can free struct srpt_port while LIO retains its embedded port data, so srpt_enable_tpg reads eight bytes through a stale lifetime relationship. Reaching the fault requires privileged access to the LIO target configfs interface; the published KASAN evidence demonstrates an invalid kernel read but does not establish remote reachability.
The record
- CVE
- CVE-2022-50129
- Published
- Jun 18, 2025
- Updated
- Aug 5, 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.
- 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=3.3
- Affected versionversion=a42d985bd5b234da8b61347a78dc3057bf7bb94d <388326bb1c32fcd09371c1d494af71471ef3a04b
- Affected versionversion=a42d985bd5b234da8b61347a78dc3057bf7bb94d <4ee8c39968a648d58b273582d4b021044a41ee5e
- Affected versionversion=a42d985bd5b234da8b61347a78dc3057bf7bb94d <b5605148e6ce36bb21020d49010b617693933128
- Affected versionversion=a42d985bd5b234da8b61347a78dc3057bf7bb94d <de95b52d9aabc979166aba81ccbe623aaf9c16a1
- Affected versionversion=a42d985bd5b234da8b61347a78dc3057bf7bb94d <e60d7e2462bf57273563c4e00dbfa79ee973b9e2
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