Bug 2367591 (CVE-2025-37974) - CVE-2025-37974 kernel: s390/pci: Fix missing check for zpci_create_device() error return
Summary: CVE-2025-37974 kernel: s390/pci: Fix missing check for zpci_create_device() e...
Keywords:
Status: NEW
Alias: CVE-2025-37974
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-05-20 17:02 UTC by OSIDB Bzimport
Modified: 2026-06-29 20:45 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-05-20 17:02:19 UTC
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.

Comment 1 Jon Moroney 2025-05-21 03:00:59 UTC Comment hidden (spam)

Note You need to log in before you can comment on or make changes to this bug.