# CVE-2025-68375: perf/x86: Fix NULL event access and potential PEBS record loss

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 11% of CVEs (2026-12-01)
- Published: 2025-12-24T10:33:04.819Z
- Modified: 2026-10-13T11:10:00.203Z
- Assigned by: Linux

## Description

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

perf/x86: Fix NULL event access and potential PEBS record loss

When intel_pmu_drain_pebs_icl() is called to drain PEBS records, the
perf_event_overflow() could be called to process the last PEBS record.

While perf_event_overflow() could trigger the interrupt throttle and
stop all events of the group, like what the below call-chain shows.

perf_event_overflow()
  -> __perf_event_overflow()
    ->__perf_event_account_interrupt()
      -> perf_event_throttle_group()
        -> perf_event_throttle()
          -> event->pmu->stop()
            -> x86_pmu_stop()

The side effect of stopping the events is that all corresponding event
pointers in cpuc->events[] array are cleared to NULL.

Assume there are two PEBS events (event a and event b) in a group. When
intel_pmu_drain_pebs_icl() calls perf_event_overflow() to process the
last PEBS record of PEBS event a, interrupt throttle is triggered and
all pointers of event a and event b are cleared to NULL. Then
intel_pmu_drain_pebs_icl() tries to process the last PEBS record of
event b and encounters NULL pointer access.

To avoid this issue, move cpuc->events[] clearing from x86_pmu_stop()
to x86_pmu_del(). It's safe since cpuc->active_mask or
cpuc->pebs_enabled is always checked before access the event pointer
from cpuc->events[].

(As written by CVE List.)

## Affected

- Linux Linux: from 9734e25fbf5ae68eb04234b2cd14a4b36ab89141 before cf69b99805c263117305ac6dffbc85aaf9259d32; from 9734e25fbf5ae68eb04234b2cd14a4b36ab89141 before 6b089028bff1f2ff9e0c62b8f1faca1a620e5d6e; from 9734e25fbf5ae68eb04234b2cd14a4b36ab89141 before 7e772a93eb61cb6265bdd1c5bde17d0f2718b452; 6.16 (not affected: before 6.16; from 6.17.13 up to 6.17.*; from 6.18.2 up to 6.18.*; from 6.19 up to *)

## References

- <https://git.kernel.org/stable/c/cf69b99805c263117305ac6dffbc85aaf9259d32>
- <https://git.kernel.org/stable/c/6b089028bff1f2ff9e0c62b8f1faca1a620e5d6e>
- <https://git.kernel.org/stable/c/7e772a93eb61cb6265bdd1c5bde17d0f2718b452>

## Sources

- CVE List: [CVE-2025-68375](https://www.cve.org/CVERecord?id=CVE-2025-68375), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2025-68375](https://nvd.nist.gov/vuln/detail/CVE-2025-68375), Public domain, modified 2026-10-13

---

Page: https://cve.day/CVE-2025-68375 · Whole record: https://cve.day/CVE-2025-68375.json · Rebuilt by cve.day 2026-11-25T22:59:09.874Z
