# CVE-2026-89795: PCI: Allow per function PCI slots to fix slot reset on s390

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 8.4
- **CVSS:** 8.4 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Changed (impact reaches other components); Confidentiality impact: None; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.17% (percentile 4, 2026-11-26)
- **Published:** 2026-09-16T10:30:26.529Z
- **Modified:** 2026-10-30T13:20:29.290Z

## Who should check

- Anyone running Linux \>= 44510d6fa0c00aa90b80075caa6b313b25927475, \< afdd497ca3836eda13530ab75b416d52f6d6129a; \>= 44510d6fa0c00aa90b80075caa6b313b25927475, \< b4a80e9e639cf09ef5c66b7f262c9cb5ab37bdde; \>= 44510d6fa0c00aa90b80075caa6b313b25927475, \< 0d1a7d67f45645106578d65181e4e492dd20ed79; \>= 44510d6fa0c00aa90b80075caa6b313b25927475, \< 2050d900f9adbd6d6f38d30e182bcd9ad3108467; \>= 44510d6fa0c00aa90b80075caa6b313b25927475, \< ecdcceed4d377b02d4ea036b65f83f962c38ede7; \>= 44510d6fa0c00aa90b80075caa6b313b25927475, \< dcc5bec09e23bbc4f9de055a11fce9937244f2c8
- Anyone running Linux 5.8

## Description

In the Linux kernel, the following vulnerability has been resolved:

PCI: Allow per function PCI slots to fix slot reset on s390

On s390 systems, which use a machine level hypervisor, PCI devices are
always accessed through a form of PCI pass-through which fundamentally
operates on a per PCI function granularity. This is also reflected in the
s390 PCI hotplug driver which creates hotplug slots for individual PCI
functions. Its reset\_slot() function, which is a wrapper for
zpci\_hot\_reset\_device(), thus also resets individual functions.

Currently, the pci\_create\_slot() assigns the same pci\_slot object to
multifunction devices. This approach worked fine on s390 systems that only
exposed virtual functions as individual PCI domains to the operating
system.  Since commit 44510d6fa0c0 ("s390/pci: Handling multifunctions")
s390 supports exposing the topology of multifunction PCI devices by
grouping them in a shared PCI domain. This creates a problem when resetting
a function through the hotplug driver's slot\_reset() interface.

When attempting to reset a function through the hotplug driver, the shared
slot assignment causes the wrong function to be reset instead of the
intended one. It also leaks memory as we do create a pci\_slot object for
the function, but don't correctly free it in pci\_slot\_release().

Add a flag for struct pci\_slot to allow per function PCI slots for
functions managed through a hypervisor, which exposes individual PCI
functions while retaining the topology. Since we can use all 8 bits for
slot 'number' (for ARI devices), change slot 'number' u16 to account for
special values PCI\_SLOT\_PLACEHOLDER and PCI\_SLOT\_ALL\_DEVICES.

## Affected and fixed versions

- Linux: \>= 44510d6fa0c00aa90b80075caa6b313b25927475, \< afdd497ca3836eda13530ab75b416d52f6d6129a; \>= 44510d6fa0c00aa90b80075caa6b313b25927475, \< b4a80e9e639cf09ef5c66b7f262c9cb5ab37bdde; \>= 44510d6fa0c00aa90b80075caa6b313b25927475, \< 0d1a7d67f45645106578d65181e4e492dd20ed79; \>= 44510d6fa0c00aa90b80075caa6b313b25927475, \< 2050d900f9adbd6d6f38d30e182bcd9ad3108467; \>= 44510d6fa0c00aa90b80075caa6b313b25927475, \< ecdcceed4d377b02d4ea036b65f83f962c38ede7; \>= 44510d6fa0c00aa90b80075caa6b313b25927475, \< dcc5bec09e23bbc4f9de055a11fce9937244f2c8 (cvelist)
- Linux: 5.8 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2026-89795.md
Affected: Linux >= 44510d6fa0c00aa90b80075caa6b313b25927475, < afdd497ca3836eda13530ab75b416d52f6d6129a; >= 44510d6fa0c00aa90b80075caa6b313b25927475, < b4a80e9e639cf09ef5c66b7f262c9cb5ab37bdde; >= 44510d6fa0c00aa90b80075caa6b313b25927475, < 0d1a7d67f45645106578d65181e4e492dd20ed79; >= 44510d6fa0c00aa90b80075…
Fixed in: Linux 0d1a7d67f45645106578d65181e4e492dd20ed79, Linux 2050d900f9adbd6d6f38d30e182bcd9ad3108467

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-89795 being exploited?

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

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

High: CVSS 8.4 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

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

Linux \>= 44510d6fa0c00aa90b80075caa6b313b25927475, \< afdd497ca3836eda13530ab75b416d52f6d6129a; \>= 44510d6fa0c00aa90b80075caa6b313b25927475, \< b4a80e9e639cf09ef5c66b7f262c9cb5ab37bdde; \>= 44510d6fa0c00aa90b80075caa6b313b25927475, \< 0d1a7d67f45645106578d65181e4e492dd20ed79; \>= 44510d6fa0c00aa90b80075caa6b313b25927475, \< 2050d900f9adbd6d6f38d30e182bcd9ad3108467; \>= 44510d6fa0c00aa90b80075caa6b313b25927475, \< ecdcceed4d377b02d4ea036b65f83f962c38ede7; \>= 44510d6fa0c00aa90b80075caa6b313b25927475, \< dcc5bec09e23bbc4f9de055a11fce9937244f2c8; Linux 5.8.

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

Yes. Fixed in Linux 0d1a7d67f45645106578d65181e4e492dd20ed79, Linux 2050d900f9adbd6d6f38d30e182bcd9ad3108467. No fix listed yet: follow the vendor advisory.

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

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/afdd497ca3836eda13530ab75b416d52f6d6129a>
- other: <https://git.kernel.org/stable/c/b4a80e9e639cf09ef5c66b7f262c9cb5ab37bdde>
- other: <https://git.kernel.org/stable/c/0d1a7d67f45645106578d65181e4e492dd20ed79>
- other: <https://git.kernel.org/stable/c/2050d900f9adbd6d6f38d30e182bcd9ad3108467>
- other: <https://git.kernel.org/stable/c/ecdcceed4d377b02d4ea036b65f83f962c38ede7>
- other: <https://git.kernel.org/stable/c/dcc5bec09e23bbc4f9de055a11fce9937244f2c8>

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

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