{"id":"CVE-2025-37974","aliases":["CVE-2025-37974"],"related":[],"kind":"vulnerability","state":"published","title":"s390/pci: Fix missing check for zpci_create_device() error return","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: s390/pci: Se corrige la falta de comprobación para el retorno del error zpci_create_device(). La función zpci_create_device() devuelve un puntero de error que debe comprobarse antes de desreferenciarlo como puntero struct zpci_dev. Se añade la comprobación faltante en __clp_add(), donde se omitió al añadir la lista de escaneo en el commit corregida. Simplemente no añadir el dispositivo a la lista de escaneo provoca el comportamiento anterior.","source":"nvd"}],"published":"2025-05-20T16:47:19.676Z","modified":"2026-11-05T21:18:00.347Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-476"],"affected":[{"ranges":[{"type":"git","introduced":"1f3b309108fd0660ea8614a72328ba866ccd3378","fixed":"be54b750c333a9db7c3b3686846bb06b07b011fe","status":"affected"},{"type":"git","introduced":"0467cdde8c4320bbfdb31a8cff1277b202f677fc","fixed":"2769b718e164df983c20c314b263a71a699be6cd","status":"affected"},{"type":"git","introduced":"0467cdde8c4320bbfdb31a8cff1277b202f677fc","fixed":"42420c50c68f3e95e90de2479464f420602229fc","status":"affected"},{"type":"semver","introduced":"6.12.5","fixed":"6.12.29","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.13","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.13","status":"unaffected"},{"type":"semver","introduced":"6.12.29","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.14.7","lastAffected":"6.14.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.15","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"6.12.5","fixed":"6.12.29"},{"status":"affected","introduced":"6.13","fixed":"6.14.7"},{"status":"affected","version":"6.15"},{"status":"affected","version":"6.15"},{"status":"affected","version":"6.15"},{"status":"affected","version":"6.15"},{"status":"affected","version":"6.15"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/be54b750c333a9db7c3b3686846bb06b07b011fe","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2769b718e164df983c20c314b263a71a699be6cd","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/42420c50c68f3e95e90de2479464f420602229fc","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-05T20:46:42.986Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-37974","url":"https://www.cve.org/CVERecord?id=CVE-2025-37974","licence":"CVE Terms of Use","modified":"2026-11-05T20:52:10.069Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-37974","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-37974","licence":"Public domain","modified":"2026-11-05T21:18:00.347Z"}],"updatedAt":"2026-11-25T22:58:58.316Z","epss":{"score":0.00188,"percentile":0.08754,"date":"2026-12-01T12:00:22.000Z"}}