← Back to CVE Explorer

CVE-2026-98930

Full vulnerability record from the local CVENow database.

Description

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 ]

Severity
Not scored
CVSS score
Not available
Vulnerability status
Received
Source identifier
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Published
2026-10-23 13:17:13.783000
Last modified
2026-10-23 13:17:13.783000
View original CVE JSON
{
  "id": "CVE-2026-98930",
  "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
  "published": "2026-10-23T13:17:13.783",
  "lastModified": "2026-10-23T13:17:13.783",
  "vulnStatus": "Received",
  "cveTags": [],
  "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": [
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "affectedData": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "programFiles": [
            "arch/s390/kvm/interrupt.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "versions": [
            {
              "version": "6cddd432e3da5e25eccbc13844d03c871674a62e",
              "lessThan": "3bd77c59576b1d447fd56cc689ae9523a334b924",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "6cddd432e3da5e25eccbc13844d03c871674a62e",
              "lessThan": "a379ac504fcb8c6fc2aa36203f5489b9581eb2e0",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "6cddd432e3da5e25eccbc13844d03c871674a62e",
              "lessThan": "d0e3bf633f0585a0c2c2105ea7723777d764fae5",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "6cddd432e3da5e25eccbc13844d03c871674a62e",
              "lessThan": "d343407b728a80b74be3c24b59f15e60289ea527",
              "versionType": "git",
              "status": "affected"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "programFiles": [
            "arch/s390/kvm/interrupt.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "versions": [
            {
              "version": "4.0",
              "status": "affected"
            },
            {
              "version": "0",
              "lessThan": "4.0",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.12.112",
              "lessThanOrEqual": "6.12.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.18.55",
              "lessThanOrEqual": "6.18.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "7.2.9",
              "lessThanOrEqual": "7.2.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "7.3",
              "lessThanOrEqual": "*",
              "versionType": "original_commit_for_fix",
              "status": "unaffected"
            }
          ]
        }
      ]
    }
  ],
  "metrics": {},
  "references": [
    {
      "url": "https://git.kernel.org/stable/c/3bd77c59576b1d447fd56cc689ae9523a334b924",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/a379ac504fcb8c6fc2aa36203f5489b9581eb2e0",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/d0e3bf633f0585a0c2c2105ea7723777d764fae5",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/d343407b728a80b74be3c24b59f15e60289ea527",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    }
  ]
}