Kernel use-after-free via stale SUNRPC socket pointer
Published Jul 14, 2024 · Updated Aug 5, 2026
A SUNRPC use-after-free in Linux allows remote attackers to trigger a kernel memory-safety fault with TCP data during NFS server restart. An accepted child socket clones the listener's svc_sock pointer into sk_user_data, and svc_tcp_listen_data_ready dereferences it after the listener is freed. Exploitation requires TCP data to reach the child socket during the listener teardown race; the published reproduction produces a KASAN slab-use-after-free report.
Summary
What happened
A SUNRPC use-after-free in Linux allows remote attackers to trigger a kernel memory-safety fault with TCP data during NFS server restart. An accepted child socket clones the listener's svc_sock pointer into sk_user_data, and svc_tcp_listen_data_ready dereferences it after the listener is freed. Exploitation requires TCP data to reach the child socket during the listener teardown race; the published reproduction produces a KASAN slab-use-after-free report.
The record
- CVE
- CVE-2023-52885
- Published
- Jul 14, 2024
- Updated
- Aug 5, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-416, T1190
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Jul 14, 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=4.8
- Affected versionversion=fa9251afc33c81606d70cfe91800a779096442ec <42725e5c1b181b757ba11d804443922982334d9b
- Affected versionversion=fa9251afc33c81606d70cfe91800a779096442ec <7e1f989055622fd086c5dfb291fc72adf5660b6f
- Affected versionversion=fa9251afc33c81606d70cfe91800a779096442ec <c7b8c2d06e437639694abe76978e915cfb73f428
- Affected versionversion=fa9251afc33c81606d70cfe91800a779096442ec <cd5ec3ee52ce4b7e283cc11facfa420c297c8065
- Affected versionversion=fa9251afc33c81606d70cfe91800a779096442ec <dfc896c4a75cb8cd7cb2dfd9b469cf1e3f004254
- Affected versionversion=fa9251afc33c81606d70cfe91800a779096442ec <ef047411887ff0845afd642d6a687819308e1a4e
- Affected versionversion=fa9251afc33c81606d70cfe91800a779096442ec <fbf4ace39b2e4f3833236afbb2336edbafd75eee
- Affected versionversion=fa9251afc33c81606d70cfe91800a779096442ec <fc80fc2d4e39137869da3150ee169b40bf879287
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