CVE-2021-33909: Sequoia
- Vendors
- Oracle CorporationDebian ProjectFedora ProjectNetAppLinuxSonicwall
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.
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.
Exploits
2 exploits validated by Mallory's analysis.
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-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.
Recent activity
29 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.