Kernel memory exhaustion via socket refcount leak
Published Oct 4, 2025 · Updated Oct 4, 2025
Reference-counting error in affected Linux kernel releases beginning with 5.7 allows local users to exhaust memory via eBPF socket assignment. bpf_sk_assign increments the reference count for an unhashed UDP socket before bind or connect sets SOCK_RCU_FREE, causing skb_steal_sock to suppress the matching sock_put. Low-privileged local access and an eBPF program using a sockmap are required; repeated assignments leak socket references until kernel memory is exhausted.
Summary
What happened
Reference-counting error in affected Linux kernel releases beginning with 5.7 allows local users to exhaust memory via eBPF socket assignment. bpf_sk_assign increments the reference count for an unhashed UDP socket before bind or connect sets SOCK_RCU_FREE, causing skb_steal_sock to suppress the matching sock_put. Low-privileged local access and an eBPF program using a sockmap are required; repeated assignments leak socket references until kernel memory is exhausted.
The record
- CVE
- CVE-2023-53585
- Published
- Oct 4, 2025
- Updated
- Oct 4, 2025
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- T1499.004
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Oct 4, 2025CVE publishedPublication date reported by the CVE source.
- Oct 4, 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=cf7fbe660f2dbd738ab58aea8e9b0ca6ad232449 <3d4522f59fb748a54446846522941a4f09da63e9
- Affected versionversion=cf7fbe660f2dbd738ab58aea8e9b0ca6ad232449 <67312adc96b5a585970d03b62412847afe2c6b01
- Affected versionversion=cf7fbe660f2dbd738ab58aea8e9b0ca6ad232449 <791a12102e5191dcb6ce0b3a99d71b5a2802d12a
- Affected versionversion=cf7fbe660f2dbd738ab58aea8e9b0ca6ad232449 <7dcbc0bb0e5cc1823923744befce59ac353135e6
- Affected versionversion=cf7fbe660f2dbd738ab58aea8e9b0ca6ad232449 <8aa43cfbb68b25119d2ced14ec717173e2901fa2
- Affected versionversion=cf7fbe660f2dbd738ab58aea8e9b0ca6ad232449 <c0ce0fb76610d5fad31f56f2ca8241a2a6717a1b
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