The kernel reads an ELF file’s build ID for perf and for BPF stack maps, and on 32-bit kernels “parsing the build ID of a crafted ELF file can copy far more than the intended bytes into a 64-byte on-stack buffer in __build_id_parse(), corrupting the stack of whatever context fetches the build ID”. The record says this “might be reachable without privilege: perf records a build ID for PERF_RECORD_MMAP2 on the no-fault path when a process mmaps its own file”, and that BPF build-ID stack maps do the same. The cause is pgoff_t being 32 bits wide, so an ELF64 e_phoff of 2^44 plus a small page offset “truncates to index k” and the reader fetches a cached page far below the offset it asked for. The kernel CNA scores it 7.8 as a local escalation; Red Hat agrees on 7.8 and rates it Important while noting its own kernels are 64-bit. On 32-bit kernels (i386, armhf) at 6.12 or later, upgrade to a kernel at or above 6.12.117, 6.18.63 or 7.3.4 and reboot; 64-bit kernels are not affected.
CVE-2026-100027 at a glance.
| Component | Linux kernel, library code: freader_get_folio(), freader_fetch() and __build_id_parse() in lib/buildid.c, reached from perf_event_mmap() through build_id_parse_nofault() and from BPF stack maps with the build-ID flag |
| Affected versions | mainline 6.12 up to 7.4-rc1 on 32-bit architectures (from commit de3ec364, the folio-based reader); 6.12.x below 6.12.117, 6.18.x below 6.18.63, 7.3.x below 7.3.4. Kernels before 6.12 use the older reader and are not affected; on 64-bit kernels the index is not truncated, “the folio is not cached and the fetch returns -EFAULT, so only 32-bit kernels are affected” |
| Fixed in | mainline 7.4-rc1 (commit 0007654a, the one Debian cites as upstream) and stable 6.12.117, 6.18.63, 7.3.4; four fix commits in the record. The fix rejects “a file offset that cannot be represented as a page cache index before the lookup, so such a file fails the build ID parse cleanly as it already does on 64-bit” |
| Severity | kernel CNA CVSS 3.1 7.8 High (AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H); NVD Received with no score, CWE or CPE of its own. Red Hat Important, 7.8 with the same vector, CWE-787 (out-of-bounds write), score marked draft; Ubuntu’s page returned a server error on two attempts; SUSE and Alpine not reachable. The CNA and Red Hat agree on the vector; they differ only in that Red Hat marks RHEL 9 and 10 affected while stating that RHEL runs only on 64-bit systems |
| Exploited in the wild | Not on CISA’s Known Exploited Vulnerabilities list as of 1 December 2026 (catalogue 2026.11.30, released 30 November). EPSS: no score yet on 1 December 2026 |
| Who is exposed | 32-bit kernels from 6.12 on, which in practice means i386 and armhf installations of Debian trixie and later, Ubuntu’s armhf images, and embedded or self-built 32-bit kernels; Red Hat’s position is that the flaw needs active tracing or profiling plus a crafted binary, and that RHEL runs only on 64-bit systems, which limits its exposure. On an affected kernel the record’s reproducer is a process that maps a crafted ELF of its own while a perf event with attr.build_id is open, which panics the kernel under CONFIG_STACKPROTECTOR_STRONG; whether the perf event must be the attacker’s own or merely present on the system depends on perf_event_paranoid, which the record does not discuss |
| Published | CVE record 30 November 2026 (kernel CNA, updated 1 December); this page built 1 December 2026, last updated 1 December 2026 |
What it is
A build ID is the note in an ELF file that identifies the exact binary, and the kernel reads it so that perf samples and BPF stack traces can be matched to symbols later. Since 6.12 the reader works through the page cache: freader_get_folio() “turns a 64-bit file offset into a page cache index with file_off >> PAGE_SHIFT and passes it to filemap_get_folio()”. The index type, pgoff_t, is unsigned long, which is 32 bits on a 32-bit kernel, “so an ELF64 e_phoff of 2^44 + k * PAGE_SIZE truncates to index k” and the lookup returns the cached folio at index k, “whose folio_pos() is far below the requested file_off”.
The fetch then goes wrong in a specific way: “In freader_fetch() the folio does not contain file_off, so the ‘crossing folio boundaries’ path computes part_sz = folio_off + folio_sz – file_off as a large u64 (file_off is much larger), and the following memcpy() truncates it to size_t and copies a page into the 64-byte buffer.” That buffer is on the stack of whatever fetched the build ID. The record names two callers that an unprivileged process may drive: perf_event_mmap() recording PERF_RECORD_MMAP2 “when a process mmaps its own file”, and BPF build-ID stack maps. The reproduction “on i386 under QEMU with CONFIG_STACKPROTECTOR_STRONG” panics with “stack-protector: Kernel stack is corrupted in: __build_id_parse”; without the stack protector the corruption is silent.
The fix is a single check in lib/buildid.c: refuse any file offset that does not fit in pgoff_t before the page-cache lookup, so the parse fails with -EFAULT on 32-bit as it already did on 64-bit. With the patch, the record says, “the parse returns -EFAULT and the mmap completes cleanly”. Debian marks bookworm not affected because its 6.1 kernel predates the folio reader. git.kernel.org refused our reader, so the diff is described from the CNA’s copy of the commit message.
Who is affected on Linux
Each row is what the distribution’s own security tracker said on 1 December 2026; the link in the row is the tracker page, which will be newer than this one.
| Distribution | Status | Fixed package |
|---|---|---|
| Alpine | Not consulted for this page | — |
| Debian | Not affected on bookworm (6.1, “Vulnerable code not present”); fixed in trixie (6.12.117-1), trixie’s security update, forky and sid; no DSA or DLA. Debian’s i386 and armhf kernels are the ones in scope | trixie 6.12.117-1 (security 6.12.118-1); forky and sid 7.3.6-1; bookworm needs nothing |
| Ubuntu | Tracker returned a server error on 1 December 2026 (two attempts); nothing inferred. Ubuntu’s armhf kernels on 24.04 and later are the ones in scope | — |
| RHEL, Rocky, Alma, CentOS Stream | Important, 7.8, CWE-787 (bug 2586437); affected on RHEL 9 and 10 (kernel) and the OpenShift RHCOS 9 and 10 images, with the statement that RHEL runs only on 64-bit systems; RHEL 6, 7, 8, the RHEL 9 kernel-rt and RHCOS 8 not affected; no errata | not yet |
| openSUSE/SLE | Tracker unreachable on 1 December 2026 (client error on two attempts); nothing inferred | — |
| Fedora, Arch; self-built kernels | Not consulted; upstream stable versions apply to 32-bit builds | 6.12.117 / 6.18.63 / 7.3.4 or later; 64-bit kernels and the 6.6 and older series are not affected |
How to check
Three questions, in order: is this a 32-bit kernel, which version is it, and can unprivileged users open perf events or load BPF programs. A 64-bit kernel ends the enquiry at the first question.
# 1. word size: only 32-bit kernels are affected (a 32-bit userland on a 64-bit kernel is not)
uname -m; getconf LONG_BIT
grep -E 'CONFIG_64BIT=' /boot/config-$(uname -r) /proc/config.gz 2>/dev/null
# 2. the running kernel: 6.12 and later carry the folio-based reader
uname -r
# 3. who can reach the two callers the record names
sysctl kernel.perf_event_paranoid kernel.unprivileged_bpf_disabled
grep -E 'CONFIG_(PERF_EVENTS|BPF_SYSCALL|STACKPROTECTOR_STRONG)=' /boot/config-$(uname -r) /proc/config.gz 2>/dev/nullA 64-bit kernel, or any 32-bit kernel before 6.12, is not affected. A 32-bit kernel at or above 6.12.117, 6.18.63 or 7.3.4 is done. A 32-bit kernel in the affected range is exposed in proportion to who can drive the two callers: with perf_event_paranoid at 2 or higher and unprivileged BPF disabled, the record’s reproducer needs a perf event that only root or the CAP_PERFMON holder can open, though the record leaves open whether a system-wide profiler already running would serve; with looser settings any local user may be able to reach it.
How to fix it
Install the fixed kernel and reboot; the reader is core kernel code and stays until the machine boots the new image. Debian trixie’s point release and security update both carry it for i386 and armhf; Ubuntu, Red Hat and SUSE were pending or unreachable on 1 December 2026.
# Debian trixie / forky / sid (32-bit images)
apt update && apt install linux-image-686-pae && systemctl reboot # or linux-image-armmp, linux-image-armmp-lpae
# Ubuntu armhf, SUSE 32-bit builds: when the pending builds land
apt update && apt full-upgrade && systemctl reboot
zypper patch && systemctl reboot
uname -r
# stop-gap on a shared 32-bit machine: keep unprivileged users away from the two callers until the reboot
sysctl -w kernel.perf_event_paranoid=3 kernel.unprivileged_bpf_disabled=1The stop-gap above narrows who can open a perf event or load a BPF program, which is where the record places the unprivileged path; it does not help against a profiler the administrator is already running system-wide, and it is a change to be reverted once the fixed kernel is in. What not to do: do not spend a window on this on x86_64 or arm64 hosts, where the record says the fetch already fails cleanly; and do not read Red Hat’s “affected” rows for RHEL 9 and 10 as contradicting that, since its own statement says the exposure is limited by RHEL being 64-bit only.
Sources
- CVE-2026-100027 at CVE.org — the kernel CNA record (30 November 2026, updated 1 December when the CNA added its CVSS 3.1 metric): the commit message with the pgoff_t truncation arithmetic and the i386 QEMU reproduction, the git and version ranges, CVSS 3.1 7.8
- Fix commits on git.kernel.org: 0007654a (mainline, 7.4-rc1, the commit Debian cites as upstream) and the backports 3e385811, 78b8738d, 34bd3e5f; git.kernel.org refuses automated readers, so the diffs were not read for this page and the fix is described from the CNA’s copy of the commit message
- NVD entry — Received on 30 November, carrying the CNA’s ranges; no NVD score, CWE or CPE on 1 December
- Distribution trackers: Debian (bookworm not affected, trixie 6.12.117-1 fixed) · Ubuntu (server error on 1 December) · Red Hat (Important 7.8, CWE-787, RHEL 9 and 10 affected, the 64-bit-only statement) · SUSE (unreachable on 1 December)
- CISA KEV catalogue 2026.11.30, not listed · EPSS: no score for this CVE on 1 December 2026
Related reading
- CVE-2026-99896: Linux kernel CephFS client lets an oversized readdir reply count wrap on 32-bit and write past its buffer — another 32-bit-only wrap rated the same day
- CVE-2026-99889: Linux kernel CephFS client trusts an xattr name length from the metadata server and corrupts memory on 32-bit — the third 32-bit wrap in the set
- CVE-2026-100016: Linux kernel ALSA compressed-audio device lets a gapless track change shrink the buffer under a stale write count — the other local 7.8 rated the same day
- CVE-2026-99659: Linux kernel truncates TLB flush ranges of 4 GiB or more and leaves stale translations behind — the same failure in the other direction, a 64-bit value narrowed to 32
- CVE-2026-138839: Linux kernel seccomp filters are never consulted on ColdFire and 68000 m68k systems — the other architecture-specific bug from the same burst
- The Kernel — module autoload, why an unused subsystem is still an attack surface, and how
install … /bin/falsediffers fromblacklist
This advisory page was assembled from the primary sources listed above on 1 December 2026 and is updated when they change. The facts are theirs; the checks and the ordering are ours. If a row in the distribution table is out of date, the tracker link in that row is the current word.
