{"id":"CVE-2025-37974","summary":"s390/pci: Fix missing check for zpci_create_device() error return","details":"In the Linux kernel, the following vulnerability has been resolved:\n\ns390/pci: Fix missing check for zpci_create_device() error return\n\nThe zpci_create_device() function returns an error pointer that needs to\nbe checked before dereferencing it as a struct zpci_dev pointer. Add the\nmissing check in __clp_add() where it was missed when adding the\nscan_list in the fixed commit. Simply not adding the device to the scan\nlist results in the previous behavior.","modified":"2026-03-20T12:42:36.035741Z","published":"2025-05-20T16:47:19.676Z","related":["SUSE-SU-2025:01919-1","SUSE-SU-2025:01951-1","SUSE-SU-2025:01964-1","SUSE-SU-2025:01965-1","SUSE-SU-2025:01967-1","SUSE-SU-2025:01972-1","SUSE-SU-2025:02000-1","SUSE-SU-2025:20408-1","SUSE-SU-2025:20413-1","SUSE-SU-2025:20419-1","SUSE-SU-2025:20421-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/37xxx/CVE-2025-37974.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/2769b718e164df983c20c314b263a71a699be6cd"},{"type":"WEB","url":"https://git.kernel.org/stable/c/42420c50c68f3e95e90de2479464f420602229fc"},{"type":"WEB","url":"https://git.kernel.org/stable/c/be54b750c333a9db7c3b3686846bb06b07b011fe"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/37xxx/CVE-2025-37974.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-37974"},{"type":"PACKAGE","url":"https://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"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-37974.json"}}],"schema_version":"1.7.5"}