Sequoia Linux Kernel Flaw Enables Local Root Privilege Escalation
Attack Tradecraft · 5 sources · Updated 3mo ago · First seen May 29, 2025

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.


