# CVE-2025-22094: powerpc/perf: Fix ref-counting on the PMU 'vpa\_pmu'

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

- **Severity:** HIGH 7.3
- **CVSS:** 7.3 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: Required; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; 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.30% (percentile 15, 2026-11-26)
- **CWE:** CWE-476
- **Published:** 2025-04-16T14:12:45.512Z
- **Modified:** 2026-08-05T11:56:45.289Z

## Who should check

- Anyone running Linux \>= 176cda0619b6c17a553625f6e2fcbc3981ad667d, \< 70ea7c5189197c6f5acdcfd8a2651be2c41e2faa; \>= 176cda0619b6c17a553625f6e2fcbc3981ad667d, \< 6cf045b51e2c5721db7e55305f09ee32741e00f9; \>= 176cda0619b6c17a553625f6e2fcbc3981ad667d, \< ff99d5b6a246715f2257123cdf6c4a29cb33aa78
- Anyone running Linux 6.13

## Description

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

powerpc/perf: Fix ref-counting on the PMU 'vpa\_pmu'

Commit 176cda0619b6 ("powerpc/perf: Add perf interface to expose vpa
counters") introduced 'vpa\_pmu' to expose Book3s-HV nested APIv2 provided
L1\<-\>L2 context switch latency counters to L1 user-space via
perf-events. However the newly introduced PMU named 'vpa\_pmu' doesn't
assign ownership of the PMU to the module 'vpa\_pmu'. Consequently the
module 'vpa\_pmu' can be unloaded while one of the perf-events are still
active, which can lead to kernel oops and panic of the form below on a
Pseries-LPAR:

BUG: Kernel NULL pointer dereference on read at 0x00000058
\<snip\>
 NIP \[c000000000506cb8\] event\_sched\_out+0x40/0x258
 LR \[c00000000050e8a4\] \_\_perf\_remove\_from\_context+0x7c/0x2b0
 Call Trace:
 \[c00000025fc3fc30\] \[c00000025f8457a8\] 0xc00000025f8457a8 (unreliable)
 \[c00000025fc3fc80\] \[fffffffffffffee0\] 0xfffffffffffffee0
 \[c00000025fc3fcd0\] \[c000000000501e70\] event\_function+0xa8/0x120
\<snip\>
 Kernel panic - not syncing: Aiee, killing interrupt handler!

Fix this by adding the module ownership to 'vpa\_pmu' so that the module
'vpa\_pmu' is ref-counted and prevented from being unloaded when perf-events
are initialized.

## Affected and fixed versions

- Linux: \>= 176cda0619b6c17a553625f6e2fcbc3981ad667d, \< 70ea7c5189197c6f5acdcfd8a2651be2c41e2faa; \>= 176cda0619b6c17a553625f6e2fcbc3981ad667d, \< 6cf045b51e2c5721db7e55305f09ee32741e00f9; \>= 176cda0619b6c17a553625f6e2fcbc3981ad667d, \< ff99d5b6a246715f2257123cdf6c4a29cb33aa78 (cvelist)
- Linux: 6.13 (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-22094. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-22094.md
Affected: Linux >= 176cda0619b6c17a553625f6e2fcbc3981ad667d, < 70ea7c5189197c6f5acdcfd8a2651be2c41e2faa; >= 176cda0619b6c17a553625f6e2fcbc3981ad667d, < 6cf045b51e2c5721db7e55305f09ee32741e00f9; >= 176cda0619b6c17a553625f6e2fcbc3981ad667d, < ff99d5b6a246715f2257123cdf6c4a29cb33aa78; Linux 6.13
Fixed in: Linux 70ea7c5189197c6f5acdcfd8a2651be2c41e2faa, Linux 6cf045b51e2c5721db7e55305f09ee32741e00f9

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

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

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

High: CVSS 7.3 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed). A user has to take an action, such as opening a link, for the attack to work.

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

Linux \>= 176cda0619b6c17a553625f6e2fcbc3981ad667d, \< 70ea7c5189197c6f5acdcfd8a2651be2c41e2faa; \>= 176cda0619b6c17a553625f6e2fcbc3981ad667d, \< 6cf045b51e2c5721db7e55305f09ee32741e00f9; \>= 176cda0619b6c17a553625f6e2fcbc3981ad667d, \< ff99d5b6a246715f2257123cdf6c4a29cb33aa78; Linux 6.13.

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

Yes. Fixed in Linux 70ea7c5189197c6f5acdcfd8a2651be2c41e2faa, Linux 6cf045b51e2c5721db7e55305f09ee32741e00f9. No fix listed yet: follow the vendor advisory.

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

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/70ea7c5189197c6f5acdcfd8a2651be2c41e2faa>
- patch: <https://git.kernel.org/stable/c/6cf045b51e2c5721db7e55305f09ee32741e00f9>
- patch: <https://git.kernel.org/stable/c/ff99d5b6a246715f2257123cdf6c4a29cb33aa78>

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

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