{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-42320","id":"CVE-2024-42320","title":"s390/dasd: fix error checks in dasd_copy_pair_store()","description":"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\nt","descriptionLong":"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.","published":"2024-08-17T09:09:32.695Z","updated":"2026-11-17T07:01:18.304249818Z","reserved":"2024-07-30T07:40:12.279Z","status":"Modified","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},"metrics":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"}],"rating":"medium","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"a91ff09d39f9b6545254839ac91f1ff7bd21d39e","lessThan":"cc8b7284d5076722e0b8062373b68d8e47c3bace","status":"affected","versionType":"git"},{"version":"a91ff09d39f9b6545254839ac91f1ff7bd21d39e","lessThan":"e511167e65d332d07b3c7a3d5a741ee9c19a8c27","status":"affected","versionType":"git"},{"version":"a91ff09d39f9b6545254839ac91f1ff7bd21d39e","lessThan":"68d4c3722290ad300c295fb3435e835d200d5cb2","status":"affected","versionType":"git"},{"version":"a91ff09d39f9b6545254839ac91f1ff7bd21d39e","lessThan":"8e64d2356cbc800b4cd0e3e614797f76bcf0cdb8","status":"affected","versionType":"git"},{"version":"932600a295cc299d470ca7f5d6491bd0dfc99ea7","status":"affected","versionType":"git"},{"version":"5.15.153","lessThan":"5.16","status":"affected","versionType":"semver"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.1","status":"affected"},{"version":"0","lessThan":"6.1","status":"unaffected","versionType":"semver"},{"version":"6.1.103","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.44","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.10.3","lessThanOrEqual":"6.10.*","status":"unaffected","versionType":"semver"},{"version":"6.11","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-476"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/cc8b7284d5076722e0b8062373b68d8e47c3bace","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/e511167e65d332d07b3c7a3d5a741ee9c19a8c27","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/68d4c3722290ad300c295fb3435e835d200d5cb2","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/8e64d2356cbc800b4cd0e3e614797f76bcf0cdb8","tags":["Patch","web"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/42xxx/CVE-2024-42320.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-42320","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.0021,"epssPercentile":0.11266,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-42320","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-42320","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-42320","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-42320","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}