# CVE-2025-38233: powerpc64/ftrace: fix clobbered r15 during livepatching

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

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; 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.26% (percentile 11, 2026-11-26)
- **Published:** 2025-07-04T13:37:46.293Z
- **Modified:** 2026-08-05T12:00:33.319Z

## Who should check

- Anyone running Linux \>= eec37961a56aa4f3fe1c33ffd48eec7d1bb0c009, \< a9212bf5ca640232254b31330e86272fe4073bc9; \>= eec37961a56aa4f3fe1c33ffd48eec7d1bb0c009, \< cb5b691f8273432297611863ac142e17119279e0
- Anyone running Linux 6.13

## Description

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

powerpc64/ftrace: fix clobbered r15 during livepatching

While r15 is clobbered always with PPC\_FTRACE\_OUT\_OF\_LINE, it is
not restored in livepatch sequence leading to not so obvious fails
like below:

  BUG: Unable to handle kernel data access on write at 0xc0000000000f9078
  Faulting instruction address: 0xc0000000018ff958
  Oops: Kernel access of bad area, sig: 11 \[\#1\]
  ...
  NIP:  c0000000018ff958 LR: c0000000018ff930 CTR: c0000000009c0790
  REGS: c00000005f2e7790 TRAP: 0300   Tainted: G              K      (6.14.0+)
  MSR:  8000000000009033 \<SF,EE,ME,IR,DR,RI,LE\>  CR: 2822880b  XER: 20040000
  CFAR: c0000000008addc0 DAR: c0000000000f9078 DSISR: 0a000000 IRQMASK: 1
  GPR00: c0000000018f2584 c00000005f2e7a30 c00000000280a900 c000000017ffa488
  GPR04: 0000000000000008 0000000000000000 c0000000018f24fc 000000000000000d
  GPR08: fffffffffffe0000 000000000000000d 0000000000000000 0000000000008000
  GPR12: c0000000009c0790 c000000017ffa480 c00000005f2e7c78 c0000000000f9070
  GPR16: c00000005f2e7c90 0000000000000000 0000000000000000 0000000000000000
  GPR20: 0000000000000000 c00000005f3efa80 c00000005f2e7c60 c00000005f2e7c88
  GPR24: c00000005f2e7c60 0000000000000001 c0000000000f9078 0000000000000000
  GPR28: 00007fff97960000 c000000017ffa480 0000000000000000 c0000000000f9078
  ...
  Call Trace:
    check\_heap\_object+0x34/0x390 (unreliable)
  \_\_mutex\_unlock\_slowpath.isra.0+0xe4/0x230
  seq\_read\_iter+0x430/0xa90
  proc\_reg\_read\_iter+0xa4/0x200
  vfs\_read+0x41c/0x510
  ksys\_read+0xa4/0x190
  system\_call\_exception+0x1d0/0x440
  system\_call\_vectored\_common+0x15c/0x2ec

Fix it by restoring r15 always.

## Affected and fixed versions

- Linux: \>= eec37961a56aa4f3fe1c33ffd48eec7d1bb0c009, \< a9212bf5ca640232254b31330e86272fe4073bc9; \>= eec37961a56aa4f3fe1c33ffd48eec7d1bb0c009, \< cb5b691f8273432297611863ac142e17119279e0 (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-38233. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-38233.md
Affected: Linux >= eec37961a56aa4f3fe1c33ffd48eec7d1bb0c009, < a9212bf5ca640232254b31330e86272fe4073bc9; >= eec37961a56aa4f3fe1c33ffd48eec7d1bb0c009, < cb5b691f8273432297611863ac142e17119279e0; Linux 6.13
Fixed in: no fixed version listed yet

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

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

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

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

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

Linux \>= eec37961a56aa4f3fe1c33ffd48eec7d1bb0c009, \< a9212bf5ca640232254b31330e86272fe4073bc9; \>= eec37961a56aa4f3fe1c33ffd48eec7d1bb0c009, \< cb5b691f8273432297611863ac142e17119279e0; Linux 6.13.

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

No fixed version is listed in the sources yet. No fix listed yet: follow the vendor advisory.

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

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/a9212bf5ca640232254b31330e86272fe4073bc9>
- patch: <https://git.kernel.org/stable/c/cb5b691f8273432297611863ac142e17119279e0>

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

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