# CVE-2024-26992: KVM: x86/pmu: Disable support for adaptive PEBS

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.3
- **CVSS:** 7.3 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Changed (impact reaches other components); Confidentiality impact: High; Integrity impact: Low; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.31% (percentile 16, 2026-11-26)
- **Published:** 2024-05-01T05:27:57.967Z
- **Modified:** 2026-08-05T11:28:52.706Z

## Who should check

- Anyone running Linux \>= c59a1f106f5cd4843c097069ff1bb2ad72103a67, \< 0fb74c00d140a66128afc0003785dcc57e69d312; \>= c59a1f106f5cd4843c097069ff1bb2ad72103a67, \< 037e48ceccf163899374b601afb6ae8d0bf1d2ac; \>= c59a1f106f5cd4843c097069ff1bb2ad72103a67, \< 7a7650b3ac23e5fc8c990f00e94f787dc84e3175; \>= c59a1f106f5cd4843c097069ff1bb2ad72103a67, \< 9e985cbf2942a1bb8fcef9adc2a17d90fd7ca8ee
- Anyone running Linux 6.0

## Description

In the Linux kernel, the following vulnerability has been resolved:

KVM: x86/pmu: Disable support for adaptive PEBS

Drop support for virtualizing adaptive PEBS, as KVM's implementation is
architecturally broken without an obvious/easy path forward, and because
exposing adaptive PEBS can leak host LBRs to the guest, i.e. can leak
host kernel addresses to the guest.

Bug \#1 is that KVM doesn't account for the upper 32 bits of
IA32\_FIXED\_CTR\_CTRL when (re)programming fixed counters, e.g
fixed\_ctrl\_field() drops the upper bits, reprogram\_fixed\_counters()
stores local variables as u8s and truncates the upper bits too, etc.

Bug \#2 is that, because KVM \_always\_ sets precise\_ip to a non-zero value
for PEBS events, perf will \_always\_ generate an adaptive record, even if
the guest requested a basic record.  Note, KVM will also enable adaptive
PEBS in individual \*counter\*, even if adaptive PEBS isn't exposed to the
guest, but this is benign as MSR\_PEBS\_DATA\_CFG is guaranteed to be zero,
i.e. the guest will only ever see Basic records.

Bug \#3 is in perf.  intel\_pmu\_disable\_fixed() doesn't clear the upper
bits either, i.e. leaves ICL\_FIXED\_0\_ADAPTIVE set, and
intel\_pmu\_enable\_fixed() effectively doesn't clear ICL\_FIXED\_0\_ADAPTIVE
either.  I.e. perf \_always\_ enables ADAPTIVE counters, regardless of what
KVM requests.

Bug \#4 is that adaptive PEBS \*might\* effectively bypass event filters set
by the host, as "Updated Memory Access Info Group" records information
that might be disallowed by userspace via KVM\_SET\_PMU\_EVENT\_FILTER.

Bug \#5 is that KVM doesn't ensure LBR MSRs hold guest values (or at least
zeros) when entering a vCPU with adaptive PEBS, which allows the guest
to read host LBRs, i.e. host RIPs/addresses, by enabling "LBR Entries"
records.

Disable adaptive PEBS support as an immediate fix due to the severity of
the LBR leak in particular, and because fixing all of the bugs will be
non-trivial, e.g. not suitable for backporting to stable kernels.

Note!  This will break live migration, but trying to make KVM play nice
with live migration would be quite complicated, wouldn't be guaranteed to
work (i.e. KVM might still kill/confuse the guest), and it's not clear
that there are any publicly available VMMs that support adaptive PEBS,
let alone live migrate VMs that support adaptive PEBS, e.g. QEMU doesn't
support PEBS in any capacity.

## Affected and fixed versions

