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

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.20% (percentile 5, 2026-11-28)
- **Published:** 2026-11-19T14:43:51.304Z
- **Modified:** 2026-11-19T15:18:05.320Z

## Who should check

- Anyone running Linux \>= f770950a4709af290f314e691897ec0003fbd8ae, \< 5259b258f234cca127651cd983ea879a7ad4ea8c; \>= f770950a4709af290f314e691897ec0003fbd8ae, \< 31c66bd273303590fe69fad370e72a12faa0bf76
- Anyone running Linux 6.19

## 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.

## Affected and fixed versions

- Linux: \>= f770950a4709af290f314e691897ec0003fbd8ae, \< 5259b258f234cca127651cd983ea879a7ad4ea8c; \>= f770950a4709af290f314e691897ec0003fbd8ae, \< 31c66bd273303590fe69fad370e72a12faa0bf76 (cvelist)
- Linux: 6.19 (cvelist)

## Technologies

Linux kernel

## Mitigation

- Upgrade Linux to 31c66bd273303590fe69fad370e72a12faa0bf76 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-99502. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-99502.md
Affected: Linux >= f770950a4709af290f314e691897ec0003fbd8ae, < 5259b258f234cca127651cd983ea879a7ad4ea8c; >= f770950a4709af290f314e691897ec0003fbd8ae, < 31c66bd273303590fe69fad370e72a12faa0bf76; Linux 6.19
Fixed in: Linux 5259b258f234cca127651cd983ea879a7ad4ea8c, Linux 31c66bd273303590fe69fad370e72a12faa0bf76

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-99502 being exploited?

There is no confirmed exploitation: CVE-2026-99502 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.20% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-99502?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-99502?

Linux \>= f770950a4709af290f314e691897ec0003fbd8ae, \< 5259b258f234cca127651cd983ea879a7ad4ea8c; \>= f770950a4709af290f314e691897ec0003fbd8ae, \< 31c66bd273303590fe69fad370e72a12faa0bf76; Linux 6.19.

### Is there a fix for CVE-2026-99502?

Yes. Fixed in Linux 5259b258f234cca127651cd983ea879a7ad4ea8c, Linux 31c66bd273303590fe69fad370e72a12faa0bf76. Upgrade Linux to 31c66bd273303590fe69fad370e72a12faa0bf76 or later.

### How do I check if I'm affected by CVE-2026-99502?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

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

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-99502>
- FIRST EPSS: EPSS scores by FIRST <https://www.first.org/epss/>

HTML: <https://flawdb.com/CVE-2026-99502> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-99502>
