CVE-2026-97906
Received Received - Intake

Integer Overflow in Linux Kernel Bootconfig

Vulnerability report for CVE-2026-97906, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-09-25

Last updated on: 2026-09-25

Assigner: kernel.org

Description

In the Linux kernel, the following vulnerability has been resolved: bootconfig: Fix integer overflow in initrd size check Sashiko reported that in get_boot_config_from_initrd(), a crafted initrd with a huge bootconfig size (such as 0xFFFFFFFF) can cause the pointer arithmetic: data = ((void *)hdr) - size; to wrap around on 32-bit systems (or when pointer subtraction overflows). Because data wraps around, the subsequent bounds check: if ((unsigned long)data < initrd_start) evaluates to false, bypassing the check. The kernel then calls xbc_calc_checksum(data, size), which attempts to read 4GB of memory, hitting unmapped pages and triggering a fatal kernel page fault during early boot. Furthermore, on 64-bit systems with an initrd > 4.29 GB, an unbounded 32-bit size can similarly bypass the initrd_start check. Fix this by: 1. Ensuring the initrd is at least large enough to contain the bootconfig footer and verifying hdr is within the initrd bounds. 2. Checking that size does not exceed XBC_DATA_MAX and does not exceed the available space between initrd_start and hdr before performing pointer subtraction.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-09-25
Last Modified
2026-09-25
Generated
2026-09-25
AI Q&A
2026-09-25
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
linux linux_kernel to 4.29 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability in the Linux kernel involves an integer overflow in the bootconfig size check during early boot. A crafted initrd with a huge bootconfig size (like 0xFFFFFFFF) causes pointer arithmetic to wrap around on 32-bit systems or when pointer subtraction overflows. This bypasses bounds checks, leading to a kernel page fault when attempting to read large amounts of memory.

Detection Guidance

This vulnerability is specific to the Linux kernel's bootconfig handling during early boot. Detection requires checking kernel logs for page faults during boot or examining initrd images for malformed bootconfig headers. No direct network detection commands are applicable. Review kernel logs for early boot crashes or use 'dmesg | grep -i pagefault' after a crash.

Impact Analysis

This vulnerability can cause the system to crash during early boot, preventing it from starting properly. It may result in a kernel panic or fatal error, making the system unbootable if exploited.

Mitigation Strategies

Update to a patched Linux kernel version that includes the fix for this issue. Avoid using initrd images from untrusted sources. If you must use custom initrd, validate its bootconfig size and structure before deployment. Monitor kernel logs for early boot failures.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-97906. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart