# CVE-2025-71125: tracing: Do not register unsupported perf events

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

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **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
- **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.21% (percentile 7, 2026-11-26)
- **CWE:** CWE-476
- **Published:** 2026-01-14T15:06:10.662Z
- **Modified:** 2026-10-19T19:17:13.963Z

## Who should check

- Anyone running Linux \>= 4b147936fa509650beaf638b331573c23ba4d609, \< 6819bc6285c0ff835f67cfae7efebc03541782f6; \>= 4b147936fa509650beaf638b331573c23ba4d609, \< 6d15f08e6d8d4b4fb02d90805ea97f3e2c1d6fbc; \>= 4b147936fa509650beaf638b331573c23ba4d609, \< f7305697b60d79bc69c0a6e280fc931b4e8862dd; \>= 4b147936fa509650beaf638b331573c23ba4d609, \< 65b1971147ec12f0b1cee0811c859a3d7d9b04ce; \>= 4b147936fa509650beaf638b331573c23ba4d609, \< 3437c775bf209c674ad66304213b6b3c3b1b3f69; \>= 4b147936fa509650beaf638b331573c23ba4d609, \< 6df47e5bb9b62d72f186f826ab643ea1856877c7; \>= 4b147936fa509650beaf638b331573c23ba4d609, \< ef7f38df890f5dcd2ae62f8dbde191d72f3bebae
- Anyone running Linux 4.17

## Description

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

tracing: Do not register unsupported perf events

Synthetic events currently do not have a function to register perf events.
This leads to calling the tracepoint register functions with a NULL
function pointer which triggers:

 ------------\[ cut here \]------------
 WARNING: kernel/tracepoint.c:175 at tracepoint\_add\_func+0x357/0x370, CPU\#2: perf/2272
 Modules linked in: kvm\_intel kvm irqbypass
 CPU: 2 UID: 0 PID: 2272 Comm: perf Not tainted 6.18.0-ftest-11964-ge022764176fc-dirty \#323 PREEMPTLAZY
 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.17.0-debian-1.17.0-1 04/01/2014
 RIP: 0010:tracepoint\_add\_func+0x357/0x370
 Code: 28 9c e8 4c 0b f5 ff eb 0f 4c 89 f7 48 c7 c6 80 4d 28 9c e8 ab 89 f4 ff 31 c0 5b 41 5c 41 5d 41 5e 41 5f 5d c3 cc cc cc cc cc \<0f\> 0b 49 c7 c6 ea ff ff ff e9 ee fe ff ff 0f 0b e9 f9 fe ff ff 0f
 RSP: 0018:ffffabc0c44d3c40 EFLAGS: 00010246
 RAX: 0000000000000001 RBX: ffff9380aa9e4060 RCX: 0000000000000000
 RDX: 000000000000000a RSI: ffffffff9e1d4a98 RDI: ffff937fcf5fd6c8
 RBP: 0000000000000001 R08: 0000000000000007 R09: ffff937fcf5fc780
 R10: 0000000000000003 R11: ffffffff9c193910 R12: 000000000000000a
 R13: ffffffff9e1e5888 R14: 0000000000000000 R15: ffffabc0c44d3c78
 FS:  00007f6202f5f340(0000) GS:ffff93819f00f000(0000) knlGS:0000000000000000
 CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
 CR2: 000055d3162281a8 CR3: 0000000106a56003 CR4: 0000000000172ef0
 Call Trace:
  \<TASK\>
  tracepoint\_probe\_register+0x5d/0x90
  synth\_event\_reg+0x3c/0x60
  perf\_trace\_event\_init+0x204/0x340
  perf\_trace\_init+0x85/0xd0
  perf\_tp\_event\_init+0x2e/0x50
  perf\_try\_init\_event+0x6f/0x230
  ? perf\_event\_alloc+0x4bb/0xdc0
  perf\_event\_alloc+0x65a/0xdc0
  \_\_se\_sys\_perf\_event\_open+0x290/0x9f0
  do\_syscall\_64+0x93/0x7b0
  ? entry\_SYSCALL\_64\_after\_hwframe+0x76/0x7e
  ? trace\_hardirqs\_off+0x53/0xc0
  entry\_SYSCALL\_64\_after\_hwframe+0x76/0x7e

Instead, have the code return -ENODEV, which doesn't warn and has perf
error out with:

 \# perf record -e synthetic:futex\_wait
Error:
The sys\_perf\_event\_open() syscall returned with 19 (No such device) for event (synthetic:futex\_wait).
"dmesg \| grep -i perf" may provide additional information.

