{"id":"CVE-2026-98930","state":"PUBLISHED","title":"KVM: s390: Fix IRQ injection with SIGP Stop and Store Status","description":"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 ]","publishedAt":"2026-10-23T12:08:17.513Z","updatedAt":"2026-10-23T12:08:17.513Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"6cddd432e3da5e25eccbc13844d03c871674a62e","status":"affected","lessThan":"3bd77c59576b1d447fd56cc689ae9523a334b924","versionType":"git"},{"version":"6cddd432e3da5e25eccbc13844d03c871674a62e","status":"affected","lessThan":"a379ac504fcb8c6fc2aa36203f5489b9581eb2e0","versionType":"git"},{"version":"6cddd432e3da5e25eccbc13844d03c871674a62e","status":"affected","lessThan":"d0e3bf633f0585a0c2c2105ea7723777d764fae5","versionType":"git"},{"version":"6cddd432e3da5e25eccbc13844d03c871674a62e","status":"affected","lessThan":"d343407b728a80b74be3c24b59f15e60289ea527","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["arch/s390/kvm/interrupt.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.0","status":"affected"},{"version":"0","status":"unaffected","lessThan":"4.0","versionType":"semver"},{"version":"6.12.112","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.55","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.2.9","status":"unaffected","lessThanOrEqual":"7.2.*","versionType":"semver"},{"version":"7.3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["arch/s390/kvm/interrupt.c"]}],"references":["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"],"weaknesses":[],"ingestedAt":"2026-10-29T20:13:43.249Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/98xxx/CVE-2026-98930.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-98930","state":"PUBLISHED","datePublished":"2026-10-23T12:08:17.513Z","dateUpdated":"2026-10-23T12:08:17.513Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-09-25T10:25:14.380Z"},"containers":{"cna":{"title":"KVM: s390: Fix IRQ injection with SIGP Stop and Store Status","descriptions":[{"lang":"en","value":"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 ]"}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"6cddd432e3da5e25eccbc13844d03c871674a62e","status":"affected","lessThan":"3bd77c59576b1d447fd56cc689ae9523a334b924","versionType":"git"},{"version":"6cddd432e3da5e25eccbc13844d03c871674a62e","status":"affected","lessThan":"a379ac504fcb8c6fc2aa36203f5489b9581eb2e0","versionType":"git"},{"version":"6cddd432e3da5e25eccbc13844d03c871674a62e","status":"affected","lessThan":"d0e3bf633f0585a0c2c2105ea7723777d764fae5","versionType":"git"},{"version":"6cddd432e3da5e25eccbc13844d03c871674a62e","status":"affected","lessThan":"d343407b728a80b74be3c24b59f15e60289ea527","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["arch/s390/kvm/interrupt.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.0","status":"affected"},{"version":"0","status":"unaffected","lessThan":"4.0","versionType":"semver"},{"version":"6.12.112","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.55","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.2.9","status":"unaffected","lessThanOrEqual":"7.2.*","versionType":"semver"},{"version":"7.3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["arch/s390/kvm/interrupt.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/3bd77c59576b1d447fd56cc689ae9523a334b924"},{"url":"https://git.kernel.org/stable/c/a379ac504fcb8c6fc2aa36203f5489b9581eb2e0"},{"url":"https://git.kernel.org/stable/c/d0e3bf633f0585a0c2c2105ea7723777d764fae5"},{"url":"https://git.kernel.org/stable/c/d343407b728a80b74be3c24b59f15e60289ea527"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-10-23T12:08:17.513Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.0","versionEndExcluding":"6.12.112"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.0","versionEndExcluding":"6.18.55"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.0","versionEndExcluding":"7.2.9"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.0","versionEndExcluding":"7.3"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}