Skip to main content
Mallory
HighExploited in the wildCISA KEVPublic exploitVulnerability

CVE-2021-22600: Linux Kernel AF_PACKET Double-Free Privilege Escalation

Published Jan 26, 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.
CVSS7.0High · v3.1
EPSS6.6%94th percentile
CISA KEVYesAdded Apr 11, 2022
In the wildActivePer CISA KEV
Vendors
NetAppDebian ProjectLinux
IdentifiersCVE-2021-22600CWE-415 · Double Free

CVE-2021-22600 is a double-free vulnerability in the Linux kernel's AF_PACKET packet_set_ring() function. A local user can trigger the flaw through crafted system calls, potentially escalating privileges or causing a denial of service.

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 allow a local attacker to escalate privileges or disrupt system availability. The vulnerability is also listed for the additional GNU/Linux subsystem of certain Siemens SIMATIC S7-1500 CPU 1518(F)-4 PN/DP MFP devices, including SIPLUS variants. Its inclusion does not establish compromise of PLC control runtime or safety functions, or applicability to every firmware version covered by the bulletin.

Mitigation

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

For Siemens deployments, apply the vendor's industrial-security defense-in-depth guidance and build and run applications only from trusted sources. These measures do not replace a kernel fix.

Remediation

Patch, then assume compromise.

Upgrade to a Linux kernel containing the fix identified by commit ec6af094ea28f0f2dda1a6a33b14cd57e36a9755, or rebuild the kernel with that fix incorporated. Exact affected and fixed kernel release ranges are not specified. For affected Siemens devices, no fixed firmware version is established by the supplied bulletin; consult Siemens advisory SSA-398330 for firmware V3.1 vulnerability information rather than assuming that V3.1 resolves this CVE.

Public exploits

Exploits

1 exploit validated by Mallory's analysis. Hidden: 1 rejected by Mallory's analysis as not a working exploit.

View more in app →
CVE-2021-22600__DirtyPagetableThis repository contains a comprehensive exploit toolkit targeting CVE-2021-22600, a Linux kernel vulnerability known as DirtyPagetable. The exploit is implemented in C and consists of several variants and techniques, including 'Spray and Pray', cross-cache side-channel attacks, and SLUBStick-inspired methods. The main goal of the exploit is to achieve local privilege escalation by corrupting kernel memory structures (notably signalfd_ctx and seq_operations objects) through heap spraying and manipulation of packet sockets (AF_PACKET, PACKET_RX_RING, etc.). The exploit works by creating user and network namespaces, manipulating kernel heap allocations via signalfd and packet socket options, and ultimately overlapping kernel objects to gain arbitrary write access. The payload specifically targets /etc/passwd, overwriting the root password to a known value, thus enabling root access for the attacker. The codebase is modular, with separate files for environment setup, heap spraying, and the core exploitation logic. Several files implement different exploitation strategies, all converging on the same privilege escalation goal. Key fingerprintable endpoints include /etc/passwd (target for privilege escalation), /proc/self/fdinfo/<fd> (used for kernel object state leakage), and various /proc files for namespace and heap manipulation. The exploit requires local access and is not a remote exploit. It is operational and provides a working payload for root access if the target is vulnerable.sendINUX · Disclosed Jun 22, 2025 · c · bash · localOperational
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
Debian ProjectDebian Linuxoperating_system
LinuxLinux Kerneloperating_system
NetApp8300 Firmwareoperating_system
NetApp8700 Firmwareoperating_system
NetAppA400 Firmwareoperating_system
NetAppC400 Firmwareoperating_system
NetAppH300s Firmwareoperating_system
NetAppH410c Firmwareoperating_system
NetAppH410s Firmwareoperating_system
NetAppH500s Firmwareoperating_system
NetAppH700s Firmwareoperating_system
FAQ

Frequently asked questions

Is CVE-2021-22600 exploited in the wild?
Yes. As of Oct 25, 2026, Mallory has reports of exploitation in the wild, and CISA added it to KEV on Apr 11, 2022.
Is there a public exploit for CVE-2021-22600?
Yes. Mallory tracks 1 public exploit or proof of concept for CVE-2021-22600, the earliest disclosed Jun 22, 2025.
Is there a patch for CVE-2021-22600?
Upgrade to a Linux kernel containing the fix identified by commit ec6af094ea28f0f2dda1a6a33b14cd57e36a9755, or rebuild the kernel with that fix incorporated. Exact affected and fixed kernel release ranges are not specified.
What products are affected by CVE-2021-22600?
Linux Kernel, NetApp 8300 Firmware, NetApp 8700 Firmware, NetApp A400 Firmware, NetApp C400 Firmware, and 6 more.
How severe is CVE-2021-22600?
CVE-2021-22600 has a CVSS v3.1 score of 7.0 (High) and an EPSS score of 6.6% (94th percentile) as of Oct 25, 2026.
Activity feed

Recent activity

2 sources tracked across advisories and community write-ups. News coverage will land here when it surfaces.

View more in app →

No news coverage yet. Advisories and community discussion only.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
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 signatures2YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activity2Community discussion across Reddit, Mastodon, and other social sources.