CVE-2025-37974

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

published May 20, 2025

CVSS
—
EPSS
0%
Percentile
7.9
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00187 · 7.9th percentile
Published
2025-05-20T16:47Z
EPSS history
Timeline
  • 20 MAY 16:47Z
    s390/pci: Fix missing check for zpci_create_device() error return
    cvelistv5