CVE-2025-37974

Source
https://nvd.nist.gov/vuln/detail/CVE-2025-37974
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-37974.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2025-37974
Downstream
Related
Published
2025-05-20T16:47:19.676Z
Modified
2025-11-28T02:35:24.895027Z
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.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/37xxx/CVE-2025-37974.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
1f3b309108fd0660ea8614a72328ba866ccd3378
Fixed
be54b750c333a9db7c3b3686846bb06b07b011fe
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
0467cdde8c4320bbfdb31a8cff1277b202f677fc
Fixed
2769b718e164df983c20c314b263a71a699be6cd
Fixed
42420c50c68f3e95e90de2479464f420602229fc

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