CVE-2024-42320

Source
https://cve.org/CVERecord?id=CVE-2024-42320
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-42320.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-42320
Downstream
BELL (1)
DEBIAN (1)
MGASA (2)
OESA (1)
ROOT (1)
SUSE (8)
UBUNTU (1)
Related
Published
2024-08-17T09:09:32Z
Modified
2026-10-08T02:48:43Z
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 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.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/42xxx/CVE-2024-42320.json"
}
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
5.15.153
Fixed
5.16
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
932600a295cc299d470ca7f5d6491bd0dfc99ea7

Affected versions

v5.*
v5.15.153
v5.15.154
v5.15.155
v5.15.156
v5.15.157
v5.15.158
v5.15.159
v5.15.160
v5.15.161
v5.15.162
v5.15.163
v5.15.164
v5.15.165
v5.15.166
v5.15.167
v5.15.168
v5.15.169
v5.15.170
v5.15.171
v5.15.172
v5.15.173
v5.15.174
v5.15.175
v5.15.176
v5.15.177
v5.15.178
v5.15.179
v5.15.180
v5.15.181
v5.15.182
v5.15.183
v5.15.184
v5.15.185
v5.15.186
v5.15.187
v5.15.188
v5.15.189
v5.15.190
v5.15.191
v5.15.192
v5.15.193
v5.15.194
v5.15.195
v5.15.196
v5.15.197
v5.15.198
v5.15.199
v5.15.200
v5.15.201
v5.15.202
v5.15.203
v5.15.204
v5.15.205
v5.15.206
v5.15.207
v5.15.208
v5.15.209
v5.15.210
v5.15.211
v5.15.212
v5.15.213
v5.15.214
v5.15.215
v5.15.216
v5.15.217
v5.15.218
v5.15.219
v5.15.220
v5.15.221
v5.15.222

Database specific

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

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.1.0
Fixed
6.1.103
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.44
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.10.3

Database specific

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