CVE-2022-49164
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2022-49164 addresses a vulnerability in the Linux kernel's PowerPC transactional memory (TM) implementation. The issue was discovered in February 2025 and affects the powerpc/tm subsystem. The vulnerability stems from a potential userspace r13 register corruption that can occur during transactional memory context switching operations (Kernel Git).

Technical details

The vulnerability occurs in two scenarios within the transactional memory implementation: First, in treclaim where an SLB (Segment Lookaside Buffer) miss can occur on the threadstruct->ckptregs while SCRATCH0 is live with the saved user r13 value, leading to corruption with the kernel r13 value. Second, in trechkpt where the user r13 value loaded from chkpt_regs for recheckpointing can be corrupted by an SLB miss, resulting in a kernel value being recheckpointed and restored to user registers. The vulnerability has been assigned a CVSS v3.1 score of 5.5 (AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H) (Red Hat XML).

Impact

The vulnerability can lead to userspace r13 register corruption, which could potentially affect the stability and reliability of applications running on affected PowerPC systems. While the bug is extremely unlikely to occur in practice, it could result in unexpected behavior or crashes when triggered.

Mitigation and workarounds

The issue has been fixed by storing the user r13 value in a temporary location on the kernel stack and maintaining the kernel r13 value until the RI=0 critical section that does not fault. The fix also includes changes to SCRATCH0 usage, though this is not strictly part of the vulnerability fix as it's only used in the RI=0 section (Kernel Git).

Additional resources


SourceThis report was generated using AI

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

“Best User Experience I have ever seen, provides full visibility to cloud workloads.”
David EstlickCISO
“Wiz provides a single pane of glass to see what is going on in our cloud environments.”
Adam FletcherChief Security Officer
“We know that if Wiz identifies something as critical, it actually is.”
Greg PoniatowskiHead of Threat and Vulnerability Management