Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessUnprivileged local process on 32-bit kernel
-
DeliveryCraft ELF64 with e_phoff = 2^44
-
Exploitmmap file while perf build_id/BPF build-id active
-
ExecutionOffset truncates to cached page index
-
Persistmemcpy page into 64-byte stack buffer
-
ImpactKernel stack corruption / potential code execution
Vulnerability Assessment
| Exploitation Conditions | Requires a 32-bit kernel where pgoff_t (unsigned long) is 32 bits, so the ELF64 e_phoff of 2^44 + k*PAGE_SIZE truncates to page-cache index k; 64-bit kernels are not affected because the index is not truncated and the fetch returns -EFAULT. The attacker must be a local user able to run a process that mmaps its own crafted ELF file, and a build-ID-fetching context must be active - specifically a perf event opened with attr.build_id (triggering build_id_parse_nofault from perf_event_mmap) or a BPF build-id stack map. Limiting factors: 32-bit-only, local access with an unprivileged account, and the presence of an active perf build-id or BPF build-id consumer; no remote vector and no user interaction by a second user is required. |
| Impact | Signals point to a genuine but bounded local-privilege-escalation-class risk rather than a widespread emergency. The CVSS 3.1 vector (AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H, base 7.8) describes a local, low-complexity, low-privilege path with high impact, consistent with an unprivileged process corrupting the kernel stack. EPSS is low (0.18%, 7th percentile) and there is no CISA KEV listing, so there is no evidence of active or widespread exploitation; the vuln.today decision label is 'this_week', indicating prioritized patching rather than 'act_now'/'emergency'. Exploitation status: no public exploit identified at time of analysis - the references are only kernel.org stable commits and advisory links, not a PoC (the i386/QEMU reproduction is the reporter's, not published exploit code). Key caveat: the description says the path 'might be reachable without privilege' (any process mmapping its own file on the no-fault perf path), which argues toward PR:N, yet the supplied vector uses PR:L and AV:L - the low-privilege rating is defensible because the attacker must be able to run a local process. A second caveat limits real-world exposure sharply: the flaw affects ONLY 32-bit kernels (pgoff_t truncation), so 64-bit production fleets are not affected. Net: a real priority to patch on 32-bit systems where perf build-id or BPF build-id stackmaps are reachable, but low probability of opportunistic mass exploitation. |
| Exploit ScenarioDerived | On a 32-bit Linux kernel, an unprivileged local user crafts an ELF64 file with e_phoff = 2^44 and mmaps it while a perf event with attr.build_id (or a BPF build-id stack map) is active. The 64-bit file offset truncates to a cached page-cache index, and the build-ID fetch memcpy's a full page into a 64-byte on-stack buffer, corrupting the kernel stack. No public exploit is available; the reporter reproduced a stack-protector panic in __build_id_parse on i386 under QEMU. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Dec 02, 2026
Stack-based buffer overflow in the Linux kernel's build-ID parser (lib/buildid) on 32-bit builds lets a local unprivileged user crash or potentially corrupt the kernel stack by mmapping a crafted ELF file while a build-ID-fetching context (a perf event opened with attr.build_id, or a BPF build-id stack map) is active. Only 32-bit kernels are affected: the 64-bit file offset is truncated to a 32-bit page-cache index, so the fetch logic computes an oversized copy length that is truncated to size_t and memcpy()s a full page into a 64-byte on-stack buffer in __build_id_parse(). CVSS 3.1 scores this 7.8 (AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H), but EPSS is only 0.18% (7th percentile), there is no CISA KEV entry and no public exploit identified at time of analysis; vendor patches are available and the priority guidance is to remediate this week.
RemediationAI
Vendor-released patch: upgrade 32-bit kernels to 6.12.117, 6.18.63 or 7.3.4 (or 7.4-rc1 and later), which contain the fix commit that rejects a file offset not representable as a page-cache index before the folio lookup, causing the build-ID parse to fail cleanly with -EFAULT exactly as it already does on 64-bit; the upstream stable commits are 0007654a7bf13ef2a19afd398bbc6507087f19fd, 34bd3e5f44a327e15c1a6513bae8267bda19b43f, 3e385811176cd7968b0ad687a4118e90632018f4 and 78b8738d6656acec8a0d812bf826a9a412f16971 (see https://git.kernel.org/stable/c/0007654a7bf13ef2a19afd398bbc6507087f19fd and the linked NVD/VulDB advisories). Because exposure requires both a 32-bit kernel and an active build-ID consumer, environments that cannot update immediately reduce the attack surface by restricting perf_event_open to privileged users (kernel.perf_event_paranoid) and disabling unprivileged BPF (kernel.unprivileged_bpf_disabled), with the trade-off that unprivileged performance profiling and BPF tracing stop working; note that 64-bit systems need no action for this specific defect. Prioritization follows the supplied guidance of remediating this week rather than as an emergency, given the absence of KEV listing and very low EPSS, while still applying the fixed kernel versions above on any 32-bit deployment.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The flaw lives in the kernel's ELF build-ID reader, which is used to associate a build ID with a mapped file without faulting pages in. freader_get_folio() converts a 64-bit file offset into a page-cache index with file_off >> PAGE_SHIFT and hands it to filemap_get_folio(); pgoff_t is unsigned long, i.e. 32 bits on an i386 kernel, so an ELF64 e_phoff of 2^44 + k * PAGE_SIZE truncates to index k and the lookup returns a cached folio whose folio_pos() is far below the requested offset. In freader_fetch() the returned folio does not contain file_off, so the folio-boundary path computes part_sz = folio_off + folio_sz - file_off as a large u64, and the subsequent memcpy() truncates that length to size_t and copies an entire page into the 64-byte stack buffer of __build_id_parse(). The no-fault path is reachable without privilege through build_id_parse_nofault() from perf_event_mmap() when a perf event with attr.build_id is open and a process mmaps its own file (PERF_RECORD_MMAP2), and equivalently through BPF build-id stack maps. On 64-bit kernels the index is not truncated, the folio is not cached and the fetch fails with -EFAULT, so the defect is confined to 32-bit kernels; the reporter reproduced it on i386 under QEMU with CONFIG_STACKPROTECTOR_STRONG, where the stack protector panicked with "Kernel stack is corrupted in: __build_id_parse". The root cause is an integer-truncation/bounds-validation failure (no CWE is assigned in the supplied data) where a file offset that cannot be represented as a page-cache index is not rejected before the lookup.
Know when the next one hits your stack
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Local trigger by an unprivileged process mmapping a crafted file (PR:L, AV:L), deterministic ELF crafting (AC:L); kernel stack corruption yields high confidentiality, integrity and availability impact on the 32-bit host.
Primary rating from Vendor (416baaa9-dc9f-4396-8d5f-8c081fb06d67).
CVSS VectorVendor: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Lifecycle Timeline
4DescriptionCVE.org
In the Linux kernel, the following vulnerability has been resolved:
lib/buildid: reject file offsets that do not fit in pgoff_t
On a 32-bit kernel, 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. 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 (build_id_parse_nofault() from perf_event_mmap()), and BPF build-id stack maps do the same.
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(). pgoff_t is unsigned long, 32-bit on a 32-bit kernel, so an ELF64 e_phoff of 2^44 + k * PAGE_SIZE truncates to index k. filemap_get_folio() returns the cached folio at index k, whose folio_pos() is far below the requested file_off. 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. On a 64-bit kernel the index is not truncated, the folio is not cached and the fetch returns -EFAULT, so only 32-bit kernels are affected.
Reject 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.
Reproduced on i386 under QEMU with CONFIG_STACKPROTECTOR_STRONG: mmapping a crafted ELF (ELFCLASS64, e_phoff = 2^44) while a perf event with attr.build_id is open panics with "stack-protector: Kernel stack is corrupted in: __build_id_parse"; with this patch the parse returns -EFAULT and the mmap completes cleanly. Built for i386 with W=1, no new warnings.
Executive ViewAI
CVE-2026-100027 is a high-severity local privilege escalation vulnerability affecting 32-bit Linux kernel builds, allowing an unprivileged user to crash or potentially corrupt kernel memory. While the likelihood of exploitation is currently low, successful exploitation could grant full control of affected systems, making it critical for leadership to prioritize remediation to protect sensitive data and maintain operational stability.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
EUVD-2026-138311
GHSA-xx6r-wv2q-r74c
NVD
CVE.org
EPSS
VulDB
Exploit-DB