Local kernel code execution via DCCP socket reuse
Published Jan 14, 2021 · Updated Sep 16, 2024
Use-after-free in the Linux kernel DCCP implementation allows local users to crash the system or execute arbitrary code through socket reuse. Reusing a DCCP socket as a listener clones a dccps_hc_tx_ccid pointer that disconnect frees, leaving a dangling pointer for later dereference. The path requires local access and an enabled or autoloadable DCCP implementation; exploitation interrupts the system or runs code in kernel context.
Summary
What happened
Use-after-free in the Linux kernel DCCP implementation allows local users to crash the system or execute arbitrary code through socket reuse. Reusing a DCCP socket as a listener clones a dccps_hc_tx_ccid pointer that disconnect frees, leaving a dangling pointer for later dereference. The path requires local access and an enabled or autoloadable DCCP implementation; exploitation interrupts the system or runs code in kernel context.
The record
- CVE
- CVE-2020-16119
- Published
- Jan 14, 2021
- Updated
- Sep 16, 2024
- Vendor
- Linux Foundation
- Product
- Linux Kernel
- Classifications
- T1068
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Jan 14, 2021CVE publishedPublication date reported by the CVE source.
- Sep 16, 2024Record 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.13 kernel <3.13.0.182.191
- Affected versionversion=3.2 kernel <3.2.0-149.196
- Affected versionversion=4.15 kernel <4.15.0-121.123
- Affected versionversion=4.4 kernel <4.4.0-193.224
- Affected versionversion=5.3 kernel <5.3.0-68.63
- Affected versionversion=5.4 kernel <5.4.0-51.56
What conditions does exploitation require?
What is affected?
Published CVSS scores
No CVSS assessment is available in this record.
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
- CVE-2020-16119 DCCP use-after-free triggerproof of concept · demonstrated
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