CVE-2026-89795
PCI: Allow per function PCI slots to fix slot reset on s390
Check your servers for CVE-2026-89795
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-89795 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Severity (CVSS)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:H
- Attack vector
- local: the attacker needs local access, or a user has to open a prepared file
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- low: the attacker needs an ordinary user account
- User interaction
- none: nobody has to click or open anything
- Scope
- changed: the damage reaches other components, such as the host of a container or other users
- Impact
- confidentiality none, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.19%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 8.77% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 44510d6fa0c00aa90b80075caa6b313b25927475, before afdd497ca3836eda13530ab75b416d52f6d6129a affected from 44510d6fa0c00aa90b80075caa6b313b25927475, before b4a80e9e639cf09ef5c66b7f262c9cb5ab37bdde affected from 44510d6fa0c00aa90b80075caa6b313b25927475, before 0d1a7d67f45645106578d65181e4e492dd20ed79 affected from 44510d6fa0c00aa90b80075caa6b313b25927475, before 2050d900f9adbd6d6f38d30e182bcd9ad3108467 affected from 44510d6fa0c00aa90b80075caa6b313b25927475, before ecdcceed4d377b02d4ea036b65f83f962c38ede7 affected from 44510d6fa0c00aa90b80075caa6b313b25927475, before dcc5bec09e23bbc4f9de055a11fce9937244f2c8
Other versions: unaffected
|
| Linux |
affected 5.8 unaffected before 5.8 unaffected from 6.1.191 up to and including 6.1.* unaffected from 6.6.160 up to and including 6.6.* unaffected from 6.12.112 up to and including 6.12.* unaffected from 6.18.52 up to and including 6.18.* unaffected from 7.2.5 up to and including 7.2.* unaffected 7.3 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-89795 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-89795
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-89795
trivy image --scanners vuln IMAGE | grep CVE-2026-89795
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/afdd497ca3836eda13530ab75b416d52f6d6129a git.kernel.org
- https://git.kernel.org/stable/c/b4a80e9e639cf09ef5c66b7f262c9cb5ab37bdde git.kernel.org
- https://git.kernel.org/stable/c/0d1a7d67f45645106578d65181e4e492dd20ed79 git.kernel.org
- https://git.kernel.org/stable/c/2050d900f9adbd6d6f38d30e182bcd9ad3108467 git.kernel.org
- https://git.kernel.org/stable/c/ecdcceed4d377b02d4ea036b65f83f962c38ede7 git.kernel.org
- https://git.kernel.org/stable/c/dcc5bec09e23bbc4f9de055a11fce9937244f2c8 git.kernel.org
Source: the record CVE-2026-89795 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse