Local privilege escalation via RDS list type confusion
Published Mar 27, 2023 · Updated May 5, 2025
Type confusion in the Linux Kernel RDS protocol allows local users to corrupt memory and crash the system through zero-copy messages. rds_rm_zerocopy_callback() applies list_entry() to a list head, miscasts the queue as rds_msg_zcopy_info, and enables a controlled out-of-bounds cookie write; a second reversed list_add_tail() call loses entries and leaks memory. A low-privileged local account with access to RDS sockets can corrupt the queue lock for privilege escalation or repeat the leak until memory exhaustion interrupts the system.
Summary
What happened
Type confusion in the Linux Kernel RDS protocol allows local users to corrupt memory and crash the system through zero-copy messages. rds_rm_zerocopy_callback() applies list_entry() to a list head, miscasts the queue as rds_msg_zcopy_info, and enables a controlled out-of-bounds cookie write; a second reversed list_add_tail() call loses entries and leaks memory. A low-privileged local account with access to RDS sockets can corrupt the queue lock for privilege escalation or repeat the leak until memory exhaustion interrupts the system.
The record
- CVE
- CVE-2023-1078
- Published
- Mar 27, 2023
- Updated
- May 5, 2025
- Vendor
- The Linux Kernel Organization
- Product
- Linux Kernel
- Classifications
- CWE-787, CWE-843, T1068
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Mar 27, 2023CVE publishedPublication date reported by the CVE source.
- May 5, 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=unknown
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