CVE-2024-56690

medium

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.

References

https://git.kernel.org/stable/c/fca8aed12218f96b38e374ff264d78ea1fbd23cc

https://git.kernel.org/stable/c/dd8bf8eb5beba1e7c3b11a9a5a58ccbf345a69e6

https://git.kernel.org/stable/c/a92ccd3618e42333ac6f150ecdac14dca298bc7a

https://git.kernel.org/stable/c/a8e0074ffb38c9a5964a221bb998034d016c93a2

https://git.kernel.org/stable/c/96001f52ae8c70e2c736d3e1e5dc53d5b521e5ca

https://git.kernel.org/stable/c/92834692a539b5b7f409e467a14667d64713b732

https://git.kernel.org/stable/c/7ddab756f2de5b7b43c122ebebdf37f400fb2b6f

https://git.kernel.org/stable/c/662f2f13e66d3883b9238b0b96b17886179e60e2

https://git.kernel.org/stable/c/5edae7a9a35606017ee6e05911c290acee9fee5a

Details

Source: Mitre, NVD

Published: 2024-12-28

Updated: 2024-12-28

Risk Information

CVSS v2

Base Score: 3.8

Vector: CVSS2#AV:L/AC:H/Au:S/C:N/I:N/A:C

Severity: Low

CVSS v3

Base Score: 4.7

Vector: CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H

Severity: Medium