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

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.20%, higher than 5% of CVEs (2026-11-30)
- Published: 2026-11-19T14:43:51.304Z
- Modified: 2026-11-19T15:18:05.320Z
- Assigned by: Linux

## Description

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.

(As written by CVE List.)

## Affected

- Linux Linux: from f770950a4709af290f314e691897ec0003fbd8ae before 5259b258f234cca127651cd983ea879a7ad4ea8c; from f770950a4709af290f314e691897ec0003fbd8ae before 31c66bd273303590fe69fad370e72a12faa0bf76; 6.19 (not affected: before 6.19; from 7.3.2 up to 7.3.*; from 7.4-rc1 up to *)

## References

- <https://git.kernel.org/stable/c/5259b258f234cca127651cd983ea879a7ad4ea8c>
- <https://git.kernel.org/stable/c/31c66bd273303590fe69fad370e72a12faa0bf76>

## Sources

- CVE List: [CVE-2026-99502](https://www.cve.org/CVERecord?id=CVE-2026-99502), CVE Terms of Use, modified 2026-11-19
- NVD: [CVE-2026-99502](https://nvd.nist.gov/vuln/detail/CVE-2026-99502), Public domain, modified 2026-11-19

---

Page: https://cve.day/CVE-2026-99502 · Whole record: https://cve.day/CVE-2026-99502.json · Rebuilt by cve.day 2026-11-25T22:59:52.095Z
