CVE-2021-20265: Linux Kernel unix_stream_recvmsg Memory Leak Denial of Service
- Vendors
- LinuxOracle Corporation
CVE-2021-20265 is a memory-resource cleanup flaw in the Linux kernel's unix_stream_recvmsg function. When a signal is pending, memory resources are not properly freed, resulting in a kernel slab-memory leak. An unprivileged local user can repeatedly trigger the flaw to exhaust available memory and crash the system.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Exploitation can exhaust kernel memory and cause system-wide denial of service, disrupting workloads and potentially crashing the host. No confidentiality or integrity impact is identified.
Mitigation
If you can’t patch tonight, do this now.
Red Hat states that no standalone mitigation meeting its usability, broad-applicability, and stability criteria is available. Apply the patched kernel rather than relying on a workaround.
Remediation
Patch, then assume compromise.
Install the vendor-patched kernel and reboot into it. Fixed Red Hat packages include RHEL 6 ELS kernel 2.6.32-754.39.1.el6 under RHSA-2021:1288, RHEL 7 kernel 3.10.0-1160.21.1.el7 under RHSA-2021:0856, and RHEL 7 kernel-rt 3.10.0-1160.21.1.rt56.1158.el7 under RHSA-2021:0857. Use these versions or subsequent vendor-supported updates. For affected Chainguard linux-qemu-6.12 packages, update to 6.12.71-r0 or later.
Exploits
No public exploits tracked yet. Mallory keeps watching.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2021-20265 exploited in the wild?
- As of Nov 27, 2026, Mallory has no reports of CVE-2021-20265 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2021-20265?
- As of Nov 27, 2026, Mallory has found no public exploit for CVE-2021-20265.
- Is there a patch for CVE-2021-20265?
- Install the vendor-patched kernel and reboot into it. Fixed Red Hat packages include RHEL 6 ELS kernel 2.6.32-754.39.1.el6 under RHSA-2021:1288, RHEL 7 kernel 3.10.0-1160.21.1.el7 under RHSA-2021:0856, and RHEL 7 kernel-rt 3.10.0-1160.21.1.rt56.1158.el7 under RHSA-2021:0857.
- What products are affected by CVE-2021-20265?
- Linux Kernel and Oracle Corporation Tekelec Platform Distribution.
- How severe is CVE-2021-20265?
- CVE-2021-20265 has a CVSS v3.1 score of 5.5 (Medium) and an EPSS score of 0.34% (20th percentile) as of Nov 27, 2026.
Recent activity
6 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.