CVE-2026-99502

Source
https://cve.org/CVERecord?id=CVE-2026-99502
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99502.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-99502
Downstream
Published
2026-11-19T14:43:51Z
Modified
2026-11-19T17:01:26Z
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:

s390/pci: Fix double-free and NULL deref in zpci MSI domain cleanup

zpci_remove_parent_msi_domain() dereferences zbus->msi_parent_domain unconditionally and does not clear it afterwards.

zpci_bus_create_pci_bus() removes the domain when pci_create_root_bus() fails, then zpci_bus_release() removes it again on the last kref_put(), reading ->fwnode from the freed irq_domain and freeing it twice.

If zpci_alloc_domain() or zpci_create_parent_msi_domain() fails, no domain is created at all; zbus is kzalloc'd, so the same release path dereferences NULL.

Return early when there is no domain, and clear the pointer after removing one.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99502.json"
}
References

Affected packages

Git / 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
f770950a4709af290f314e691897ec0003fbd8ae
Fixed
5259b258f234cca127651cd983ea879a7ad4ea8c
Fixed
31c66bd273303590fe69fad370e72a12faa0bf76

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99502.json"

Linux / Kernel

Package

Name
Kernel

Affected 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"