What’s Vulnerable › Vulnerabilities
CVE-2025-37974: s390/pci: Fix missing check for zpci_create_device() error return
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-05-20 · updated 2026-06-17
- Weakness: CWE-476
Description
In the Linux kernel, the following vulnerability has been resolved: s390/pci: Fix missing check for zpci_create_device() error return The zpci_create_device() function returns an error pointer that needs to be checked before dereferencing it as a struct zpci_dev pointer. Add the missing check in __clp_add() where it was missed when adding the scan_list in the fixed commit. Simply not adding the device to the scan list results in the previous behavior.
Affected products
- Linux kernel: from 6.12.5 before 6.12.29; from 6.13 before 6.14.7; 6.15-rc1, 6.15-rc2, 6.15-rc3, 6.15-rc4, 6.15-rc5 — fixed in 6.12.29, 6.14.7
How to fix
Upgrade to a fixed version: Linux kernel 6.12.29, 6.14.7. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/2769b718e164df983c20c314b263a71a699be6cd
- https://git.kernel.org/stable/c/42420c50c68f3e95e90de2479464f420602229fc
- https://git.kernel.org/stable/c/be54b750c333a9db7c3b3686846bb06b07b011fe
Get alerted when CVE-2025-37974 or the next vulnerability affects your stack