CVE-2024-50281

Severity CVSS v4.0:
Pending analysis
Type:
CWE-476 NULL Pointer Dereference
Publication date:
19/11/2024
Last modified:
21/11/2024

Description

In the Linux kernel, the following vulnerability has been resolved:<br /> <br /> KEYS: trusted: dcp: fix NULL dereference in AEAD crypto operation<br /> <br /> When sealing or unsealing a key blob we currently do not wait for<br /> the AEAD cipher operation to finish and simply return after submitting<br /> the request. If there is some load on the system we can exit before<br /> the cipher operation is done and the buffer we read from/write to<br /> is already removed from the stack. This will e.g. result in NULL<br /> pointer dereference errors in the DCP driver during blob creation.<br /> <br /> Fix this by waiting for the AEAD cipher operation to finish before<br /> resuming the seal and unseal calls.

Vulnerable products and versions

CPE From Up to
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.11 (including) 6.11.8 (excluding)
cpe:2.3:o:linux:linux_kernel:6.10.7:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.12:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.12:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.12:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.12:rc4:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.12:rc5:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.12:rc6:*:*:*:*:*:*