CVE-2025-38233: powerpc64/ftrace: fix clobbered r15 during livepatching
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.
Security readout for executives and security teams
Plain-English summary
A Linux kernel defect on 64-bit PowerPC systems can corrupt a processor register while livepatching, potentially causing kernel crashes or incorrect privileged memory operations. The supplied CVSS assessment rates possible confidentiality, integrity, and availability impact as high, but exploitation requires local low-privileged access and a relevant system configuration.
Executive priority
Treat as a high-priority infrastructure issue where powerpc64 systems use livepatching or host untrusted local users. Prioritize inventory and vendor-backed kernel updates. Broad emergency action across non-PowerPC fleets is not supported by the supplied evidence.
Technical view
On powerpc64 with PPC_FTRACE_OUT_OF_LINE, ftrace clobbers register r15. The livepatch sequence failed to restore r15, allowing subsequent kernel execution to use corrupted state and trigger invalid memory access. The cited kernel changes restore r15 consistently. The supplied affected range includes Linux 6.13 through 6.15.4 and 6.16, but distributor-specific backports require verification.
Likely exposure
Exposure is most relevant to powerpc64 Linux systems using out-of-line ftrace and live kernel patching. Internet reachability alone does not create exposure because the supplied vector is local. Systems on other architectures or without the implicated functionality are less likely to be affected, but kernel vendor status should determine final scope.
Exploitation context
The supplied CVSS vector describes local, low-complexity exploitation requiring low privileges and no user interaction. Successful abuse could affect kernel confidentiality, integrity, and availability. The source bundle reports no CISA KEV listing and provides no evidence of active exploitation or a public weaponized exploit.
Researcher notes
The demonstrated failure is a kernel bad-area write following r15 corruption, but the sources do not establish a reliable privilege-escalation technique. Assess reachability through the precise ftrace and livepatch build/runtime path. Version strings alone may misclassify distribution kernels because fixes can be backported independently.
Mitigation direction
Identify powerpc64 systems using livepatching and out-of-line ftrace; prioritize those permitting untrusted local access.
Install a vendor-supported kernel update containing the cited r15 restoration fix.
If updates are unavailable, obtain configuration-specific mitigation guidance from the kernel or distribution vendor.
Restrict unnecessary local accounts and workloads until affected systems are remediated.
Validation and detection
Confirm each system's architecture, kernel release, livepatch usage, and relevant ftrace configuration.
Verify the installed kernel includes a vendor backport or one of the cited stable fixes.
Review kernel logs for bad-area access, register corruption, or crashes occurring during livepatch operations.
After updating, validate livepatch operations in a controlled environment and monitor for renewed kernel faults.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cve · low confidence lookup
CVE-2025-38233 mapping review
Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
1CVSS vectors
3Timeline events
0ADP providers
3Source links
CVSS vector scores
1 official score
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.