Bug 2334676 (CVE-2024-56690) - CVE-2024-56690 kernel: crypto: pcrypt - Call crypto layer directly when padata_do_parallel() return -EBUSY
Summary: CVE-2024-56690 kernel: crypto: pcrypt - Call crypto layer directly when padat...
Keywords:
Status: NEW
Alias: CVE-2024-56690
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-12-28 10:01 UTC by OSIDB Bzimport
Modified: 2025-02-12 04:17 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2024-12-28 10:01:56 UTC
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.

Comment 1 Avinash Hanwate 2024-12-29 06:49:57 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2024122834-CVE-2024-56690-b77f@gregkh/T


Note You need to log in before you can comment on or make changes to this bug.