Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2023-53663

MEDIUM 5.5EPSS 7%

KVM: nSVM: Check instead of asserting on nested TSC scaling support

Mitigation

  • Upgrade Linux to 7cafe9b8e22bb3d77f130c461aedf6868c4aaf58 or later.

Who should check

  • Anyone running Linux >= 5228eb96a4875f8cf5d61d486e3795ac14df8904, < 6c1ecfea1daf6e75c46e295aad99dfbafd878897; >= 5228eb96a4875f8cf5d61d486e3795ac14df8904, < 02b24270568f65dd607c4a848512dc8055b4491b; >= 5228eb96a4875f8cf5d61d486e3795ac14df8904, < 7cafe9b8e22bb3d77f130c461aedf6868c4aaf58
  • Anyone running Linux 5.16

Vulnerability facts

Affected
Linux >= 5228eb96a4875f8cf5d61d486e3795ac14df8904, < 6c1ecfea1daf6e75c46e295aad99dfbafd878897; >= 5228eb96a4875f8cf5d61d486e3795ac14df8904, < 02b24270568f65dd607c4a848512dc8055b4491b; >= 5228eb96a4875f8cf5d61d486e3795ac14df8904, < 7cafe9b8e22bb3d77f130c461aedf6868c4aaf58; Linux 5.16
Fixed in
Linux 6c1ecfea1daf6e75c46e295aad99dfbafd878897, Linux 02b24270568f65dd607c4a848512dc8055b4491b, Linux 7cafe9b8e22bb3d77f130c461aedf6868c4aaf58
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
5.5 (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Local
  • Attack complexity: Low
  • Privileges required: Low
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: None
  • Integrity impact: None
  • Availability impact: High
EPSS
0.22% chance of exploitation in 30 days (percentile 7, 2026-11-26)
Published
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: KVM: nSVM: Check instead of asserting on nested TSC scaling support Check for nested TSC scaling support on nested SVM VMRUN instead of asserting that TSC scaling is exposed to L1 if L1's MSR_AMD64_TSC_RATIO has diverged from KVM's default. Userspace can trigger the WARN at will by writing the MSR and then updating guest CPUID to hide the feature (modifying guest CPUID is allowed anytime before KVM_RUN). E.g. hacking KVM's state_test selftest to do vcpu_set_msr(vcpu, MSR_AMD64_TSC_RATIO, 0); vcpu_clear_cpuid_feature(vcpu, X86_FEATURE_TSCRATEMSR); after restoring state in a new VM+vCPU yields an endless supply of: ------------[ cut here ]------------ WARNING: CPU: 164 PID: 62565 at arch/x86/kvm/svm/nested.c:699 nested_vmcb02_prepare_control+0x3d6/0x3f0 [kvm_amd] Call Trace: <TASK> enter_svm_guest_mode+0x114/0x560 [kvm_amd] nested_svm_vmrun+0x260/0x330 [kvm_amd] vmrun_interception+0x29/0x30 [kvm_amd] svm_invoke_exit_handler+0x35/0x100 [kvm_amd] svm_handle_exit+0xe7/0x180 [kvm_amd] kvm_arch_vcpu_ioctl_run+0x1eab/0x2570 [kvm] kvm_vcpu_ioctl+0x4c9/0x5b0 [kvm] __se_sys_ioctl+0x7a/0xc0 __x64_sys_ioctl+0x21/0x30 do_syscall_64+0x41/0x90 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x45ca1b Note, the nested #VMEXIT path has the same flaw, but needs a different fix and will be handled separately.

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= 5228eb96a4875f8cf5d61d486e3795ac14df8904, < 6c1ecfea1daf6e75c46e295aad99dfbafd878897; >= 5228eb96a4875f8cf5d61d486e3795ac14df8904, < 02b24270568f65dd607c4a848512dc8055b4491b; >= 5228eb96a4875f8cf5d61d486e3795ac14df8904, < 7cafe9b8e22bb3d77f130c461aedf6868c4aaf58—cvelist
Linux5.16—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2023-53663. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-53663.md
Affected: Linux >= 5228eb96a4875f8cf5d61d486e3795ac14df8904, < 6c1ecfea1daf6e75c46e295aad99dfbafd878897; >= 5228eb96a4875f8cf5d61d486e3795ac14df8904, < 02b24270568f65dd607c4a848512dc8055b4491b; >= 5228eb96a4875f8cf5d61d486e3795ac14df8904, < 7cafe9b8e22bb3d77f130c461aedf6868c4aaf58; Linux 5.16
Fixed in: Linux 6c1ecfea1daf6e75c46e295aad99dfbafd878897, Linux 02b24270568f65dd607c4a848512dc8055b4491b, Linux 7cafe9b8e22bb3d77f130c461aedf6868c4aaf58

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2023-53663 being exploited?

There is no confirmed exploitation: CVE-2023-53663 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.22% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2023-53663?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

Which versions are affected by CVE-2023-53663?

Linux >= 5228eb96a4875f8cf5d61d486e3795ac14df8904, < 6c1ecfea1daf6e75c46e295aad99dfbafd878897; >= 5228eb96a4875f8cf5d61d486e3795ac14df8904, < 02b24270568f65dd607c4a848512dc8055b4491b; >= 5228eb96a4875f8cf5d61d486e3795ac14df8904, < 7cafe9b8e22bb3d77f130c461aedf6868c4aaf58; Linux 5.16.

Is there a fix for CVE-2023-53663?

Yes. Fixed in Linux 6c1ecfea1daf6e75c46e295aad99dfbafd878897, Linux 02b24270568f65dd607c4a848512dc8055b4491b, Linux 7cafe9b8e22bb3d77f130c461aedf6868c4aaf58. Upgrade Linux to 7cafe9b8e22bb3d77f130c461aedf6868c4aaf58 or later.

How do I check if I'm affected by CVE-2023-53663?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors