{"id":"CVE-2026-89795","aliases":["CVE-2026-89795"],"related":[],"kind":"vulnerability","state":"published","title":"PCI: Allow per function PCI slots to fix slot reset on s390","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nPCI: Allow per function PCI slots to fix slot reset on s390\n\nOn s390 systems, which use a machine level hypervisor, PCI devices are\nalways accessed through a form of PCI pass-through which fundamentally\noperates on a per PCI function granularity. This is also reflected in the\ns390 PCI hotplug driver which creates hotplug slots for individual PCI\nfunctions. Its reset_slot() function, which is a wrapper for\nzpci_hot_reset_device(), thus also resets individual functions.\n\nCurrently, the pci_create_slot() assigns the same pci_slot object to\nmultifunction devices. This approach worked fine on s390 systems that only\nexposed virtual functions as individual PCI domains to the operating\nsystem.  Since commit 44510d6fa0c0 (\"s390/pci: Handling multifunctions\")\ns390 supports exposing the topology of multifunction PCI devices by\ngrouping them in a shared PCI domain. This creates a problem when resetting\na function through the hotplug driver's slot_reset() interface.\n\nWhen attempting to reset a function through the hotplug driver, the shared\nslot assignment causes the wrong function to be reset instead of the\nintended one. It also leaks memory as we do create a pci_slot object for\nthe function, but don't correctly free it in pci_slot_release().\n\nAdd a flag for struct pci_slot to allow per function PCI slots for\nfunctions managed through a hypervisor, which exposes individual PCI\nfunctions while retaining the topology. Since we can use all 8 bits for\nslot 'number' (for ARI devices), change slot 'number' u16 to account for\nspecial values PCI_SLOT_PLACEHOLDER and PCI_SLOT_ALL_DEVICES.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nPCI: Allow per function PCI slots to fix slot reset on s390\n\nOn s390 systems, which use a machine level hypervisor, PCI devices are\nalways accessed through a form of PCI pass-through which fundamentally\noperates on a per PCI function granularity. This is also reflected in the\ns390 PCI hotplug driver which creates hotplug slots for individual PCI\nfunctions. Its reset_slot() function, which is a wrapper for\nzpci_hot_reset_device(), thus also resets individual functions.\n\nCurrently, the pci_create_slot() assigns the same pci_slot object to\nmultifunction devices. This approach worked fine on s390 systems that only\nexposed virtual functions as individual PCI domains to the operating\nsystem.  Since commit 44510d6fa0c0 (\"s390/pci: Handling multifunctions\")\ns390 supports exposing the topology of multifunction PCI devices by\ngrouping them in a shared PCI domain. This creates a problem when resetting\na function through the hotplug driver's slot_reset() interface.\n\nWhen attempting to reset a function through the hotplug driver, the shared\nslot assignment causes the wrong function to be reset instead of the\nintended one. It also leaks memory as we do create a pci_slot object for\nthe function, but don't correctly free it in pci_slot_release().\n\nAdd a flag for struct pci_slot to allow per function PCI slots for\nfunctions managed through a hypervisor, which exposes individual PCI\nfunctions while retaining the topology. Since we can use all 8 bits for\nslot 'number' (for ARI devices), change slot 'number' u16 to account for\nspecial values PCI_SLOT_PLACEHOLDER and PCI_SLOT_ALL_DEVICES.","source":"cvelist"}],"published":"2026-09-16T10:30:26.529Z","modified":"2026-10-30T13:20:29.290Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:H","score":8.4,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:H","score":8.4,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"44510d6fa0c00aa90b80075caa6b313b25927475","fixed":"afdd497ca3836eda13530ab75b416d52f6d6129a","status":"affected"},{"type":"git","introduced":"44510d6fa0c00aa90b80075caa6b313b25927475","fixed":"b4a80e9e639cf09ef5c66b7f262c9cb5ab37bdde","status":"affected"},{"type":"git","introduced":"44510d6fa0c00aa90b80075caa6b313b25927475","fixed":"0d1a7d67f45645106578d65181e4e492dd20ed79","status":"affected"},{"type":"git","introduced":"44510d6fa0c00aa90b80075caa6b313b25927475","fixed":"2050d900f9adbd6d6f38d30e182bcd9ad3108467","status":"affected"},{"type":"git","introduced":"44510d6fa0c00aa90b80075caa6b313b25927475","fixed":"ecdcceed4d377b02d4ea036b65f83f962c38ede7","status":"affected"},{"type":"git","introduced":"44510d6fa0c00aa90b80075caa6b313b25927475","fixed":"dcc5bec09e23bbc4f9de055a11fce9937244f2c8","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.8","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.8","status":"unaffected"},{"type":"semver","introduced":"6.1.191","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.160","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.112","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.52","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.5","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/afdd497ca3836eda13530ab75b416d52f6d6129a","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b4a80e9e639cf09ef5c66b7f262c9cb5ab37bdde","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/0d1a7d67f45645106578d65181e4e492dd20ed79","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2050d900f9adbd6d6f38d30e182bcd9ad3108467","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ecdcceed4d377b02d4ea036b65f83f962c38ede7","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/dcc5bec09e23bbc4f9de055a11fce9937244f2c8","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-89795","url":"https://www.cve.org/CVERecord?id=CVE-2026-89795","licence":"CVE Terms of Use","modified":"2026-10-30T12:33:03.457Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-89795","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-89795","licence":"Public domain","modified":"2026-10-30T13:20:29.290Z"}],"updatedAt":"2026-11-25T22:59:38.939Z","epss":{"score":0.00188,"percentile":0.08754,"date":"2026-12-02T12:00:21.000Z"}}