CVE-2025-38055
perf/x86/intel: Fix segfault with PEBS-via-PT with sample_freq
Mitigation
- Upgrade Linux to 6.11 or later.
Who should check
- Anyone running Linux >= 722e42e45c2f1c6d1adec7813651dba5139f52f4, < ca51db23166767a8445deb8331c9b8d5205d9287; >= 722e42e45c2f1c6d1adec7813651dba5139f52f4, < 0b1874a5b1173fbcb2185ab828f4c33d067e551e; >= 722e42e45c2f1c6d1adec7813651dba5139f52f4, < 99bcd91fabada0dbb1d5f0de44532d8008db93c6; a9d6d466bcf0621a872e1052bc40e4c6f0541b8d; >= 6.10.5, < 6.11
- Anyone running Linux 6.11
Vulnerability facts
- Affected
- Linux >= 722e42e45c2f1c6d1adec7813651dba5139f52f4, < ca51db23166767a8445deb8331c9b8d5205d9287; >= 722e42e45c2f1c6d1adec7813651dba5139f52f4, < 0b1874a5b1173fbcb2185ab828f4c33d067e551e; >= 722e42e45c2f1c6d1adec7813651dba5139f52f4, < 99bcd91fabada0dbb1d5f0de44532d8008db93c6; a9d6d466bcf0621a872e1052bc40e4c6f0541b8d; >= 6.10.5, < 6.11; Linux 6.11
- Fixed in
- Linux 0b1874a5b1173fbcb2185ab828f4c33d067e551e, Linux 99bcd91fabada0dbb1d5f0de44532d8008db93c6, Linux 6.11
- 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.27% chance of exploitation in 30 days (percentile 13, 2026-11-26)
- CWE
- CWE-476
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: perf/x86/intel: Fix segfault with PEBS-via-PT with sample_freq Currently, using PEBS-via-PT with a sample frequency instead of a sample period, causes a segfault. For example: BUG: kernel NULL pointer dereference, address: 0000000000000195 <NMI> ? __die_body.cold+0x19/0x27 ? page_fault_oops+0xca/0x290 ? exc_page_fault+0x7e/0x1b0 ? asm_exc_page_fault+0x26/0x30 ? intel_pmu_pebs_event_update_no_drain+0x40/0x60 ? intel_pmu_pebs_event_update_no_drain+0x32/0x60 intel_pmu_drain_pebs_icl+0x333/0x350 handle_pmi_common+0x272/0x3c0 intel_pmu_handle_irq+0x10a/0x2e0 perf_event_nmi_handler+0x2a/0x50 That happens because intel_pmu_pebs_event_update_no_drain() assumes all the pebs_enabled bits represent counter indexes, which is not always the case. In this particular case, bits 60 and 61 are set for PEBS-via-PT purposes. The behaviour of PEBS-via-PT with sample frequency is questionable because although a PMI is generated (PEBS_PMI_AFTER_EACH_RECORD), the period is not adjusted anyway. Putting that aside, fix intel_pmu_pebs_event_update_no_drain() by passing the mask of counter bits instead of 'size'. Note, prior to the Fixes commit, 'size' would be limited to the maximum counter index, so the issue was not hit.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 722e42e45c2f1c6d1adec7813651dba5139f52f4, < ca51db23166767a8445deb8331c9b8d5205d9287; >= 722e42e45c2f1c6d1adec7813651dba5139f52f4, < 0b1874a5b1173fbcb2185ab828f4c33d067e551e; >= 722e42e45c2f1c6d1adec7813651dba5139f52f4, < 99bcd91fabada0dbb1d5f0de44532d8008db93c6; a9d6d466bcf0621a872e1052bc40e4c6f0541b8d; >= 6.10.5, < 6.11 | — | cvelist |
| Linux | 6.11 | — | 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-2025-38055. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2025-38055.md Affected: Linux >= 722e42e45c2f1c6d1adec7813651dba5139f52f4, < ca51db23166767a8445deb8331c9b8d5205d9287; >= 722e42e45c2f1c6d1adec7813651dba5139f52f4, < 0b1874a5b1173fbcb2185ab828f4c33d067e551e; >= 722e42e45c2f1c6d1adec7813651dba5139f52f4, < 99bcd91fabada0dbb1d5f0de44532d8008db93c6; a9d6d466bcf0621a872e1052bc… Fixed in: Linux 0b1874a5b1173fbcb2185ab828f4c33d067e551e, Linux 99bcd91fabada0dbb1d5f0de44532d8008db93c6, Linux 6.11 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-2025-38055 being exploited?
There is no confirmed exploitation: CVE-2025-38055 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.27% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2025-38055?
Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2025-38055?
Linux >= 722e42e45c2f1c6d1adec7813651dba5139f52f4, < ca51db23166767a8445deb8331c9b8d5205d9287; >= 722e42e45c2f1c6d1adec7813651dba5139f52f4, < 0b1874a5b1173fbcb2185ab828f4c33d067e551e; >= 722e42e45c2f1c6d1adec7813651dba5139f52f4, < 99bcd91fabada0dbb1d5f0de44532d8008db93c6; a9d6d466bcf0621a872e1052bc40e4c6f0541b8d; >= 6.10.5, < 6.11; Linux 6.11.
Is there a fix for CVE-2025-38055?
Yes. Fixed in Linux 0b1874a5b1173fbcb2185ab828f4c33d067e551e, Linux 99bcd91fabada0dbb1d5f0de44532d8008db93c6, Linux 6.11. Upgrade Linux to 6.11 or later.
How do I check if I'm affected by CVE-2025-38055?
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.