Local kernel compromise via unlocked SUNRPC socket access
Published Jul 16, 2024 · Updated Aug 5, 2026
Use-after-free in Linux kernel SUNRPC allows local users to compromise the kernel by racing world-readable sysfs reads. The sysfs show path reads xprt->sock without recv_mutex, allowing concurrent transport teardown to clear or free the socket before getsockname uses it. An unprivileged local process must poll srcaddr or xprt_info during teardown; the race permits kernel-memory disclosure or corruption, while the documented failure is an oops.
Summary
What happened
Use-after-free in Linux kernel SUNRPC allows local users to compromise the kernel by racing world-readable sysfs reads. The sysfs show path reads xprt->sock without recv_mutex, allowing concurrent transport teardown to clear or free the socket before getsockname uses it. An unprivileged local process must poll srcaddr or xprt_info during teardown; the race permits kernel-memory disclosure or corruption, while the documented failure is an oops.
The record
- CVE
- CVE-2022-48816
- Published
- Jul 16, 2024
- Updated
- Aug 5, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-476, T1068, T1499
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Jul 16, 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=21a2be1a5145d072deedc7cdc5b2d17380abea75
- Affected versionversion=5.10.67 <5.11
- Affected versionversion=5.13.19 <5.14
- Affected versionversion=5.14
- Affected versionversion=77876473912d1bf1ed16bffa1674e5ff0f499f25
- Affected versionversion=a8482488a7d6d320f63a9ee1912dbb5ae5b80a61 <9482ab4540f5bcc869b44c067ae99b5fca16bd07
- Affected versionversion=a8482488a7d6d320f63a9ee1912dbb5ae5b80a61 <b49ea673e119f59c71645e2f65b3ccad857c90ee
- Affected versionversion=a8482488a7d6d320f63a9ee1912dbb5ae5b80a61 <fdc42287ae3f8a35cc2098307f52d7864b4bc8ed
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