CVE-2026-23044: PM: hibernate: Fix crash when freeing invalid crypto compressor

Published Feb 4, 2026
·
Updated

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

PM: hibernate: Fix crash when freeing invalid crypto compressor

When cryptoallocacomp() fails, it returns an ERRPTR value, not NULL.

The cleanup code in savecompressedimage() and loadcompressedimage() unconditionally calls cryptofreeacomp() without checking for ERRPTR, which causes cryptoacomptfm() to dereference an invalid pointer and crash the kernel.

This can be triggered when the compression algorithm is unavailable (e.g., CONFIGCRYPTOLZO not enabled).

Fix by adding ISERRORNULL() checks before calling cryptofreeacomp() and acomprequestfree(), similar to the existing kthreadstop() check.

[ rjw: Added 2 empty code lines ]

Affected Software

1 affected component
linux/kernel

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Compensating control

    Add IS_ERR_OR_NULL() checks before calling crypto_free_acomp() in save_compressed_image() and load_compressed_image(), and apply the analogous check in acomp_request_free().

Event History

Feb 4, 2026
CVE Published
via MITRE·04:00 PM
Data Sourced
via MITRE·04:00 PM
Description
Data Sourced
via NVD·04:16 PM
Description

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