# CVE-2025-68798: perf/x86/amd: Check event before enable to avoid GPF

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

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.27% (percentile 11, 2026-11-28)
- **Published:** 2026-01-13T15:29:08.329Z
- **Modified:** 2026-11-10T13:18:00.293Z

## Who should check

- Anyone running Linux \>= ada543459cab7f653dcacdaba4011a8bb19c627c, \< 49324a0c40f7e9bae1bd0362d23fc42232e14621; \>= ada543459cab7f653dcacdaba4011a8bb19c627c, \< 6e41d9ec8d7cc3f01b9ba785e05f0ebef8b3b37f; \>= ada543459cab7f653dcacdaba4011a8bb19c627c, \< e1028fb38b328084bc683a4efb001c95d3108573; \>= ada543459cab7f653dcacdaba4011a8bb19c627c, \< 43c2e5c2acaae50e99d1c20a5a46e367c442fb3b; \>= ada543459cab7f653dcacdaba4011a8bb19c627c, \< 866cf36bfee4fba6a492d2dcc5133f857e3446b0
- Anyone running Linux 5.19

## Description

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

perf/x86/amd: Check event before enable to avoid GPF

On AMD machines cpuc-\>events\[idx\] can become NULL in a subtle race
condition with NMI-\>throttle-\>x86\_pmu\_stop().

Check event for NULL in amd\_pmu\_enable\_all() before enable to avoid a GPF.
This appears to be an AMD only issue.

Syzkaller reported a GPF in amd\_pmu\_enable\_all.

INFO: NMI handler (perf\_event\_nmi\_handler) took too long to run: 13.143
    msecs
Oops: general protection fault, probably for non-canonical address
    0xdffffc0000000034: 0000  PREEMPT SMP KASAN NOPTI
KASAN: null-ptr-deref in range \[0x00000000000001a0-0x00000000000001a7\]
CPU: 0 UID: 0 PID: 328415 Comm: repro\_36674776 Not tainted 6.12.0-rc1-syzk
RIP: 0010:x86\_pmu\_enable\_event (arch/x86/events/perf\_event.h:1195
    arch/x86/events/core.c:1430)
RSP: 0018:ffff888118009d60 EFLAGS: 00010012
RAX: dffffc0000000000 RBX: 0000000000000000 RCX: 0000000000000000
RDX: 0000000000000034 RSI: 0000000000000000 RDI: 00000000000001a0
RBP: 0000000000000001 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000002
R13: ffff88811802a440 R14: ffff88811802a240 R15: ffff8881132d8601
FS:  00007f097dfaa700(0000) GS:ffff888118000000(0000) GS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00000000200001c0 CR3: 0000000103d56000 CR4: 00000000000006f0
Call Trace:
 \<IRQ\>
amd\_pmu\_enable\_all (arch/x86/events/amd/core.c:760 (discriminator 2))
x86\_pmu\_enable (arch/x86/events/core.c:1360)
event\_sched\_out (kernel/events/core.c:1191 kernel/events/core.c:1186
    kernel/events/core.c:2346)
\_\_perf\_remove\_from\_context (kernel/events/core.c:2435)
event\_function (kernel/events/core.c:259)
remote\_function (kernel/events/core.c:92 (discriminator 1)
    kernel/events/core.c:72 (discriminator 1))
\_\_flush\_smp\_call\_function\_queue (./arch/x86/include/asm/jump\_label.h:27
    ./include/linux/jump\_label.h:207 ./include/trace/events/csd.h:64
    kernel/smp.c:135 kernel/smp.c:540)
\_\_sysvec\_call\_function\_single (./arch/x86/include/asm/jump\_label.h:27
    ./include/linux/jump\_label.h:207
    ./arch/x86/include/asm/trace/irq\_vectors.h:99 arch/x86/kernel/smp.c:272)
sysvec\_call\_function\_single (arch/x86/kernel/smp.c:266 (discriminator 47)
    arch/x86/kernel/smp.c:266 (discriminator 47))
 \</IRQ\>

## Affected and fixed versions

