CVE-2024-42320

Source
https://cve.org/CVERecord?id=CVE-2024-42320
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-42320.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-42320
Downstream
Related
Published
2024-08-17T09:09:32.695Z
Modified
2026-03-20T12:38:47.052059Z
Summary
s390/dasd: fix error checks in dasd_copy_pair_store()
Details

In the Linux kernel, the following vulnerability has been resolved:

s390/dasd: fix error checks in dasdcopypair_store()

dasdaddbusid() can return an error via ERRPTR() if an allocation fails. However, two callsites in dasdcopypairstore() 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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/42xxx/CVE-2024-42320.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / 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 Unknown introduced commit / All previous commits are affected
Last affected
932600a295cc299d470ca7f5d6491bd0dfc99ea7

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-42320.json"