-

CVE-2026-98930

KVM: s390: Fix IRQ injection with SIGP Stop and Store Status

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

KVM: s390: Fix IRQ injection with SIGP Stop and Store Status

When __inject_sigp_stop() is called for a Stop and Store Status
operation, if the vCPU is running, the interrupt is marked as pending
and the status is stored by the thread performing the KVM_RUN IOCTL.

If the vCPU is already stopped, the status is stored immediately.

Storing the status means writing into userspace, which might fault, and
__inject_sigp_stop() is called from do_inject_vcpu() which in turn is
always called holding a spinlock, which is obviously an issue.

Fix this by returning -EWOULDBLOCK from __inject_sigp_stop(), and
adding a bool flag to indicate whether a store status is needed. The
callers of do_inject_vcpu() are modified to pass the pointer to the
bool flag; whenever a Store Status operation is needed, the callers can
now perform it outside the spinlock.

Opportunistically refactor kvm_s390_set_irq_state() to use
scoped_guard() and __free().

[ Added Fixes tag while picking -- Claudio ]
Daten sind bereitgestellt durch das CVE Programm von einer CVE Numbering Authority (CNA) (Unstrukturiert).
HerstellerLinux
≫
Produkt Linux
Default Statusunaffected
Version 6cddd432e3da5e25eccbc13844d03c871674a62e
Version < 3bd77c59576b1d447fd56cc689ae9523a334b924
Status affected
Version 6cddd432e3da5e25eccbc13844d03c871674a62e
Version < a379ac504fcb8c6fc2aa36203f5489b9581eb2e0
Status affected
Version 6cddd432e3da5e25eccbc13844d03c871674a62e
Version < d0e3bf633f0585a0c2c2105ea7723777d764fae5
Status affected
Version 6cddd432e3da5e25eccbc13844d03c871674a62e
Version < d343407b728a80b74be3c24b59f15e60289ea527
Status affected
HerstellerLinux
≫
Produkt Linux
Default Statusaffected
Version 4.0
Status affected
Version 0
Version < 4.0
Status unaffected
Version <= 6.12.*
Version 6.12.112
Status unaffected
Version <= 6.18.*
Version 6.18.55
Status unaffected
Version <= 7.2.*
Version 7.2.9
Status unaffected
Version <= *
Version 7.3
Status unaffected
VulnDex Vulnerability Enrichment
Diese Information steht angemeldeten Benutzern zur Verfügung. Login Login
Zu dieser CVE wurde keine Warnung gefunden.
EPSS Metriken
Typ Quelle Score Percentile
EPSS FIRST.org 0.19% 0.085
CVSS Metriken
Quelle Base Score Exploit Score Impact Score Vector String
Es wurden noch keine Informationen zu CWE veröffentlicht.
https://git.kernel.org/stable/c/3bd77c59576b1d447fd56cc689ae9523a334b924
https://git.kernel.org/stable/c/a379ac504fcb8c6fc2aa36203f5489b9581eb2e0
https://git.kernel.org/stable/c/d0e3bf633f0585a0c2c2105ea7723777d764fae5
https://git.kernel.org/stable/c/d343407b728a80b74be3c24b59f15e60289ea527