CVE-2024-42320

published 17 Aug 2024 · updated 17 Nov 2026

s390/dasd: fix error checks in dasd_copy_pair_store()

5.0MediumEPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel e511167e65d332d07b3c7a3d5a741ee9c19a8c27, Kernel 5.16, Kernel 68d4c3722290ad300c295fb3435e835d200d5cb2 and 5 more.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel>=a91ff09d39f9b6545254839ac91f1ff7bd21d39e <e511167e65d332d07b3c7a3d5a741ee9c19a8c27, >=5.15.153 <5.16, >=a91ff09d39f9b6545254839ac91f1ff7bd21d39e <68d4c3722290ad300c295fb3435e835d200d5cb2, >=a91ff09d39f9b6545254839ac91f1ff7bd21d39e <8e64d2356cbc800b4cd0e3e614797f76bcf0cdb8, >=a91ff09d39f9b6545254839ac91f1ff7bd21d39e <cc8b7284d5076722e0b8062373b68d8e47c3bace, =6.1, =932600a295cc299d470ca7f5d6491bd0dfc99ea7e511167e65d332d07b3c7a3d5a741ee9c19a8c27, 5.16, 68d4c3722290ad300c295fb3435e835d200d5cb2, 8e64d2356cbc800b4cd0e3e614797f76bcf0cdb8, cc8b7284d5076722e0b8062373b68d8e47c3bace
linux-kernel: Kernel>=6.1.0 <6.1.103, >=6.2.0 <6.6.44, >=6.7.0 <6.10.3, >=5.15.153 <5.166.1.103, 6.6.44, 6.10.3, 5.16

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-42320 severity on Zeptric[![CVE-2024-42320](https://zeptric.io/badge/cve/CVE-2024-42320.svg)](https://zeptric.io/cve/CVE-2024-42320)