CVE-2025-37974

Source
https://nvd.nist.gov/vuln/detail/CVE-2025-37974
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-37974.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-37974
Downstream
Related
Published
2025-05-20T16:47:19Z
Modified
2025-10-22T12:07:23.261701Z
Summary
s390/pci: Fix missing check for zpci_create_device() error return
Details

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

s390/pci: Fix missing check for zpcicreatedevice() error return

The zpcicreatedevice() function returns an error pointer that needs to be checked before dereferencing it as a struct zpcidev pointer. Add the missing check in _clpadd() where it was missed when adding the scanlist in the fixed commit. Simply not adding the device to the scan list results in the previous behavior.

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
1f3b309108fd0660ea8614a72328ba866ccd3378
Fixed
be54b750c333a9db7c3b3686846bb06b07b011fe
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
0467cdde8c4320bbfdb31a8cff1277b202f677fc
Fixed
2769b718e164df983c20c314b263a71a699be6cd
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
0467cdde8c4320bbfdb31a8cff1277b202f677fc
Fixed
42420c50c68f3e95e90de2479464f420602229fc

Affected versions

v6.*

v6.12
v6.12-rc3
v6.12-rc4
v6.12-rc5
v6.12-rc6
v6.12-rc7
v6.12.10
v6.12.11
v6.12.12
v6.12.13
v6.12.14
v6.12.15
v6.12.16
v6.12.17
v6.12.18
v6.12.19
v6.12.20
v6.12.21
v6.12.22
v6.12.23
v6.12.24
v6.12.25
v6.12.26
v6.12.27
v6.12.28
v6.12.5
v6.12.6
v6.12.7
v6.12.8
v6.12.9
v6.13
v6.13-rc1
v6.13-rc2
v6.13-rc3
v6.13-rc4
v6.13-rc5
v6.13-rc6
v6.13-rc7
v6.14
v6.14-rc1
v6.14-rc2
v6.14-rc3
v6.14-rc4
v6.14-rc5
v6.14-rc6
v6.14-rc7
v6.14.1
v6.14.2
v6.14.3
v6.14.4
v6.14.5
v6.14.6
v6.15-rc1
v6.15-rc2

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
6.12.29
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.14.7