{"id":"CVE-2024-42320","summary":"s390/dasd: fix error checks in dasd_copy_pair_store()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\ns390/dasd: fix error checks in dasd_copy_pair_store()\n\ndasd_add_busid() can return an error via ERR_PTR() if an allocation\nfails. However, two callsites in dasd_copy_pair_store() do not check\nthe result, potentially resulting in a NULL pointer dereference. Fix\nthis by checking the result with IS_ERR() and returning the error up\nthe stack.","modified":"2026-03-20T12:38:47.052059Z","published":"2024-08-17T09:09:32.695Z","related":["MGASA-2024-0309","MGASA-2024-0310","SUSE-SU-2024:3190-1","SUSE-SU-2024:3194-1","SUSE-SU-2024:3195-1","SUSE-SU-2024:3209-1","SUSE-SU-2024:3383-1","SUSE-SU-2024:3483-1","SUSE-SU-2025:20044-1","SUSE-SU-2025:20047-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/42xxx/CVE-2024-42320.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/68d4c3722290ad300c295fb3435e835d200d5cb2"},{"type":"WEB","url":"https://git.kernel.org/stable/c/8e64d2356cbc800b4cd0e3e614797f76bcf0cdb8"},{"type":"WEB","url":"https://git.kernel.org/stable/c/cc8b7284d5076722e0b8062373b68d8e47c3bace"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e511167e65d332d07b3c7a3d5a741ee9c19a8c27"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/42xxx/CVE-2024-42320.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-42320"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"a91ff09d39f9b6545254839ac91f1ff7bd21d39e"},{"fixed":"cc8b7284d5076722e0b8062373b68d8e47c3bace"},{"fixed":"e511167e65d332d07b3c7a3d5a741ee9c19a8c27"},{"fixed":"68d4c3722290ad300c295fb3435e835d200d5cb2"},{"fixed":"8e64d2356cbc800b4cd0e3e614797f76bcf0cdb8"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"0"},{"last_affected":"932600a295cc299d470ca7f5d6491bd0dfc99ea7"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-42320.json"}}],"schema_version":"1.7.5"}