CVE-2026-99338 (GCVE-0-2026-99338)

Vulnerability from cvelistv5 – Published: 2026-11-19 14:21 – Updated: 2026-11-19 14:34
VLAI
Title
KVM: TDX: Enable Notify VM exit
Summary
In the Linux kernel, the following vulnerability has been resolved: KVM: TDX: Enable Notify VM exit Enable Notify VM exit functionality for TDX guests. Notify VM exit is an existing feature supported by KVM. Userspace can enable Notify VM exit through KVM_CAP_X86_NOTIFY_VMEXIT when it's reported as supported. However, KVM reports the support of this CAP just based on the hardware capability but doesn't differentiate between VMX and TDX. This leads to the issue that userspace can enable this cap for TDX guests without getting an error, but the feature is not actually enabled because KVM doesn't call the TDX module API to program the relevant TD VMCS fields. Enable Notify VM exit for TDX guests by: - Invoking TDX module API calls to set NOTIFY_VM_EXITING and Notify Window in TD VMCS. It's done in tdx_vcpu_init() where other TD VMCS bits are set. Since TDX vCPU cannot be reset, it only needs to be configured once when initializing the TDX vCPU. - Adding corresponding exit handler for TDX Notify VM Exit. Notify VM exit can happen when executing the IRET instruction. If the IRET unblocks the NMI blocking state, bit 12 of the exit qualification is set. In this case, the VMM needs to restore the "blocked by NMI" state when it decides to re-enter the guest. For TDX, KVM cannot manage the GUEST_INTERRUPTIBILITY_INFO and it's TDX module's responsibility to handle it. Extract the common part without NMI blocking handling into a helper in common.h so that it can be shared between VMX and TDX. Note, KVM uses "pre-production" terminology for the feature formally called Notify VM-Exit. All public versions of the SDM refer to the feature as Instruction Timeout. This will be remedied in the near future, for now, use KVM's terminology for consistency. Note, #2, there is no enumeration bit for Notify VM exit by TDX module because all TDX modules support it, and allow to set the corresponding TD VMCS fields as long as the hardware supports the feature.
Severity
No CVSS data available.
Impacted products
Vendor Product Version
Linux Linux Affected: 161d34609f9b319d0706eaf7d2cb7a2731251b25 , < 216729d9780df7d4cf91435af38c8f65d51ce93d (git)
Affected: 161d34609f9b319d0706eaf7d2cb7a2731251b25 , < 02b92b0d7cdcda3c1f7196a3210bbe867ae6693e (git)
Affected: 161d34609f9b319d0706eaf7d2cb7a2731251b25 , < d93395058c1951bb657c8895dd1fc0f22263f1cc (git)
Create a notification for this product.
Linux Linux Affected: 6.16
Unaffected: 0 , < 6.16 (semver)
Unaffected: 6.18.61 , ≤ 6.18.* (semver)
Unaffected: 7.3.2 , ≤ 7.3.* (semver)
Unaffected: 7.4-rc1 , ≤ * (original_commit_for_fix)
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "arch/x86/kvm/vmx/common.h",
            "arch/x86/kvm/vmx/tdx.c",
            "arch/x86/kvm/vmx/vmx.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "216729d9780df7d4cf91435af38c8f65d51ce93d",
              "status": "affected",
              "version": "161d34609f9b319d0706eaf7d2cb7a2731251b25",
              "versionType": "git"
            },
            {
              "lessThan": "02b92b0d7cdcda3c1f7196a3210bbe867ae6693e",
              "status": "affected",
              "version": "161d34609f9b319d0706eaf7d2cb7a2731251b25",
              "versionType": "git"
            },
            {
              "lessThan": "d93395058c1951bb657c8895dd1fc0f22263f1cc",
              "status": "affected",
              "version": "161d34609f9b319d0706eaf7d2cb7a2731251b25",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "arch/x86/kvm/vmx/common.h",
            "arch/x86/kvm/vmx/tdx.c",
            "arch/x86/kvm/vmx/vmx.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "6.16"
            },
            {
              "lessThan": "6.16",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.61",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.3.*",
              "status": "unaffected",
              "version": "7.3.2",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.4-rc1",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.61",
                  "versionStartIncluding": "6.16",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.3.2",
                  "versionStartIncluding": "6.16",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.4-rc1",
                  "versionStartIncluding": "6.16",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nKVM: TDX: Enable Notify VM exit\n\nEnable Notify VM exit functionality for TDX guests.\n\nNotify VM exit is an existing feature supported by KVM.  Userspace can\nenable Notify VM exit through KVM_CAP_X86_NOTIFY_VMEXIT when it\u0027s\nreported as supported.  However, KVM reports the support of this CAP just\nbased on the hardware capability but doesn\u0027t differentiate between VMX\nand TDX.  This leads to the issue that userspace can enable this cap for\nTDX guests without getting an error, but the feature is not actually\nenabled because KVM doesn\u0027t call the TDX module API to program the\nrelevant TD VMCS fields.\n\nEnable Notify VM exit for TDX guests by:\n\n  - Invoking TDX module API calls to set NOTIFY_VM_EXITING and Notify\n    Window in TD VMCS.  It\u0027s done in tdx_vcpu_init() where other TD VMCS\n    bits are set.  Since TDX vCPU cannot be reset, it only needs to be\n    configured once when initializing the TDX vCPU.\n\n  - Adding corresponding exit handler for TDX Notify VM Exit.\n\nNotify VM exit can happen when executing the IRET instruction.  If the\nIRET unblocks the NMI blocking state, bit 12 of the exit qualification\nis set.  In this case, the VMM needs to restore the \"blocked by NMI\" state\nwhen it decides to re-enter the guest.  For TDX, KVM cannot manage the\nGUEST_INTERRUPTIBILITY_INFO and it\u0027s TDX module\u0027s responsibility to\nhandle it.  Extract the common part without NMI blocking handling into a\nhelper in common.h so that it can be shared between VMX and TDX.\n\nNote, KVM uses \"pre-production\" terminology for the feature formally called\nNotify VM-Exit.  All public versions of the SDM refer to the feature as\nInstruction Timeout.  This will be remedied in the near future, for now,\nuse KVM\u0027s terminology for consistency.\n\nNote, #2, there is no enumeration bit for Notify VM exit by TDX module\nbecause all TDX modules support it, and allow to set the corresponding\nTD VMCS fields as long as the hardware supports the feature."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-11-19T14:34:56.101Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/216729d9780df7d4cf91435af38c8f65d51ce93d"
        },
        {
          "url": "https://git.kernel.org/stable/c/02b92b0d7cdcda3c1f7196a3210bbe867ae6693e"
        },
        {
          "url": "https://git.kernel.org/stable/c/d93395058c1951bb657c8895dd1fc0f22263f1cc"
        }
      ],
      "title": "KVM: TDX: Enable Notify VM exit",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-99338",
    "datePublished": "2026-11-19T14:21:46.037Z",
    "dateReserved": "2026-09-25T10:25:14.409Z",
    "dateUpdated": "2026-11-19T14:34:56.101Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-99338",
      "date": "2026-11-22",
      "epss": "0.00213",
      "percentile": "0.1156"
    },
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "defaultStatus": "unaffected",
                "product": "Linux",
                "programFiles": [
                  "arch/x86/kvm/vmx/common.h",
                  "arch/x86/kvm/vmx/tdx.c",
                  "arch/x86/kvm/vmx/vmx.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "lessThan": "216729d9780df7d4cf91435af38c8f65d51ce93d",
                    "status": "affected",
                    "version": "161d34609f9b319d0706eaf7d2cb7a2731251b25",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "02b92b0d7cdcda3c1f7196a3210bbe867ae6693e",
                    "status": "affected",
                    "version": "161d34609f9b319d0706eaf7d2cb7a2731251b25",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "d93395058c1951bb657c8895dd1fc0f22263f1cc",
                    "status": "affected",
                    "version": "161d34609f9b319d0706eaf7d2cb7a2731251b25",
                    "versionType": "git"
                  }
                ]
              },
              {
                "defaultStatus": "affected",
                "product": "Linux",
                "programFiles": [
                  "arch/x86/kvm/vmx/common.h",
                  "arch/x86/kvm/vmx/tdx.c",
                  "arch/x86/kvm/vmx/vmx.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "status": "affected",
                    "version": "6.16"
                  },
                  {
                    "lessThan": "6.16",
                    "status": "unaffected",
                    "version": "0",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.18.*",
                    "status": "unaffected",
                    "version": "6.18.61",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "7.3.*",
                    "status": "unaffected",
                    "version": "7.3.2",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "*",
                    "status": "unaffected",
                    "version": "7.4-rc1",
                    "versionType": "original_commit_for_fix"
                  }
                ]
              }
            ],
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
          }
        ],
        "cveTags": [],
        "descriptions": [
          {
            "lang": "en",
            "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nKVM: TDX: Enable Notify VM exit\n\nEnable Notify VM exit functionality for TDX guests.\n\nNotify VM exit is an existing feature supported by KVM.  Userspace can\nenable Notify VM exit through KVM_CAP_X86_NOTIFY_VMEXIT when it\u0027s\nreported as supported.  However, KVM reports the support of this CAP just\nbased on the hardware capability but doesn\u0027t differentiate between VMX\nand TDX.  This leads to the issue that userspace can enable this cap for\nTDX guests without getting an error, but the feature is not actually\nenabled because KVM doesn\u0027t call the TDX module API to program the\nrelevant TD VMCS fields.\n\nEnable Notify VM exit for TDX guests by:\n\n  - Invoking TDX module API calls to set NOTIFY_VM_EXITING and Notify\n    Window in TD VMCS.  It\u0027s done in tdx_vcpu_init() where other TD VMCS\n    bits are set.  Since TDX vCPU cannot be reset, it only needs to be\n    configured once when initializing the TDX vCPU.\n\n  - Adding corresponding exit handler for TDX Notify VM Exit.\n\nNotify VM exit can happen when executing the IRET instruction.  If the\nIRET unblocks the NMI blocking state, bit 12 of the exit qualification\nis set.  In this case, the VMM needs to restore the \"blocked by NMI\" state\nwhen it decides to re-enter the guest.  For TDX, KVM cannot manage the\nGUEST_INTERRUPTIBILITY_INFO and it\u0027s TDX module\u0027s responsibility to\nhandle it.  Extract the common part without NMI blocking handling into a\nhelper in common.h so that it can be shared between VMX and TDX.\n\nNote, KVM uses \"pre-production\" terminology for the feature formally called\nNotify VM-Exit.  All public versions of the SDM refer to the feature as\nInstruction Timeout.  This will be remedied in the near future, for now,\nuse KVM\u0027s terminology for consistency.\n\nNote, #2, there is no enumeration bit for Notify VM exit by TDX module\nbecause all TDX modules support it, and allow to set the corresponding\nTD VMCS fields as long as the hardware supports the feature."
          }
        ],
        "id": "CVE-2026-99338",
        "lastModified": "2026-11-19T15:17:44.850",
        "metrics": {},
        "published": "2026-11-19T15:17:44.850",
        "references": [
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/02b92b0d7cdcda3c1f7196a3210bbe867ae6693e"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/216729d9780df7d4cf91435af38c8f65d51ce93d"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/d93395058c1951bb657c8895dd1fc0f22263f1cc"
          }
        ],
        "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "vulnStatus": "Received"
      }
    },
    "redhat_vex": {
      "aggregate_severity": "Moderate",
      "current_release_date": "2026-11-19T21:02:23+00:00",
      "cve": "CVE-2026-99338",
      "id": "CVE-2026-99338",
      "initial_release_date": "2026-11-19T14:21:46.037000+00:00",
      "product_status:known_affected": "111",
      "product_status:known_not_affected": "93",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: kernel: kvm: Denial of Service via unconfigured Notify VM-exit for TDX guests",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-99338.json",
      "version": "3"
    },
    "suse_vex": {
      "aggregate_severity": "moderate",
      "current_release_date": "2026-11-20T17:48:58Z",
      "cve": "CVE-2026-99338",
      "id": "CVE-2026-99338",
      "initial_release_date": "2026-11-20T17:48:58Z",
      "product_status:known_not_affected": "351",
      "source": "SUSE CSAF VEX",
      "status": "interim",
      "title": "SUSE CVE CVE-2026-99338",
      "url": "https://ftp.suse.com/pub/projects/security/csaf-vex/2026/cve-2026-99338.json",
      "version": "2"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…