Ideally perf should support synthetic events, but for now just fix the
warning. The support can come later.

## Affected and fixed versions

- Linux: \>= 4b147936fa509650beaf638b331573c23ba4d609, \< 6819bc6285c0ff835f67cfae7efebc03541782f6; \>= 4b147936fa509650beaf638b331573c23ba4d609, \< 6d15f08e6d8d4b4fb02d90805ea97f3e2c1d6fbc; \>= 4b147936fa509650beaf638b331573c23ba4d609, \< f7305697b60d79bc69c0a6e280fc931b4e8862dd; \>= 4b147936fa509650beaf638b331573c23ba4d609, \< 65b1971147ec12f0b1cee0811c859a3d7d9b04ce; \>= 4b147936fa509650beaf638b331573c23ba4d609, \< 3437c775bf209c674ad66304213b6b3c3b1b3f69; \>= 4b147936fa509650beaf638b331573c23ba4d609, \< 6df47e5bb9b62d72f186f826ab643ea1856877c7; \>= 4b147936fa509650beaf638b331573c23ba4d609, \< ef7f38df890f5dcd2ae62f8dbde191d72f3bebae (cvelist)
- Linux: 4.17 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2025-71125.md
Affected: Linux >= 4b147936fa509650beaf638b331573c23ba4d609, < 6819bc6285c0ff835f67cfae7efebc03541782f6; >= 4b147936fa509650beaf638b331573c23ba4d609, < 6d15f08e6d8d4b4fb02d90805ea97f3e2c1d6fbc; >= 4b147936fa509650beaf638b331573c23ba4d609, < f7305697b60d79bc69c0a6e280fc931b4e8862dd; >= 4b147936fa509650beaf638…
Fixed in: Linux 6819bc6285c0ff835f67cfae7efebc03541782f6, Linux 6d15f08e6d8d4b4fb02d90805ea97f3e2c1d6fbc, Linux 65b1971147ec12f0b1cee0811c859a3d7d9b04ce, Linux 3437c775bf209c674ad66304213b6b3c3b1b3f69, Linux 6df47e5bb9b62d72f186f826ab643ea1856877c7

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-71125 being exploited?

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

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

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

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

Linux \>= 4b147936fa509650beaf638b331573c23ba4d609, \< 6819bc6285c0ff835f67cfae7efebc03541782f6; \>= 4b147936fa509650beaf638b331573c23ba4d609, \< 6d15f08e6d8d4b4fb02d90805ea97f3e2c1d6fbc; \>= 4b147936fa509650beaf638b331573c23ba4d609, \< f7305697b60d79bc69c0a6e280fc931b4e8862dd; \>= 4b147936fa509650beaf638b331573c23ba4d609, \< 65b1971147ec12f0b1cee0811c859a3d7d9b04ce; \>= 4b147936fa509650beaf638b331573c23ba4d609, \< 3437c775bf209c674ad66304213b6b3c3b1b3f69; \>= 4b147936fa509650beaf638b331573c23ba4d609, \< 6df47e5bb9b62d72f186f826ab643ea1856877c7; \>= 4b147936fa509650beaf638b331573c23ba4d609, \< ef7f38df890f5dcd2ae62f8dbde191d72f3bebae; Linux 4.17.

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

Yes. Fixed in Linux 6819bc6285c0ff835f67cfae7efebc03541782f6, Linux 6d15f08e6d8d4b4fb02d90805ea97f3e2c1d6fbc, Linux 65b1971147ec12f0b1cee0811c859a3d7d9b04ce, Linux 3437c775bf209c674ad66304213b6b3c3b1b3f69, Linux 6df47e5bb9b62d72f186f826ab643ea1856877c7. No fix listed yet: follow the vendor advisory.

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

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/6819bc6285c0ff835f67cfae7efebc03541782f6>
- patch: <https://git.kernel.org/stable/c/6d15f08e6d8d4b4fb02d90805ea97f3e2c1d6fbc>
- patch: <https://git.kernel.org/stable/c/f7305697b60d79bc69c0a6e280fc931b4e8862dd>
- patch: <https://git.kernel.org/stable/c/65b1971147ec12f0b1cee0811c859a3d7d9b04ce>
- patch: <https://git.kernel.org/stable/c/3437c775bf209c674ad66304213b6b3c3b1b3f69>
- patch: <https://git.kernel.org/stable/c/6df47e5bb9b62d72f186f826ab643ea1856877c7>
- patch: <https://git.kernel.org/stable/c/ef7f38df890f5dcd2ae62f8dbde191d72f3bebae>

## 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-71125>

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