- Linux: \>= ada543459cab7f653dcacdaba4011a8bb19c627c, \< 49324a0c40f7e9bae1bd0362d23fc42232e14621; \>= ada543459cab7f653dcacdaba4011a8bb19c627c, \< 6e41d9ec8d7cc3f01b9ba785e05f0ebef8b3b37f; \>= ada543459cab7f653dcacdaba4011a8bb19c627c, \< e1028fb38b328084bc683a4efb001c95d3108573; \>= ada543459cab7f653dcacdaba4011a8bb19c627c, \< 43c2e5c2acaae50e99d1c20a5a46e367c442fb3b; \>= ada543459cab7f653dcacdaba4011a8bb19c627c, \< 866cf36bfee4fba6a492d2dcc5133f857e3446b0 (cvelist)
- Linux: 5.19 (cvelist)

## Mitigation

- Upgrade Linux to 866cf36bfee4fba6a492d2dcc5133f857e3446b0 or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2025-68798.md
Affected: Linux >= ada543459cab7f653dcacdaba4011a8bb19c627c, < 49324a0c40f7e9bae1bd0362d23fc42232e14621; >= ada543459cab7f653dcacdaba4011a8bb19c627c, < 6e41d9ec8d7cc3f01b9ba785e05f0ebef8b3b37f; >= ada543459cab7f653dcacdaba4011a8bb19c627c, < e1028fb38b328084bc683a4efb001c95d3108573; >= ada543459cab7f653dcacda…
Fixed in: Linux 49324a0c40f7e9bae1bd0362d23fc42232e14621, Linux 6e41d9ec8d7cc3f01b9ba785e05f0ebef8b3b37f, Linux 43c2e5c2acaae50e99d1c20a5a46e367c442fb3b, Linux 866cf36bfee4fba6a492d2dcc5133f857e3446b0

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-2025-68798 being exploited?

There is no confirmed exploitation: CVE-2025-68798 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-28).

### How serious is CVE-2025-68798?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2025-68798?

Linux \>= ada543459cab7f653dcacdaba4011a8bb19c627c, \< 49324a0c40f7e9bae1bd0362d23fc42232e14621; \>= ada543459cab7f653dcacdaba4011a8bb19c627c, \< 6e41d9ec8d7cc3f01b9ba785e05f0ebef8b3b37f; \>= ada543459cab7f653dcacdaba4011a8bb19c627c, \< e1028fb38b328084bc683a4efb001c95d3108573; \>= ada543459cab7f653dcacdaba4011a8bb19c627c, \< 43c2e5c2acaae50e99d1c20a5a46e367c442fb3b; \>= ada543459cab7f653dcacdaba4011a8bb19c627c, \< 866cf36bfee4fba6a492d2dcc5133f857e3446b0; Linux 5.19.

### Is there a fix for CVE-2025-68798?

Yes. Fixed in Linux 49324a0c40f7e9bae1bd0362d23fc42232e14621, Linux 6e41d9ec8d7cc3f01b9ba785e05f0ebef8b3b37f, Linux 43c2e5c2acaae50e99d1c20a5a46e367c442fb3b, Linux 866cf36bfee4fba6a492d2dcc5133f857e3446b0. Upgrade Linux to 866cf36bfee4fba6a492d2dcc5133f857e3446b0 or later.

### How do I check if I'm affected by CVE-2025-68798?

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

- other: <https://git.kernel.org/stable/c/49324a0c40f7e9bae1bd0362d23fc42232e14621>
- other: <https://git.kernel.org/stable/c/6e41d9ec8d7cc3f01b9ba785e05f0ebef8b3b37f>
- other: <https://git.kernel.org/stable/c/e1028fb38b328084bc683a4efb001c95d3108573>
- other: <https://git.kernel.org/stable/c/43c2e5c2acaae50e99d1c20a5a46e367c442fb3b>
- other: <https://git.kernel.org/stable/c/866cf36bfee4fba6a492d2dcc5133f857e3446b0>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-019113.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-457936.html>

## 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-2025-68798>

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