Skip to main content
Mallory
MediumPublic exploitVulnerability

CVE-2021-4203: Use-after-free read in Linux kernel socket peer credential handling

Published Mar 25, 2022 · Updated 1 month ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS6.8Medium · v3.1
EPSS1.7%78th percentile
CISA KEVNoNot listed
In the wildNonePublic exploit, no exploitation reported
Vendors
NetAppOracle CorporationLinux
IdentifiersCVE-2021-4203CWE-416 · Use After Free

CVE-2021-4203 is a use-after-free read vulnerability in the Linux kernel's sock_getsockopt() function. Concurrent SO_PEERCRED or SO_PEERGROUPS socket-option queries and listen() or connect() operations can race when accessing sk_peer_pid and sk_peer_cred. Peer credentials can be replaced and freed while they are still being read, allowing a local, unprivileged attacker to crash the system or disclose internal kernel information.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

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.

Successful exploitation can compromise system availability through a kernel crash or compromise confidentiality by exposing internal kernel information. Arbitrary code execution and privilege escalation are not established for this vulnerability.

Mitigation

If you can’t patch tonight, do this now.

Until a fixed kernel can be deployed, restrict untrusted local user access and execution on affected systems, since exploitation requires local user privileges. No complete configuration-based workaround is identified.

Remediation

Patch, then assume compromise.

Install a vendor-supported kernel update containing the fix and reboot into the updated kernel. The upstream fix is commit 35306eb23814, included in Linux 5.15-rc4. For RHEL 8.4 Extended Update Support, RHSA-2022:5626 supplies kernel 4.18.0-305.57.1.el8_4, and RHSA-2022:5633 supplies kernel-rt 4.18.0-305.57.1.rt7.129.el8_4. Other RHEL 8 updates addressing the issue include RHSA-2022:1975 and RHSA-2022:1988. Use the applicable fixed package or a later supported update for the installed distribution and release.

Public exploits

Exploits

No public exploits tracked yet. Mallory keeps watching.

View more in app →
No public exploit code observed for this vulnerability. Mallory keeps watching.
Exposure surface

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.

VendorProductType
LinuxLinux Kerneloperating_system
NetAppA700s Firmwareoperating_system
NetAppActiveiq Unified Managerapplication
NetAppBootstrap Osoperating_system
NetAppE-Series Santricity Os Controllerapplication
NetAppElement Softwareapplication
NetAppH300s Firmwareoperating_system
NetAppH410c Firmwareoperating_system
NetAppH410s Firmwareoperating_system
NetAppH500s Firmwareoperating_system
NetAppH700s Firmwareoperating_system
NetAppHci Management Nodeapplication
NetAppSolidfireapplication
Oracle CorporationCommunications Cloud Native Core Binding Support Functionapplication
Oracle CorporationCommunications Cloud Native Core Network Exposure Functionapplication
Oracle CorporationCommunications Cloud Native Core Policyapplication
FAQ

Frequently asked questions

Is CVE-2021-4203 exploited in the wild?
As of Oct 25, 2026, Mallory has no reports of CVE-2021-4203 being exploited in the wild. It is not listed in CISA KEV.
Is there a public exploit for CVE-2021-4203?
Yes. As of Oct 25, 2026, Mallory has reports of a public exploit for CVE-2021-4203.
Is there a patch for CVE-2021-4203?
Install a vendor-supported kernel update containing the fix and reboot into the updated kernel. The upstream fix is commit 35306eb23814, included in Linux 5.15-rc4.
What products are affected by CVE-2021-4203?
Linux Kernel, NetApp A700s Firmware, NetApp Activeiq Unified Manager, NetApp Bootstrap Os, Oracle Corporation Communications Cloud Native Core Binding Support Function, and 11 more.
How severe is CVE-2021-4203?
CVE-2021-4203 has a CVSS v3.1 score of 6.8 (Medium) and an EPSS score of 1.7% (78th percentile) as of Oct 25, 2026.
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activityCommunity discussion across Reddit, Mastodon, and other social sources.