← CVE Intelligence

CVE-2024-42320

s390/dasd: fix error checks in dasd_copy_pair_store() PUBLISHED

Description (CNA)

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

Affected (CNA)

Vendor / productVersions
Linux / Linuxaffected a91ff09d39f9b6545254839ac91f1ff7bd21d39e before cc8b7284d5076722e0b8062373b68d8e47c3bace; affected a91ff09d39f9b6545254839ac91f1ff7bd21d39e before e511167e65d332d07b3c7a3d5a741ee9c19a8c27; affected a91ff09d39f9b6545254839ac91f1ff7bd21d39e before 68d4c3722290ad300c295fb3435e835d200d5cb2; affected a91ff09d39f9b6545254839ac91f1ff7bd21d39e before 8e64d2356cbc800b4cd0e3e614797f76bcf0cdb8; affected 932600a295cc299d470ca7f5d6491bd0dfc99ea7; affected 5.15.153 before 5.16
Linux / Linuxaffected 6.1; unaffected 0 before 6.1; unaffected 6.1.103 through 6.1.*; unaffected 6.6.44 through 6.6.*; unaffected 6.10.3 through 6.10.*; unaffected 6.11 through *

CWE

No CWE identifiers supplied.

References

ADP enrichment

CISA-ADP

No English description supplied.

No references supplied.

CVE

No English description supplied.