Skip to main content
Mallory
← Back to News
privilege-escalation-techniqueendpoint-software-vulnerabilityproof-of-concept-releasewidely-deployed-product-advisory

Sequoia Linux Kernel Flaw Enables Local Root Privilege Escalation

Attack Tradecraft · 5 sources · Updated 3mo ago · First seen May 29, 2025

Sequoia Linux Kernel Flaw Enables Local Root Privilege Escalation

CVE-2021-33909 ("Sequoia") is a local privilege-escalation flaw in the Linux kernel filesystem layer, caused by converting a size_t buffer length to a signed 32-bit integer. An unprivileged local user can build and mount a directory hierarchy whose path exceeds 1 GB, then read /proc/self/mountinfo to trigger a predictable 10-byte out-of-bounds write containing //deleted relative to a vmalloc buffer. Qualys demonstrated root compromise on default Ubuntu 20.04–21.04, Debian 11, and Fedora 34 Workstation systems.

The vulnerability, introduced in Linux 3.16, can be exploited by corrupting a validated eBPF program and overwriting the kernel modprobe_path. Linux commit 8cae8cd89f05f6de223d63e6d15e31c8ba9cf53b mitigates the allocation issue by rejecting seq_file buffer requests larger than MAX_RW_COUNT before kvmalloc. Organizations should deploy kernel updates; disabling unprivileged user namespaces and unprivileged BPF can reduce exposure to the demonstrated exploit chain but does not remove the underlying defect.

Who uses this technique?Get the actors, campaigns, and ATT&CK mapping behind it.
Get the tradecraft
Event timeline

How this story unfolded

Events from the most recent confirmed update back to the earliest known activity.

