Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-98474 Overview
CVE-2026-98474 affects the Linux kernel's s390 PCI subsystem. The zpci_report_status() function accesses a PCI device's driver when pdev is non-NULL without holding the required device lock. This creates a race condition where the reported state may not reflect the actual recovery state of the device.
The fix expands the existing device lock critical section and extracts the pdev-specific reporting logic into a helper function. The helper adds a lockdep assertion that detects callers invoking the routine without the device lock held.
Critical Impact
A missing device lock in the s390 PCI status reporting path can produce inconsistent driver state during PCI error recovery on IBM Z systems running Linux.
Affected Products
- Linux kernel (s390 architecture, PCI subsystem)
- IBM Z and LinuxONE systems using the s390/pci driver stack
- Distributions shipping unpatched upstream kernels prior to the referenced stable commits
Discovery Timeline
- 2026-10-18 - CVE-2026-98474 published to NVD
- 2026-10-19 - Last updated in NVD database
Technical Details for CVE-2026-98474
Vulnerability Analysis
The zpci_report_status() function is part of the s390 PCI error reporting path. When invoked with a non-NULL pdev argument, it dereferences the device's bound driver to collect status information used during recovery. Driver binding and unbinding on a PCI device are serialized by the device lock. Reading driver state without holding this lock can observe a transient or inconsistent view, for example, while another thread is attaching or detaching a driver.
The issue is a locking defect rather than a direct memory-safety bug. However, racing driver teardown with status reporting can lead to stale references or inconsistent recovery decisions on IBM Z PCI devices.
Root Cause
The caller invokes zpci_report_status() without ensuring the device lock is held across accesses to pdev->driver. The function therefore reads device-driver state outside the critical section that would otherwise guarantee a consistent snapshot matching the ongoing recovery operation.
Attack Vector
This defect is a kernel-internal race condition reachable only through PCI error-recovery flows on s390 systems. It is not a remotely exploitable vulnerability and requires conditions produced by the kernel's own PCI subsystem rather than attacker-controlled input. No public proof-of-concept or exploit is listed in the available references.
No verified exploitation code is available. See the upstream commits for the patch details: kernel commit 0261aef4b15e, kernel commit 1b957d5c2f73, and kernel commit 743a8458978d.
Detection Methods for CVE-2026-98474
Indicators of Compromise
- No runtime indicators of compromise are published for this issue. The defect manifests as inconsistent kernel state during PCI recovery, not as attacker-controlled artifacts.
- Kernel logs on affected s390 systems may show anomalies during zpci error recovery sequences on unpatched builds.
Detection Strategies
- Inventory running kernel versions on IBM Z and LinuxONE hosts and compare against the fixed stable commits referenced in the upstream advisory.
- Enable CONFIG_PROVE_LOCKING (lockdep) in test and staging kernels to surface locking violations in the zpci_report_status() call path.
- Review distribution advisories for s390 kernel packages and track backports that include the three referenced commits.
Monitoring Recommendations
- Monitor dmesg and journalctl -k output on s390 systems for PCI error-recovery messages and lockdep warnings referencing zpci_report_status.
- Centralize kernel logs from IBM Z fleets into a log analytics platform so recovery anomalies can be correlated across hosts.
- Track kernel package versions through configuration management to confirm patched builds are deployed.
How to Mitigate CVE-2026-98474
Immediate Actions Required
- Identify Linux hosts running on s390/s390x architecture that use PCI devices and prioritize them for kernel updates.
- Apply vendor kernel updates that include the upstream fix as soon as they are available from your distribution.
- If running a custom or self-built kernel, cherry-pick the referenced stable commits and rebuild.
Patch Information
The fix is upstreamed in three Linux stable commits: 0261aef4b15e, 1b957d5c2f73, and 743a8458978d. The patch expands the device lock critical section in zpci_report_status() and factors the pdev-specific reporting into a helper function that includes a lockdep_assert_held check to catch future regressions.
Workarounds
- No functional workaround exists. The defect is in the kernel's PCI error-recovery path and cannot be mitigated through configuration.
- Non-s390 systems are not affected and require no action.
- Reduce exposure by limiting administrative access to systems pending the kernel update, since the defect is only reachable via kernel-internal code paths.
# Verify kernel version and architecture on IBM Z hosts
uname -r -m
# Check loaded s390 PCI module state
lsmod | grep -i zpci
# Review recent kernel messages for PCI recovery events
journalctl -k --since "7 days ago" | grep -iE "zpci|pci.*recover"
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

