CVE-2024-42320

Severity CVSS v4.0:
Pending analysis
Type:
CWE-476 NULL Pointer Dereference
Publication date:
17/08/2024
Last modified:
03/11/2025

Description

In the Linux kernel, the following vulnerability has been resolved:<br /> <br /> s390/dasd: fix error checks in dasd_copy_pair_store()<br /> <br /> dasd_add_busid() can return an error via ERR_PTR() if an allocation<br /> fails. However, two callsites in dasd_copy_pair_store() do not check<br /> the result, potentially resulting in a NULL pointer dereference. Fix<br /> this by checking the result with IS_ERR() and returning the error up<br /> the stack.

Vulnerable products and versions

CPE From Up to
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.1 (including) 6.1.103 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.2 (including) 6.6.44 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.7 (including) 6.10.3 (excluding)