VDB

CVE-2026-97906

CVE-2026-97906 PUBLISHED

bootconfig: Fix integer overflow in initrd size check

Reported by linux · Published September 25, 2026

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.

EPSS 0.22% · 12.2th percentile

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
kernel6.18Amazon Linux1:6.18.54-121.166.amzn2023
python3-perf6.12Amazon Linux1:6.12.113-138.209.amzn2023
kernel6.18-toolsAmazon Linux1:6.18.54-121.166.amzn2023
kernel6.18-tools-develAmazon Linux1:6.18.54-121.166.amzn2023
kernel-livepatch-6.18.54-121.166Amazon Linux1:1.0-0.amzn2023
kernel6.18-headersAmazon Linux1:6.18.54-121.166.amzn2023
microvm-kernel6.18Amazon Linux1:6.18.54-121.166.amzn2023
kernel6.12Amazon Linux1:6.12.113-138.209.amzn2023
bpftool6.18Amazon Linux1:6.18.54-121.166.amzn2023
kernel6.12-tools-develAmazon Linux1:6.12.113-138.209.amzn2023
perf6.18Amazon Linux1:6.18.54-121.166.amzn2023
kernel-livepatch-6.12.113-138.209Amazon Linux1:1.0-0.amzn2023

5 more packages have a fixed version. See every fix in Lookup.

Risk scores

EPSS Score
0.22%
12.2th percentile

Affected products

VendorProductVersions
LinuxLinuxde462e5f10718517bacf2f84c8aa2804567ef7df, de462e5f10718517bacf2f84c8aa2804567ef7df, de462e5f10718517bacf2f84c8aa2804567ef7df
LinuxLinux5.7, 0, 6.6.160
amazon:2023kernel6.180
amazon:2023python3-perf6.120
amazon:2023kernel6.18-tools0
amazon:2023kernel6.18-tools-devel0
amazon:2023kernel-livepatch-6.18.54-121.1660
amazon:2023kernel6.18-headers0
amazon:2023microvm-kernel6.180
amazon:2023kernel6.120
amazon:2023bpftool6.180
amazon:2023kernel6.12-tools-devel0
amazon:2023perf6.180
amazon:2023kernel-livepatch-6.12.113-138.2090
amazon:2023kernel6.12-modules-extra-common0
amazon:2023kernel6.18-devel0
amazon:2023kernel6.12-headers0
amazon:2023kernel6.12-modules-extra0
amazon:2023python3-perf6.180
LinuxLinux6.6.160, *, *

…and 7 more

Timeline

  • Sep 25, 2026 CVE Published
  • Sep 26, 2026 EPSS Score (11 in total, the first dated here)
  • Oct 21, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-97906
vulnetix vdb fixes CVE-2026-97906

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-97906/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›