{"id":"CVE-2026-23044","aliases":["CVE-2026-23044"],"related":[],"kind":"vulnerability","state":"published","title":"PM: hibernate: Fix crash when freeing invalid crypto compressor","summary":"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 ]","summarySource":"cvelist","descriptions":[{"lang":"en","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 ]","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nPM: hibernate: Corrige un fallo al liberar un compresor criptográfico no válido\n\nCuando crypto_alloc_acomp() falla, devuelve un valor ERR_PTR, no NULL.\n\nEl código de limpieza en save_compressed_image() y load_compressed_image() llama incondicionalmente a crypto_free_acomp() sin comprobar si hay ERR_PTR, lo que provoca que crypto_acomp_tfm() desreferencie un puntero no válido y provoque un fallo en el kernel.\n\nEsto puede activarse cuando el algoritmo de compresión no está disponible (p. ej., CONFIG_CRYPTO_LZO no habilitado).\n\nSolución añadiendo comprobaciones IS_ERR_OR_NULL() antes de llamar a crypto_free_acomp() y acomp_request_free(), similar a la comprobación kthread_stop() existente.\n\n[ rjw: Added 2 empty code lines ]","source":"nvd"}],"published":"2026-02-04T16:00:27.153Z","modified":"2026-06-17T10:20:45.903Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"b03d542c3c9569f549b1ba0cf7f4d90151fbf8ab","fixed":"b7a883b0135dbc6817e90a829421c9fc8cd94bad","status":"affected"},{"type":"git","introduced":"b03d542c3c9569f549b1ba0cf7f4d90151fbf8ab","fixed":"7966cf0ebe32c981bfa3db252cb5fc3bb1bf2e77","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.15","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.15","status":"unaffected"},{"type":"semver","introduced":"6.18.6","lastAffected":"6.18.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.19","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/b7a883b0135dbc6817e90a829421c9fc8cd94bad","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/7966cf0ebe32c981bfa3db252cb5fc3bb1bf2e77","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-23044","url":"https://www.cve.org/CVERecord?id=CVE-2026-23044","licence":"CVE Terms of Use","modified":"2026-05-11T21:58:54.981Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-23044","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-23044","licence":"Public domain","modified":"2026-06-17T10:20:45.903Z"}],"updatedAt":"2026-11-25T22:59:13.447Z","epss":{"score":0.00174,"percentile":0.07113,"date":"2026-12-01T12:00:22.000Z"}}