Skip to main content
Mallory
HighPublic exploitVulnerability

CVE-2021-33909: Sequoia

Published Jul 20, 2021 · Updated 25 days ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS7.8High · v3.1
EPSS9.8%96th percentile
CISA KEVNoNot listed
In the wildNonePublic exploit, no exploitation reported
Vendors
Oracle CorporationDebian ProjectFedora ProjectNetAppLinuxSonicwall
IdentifiersCVE-2021-33909CWE-787 · Out-of-bounds Write

Sequoia is a local privilege-escalation vulnerability in the Linux kernel's seq_file filesystem interface, affecting upstream kernels from 3.16 through releases preceding 5.13.4 and affected vendor kernels. Unrestricted sequence-buffer growth allows a size_t buffer length of 2 GB to be converted to a negative signed int when passed to dentry_path(). Processing mount information for a deleted, deeply nested directory hierarchy can consequently write 10 bytes exactly 2 GB plus 10 bytes before a vmalloc-allocated buffer. This out-of-bounds write enables kernel memory corruption and can lead to root privilege escalation, kernel information disclosure, or a system crash.

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.

An unprivileged local attacker can escalate to root and compromise system confidentiality, integrity, and availability. Successful exploitation was demonstrated on default Ubuntu 20.04, 20.10, and 21.04, Debian 11, and Fedora 34 Workstation installations. The demonstrated chain corrupts an eBPF program after verifier validation, obtains arbitrary kernel-memory read and write, and ultimately executes an attacker-controlled program as root. Triggering the vulnerability can also disclose internal kernel information or crash the system.

Mitigation

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

Disable unprivileged user namespaces where supported by setting kernel.unprivileged_userns_clone to 0, and disable unprivileged BPF by setting kernel.unprivileged_bpf_disabled to 1. Either restriction can interrupt the demonstrated exploit chain, but neither fixes the underlying out-of-bounds write or guarantees protection against alternative exploitation methods. Kernel patching remains necessary.

Remediation

Patch, then assume compromise.

Install the distribution's security-fixed kernel packages and reboot into the updated kernel, or apply a vendor-supported live patch explicitly addressing CVE-2021-33909 for the running kernel. The upstream fix, included in Linux 5.13.4, makes seq_buf_alloc() reject allocation requests exceeding MAX_RW_COUNT. Prefer a currently supported, patched kernel release rather than the historical minimum fixed version. Vendor kernels may contain backported fixes, so determine remediation status from the applicable vendor advisory rather than upstream version numbers alone.

Public exploits

Exploits

2 exploits validated by Mallory's analysis.

View more in app →
CVE-2021-33909This repository contains a working exploit for CVE-2021-33909 (Sequoia), a local privilege escalation vulnerability in the Linux kernel's filesystem layer. The main exploit logic is implemented in 'exploit.c', which can be compiled to use either the userfaultfd or FUSE mechanism to trigger the vulnerability. The 'exploit.hello.c' file implements a custom FUSE filesystem used as part of the exploit chain. The exploit works by manipulating mount namespaces, temporary directories, and virtual files to corrupt kernel memory and escalate privileges to root. The README provides compilation and usage instructions, and references a detailed writeup by Qualys. The exploit is operational and provides a local root shell if successful. No network endpoints are involved; all actions are performed locally on the target system. The code is well-structured, with clear separation between the main exploit logic and the FUSE helper component.ChrisTheCoolHut · Disclosed Sep 2, 2021 · c · localOperationalCVE-2021-33909This repository contains a proof-of-concept (PoC) exploit for CVE-2021-33909, a size_t-to-int vulnerability in the Linux kernel's filesystem layer (commonly known as 'Sequoia'). The repository consists of a README.md with build and usage instructions, and a single C source file (exploit.c) implementing the exploit logic. The exploit works by creating a deeply nested directory structure and manipulating Linux user and mount namespaces to trigger the kernel bug. It interacts with several /proc pseudo-files (uid_map, gid_map, setgroups, mountinfo) and uses temporary directories under /tmp and the current working directory. The exploit is local-only and requires the attacker to execute code on the target system. Its primary purpose is to demonstrate the vulnerability and potentially achieve local privilege escalation on affected Linux systems.Liang2580 · Disclosed Jul 21, 2021 · c · localPoC
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
Fedora ProjectFedoraoperating_system
LinuxLinux Kerneloperating_system
NetAppHci Management Nodeapplication
NetAppSolidfireapplication
Oracle CorporationCommunications Session Border Controllerapplication
SonicwallSma1000 Firmwareoperating_system
FAQ

Frequently asked questions

Is CVE-2021-33909 exploited in the wild?
As of Oct 25, 2026, Mallory has no reports of CVE-2021-33909 being exploited in the wild. It is not listed in CISA KEV.
Is there a public exploit for CVE-2021-33909?
Yes. Mallory tracks 2 public exploits or proofs of concept for CVE-2021-33909, the earliest disclosed Jul 21, 2021.
Is there a patch for CVE-2021-33909?
Install the distribution's security-fixed kernel packages and reboot into the updated kernel, or apply a vendor-supported live patch explicitly addressing CVE-2021-33909 for the running kernel. The upstream fix, included in Linux 5.13.4, makes seq_buf_alloc() reject allocation requests exceeding MAX_RW_COUNT.
What products are affected by CVE-2021-33909?
Linux Kernel, Oracle Corporation Communications Session Border Controller, Debian Project Debian Linux, Fedora Project Fedora, NetApp Hci Management Node, and 2 more.
How severe is CVE-2021-33909?
CVE-2021-33909 has a CVSS v3.1 score of 7.8 (High) and an EPSS score of 9.8% (96th 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 activity1Community discussion across Reddit, Mastodon, and other social sources.