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

Published Sep 11, 2026
·
Updated

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

kho: fix size calculation in khopreservedmemoryreserve()

khopreservedmemoryreserve() calculates the size of a preservation by doing 1 << (order + PAGESHIFT). 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 khopreservepages().

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

Fix it by using 1UL for shifting.

Affected Software

1 affected component
Linux Linux kernel

Event History

Sep 11, 2026
CVE Published
via MITRE·07:44 PM
Data Sourced
via MITRE·07:44 PM
Description

Frequently Asked Questions

1

Which systems are realistically exposed to this issue?

Systems that create properly aligned KHO preservation reservations larger than 2 GiB through kho_preserve_pages() are exposed. The description identifies memblock reserve_mem as an example path that uses kho_preserve_pages().

2

Can this be triggered through folio-based preservation operations?

No. Preservations larger than 2 GiB cannot currently be obtained through folios; the affected larger reservations can instead be obtained through kho_preserve_pages().

3

What condition is required to trigger the bug?

A preservation reservation larger than 2 GiB must be created and properly aligned. Under that condition, the 32-bit shift used for the size calculation causes undefined behavior.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203