CVE-2024-56690
JSON

5.5medium

crypto: pcrypt - Call crypto layer directly when padata_do_parallel() return -EBUSY

Severity
5.5medium CVSS:3.1 by NVD
Exploit likelihood
0.22% (higher than 13% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

Description

In the Linux kernel, the following vulnerability has been resolved: crypto: pcrypt - Call crypto layer directly when padata_do_parallel() return -EBUSY Since commit 8f4f68e788c3 ("crypto: pcrypt - Fix hungtask for PADATA_RESET"), the pcrypt encryption and decryption operations return -EAGAIN when the CPU goes online or offline. In alg_test(), a WARN is generated when pcrypt_aead_decrypt() or pcrypt_aead_encrypt() returns -EAGAIN, the unnecessary panic will occur when panic_on_warn set 1. Fix this issue by calling crypto layer directly without parallelization in that case.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 039fec48e062504f14845124a1a25eb199b2ddc0 before dd8bf8eb5beba1e7c3b11a9a5a58ccbf345a69e6, from c9c1334697301c10e6918d747ed38abfbc0c96e7 before fca8aed12218f96b38e374ff264d78ea1fbd23cc, from e97bf4ada7dddacd184c3e196bd063b0dc71b41d before a92ccd3618e42333ac6f150ecdac14dca298bc7a, from 546c1796ad1ed0d87dab3c4b5156d75819be2316 before 96001f52ae8c70e2c736d3e1e5dc53d5b521e5ca, from c55fc098fd9d2dca475b82d00ffbcaf97879d77e before 92834692a539b5b7f409e467a14667d64713b732, from 372636debe852913529b1716f44addd94fff2d28 before 5edae7a9a35606017ee6e05911c290acee9fee5a, from 8f4f68e788c3a7a696546291258bfa5fdb215523 before a8e0074ffb38c9a5964a221bb998034d016c93a2, from 8f4f68e788c3a7a696546291258bfa5fdb215523 before 7ddab756f2de5b7b43c122ebebdf37f400fb2b6f and 12 more
Not affected: before 6.7, from 4.19.325 up to 4.19.*, from 5.4.287 up to 5.4.*, from 5.10.231 up to 5.10.*, from 5.15.174 up to 5.15.*, from 6.1.120 up to 6.1.*
CVE List
linux linux_kernelfrom 4.14.331 before 4.15, from 4.19.300 before 4.19.325, from 5.4.262 before 5.4.287, from 5.10.202 before 5.10.231, from 5.15.140 before 5.15.174, from 6.1.64 before 6.1.120, from 6.5.13 before 6.6, from 6.6.3 before 6.6.64 and 2 moreNVD

Classification

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

In the Linux kernel, the following vulnerability has been resolved: crypto: pcrypt - Call crypto layer directly when padata_do_parallel() return -EBUSY Since commit 8f4f68e788c3 ("crypto: pcrypt - Fix hungtask for PADATA_RESET"), the pcrypt encryption and decryption operations return -EAGAIN when the CPU goes online or offline. In alg_test(), a WARN is generated when pcrypt_aead_decrypt() or pcrypt_aead_encrypt() returns -EAGAIN, the unnecessary panic will occur when panic_on_warn set 1. Fix this issue by calling crypto layer directly without parallelization in that case.

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: crypto: pcrypt - Llamar a la capa de cifrado directamente cuando padata_do_parallel() devuelve -EBUSY Desde el commit 8f4f68e788c3 ("crypto: pcrypt - Fix hungtask for PADATA_RESET"), las operaciones de cifrado y descifrado de pcrypt devuelven -EAGAIN cuando la CPU se conecta o desconecta. En alg_test(), se genera una ADVERTENCIA cuando pcrypt_aead_decrypt() o pcrypt_aead_encrypt() devuelve -EAGAIN, el pánico innecesario ocurrirá cuando panic_on_warn se establezca en 1. Solucione este problema llamando a la capa de cifrado directamente sin paralelización en ese caso.

References

https://git.kernel.org/stable/c/dd8bf8eb5beba1e7c3b11a9a5a58ccbf345a69e6patch
https://git.kernel.org/stable/c/fca8aed12218f96b38e374ff264d78ea1fbd23ccpatch
https://git.kernel.org/stable/c/a92ccd3618e42333ac6f150ecdac14dca298bc7apatch
https://git.kernel.org/stable/c/96001f52ae8c70e2c736d3e1e5dc53d5b521e5capatch
https://git.kernel.org/stable/c/92834692a539b5b7f409e467a14667d64713b732patch
https://git.kernel.org/stable/c/5edae7a9a35606017ee6e05911c290acee9fee5apatch
https://git.kernel.org/stable/c/a8e0074ffb38c9a5964a221bb998034d016c93a2patch
https://git.kernel.org/stable/c/7ddab756f2de5b7b43c122ebebdf37f400fb2b6fpatch
https://git.kernel.org/stable/c/662f2f13e66d3883b9238b0b96b17886179e60e2patch
https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html
https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html

Sources

SourceRecordLicence
CVE ListCVE-2024-56690 changed 2026-11-05CVE Terms of Use
NVDCVE-2024-56690 changed 2026-11-05Public domain