{"api_version":"1","generated_at":"2026-12-01T15:03:21+00:00","cve":"CVE-2026-99338","urls":{"html":"https://cve.report/CVE-2026-99338","api":"https://cve.report/api/cve/CVE-2026-99338.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-99338","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-99338"},"summary":{"title":"KVM: TDX: Enable Notify VM exit","description":"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's\nreported as supported.  However, KVM reports the support of this CAP just\nbased on the hardware capability but doesn't 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't 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's 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's TDX module's 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's 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.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-11-19 15:17:44","updated_at":"2026-11-19 15:17:44"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/d93395058c1951bb657c8895dd1fc0f22263f1cc","name":"https://git.kernel.org/stable/c/d93395058c1951bb657c8895dd1fc0f22263f1cc","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/02b92b0d7cdcda3c1f7196a3210bbe867ae6693e","name":"https://git.kernel.org/stable/c/02b92b0d7cdcda3c1f7196a3210bbe867ae6693e","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/216729d9780df7d4cf91435af38c8f65d51ce93d","name":"https://git.kernel.org/stable/c/216729d9780df7d4cf91435af38c8f65d51ce93d","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-99338","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99338","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 161d34609f9b319d0706eaf7d2cb7a2731251b25 216729d9780df7d4cf91435af38c8f65d51ce93d git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 161d34609f9b319d0706eaf7d2cb7a2731251b25 02b92b0d7cdcda3c1f7196a3210bbe867ae6693e git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 161d34609f9b319d0706eaf7d2cb7a2731251b25 d93395058c1951bb657c8895dd1fc0f22263f1cc git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.16","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.16 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.61 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3.2 7.3.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.4-rc1 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"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's\nreported as supported.  However, KVM reports the support of this CAP just\nbased on the hardware capability but doesn't 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't 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's 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's TDX module's 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's 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"},"nvd":{"publishedDate":"2026-11-19 15:17:44","lastModifiedDate":"2026-11-19 15:17:44","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"99338","Ordinal":"1","Title":"KVM: TDX: Enable Notify VM exit","CVE":"CVE-2026-99338","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"99338","Ordinal":"1","NoteData":"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's\nreported as supported.  However, KVM reports the support of this CAP just\nbased on the hardware capability but doesn't 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't 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's 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's TDX module's 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's 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.","Type":"Description","Title":"KVM: TDX: Enable Notify VM exit"}]}}}