Kernel memory corruption via stale TLS context
Published Mar 15, 2024 · Updated Aug 5, 2026
Use-after-free in Linux kernel kTLS device offload allows remote attackers to corrupt kernel memory through resumed TLS traffic. tls_device_down frees the offload context while a live socket retains its pointer, so RX resynchronization after the device returns dereferences released driver state. Reachability requires an established hardware-offloaded kTLS connection, a network-device down/up cycle, and subsequent TCP retransmissions; the result includes a kernel crash or control-flow compromise.
Summary
What happened
Use-after-free in Linux kernel kTLS device offload allows remote attackers to corrupt kernel memory through resumed TLS traffic. tls_device_down frees the offload context while a live socket retains its pointer, so RX resynchronization after the device returns dereferences released driver state. Reachability requires an established hardware-offloaded kTLS connection, a network-device down/up cycle, and subsequent TCP retransmissions; the result includes a kernel crash or control-flow compromise.
The record
- CVE
- CVE-2021-47131
- Published
- Mar 15, 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
- Mar 15, 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.18
- Affected versionversion=e8f69799810c32dd40c6724d829eccc70baad07f <0f1e6fe66977a864fe850522316f713d7b926fd9
- Affected versionversion=e8f69799810c32dd40c6724d829eccc70baad07f <c55dcdd435aa6c6ad6ccac0a4c636d010ee367a4
- Affected versionversion=e8f69799810c32dd40c6724d829eccc70baad07f <f1d4184f128dede82a59a841658ed40d4e6d3aa2
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