KVM: VMX: Bury Intel PT virtualization (guest/host mode) behind CONFIG_BROKEN
Summary
| CVE | CVE-2024-53135 |
|---|---|
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2024-12-04 15:15:13 UTC |
| Updated | 2026-08-04 11:21:56 UTC |
| Description | In the Linux kernel, the following vulnerability has been resolved: KVM: VMX: Bury Intel PT virtualization (guest/host mode) behind CONFIG_BROKEN Hide KVM's pt_mode module param behind CONFIG_BROKEN, i.e. disable support for virtualizing Intel PT via guest/host mode unless BROKEN=y. There are myriad bugs in the implementation, some of which are fatal to the guest, and others which put the stability and health of the host at risk. For guest fatalities, the most glaring issue is that KVM fails to ensure tracing is disabled, and *stays* disabled prior to VM-Enter, which is necessary as hardware disallows loading (the guest's) RTIT_CTL if tracing is enabled (enforced via a VMX consistency check). Per the SDM: If the logical processor is operating with Intel PT enabled (if IA32_RTIT_CTL.TraceEn = 1) at the time of VM entry, the "load IA32_RTIT_CTL" VM-entry control must be 0. On the host side, KVM doesn't validate the guest CPUID configuration provided by userspace, and even worse, uses the guest configuration to decide what MSRs to save/load at VM-Enter and VM-Exit. E.g. configuring guest CPUID to enumerate more address ranges than are supported in hardware will result in KVM trying to passthrough, save, and load non-existent MSRs, which generates a variety of WARNs, ToPA ERRORs in the host, a potential deadlock, etc. |
Risk And Classification
Primary CVSS: v3.1 6.5 MEDIUM from [email protected]
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H
Problem Types: NVD-CWE-noinfo
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Primary | 6.5 | MEDIUM | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H |
| 3.1 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | Secondary | 8.8 | HIGH | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H |
| 3.1 | CNA | DECLARED | 8.8 | HIGH | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H |
CVSS v3.1 Breakdown
Attack Vector
LocalAttack Complexity
LowPrivileges Required
LowUser Interaction
NoneScope
ChangedConfidentiality
NoneIntegrity
NoneAvailability
HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Operating System | Linux | Linux Kernel | All | All | All | All |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Linux | Linux | affected f99e3daf94ff35dd4a878d32ff66e1fd35223ad6 c3742319d021f5aa3a0a8c828485fee14753f6de git | Not specified |
| CNA | Linux | Linux | affected f99e3daf94ff35dd4a878d32ff66e1fd35223ad6 d4b42f926adcce4e5ec193c714afd9d37bba8e5b git | Not specified |
| CNA | Linux | Linux | affected f99e3daf94ff35dd4a878d32ff66e1fd35223ad6 b8a1d572478b6f239061ee9578b2451bf2f021c2 git | Not specified |
| CNA | Linux | Linux | affected f99e3daf94ff35dd4a878d32ff66e1fd35223ad6 e6716f4230a8784957273ddd27326264b27b9313 git | Not specified |
| CNA | Linux | Linux | affected f99e3daf94ff35dd4a878d32ff66e1fd35223ad6 d28b059ee4779b5102c5da6e929762520510e406 git | Not specified |
| CNA | Linux | Linux | affected f99e3daf94ff35dd4a878d32ff66e1fd35223ad6 b91bb0ce5cd7005b376eac690ec664c1b56372ec git | Not specified |
| CNA | Linux | Linux | affected f99e3daf94ff35dd4a878d32ff66e1fd35223ad6 aa0d42cacf093a6fcca872edc954f6f812926a17 git | Not specified |
| CNA | Linux | Linux | affected 5.0 | Not specified |
| CNA | Linux | Linux | unaffected 5.0 semver | Not specified |
| CNA | Linux | Linux | unaffected 5.4.287 5.4.* semver | Not specified |
| CNA | Linux | Linux | unaffected 5.10.231 5.10.* semver | Not specified |
| CNA | Linux | Linux | unaffected 5.15.174 5.15.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.1.119 6.1.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.6.63 6.6.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.11.10 6.11.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.12 * original_commit_for_fix | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| git.kernel.org/stable/c/d28b059ee4779b5102c5da6e929762520510e406 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/b91bb0ce5cd7005b376eac690ec664c1b56372ec | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| lists.debian.org/debian-lts-announce/2025/03/msg00002.html | af854a3a-2127-422b-91ae-364da2661108 | lists.debian.org | |
| git.kernel.org/stable/c/d4b42f926adcce4e5ec193c714afd9d37bba8e5b | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/b8a1d572478b6f239061ee9578b2451bf2f021c2 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/aa0d42cacf093a6fcca872edc954f6f812926a17 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/c3742319d021f5aa3a0a8c828485fee14753f6de | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/e6716f4230a8784957273ddd27326264b27b9313 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| lists.debian.org/debian-lts-announce/2025/01/msg00001.html | af854a3a-2127-422b-91ae-364da2661108 | lists.debian.org | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.