- Linux: \>= c59a1f106f5cd4843c097069ff1bb2ad72103a67, \< 0fb74c00d140a66128afc0003785dcc57e69d312; \>= c59a1f106f5cd4843c097069ff1bb2ad72103a67, \< 037e48ceccf163899374b601afb6ae8d0bf1d2ac; \>= c59a1f106f5cd4843c097069ff1bb2ad72103a67, \< 7a7650b3ac23e5fc8c990f00e94f787dc84e3175; \>= c59a1f106f5cd4843c097069ff1bb2ad72103a67, \< 9e985cbf2942a1bb8fcef9adc2a17d90fd7ca8ee (cvelist)
- Linux: 6.0 (cvelist)

## Mitigation

- Upgrade Linux to 9e985cbf2942a1bb8fcef9adc2a17d90fd7ca8ee or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2024-26992. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-26992.md
Affected: Linux >= c59a1f106f5cd4843c097069ff1bb2ad72103a67, < 0fb74c00d140a66128afc0003785dcc57e69d312; >= c59a1f106f5cd4843c097069ff1bb2ad72103a67, < 037e48ceccf163899374b601afb6ae8d0bf1d2ac; >= c59a1f106f5cd4843c097069ff1bb2ad72103a67, < 7a7650b3ac23e5fc8c990f00e94f787dc84e3175; >= c59a1f106f5cd4843c09706…
Fixed in: Linux 0fb74c00d140a66128afc0003785dcc57e69d312, Linux 037e48ceccf163899374b601afb6ae8d0bf1d2ac, Linux 7a7650b3ac23e5fc8c990f00e94f787dc84e3175, Linux 9e985cbf2942a1bb8fcef9adc2a17d90fd7ca8ee

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.
```

## FAQ

### Is CVE-2024-26992 being exploited?

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

### How serious is CVE-2024-26992?

High: CVSS 7.3 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2024-26992?

Linux \>= c59a1f106f5cd4843c097069ff1bb2ad72103a67, \< 0fb74c00d140a66128afc0003785dcc57e69d312; \>= c59a1f106f5cd4843c097069ff1bb2ad72103a67, \< 037e48ceccf163899374b601afb6ae8d0bf1d2ac; \>= c59a1f106f5cd4843c097069ff1bb2ad72103a67, \< 7a7650b3ac23e5fc8c990f00e94f787dc84e3175; \>= c59a1f106f5cd4843c097069ff1bb2ad72103a67, \< 9e985cbf2942a1bb8fcef9adc2a17d90fd7ca8ee; Linux 6.0.

### Is there a fix for CVE-2024-26992?

Yes. Fixed in Linux 0fb74c00d140a66128afc0003785dcc57e69d312, Linux 037e48ceccf163899374b601afb6ae8d0bf1d2ac, Linux 7a7650b3ac23e5fc8c990f00e94f787dc84e3175, Linux 9e985cbf2942a1bb8fcef9adc2a17d90fd7ca8ee. Upgrade Linux to 9e985cbf2942a1bb8fcef9adc2a17d90fd7ca8ee or later.

### How do I check if I'm affected by CVE-2024-26992?

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.

## References

- patch: <https://git.kernel.org/stable/c/0fb74c00d140a66128afc0003785dcc57e69d312>
- patch: <https://git.kernel.org/stable/c/037e48ceccf163899374b601afb6ae8d0bf1d2ac>
- patch: <https://git.kernel.org/stable/c/7a7650b3ac23e5fc8c990f00e94f787dc84e3175>
- patch: <https://git.kernel.org/stable/c/9e985cbf2942a1bb8fcef9adc2a17d90fd7ca8ee>
- other: <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/DAMSOZXJEPUOXW33WZYWCVAY7Z5S7OOY/>
- other: <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/4EZ6PJW7VOZ224TD7N4JZNU6KV32ZJ53/>
- other: <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/GCBZZEC7L7KTWWAS2NLJK6SO3IZIL4WW/>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-26992>

HTML: <https://flawdb.com/CVE-2024-26992> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-26992>
