In the Linux kernel, the following vulnerability has been resolved:
crypto: pcrypt - Call crypto layer directly when padatadoparallel() return -EBUSY
Since commit 8f4f68e788c3 ("crypto: pcrypt - Fix hungtask for PADATARESET"), the pcrypt encryption and decryption operations return -EAGAIN when the CPU goes online or offline. In algtest(), a WARN is generated when pcryptaeaddecrypt() or pcryptaeadencrypt() returns -EAGAIN, the unnecessary panic will occur when paniconwarn set 1. Fix this issue by calling crypto layer directly without parallelization in that case.
[ { "signature_type": "Function", "id": "CVE-2024-56690-028a102f", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@92834692a539b5b7f409e467a14667d64713b732", "signature_version": "v1", "target": { "function": "pcrypt_aead_decrypt", "file": "crypto/pcrypt.c" }, "digest": { "function_hash": "89242249561473239431941200862653383634", "length": 794.0 }, "deprecated": false }, { "signature_type": "Function", "id": "CVE-2024-56690-040940c2", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7ddab756f2de5b7b43c122ebebdf37f400fb2b6f", "signature_version": "v1", "target": { "function": "pcrypt_aead_decrypt", "file": "crypto/pcrypt.c" }, "digest": { "function_hash": "89242249561473239431941200862653383634", "length": 794.0 }, "deprecated": false }, { "signature_type": "Function", "id": "CVE-2024-56690-0abbe235", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@dd8bf8eb5beba1e7c3b11a9a5a58ccbf345a69e6", "signature_version": "v1", "target": { "function": "pcrypt_aead_encrypt", "file": "crypto/pcrypt.c" }, "digest": { "function_hash": "26533560554111556422527681453415738", "length": 753.0 }, "deprecated": false }, { "signature_type": "Function", "id": "CVE-2024-56690-21706cf7", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a8e0074ffb38c9a5964a221bb998034d016c93a2", "signature_version": "v1", "target": { "function": "pcrypt_aead_decrypt", "file": "crypto/pcrypt.c" }, "digest": { "function_hash": "89242249561473239431941200862653383634", "length": 794.0 }, "deprecated": false }, { "signature_type": "Function", "id": "CVE-2024-56690-2723eed9", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7ddab756f2de5b7b43c122ebebdf37f400fb2b6f", "signature_version": "v1", "target": { "function": "pcrypt_aead_encrypt", "file": "crypto/pcrypt.c" }, "digest": { "function_hash": "269515793359323705794997487530761141983", "length": 794.0 }, "deprecated": false }, { "signature_type": "Function", "id": "CVE-2024-56690-2884fe8b", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@96001f52ae8c70e2c736d3e1e5dc53d5b521e5ca", "signature_version": "v1", "target": { "function": "pcrypt_aead_decrypt", "file": "crypto/pcrypt.c" }, "digest": { "function_hash": "89242249561473239431941200862653383634", "length": 794.0 }, "deprecated": false }, { "signature_type": "Function", "id": "CVE-2024-56690-3555a5eb", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@dd8bf8eb5beba1e7c3b11a9a5a58ccbf345a69e6", "signature_version": "v1", "target": { "function": "pcrypt_aead_decrypt", "file": "crypto/pcrypt.c" }, "digest": { "function_hash": "43980754434268478271403221463959452933", "length": 753.0 }, "deprecated": false }, { "signature_type": "Function", "id": "CVE-2024-56690-37e3b54d", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@92834692a539b5b7f409e467a14667d64713b732", "signature_version": "v1", "target": { "function": "pcrypt_aead_encrypt", "file": "crypto/pcrypt.c" }, "digest": { "function_hash": "269515793359323705794997487530761141983", "length": 794.0 }, "deprecated": false }, { "signature_type": "Function", "id": "CVE-2024-56690-3f8b2fa2", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a92ccd3618e42333ac6f150ecdac14dca298bc7a", "signature_version": "v1", "target": { "function": "pcrypt_aead_encrypt", "file": "crypto/pcrypt.c" }, "digest": { "function_hash": "269515793359323705794997487530761141983", "length": 794.0 }, "deprecated": false }, { "signature_type": "Function", "id": "CVE-2024-56690-412ebcce", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@fca8aed12218f96b38e374ff264d78ea1fbd23cc", "signature_version": "v1", "target": { "function": "pcrypt_aead_encrypt", "file": "crypto/pcrypt.c" }, "digest": { "function_hash": "269515793359323705794997487530761141983", "length": 794.0 }, "deprecated": false }, { "signature_type": "Line", "id": "CVE-2024-56690-512ad840", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a92ccd3618e42333ac6f150ecdac14dca298bc7a", "signature_version": "v1", "target": { "file": "crypto/pcrypt.c" }, "digest": { "threshold": 0.9, "line_hashes": [ "218398870235262142091198205592999903697", "26588626535975364977542320933571755020", "272332354943488456164411127023917150270", "23733842727648449594896607092004901894", "208717178532282687081916723666578958869", "226523784699132363591013077077875422524", "26588626535975364977542320933571755020", "272332354943488456164411127023917150270", "23733842727648449594896607092004901894", "143547009202416174823433807915444601382" ] }, "deprecated": false }, { "signature_type": "Line", "id": "CVE-2024-56690-66d1fbb0", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@92834692a539b5b7f409e467a14667d64713b732", "signature_version": "v1", "target": { "file": "crypto/pcrypt.c" }, "digest": { "threshold": 0.9, "line_hashes": [ "218398870235262142091198205592999903697", "26588626535975364977542320933571755020", "272332354943488456164411127023917150270", "23733842727648449594896607092004901894", "208717178532282687081916723666578958869", "226523784699132363591013077077875422524", "26588626535975364977542320933571755020", "272332354943488456164411127023917150270", "23733842727648449594896607092004901894", "143547009202416174823433807915444601382" ] }, "deprecated": false }, { "signature_type": "Line", "id": "CVE-2024-56690-68eb6497", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@662f2f13e66d3883b9238b0b96b17886179e60e2", "signature_version": "v1", "target": { "file": "crypto/pcrypt.c" }, "digest": { "threshold": 0.9, "line_hashes": [ "218398870235262142091198205592999903697", "26588626535975364977542320933571755020", "272332354943488456164411127023917150270", "23733842727648449594896607092004901894", "208717178532282687081916723666578958869", "226523784699132363591013077077875422524", "26588626535975364977542320933571755020", "272332354943488456164411127023917150270", "23733842727648449594896607092004901894", "143547009202416174823433807915444601382" ] }, "deprecated": false }, { "signature_type": "Function", "id": "CVE-2024-56690-6eeff067", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@662f2f13e66d3883b9238b0b96b17886179e60e2", "signature_version": "v1", "target": { "function": "pcrypt_aead_encrypt", "file": "crypto/pcrypt.c" }, "digest": { "function_hash": "269515793359323705794997487530761141983", "length": 794.0 }, "deprecated": false }, { "signature_type": "Function", "id": "CVE-2024-56690-71769947", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@96001f52ae8c70e2c736d3e1e5dc53d5b521e5ca", "signature_version": "v1", "target": { "function": "pcrypt_aead_encrypt", "file": "crypto/pcrypt.c" }, "digest": { "function_hash": "269515793359323705794997487530761141983", "length": 794.0 }, "deprecated": false }, { "signature_type": "Line", "id": "CVE-2024-56690-72754fdc", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7ddab756f2de5b7b43c122ebebdf37f400fb2b6f", "signature_version": "v1", "target": { "file": "crypto/pcrypt.c" }, "digest": { "threshold": 0.9, "line_hashes": [ "218398870235262142091198205592999903697", "26588626535975364977542320933571755020", "272332354943488456164411127023917150270", "23733842727648449594896607092004901894", "208717178532282687081916723666578958869", "226523784699132363591013077077875422524", "26588626535975364977542320933571755020", "272332354943488456164411127023917150270", "23733842727648449594896607092004901894", "143547009202416174823433807915444601382" ] }, "deprecated": false }, { "signature_type": "Line", "id": "CVE-2024-56690-75ed4e7b", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@96001f52ae8c70e2c736d3e1e5dc53d5b521e5ca", "signature_version": "v1", "target": { "file": "crypto/pcrypt.c" }, "digest": { "threshold": 0.9, "line_hashes": [ "218398870235262142091198205592999903697", "26588626535975364977542320933571755020", "272332354943488456164411127023917150270", "23733842727648449594896607092004901894", "208717178532282687081916723666578958869", "226523784699132363591013077077875422524", "26588626535975364977542320933571755020", "272332354943488456164411127023917150270", "23733842727648449594896607092004901894", "143547009202416174823433807915444601382" ] }, "deprecated": false }, { "signature_type": "Line", "id": "CVE-2024-56690-83cbe0b3", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@fca8aed12218f96b38e374ff264d78ea1fbd23cc", "signature_version": "v1", "target": { "file": "crypto/pcrypt.c" }, "digest": { "threshold": 0.9, "line_hashes": [ "218398870235262142091198205592999903697", "26588626535975364977542320933571755020", "272332354943488456164411127023917150270", "23733842727648449594896607092004901894", "208717178532282687081916723666578958869", "226523784699132363591013077077875422524", "26588626535975364977542320933571755020", "272332354943488456164411127023917150270", "23733842727648449594896607092004901894", "143547009202416174823433807915444601382" ] }, "deprecated": false }, { "signature_type": "Function", "id": "CVE-2024-56690-8ba7258b", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a92ccd3618e42333ac6f150ecdac14dca298bc7a", "signature_version": "v1", "target": { "function": "pcrypt_aead_decrypt", "file": "crypto/pcrypt.c" }, "digest": { "function_hash": "89242249561473239431941200862653383634", "length": 794.0 }, "deprecated": false }, { "signature_type": "Line", "id": "CVE-2024-56690-9027667a", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@dd8bf8eb5beba1e7c3b11a9a5a58ccbf345a69e6", "signature_version": "v1", "target": { "file": "crypto/pcrypt.c" }, "digest": { "threshold": 0.9, "line_hashes": [ "169292253445932106392374421287048497992", "26588626535975364977542320933571755020", "272332354943488456164411127023917150270", "23733842727648449594896607092004901894", "208717178532282687081916723666578958869", "305222530256796377608526220939644979350", "26588626535975364977542320933571755020", "272332354943488456164411127023917150270", "23733842727648449594896607092004901894", "143547009202416174823433807915444601382" ] }, "deprecated": false }, { "signature_type": "Function", "id": "CVE-2024-56690-a4456dcc", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5edae7a9a35606017ee6e05911c290acee9fee5a", "signature_version": "v1", "target": { "function": "pcrypt_aead_decrypt", "file": "crypto/pcrypt.c" }, "digest": { "function_hash": "89242249561473239431941200862653383634", "length": 794.0 }, "deprecated": false }, { "signature_type": "Function", "id": "CVE-2024-56690-a857db1a", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@662f2f13e66d3883b9238b0b96b17886179e60e2", "signature_version": "v1", "target": { "function": "pcrypt_aead_decrypt", "file": "crypto/pcrypt.c" }, "digest": { "function_hash": "89242249561473239431941200862653383634", "length": 794.0 }, "deprecated": false }, { "signature_type": "Function", "id": "CVE-2024-56690-c2b18b70", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a8e0074ffb38c9a5964a221bb998034d016c93a2", "signature_version": "v1", "target": { "function": "pcrypt_aead_encrypt", "file": "crypto/pcrypt.c" }, "digest": { "function_hash": "269515793359323705794997487530761141983", "length": 794.0 }, "deprecated": false }, { "signature_type": "Line", "id": "CVE-2024-56690-c589965f", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a8e0074ffb38c9a5964a221bb998034d016c93a2", "signature_version": "v1", "target": { "file": "crypto/pcrypt.c" }, "digest": { "threshold": 0.9, "line_hashes": [ "218398870235262142091198205592999903697", "26588626535975364977542320933571755020", "272332354943488456164411127023917150270", "23733842727648449594896607092004901894", "208717178532282687081916723666578958869", "226523784699132363591013077077875422524", "26588626535975364977542320933571755020", "272332354943488456164411127023917150270", "23733842727648449594896607092004901894", "143547009202416174823433807915444601382" ] }, "deprecated": false }, { "signature_type": "Function", "id": "CVE-2024-56690-d92b30ac", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5edae7a9a35606017ee6e05911c290acee9fee5a", "signature_version": "v1", "target": { "function": "pcrypt_aead_encrypt", "file": "crypto/pcrypt.c" }, "digest": { "function_hash": "269515793359323705794997487530761141983", "length": 794.0 }, "deprecated": false }, { "signature_type": "Function", "id": "CVE-2024-56690-e9512267", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@fca8aed12218f96b38e374ff264d78ea1fbd23cc", "signature_version": "v1", "target": { "function": "pcrypt_aead_decrypt", "file": "crypto/pcrypt.c" }, "digest": { "function_hash": "89242249561473239431941200862653383634", "length": 794.0 }, "deprecated": false }, { "signature_type": "Line", "id": "CVE-2024-56690-ef49e0ec", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5edae7a9a35606017ee6e05911c290acee9fee5a", "signature_version": "v1", "target": { "file": "crypto/pcrypt.c" }, "digest": { "threshold": 0.9, "line_hashes": [ "218398870235262142091198205592999903697", "26588626535975364977542320933571755020", "272332354943488456164411127023917150270", "23733842727648449594896607092004901894", "208717178532282687081916723666578958869", "226523784699132363591013077077875422524", "26588626535975364977542320933571755020", "272332354943488456164411127023917150270", "23733842727648449594896607092004901894", "143547009202416174823433807915444601382" ] }, "deprecated": false } ]