33 events · Jul 2014 – May 29, 2025
  1. May 29, 20251y ago

    Qualys discloses apport and systemd-coredump information leaks

    Qualys published an advisory for local information disclosure in apport and systemd-coredump, tracked as CVE-2025-5054 and CVE-2025-4598.

    Security advisories.
  2. Mar 27, 20252y ago

    Qualys discloses Ubuntu user-namespace restriction bypasses

    Qualys published an advisory covering three bypasses of Ubuntu's unprivileged user namespace restrictions.

    Security advisories.
  3. Feb 18, 20252y ago

    Qualys discloses OpenSSH VerifyHostKeyDNS MITM vulnerability

    Qualys published an advisory for a man-in-the-middle attack against OpenSSH clients with VerifyHostKeyDNS enabled, tracked as CVE-2025-26465.

    Security advisories.
  4. Feb 18, 20252y ago

    Qualys discloses OpenSSH denial-of-service vulnerability

    Qualys published an advisory for a denial-of-service attack affecting OpenSSH client and server, tracked as CVE-2025-26466.

    Security advisories.
  5. Nov 19, 20242y ago

    Qualys discloses needrestart local privilege escalations

    Qualys published an advisory for local privilege escalations in needrestart, tracked as CVE-2024-48990, CVE-2024-48991, CVE-2024-48992, CVE-2024-10224, and CVE-2024-11003.

    Security advisories.
  6. Jul 1, 20242y ago

    Qualys discloses regreSSHion OpenSSH server RCE

    Qualys published regreSSHion, an advisory for remote code execution in OpenSSH server on glibc-based Linux systems, tracked as CVE-2024-6387.

    Security advisories.
  7. Jan 30, 20243y ago

    Qualys discloses glibc qsort out-of-bounds flaws

    Qualys published an advisory showing that nontransitive comparison functions can cause out-of-bounds reads and writes in glibc qsort().

    Security advisories.
  8. Jan 30, 20243y ago

    Qualys discloses glibc syslog heap buffer overflow

    Qualys published an advisory for a heap-based buffer overflow in glibc syslog(), tracked as CVE-2023-6246.

    Security advisories.
  9. Oct 3, 20233y ago

    Qualys discloses Looney Tunables glibc privilege escalation

    Qualys published the Looney Tunables advisory for local privilege escalation in glibc ld.so, tracked as CVE-2023-4911.

    Security advisories.
  10. Jul 19, 20233y ago

    Qualys discloses OpenSSH forwarded-agent remote code execution

    Qualys published an advisory for remote code execution in OpenSSH's forwarded ssh-agent, tracked as CVE-2023-38408.

    Security advisories.
  11. Jun 6, 20233y ago

    Qualys discloses RenderDoc privilege escalation and RCE flaws

    Qualys published an advisory for local privilege escalation and remote code execution vulnerabilities in RenderDoc, tracked as CVE-2023-33863, CVE-2023-33864, and CVE-2023-33865.

    Security advisories.
  12. Nov 30, 20224y ago

    Qualys discloses snap-confine race condition

    Qualys published an advisory for a race condition in snap-confine's must_mkdir_and_open_with_perms(), tracked as CVE-2022-3328.

    Security advisories.
  13. Oct 24, 20224y ago

    Qualys discloses multipathd authorization bypass and symlink flaw

    Qualys published the Leeloo Multipath advisory for an authorization bypass and symlink attack in multipathd, tracked as CVE-2022-41974 and CVE-2022-41973.

    Security advisories.
  14. Feb 17, 20225y ago

    Qualys discloses Oh Snap! More Lemmings vulnerability

    Qualys published Oh Snap! More Lemmings, an advisory for local privilege escalation in snap-confine, tracked as CVE-2021-44731.

    Security advisories.
  15. Jan 25, 20225y ago

    Qualys discloses pwnkit polkit privilege escalation

    Qualys published the pwnkit advisory for a local privilege escalation in polkit's pkexec, tracked as CVE-2021-4034.

    Security advisories.
  16. Jul 20, 20215y ago

    Qualys discloses systemd PID 1 stack-exhaustion DoS

    Qualys published an advisory for denial of service through stack exhaustion in systemd PID 1, tracked as CVE-2021-33910.

    Security advisories.
  17. Jul 20, 20215y ago

    Coordinated disclosure releases Sequoia vulnerability

    Qualys released CVE-2021-33909, dubbed Sequoia, a Linux filesystem-layer size_t-to-int flaw that it demonstrated could yield root access on default installations of several Linux distributions.

    Security advisories.
  18. Reported Jul 13, 20215y ago

    Linus Torvalds commits seq_file allocation limit

    Linus Torvalds committed Linux patch 8cae8cd89f05f6de223d63e6d15e31c8ba9cf53b, adding a MAX_RW_COUNT limit before seq_file allocations and marking it for stable-kernel consideration.

    seq_file: disallow extremely large seq buffer allocations - kernel/git/torvalds/linux.git - Linux kernel source tree
  19. Jul 13, 20215y ago

    Kernel patch limits seq_file buffer allocations

    Eric Sandeen authored a patch to reject seq_file buffer requests exceeding MAX_RW_COUNT, addressing the large-allocation behavior associated with the Qualys-reported issue.

    seq_file: disallow extremely large seq buffer allocations - kernel/git/torvalds/linux.git - Linux kernel source tree
  20. Reported Jun 9, 20215y ago

    Linux distributors receive patches for Sequoia and related flaw

    Red Hat Product Security-developed patches for CVE-2021-33909 and CVE-2021-33910 were distributed to the linux-distros mailing list.

    oss-security - CVE-2021-33909: size_t-to-int vulnerability in Linux's filesystem layer
  21. Jun 9, 20215y ago

    Qualys reports Sequoia and related systemd flaw to Red Hat

    Qualys reported CVE-2021-33909 (Sequoia) and the related systemd flaw CVE-2021-33910 to Red Hat Product Security.

    oss-security - CVE-2021-33909: size_t-to-int vulnerability in Linux's filesystem layer
  22. May 4, 20216y ago

    Qualys publishes 21Nails Exim vulnerability advisory

    Qualys published 21Nails, an advisory covering multiple vulnerabilities in Exim Mail Server.

    Security advisories.
  23. Jan 26, 20216y ago

    Qualys discloses Baron Samedit Sudo vulnerability

    Qualys published the Baron Samedit advisory for a heap-based buffer overflow in Sudo, tracked as CVE-2021-3156.

    Security advisories.
  24. May 19, 20207y ago

    Qualys discloses qmail remote code execution

    Qualys published an advisory describing remote code execution in qmail, tracked as CVE-2005-1513.

    Security advisories.
  25. Feb 24, 20207y ago

    Qualys publishes additional OpenSMTPD vulnerability advisories

    Qualys published advisories covering local privilege escalation, remote code execution, and local information disclosure in OpenSMTPD, tracked as CVE-2020-8794 and CVE-2020-8793.

    Security advisories.
  26. Jan 28, 20207y ago

    Qualys discloses OpenSMTPD remote code execution and LPE

    Qualys published an advisory for local privilege escalation and remote code execution in OpenSMTPD, tracked as CVE-2020-7247.

    Security advisories.
  27. Jun 5, 20197y ago

    Qualys discloses Exim remote code execution flaw

    Qualys published The Return of the WIZard advisory for remote code execution in Exim, tracked as CVE-2019-10149.

    Security advisories.
  28. Jan 9, 20198y ago

    Qualys publishes systemd-journald exploit advisory

    Qualys published the System Down advisory describing a systemd-journald exploit.

    Security advisories.
  29. Sep 25, 20188y ago

    Qualys discloses Linux create_elf_tables integer overflow

    Qualys published the Mutagen Astronomy advisory for an integer overflow in Linux create_elf_tables(), tracked as CVE-2018-14634.

    Security advisories.
  30. Jun 19, 20179y ago

    Qualys publishes Stack Clash advisory

    Qualys published its Stack Clash advisory.

    Security advisories.
  31. Jan 14, 201611y ago

    Qualys publishes OpenSSH vulnerability advisory

    Qualys published an advisory covering OpenSSH vulnerabilities tracked as CVE-2016-0777 and CVE-2016-0778.

    Security advisories.
  32. Jan 27, 201512y ago

    Qualys discloses GHOST glibc buffer overflow

    Qualys published the GHOST advisory for a glibc gethostbyname buffer overflow, tracked as CVE-2015-0235.

    Security advisories.
  33. Jul 2014

    Linux 3.16 introduces vulnerable seq_file allocation behavior

    Linux commit 058504ed introduced the seq_file vmalloc fallback that later underpinned CVE-2021-33909 (Sequoia).

    oss-security - CVE-2021-33909: size_t-to-int vulnerability in Linux's filesystem layer
Linked entities

Related entities

Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.

Open in app →

Vulnerabilities

1 linked
Do you run this?Get the adversaries, campaigns, and ATT&CK mapping behind this technique, with detections ready to deploy.
See Who Uses This Technique
Mallory platform

See the full picture, correlated to your attack surface.

This page covers what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which threat actors are using it right now, and what to deploy next.

Exposure mappingMap indicators from this story to your assets and identify affected systems in minutes.
Threat actor evidenceEvery observed campaign, victim, and pivot linked to actors named in this story.
Associated malwareMalware, exploits, and IOCs connected to the activity described here.
Detection signaturesYARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Scheduled alertsGet matching new stories delivered to your team as they break, not the next morning.
AI threadsAsk questions about this story and take action on the answers.