{"id":"CVE-2026-99502","summary":"s390/pci: Fix double-free and NULL deref in zpci MSI domain cleanup","details":"In the Linux kernel, the following vulnerability has been resolved:\n\ns390/pci: Fix double-free and NULL deref in zpci MSI domain cleanup\n\nzpci_remove_parent_msi_domain() dereferences zbus-\u003emsi_parent_domain\nunconditionally and does not clear it afterwards.\n\nzpci_bus_create_pci_bus() removes the domain when pci_create_root_bus()\nfails, then zpci_bus_release() removes it again on the last kref_put(),\nreading -\u003efwnode from the freed irq_domain and freeing it twice.\n\nIf zpci_alloc_domain() or zpci_create_parent_msi_domain() fails, no domain\nis created at all; zbus is kzalloc'd, so the same release path dereferences\nNULL.\n\nReturn early when there is no domain, and clear the pointer after removing\none.","modified":"2026-11-19T17:01:26.719091396Z","published":"2026-11-19T14:43:51.304Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99502.json","cna_assigner":"Linux"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/31c66bd273303590fe69fad370e72a12faa0bf76"},{"type":"WEB","url":"https://git.kernel.org/stable/c/5259b258f234cca127651cd983ea879a7ad4ea8c"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99502.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99502"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"f770950a4709af290f314e691897ec0003fbd8ae"},{"fixed":"5259b258f234cca127651cd983ea879a7ad4ea8c"},{"fixed":"31c66bd273303590fe69fad370e72a12faa0bf76"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99502.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.3.2"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99502.json"}}],"schema_version":"1.9.2"}