# CVE-2026-89568: kho: fix size calculation in kho_preserved_memory_reserve()

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.20%, higher than 10% of CVEs (2026-12-01)
- Published: 2026-09-11T19:44:38.078Z
- Modified: 2026-10-19T09:17:52.640Z
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

kho: fix size calculation in kho_preserved_memory_reserve()

kho_preserved_memory_reserve() calculates the size of a preservation by
doing 1 << (order + PAGE_SHIFT). Since the '1' is a 32-bit integer, it
can only be shifted by 31. That is, it will only work for preservations
up to 2 GiB. Larger preservations will trigger undefined behaviour.

While preservations larger than 2 GiB can't be obtained via folios
currently, they can be obtained via kho_preserve_pages().

For example, memblock reserve_mem uses kho_preserve_pages().
Reservations larger than 2 GiB are valid and will trigger this bug if
properly aligned.

Fix it by using 1UL for shifting.

(As written by CVE List.)

## Affected

- Linux Linux: from fc33e4b44b2717feba2f6f07ce7943a96499c9ec before 0692a8fdf0222af130c8ea97426f1c3bf3814905; from fc33e4b44b2717feba2f6f07ce7943a96499c9ec before 42a6f03cf352eb6e6dbeef95e75e686f4cdb9bd1; from fc33e4b44b2717feba2f6f07ce7943a96499c9ec before 3a0b8fa2eb36afc88b62a95f33f0c77c71fa5ded; 6.16 (not affected: before 6.16; from 6.18.57 up to 6.18.*; from 7.2.4 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/0692a8fdf0222af130c8ea97426f1c3bf3814905>
- <https://git.kernel.org/stable/c/42a6f03cf352eb6e6dbeef95e75e686f4cdb9bd1>
- <https://git.kernel.org/stable/c/3a0b8fa2eb36afc88b62a95f33f0c77c71fa5ded>

## Sources

- CVE List: [CVE-2026-89568](https://www.cve.org/CVERecord?id=CVE-2026-89568), CVE Terms of Use, modified 2026-10-19
- NVD: [CVE-2026-89568](https://nvd.nist.gov/vuln/detail/CVE-2026-89568), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2026-89568 · Whole record: https://cve.day/CVE-2026-89568.json · Rebuilt by cve.day 2026-11-25T22:59:38.069Z
