CVE-2025-38322

CVE-2025-38322

Medium · published July 10, 2025

CVSS v3.1
5.5
EPSS
0%
Percentile
8.9
In the wild
Unconfirmed
What it is

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

perf/x86/intel: Fix crash in icl_update_topdown_event()

The perf_fuzzer found a hard-lockup crash on a RaptorLake machine:

Oops: general protection fault, maybe for address 0xffff89aeceab400: 0000

CPU: 23 UID: 0 PID: 0 Comm: swapper/23

Tainted: [W]=WARN

Hardware name: Dell Inc. Precision 9660/0VJ762

RIP: 0010:native_read_pmc+0x7/0x40

Code: cc e8 8d a9 01 00 48 89 03 5b cd cc cc cc cc 0f 1f ...

RSP: 000:fffb03100273de8 EFLAGS: 00010046

....

Call Trace:

<TASK>

icl_update_topdown_event+0x165/0x190

? ktime_get+0x38/0xd0

intel_pmu_read_event+0xf9/0x210

__perf_event_read+0xf9/0x210

CPUs 16-23 are E-core CPUs that don't support the perf metrics feature.

The icl_update_topdown_event() should not be invoked on these CPUs.

It's a regression of commit:

f9bdf1f95339 ("perf/x86/intel: Avoid disable PMU if !cpuc->enabled in sample read")

The bug introduced by that commit is that the is_topdown_event() function

is mistakenly used to replace the is_topdown_count() call to check if the

topdown functions for the perf metrics feature should be invoked.

Fix it.

The record
Technical detail
CVSS v3.1
5.5 · MEDIUM
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00197 · 8.9th percentile
Published
2025-07-10T13:15Z
Affected products (8)
ProductVersionsFixed in
linux/linux_kernel≥ 6.1.134, < 6.1.1496.1.149
linux/linux_kernel≥ 6.6.87, < 6.6.1016.6.101
linux/linux_kernel≥ 6.12.23, < 6.12.496.12.49
linux/linux_kernel≥ 6.13.11, < 6.146.14
linux/linux_kernel≥ 6.14.2, < 6.15.46.15.4
linux/linux_kernelall versions—
linux/linux_kernelall versions—
debian/debian_linuxall versions—
References (9)
EPSS history
Timeline
  • 10 JUL 08:14Z
    perf/x86/intel: Fix crash in icl_update_topdown_event()
    cvelistv5