# CVE-2026-97906: bootconfig: Fix integer overflow in initrd size check

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.22% (percentile 8, 2026-11-26)
- **Published:** 2026-09-25T10:22:31.640Z
- **Modified:** 2026-11-23T08:17:22.323Z

## Who should check

- Anyone running Linux \>= de462e5f10718517bacf2f84c8aa2804567ef7df, \< d0b86ae31e01fac50996bcaf452468c9392cf740; \>= de462e5f10718517bacf2f84c8aa2804567ef7df, \< 97be05f33f79342ea65d9b99c9ad07a93b8eef5a; \>= de462e5f10718517bacf2f84c8aa2804567ef7df, \< 4d45bc0f8cdf606d5409b5f64a8a6609f6520c03; \>= de462e5f10718517bacf2f84c8aa2804567ef7df, \< 8d4343a411eaa182d323ab5b149496416015f27d; \>= de462e5f10718517bacf2f84c8aa2804567ef7df, \< bff9a1579e2c9b2a59fdf3793becc9d7bf5ff1a6; \>= de462e5f10718517bacf2f84c8aa2804567ef7df, \< 7812d6dab0698001e50e8c2f901e17da3eb6f429; 32394df25d8e46935b442b429d74b37885c4f092; \>= 5.6.14, \< 5.7
- Anyone running Linux 5.7

## 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.

## Affected and fixed versions

- Linux: \>= de462e5f10718517bacf2f84c8aa2804567ef7df, \< d0b86ae31e01fac50996bcaf452468c9392cf740; \>= de462e5f10718517bacf2f84c8aa2804567ef7df, \< 97be05f33f79342ea65d9b99c9ad07a93b8eef5a; \>= de462e5f10718517bacf2f84c8aa2804567ef7df, \< 4d45bc0f8cdf606d5409b5f64a8a6609f6520c03; \>= de462e5f10718517bacf2f84c8aa2804567ef7df, \< 8d4343a411eaa182d323ab5b149496416015f27d; \>= de462e5f10718517bacf2f84c8aa2804567ef7df, \< bff9a1579e2c9b2a59fdf3793becc9d7bf5ff1a6; \>= de462e5f10718517bacf2f84c8aa2804567ef7df, \< 7812d6dab0698001e50e8c2f901e17da3eb6f429; 32394df25d8e46935b442b429d74b37885c4f092; \>= 5.6.14, \< 5.7 (cvelist)
- Linux: 5.7 (cvelist)

## Mitigation

- Upgrade Linux to 5.7 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-97906. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-97906.md
Affected: Linux >= de462e5f10718517bacf2f84c8aa2804567ef7df, < d0b86ae31e01fac50996bcaf452468c9392cf740; >= de462e5f10718517bacf2f84c8aa2804567ef7df, < 97be05f33f79342ea65d9b99c9ad07a93b8eef5a; >= de462e5f10718517bacf2f84c8aa2804567ef7df, < 4d45bc0f8cdf606d5409b5f64a8a6609f6520c03; >= de462e5f10718517bacf2f8…
Fixed in: Linux 97be05f33f79342ea65d9b99c9ad07a93b8eef5a, Linux 4d45bc0f8cdf606d5409b5f64a8a6609f6520c03, Linux 8d4343a411eaa182d323ab5b149496416015f27d, Linux 7812d6dab0698001e50e8c2f901e17da3eb6f429, Linux 5.7

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-97906 being exploited?

There is no confirmed exploitation: CVE-2026-97906 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.22% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-97906?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-97906?

Linux \>= de462e5f10718517bacf2f84c8aa2804567ef7df, \< d0b86ae31e01fac50996bcaf452468c9392cf740; \>= de462e5f10718517bacf2f84c8aa2804567ef7df, \< 97be05f33f79342ea65d9b99c9ad07a93b8eef5a; \>= de462e5f10718517bacf2f84c8aa2804567ef7df, \< 4d45bc0f8cdf606d5409b5f64a8a6609f6520c03; \>= de462e5f10718517bacf2f84c8aa2804567ef7df, \< 8d4343a411eaa182d323ab5b149496416015f27d; \>= de462e5f10718517bacf2f84c8aa2804567ef7df, \< bff9a1579e2c9b2a59fdf3793becc9d7bf5ff1a6; \>= de462e5f10718517bacf2f84c8aa2804567ef7df, \< 7812d6dab0698001e50e8c2f901e17da3eb6f429; 32394df25d8e46935b442b429d74b37885c4f092; \>= 5.6.14, \< 5.7; Linux 5.7.

### Is there a fix for CVE-2026-97906?

Yes. Fixed in Linux 97be05f33f79342ea65d9b99c9ad07a93b8eef5a, Linux 4d45bc0f8cdf606d5409b5f64a8a6609f6520c03, Linux 8d4343a411eaa182d323ab5b149496416015f27d, Linux 7812d6dab0698001e50e8c2f901e17da3eb6f429, Linux 5.7. Upgrade Linux to 5.7 or later.

### How do I check if I'm affected by CVE-2026-97906?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/d0b86ae31e01fac50996bcaf452468c9392cf740>
- other: <https://git.kernel.org/stable/c/97be05f33f79342ea65d9b99c9ad07a93b8eef5a>
- other: <https://git.kernel.org/stable/c/4d45bc0f8cdf606d5409b5f64a8a6609f6520c03>
- other: <https://git.kernel.org/stable/c/8d4343a411eaa182d323ab5b149496416015f27d>
- other: <https://git.kernel.org/stable/c/bff9a1579e2c9b2a59fdf3793becc9d7bf5ff1a6>
- other: <https://git.kernel.org/stable/c/7812d6dab0698001e50e8c2f901e17da3eb6f429>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-97906>

HTML: <https://flawdb.com/CVE-2026-97906> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-97906>
