{"id":"CVE-2026-23044","published":"2026-02-04T16:00:27Z","modified":"2026-05-11T21:58:54Z","title":"PM: hibernate: Fix crash when freeing invalid crypto compressor","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nPM: hibernate: Fix crash when freeing invalid crypto compressor\n\nWhen crypto_alloc_acomp() fails, it returns an ERR_PTR value, not NULL.\n\nThe cleanup code in save_compressed_image() and load_compressed_image()\nunconditionally calls crypto_free_acomp() without checking for ERR_PTR,\nwhich causes crypto_acomp_tfm() to dereference an invalid pointer and\ncrash the kernel.\n\nThis can be triggered when the compression algorithm is unavailable\n(e.g., CONFIG_CRYPTO_LZO not enabled).\n\nFix by adding IS_ERR_OR_NULL() checks before calling crypto_free_acomp()\nand acomp_request_free(), similar to the existing kthread_stop() check.\n\n[ rjw: Added 2 empty code lines ]","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00174,"percentile":0.068,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/b7a883b0135dbc6817e90a829421c9fc8cd94bad","tags":[]},{"url":"https://git.kernel.org/stable/c/7966cf0ebe32c981bfa3db252cb5fc3bb1bf2e77","tags":[]}],"priority":{"score":1.4,"factors":[{"name":"EPSS percentile","points":1.36}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= b03d542c3c9569f549b1ba0cf7f4d90151fbf8ab, < b7a883b0135dbc6817e90a829421c9fc8cd94bad",">= b03d542c3c9569f549b1ba0cf7f4d90151fbf8ab, < 7966cf0ebe32c981bfa3db252cb5fc3bb1bf2e77"]},{"vendor":"Linux","product":"Linux","versions":["6.15"]}],"euvd":{"id":"EUVD-2026-5503","exploited":false,"provenance":"source"}}