{"id":"CVE-2026-98930","summary":"KVM: s390: Fix IRQ injection with SIGP Stop and Store Status","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nKVM: s390: Fix IRQ injection with SIGP Stop and Store Status\n\nWhen __inject_sigp_stop() is called for a Stop and Store Status\noperation, if the vCPU is running, the interrupt is marked as pending\nand the status is stored by the thread performing the KVM_RUN IOCTL.\n\nIf the vCPU is already stopped, the status is stored immediately.\n\nStoring the status means writing into userspace, which might fault, and\n__inject_sigp_stop() is called from do_inject_vcpu() which in turn is\nalways called holding a spinlock, which is obviously an issue.\n\nFix this by returning -EWOULDBLOCK from __inject_sigp_stop(), and\nadding a bool flag to indicate whether a store status is needed. The\ncallers of do_inject_vcpu() are modified to pass the pointer to the\nbool flag; whenever a Store Status operation is needed, the callers can\nnow perform it outside the spinlock.\n\nOpportunistically refactor kvm_s390_set_irq_state() to use\nscoped_guard() and __free().\n\n[ Added Fixes tag while picking -- Claudio ]","modified":"2026-10-28T02:30:52.956858075Z","published":"2026-10-23T12:08:17.513Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98930.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/3bd77c59576b1d447fd56cc689ae9523a334b924"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a379ac504fcb8c6fc2aa36203f5489b9581eb2e0"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d0e3bf633f0585a0c2c2105ea7723777d764fae5"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d343407b728a80b74be3c24b59f15e60289ea527"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98930.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98930"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"6cddd432e3da5e25eccbc13844d03c871674a62e"},{"fixed":"3bd77c59576b1d447fd56cc689ae9523a334b924"},{"fixed":"a379ac504fcb8c6fc2aa36203f5489b9581eb2e0"},{"fixed":"d0e3bf633f0585a0c2c2105ea7723777d764fae5"},{"fixed":"d343407b728a80b74be3c24b59f15e60289ea527"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98930.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.0.0"},{"fixed":"6.12.112"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.55"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.2.9"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98930.json"}}],"schema_version":"1.9.2"}