{"id":"CVE-2024-42320","aliases":["CVE-2024-42320"],"related":[],"kind":"vulnerability","state":"published","title":"s390/dasd: fix error checks in dasd_copy_pair_store()","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: s390/dasd: corrige comprobaciones de errores en dasd_copy_pair_store() dasd_add_busid() puede devolver un error a través de ERR_PTR() si falla una asignación. Sin embargo, dos sitios de llamada en dasd_copy_pair_store() no verifican el resultado, lo que podría provocar una desreferencia del puntero NULL. Solucione este problema verificando el resultado con IS_ERR() y devolviendo el error en la pila.","source":"nvd"}],"published":"2024-08-17T09:09:32.695Z","modified":"2026-06-17T07:49:15.280Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-476"],"affected":[{"ranges":[{"type":"git","introduced":"a91ff09d39f9b6545254839ac91f1ff7bd21d39e","fixed":"cc8b7284d5076722e0b8062373b68d8e47c3bace","status":"affected"},{"type":"git","introduced":"a91ff09d39f9b6545254839ac91f1ff7bd21d39e","fixed":"e511167e65d332d07b3c7a3d5a741ee9c19a8c27","status":"affected"},{"type":"git","introduced":"a91ff09d39f9b6545254839ac91f1ff7bd21d39e","fixed":"68d4c3722290ad300c295fb3435e835d200d5cb2","status":"affected"},{"type":"git","introduced":"a91ff09d39f9b6545254839ac91f1ff7bd21d39e","fixed":"8e64d2356cbc800b4cd0e3e614797f76bcf0cdb8","status":"affected"},{"type":"git","version":"932600a295cc299d470ca7f5d6491bd0dfc99ea7","status":"affected"},{"type":"semver","introduced":"5.15.153","fixed":"5.16","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.1","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.1","status":"unaffected"},{"type":"semver","introduced":"6.1.103","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.44","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.10.3","lastAffected":"6.10.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.11","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"6.1","fixed":"6.1.103"},{"status":"affected","introduced":"6.2","fixed":"6.6.44"},{"status":"affected","introduced":"6.7","fixed":"6.10.3"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/cc8b7284d5076722e0b8062373b68d8e47c3bace","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e511167e65d332d07b3c7a3d5a741ee9c19a8c27","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/68d4c3722290ad300c295fb3435e835d200d5cb2","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8e64d2356cbc800b4cd0e3e614797f76bcf0cdb8","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-09-10T16:09:28.985Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-42320","url":"https://www.cve.org/CVERecord?id=CVE-2024-42320","licence":"CVE Terms of Use","modified":"2026-05-23T15:52:54.648Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-42320","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-42320","licence":"Public domain","modified":"2026-06-17T07:49:15.280Z"}],"updatedAt":"2026-11-25T22:58:44.484Z","epss":{"score":0.0021,"percentile":0.11799,"date":"2026-12-01T12:00:22.000Z"}}