# CVE-2022-49955: powerpc/rtas: Fix RTAS MSR\[HV\] handling for Cell

> 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.24% (percentile 9, 2026-11-26)
- **CWE:** CWE-476
- **Published:** 2025-06-18T11:00:17.617Z
- **Modified:** 2026-11-05T20:17:18.723Z

## Who should check

- Anyone running Linux \>= b6b1c3ce06ca438eb24e0f45bf0e63ecad0369f5, \< 8b08d4f97233d8e58fff2fd9d5f86397a49733c5; \>= b6b1c3ce06ca438eb24e0f45bf0e63ecad0369f5, \< 91926d8b7e71aaf5f84f0cf208fc5a8b7a761050; 5ca40fcf0da0ce2b5bc44e7d8b036535955f2e3d; 5f4367448f6817c8a0e94dc9736ed84fa8eee4a3; c9c41f0273826a13ac93124e66a4ff45df281ba0; \>= 5.15.46, \< 5.16; \>= 5.17.14, \< 5.18; \>= 5.18.3, \< 5.19
- Anyone running Linux 5.19

## Description

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

powerpc/rtas: Fix RTAS MSR\[HV\] handling for Cell

The semi-recent changes to MSR handling when entering RTAS (firmware)
cause crashes on IBM Cell machines. An example trace:

  kernel tried to execute user page (2fff01a8) - exploit attempt? (uid: 0)
  BUG: Unable to handle kernel instruction fetch
  Faulting instruction address: 0x2fff01a8
  Oops: Kernel access of bad area, sig: 11 \[\#1\]
  BE PAGE\_SIZE=64K MMU=Hash SMP NR\_CPUS=4 NUMA Cell
  Modules linked in:
  CPU: 0 PID: 0 Comm: swapper/0 Tainted: G        W          6.0.0-rc2-00433-gede0a8d3307a \#207
  NIP:  000000002fff01a8 LR: 0000000000032608 CTR: 0000000000000000
  REGS: c0000000015236b0 TRAP: 0400   Tainted: G        W           (6.0.0-rc2-00433-gede0a8d3307a)
  MSR:  0000000008001002 \<ME,RI\>  CR: 00000000  XER: 20000000
  ...
  NIP 0x2fff01a8
  LR  0x32608
  Call Trace:
    0xc00000000143c5f8 (unreliable)
    .rtas\_call+0x224/0x320
    .rtas\_get\_boot\_time+0x70/0x150
    .read\_persistent\_clock64+0x114/0x140
    .read\_persistent\_wall\_and\_boot\_offset+0x24/0x80
    .timekeeping\_init+0x40/0x29c
    .start\_kernel+0x674/0x8f0
    start\_here\_common+0x1c/0x50

Unlike PAPR platforms where RTAS is only used in guests, on the IBM Cell
machines Linux runs with MSR\[HV\] set but also uses RTAS, provided by
SLOF.

Fix it by copying the MSR\[HV\] bit from the MSR value we've just read
using mfmsr into the value used for RTAS.

It seems like we could also fix it using an \#ifdef CELL to set MSR\[HV\],
but that doesn't work because it's possible to build a single kernel
image that runs on both Cell native and pseries.

## Affected and fixed versions

- Linux: \>= b6b1c3ce06ca438eb24e0f45bf0e63ecad0369f5, \< 8b08d4f97233d8e58fff2fd9d5f86397a49733c5; \>= b6b1c3ce06ca438eb24e0f45bf0e63ecad0369f5, \< 91926d8b7e71aaf5f84f0cf208fc5a8b7a761050; 5ca40fcf0da0ce2b5bc44e7d8b036535955f2e3d; 5f4367448f6817c8a0e94dc9736ed84fa8eee4a3; c9c41f0273826a13ac93124e66a4ff45df281ba0; \>= 5.15.46, \< 5.16; \>= 5.17.14, \< 5.18; \>= 5.18.3, \< 5.19 (cvelist)
- Linux: 5.19 (cvelist)

## Mitigation

- Upgrade Linux to 5.19 or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2022-49955.md
Affected: Linux >= b6b1c3ce06ca438eb24e0f45bf0e63ecad0369f5, < 8b08d4f97233d8e58fff2fd9d5f86397a49733c5; >= b6b1c3ce06ca438eb24e0f45bf0e63ecad0369f5, < 91926d8b7e71aaf5f84f0cf208fc5a8b7a761050; 5ca40fcf0da0ce2b5bc44e7d8b036535955f2e3d; 5f4367448f6817c8a0e94dc9736ed84fa8eee4a3; c9c41f0273826a13ac93124e66a4ff4…
Fixed in: Linux 8b08d4f97233d8e58fff2fd9d5f86397a49733c5, Linux 91926d8b7e71aaf5f84f0cf208fc5a8b7a761050, Linux 5.16, Linux 5.18, Linux 5.19

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-2022-49955 being exploited?

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

### How serious is CVE-2022-49955?

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

### Which versions are affected by CVE-2022-49955?

Linux \>= b6b1c3ce06ca438eb24e0f45bf0e63ecad0369f5, \< 8b08d4f97233d8e58fff2fd9d5f86397a49733c5; \>= b6b1c3ce06ca438eb24e0f45bf0e63ecad0369f5, \< 91926d8b7e71aaf5f84f0cf208fc5a8b7a761050; 5ca40fcf0da0ce2b5bc44e7d8b036535955f2e3d; 5f4367448f6817c8a0e94dc9736ed84fa8eee4a3; c9c41f0273826a13ac93124e66a4ff45df281ba0; \>= 5.15.46, \< 5.16; \>= 5.17.14, \< 5.18; \>= 5.18.3, \< 5.19; Linux 5.19.

### Is there a fix for CVE-2022-49955?

Yes. Fixed in Linux 8b08d4f97233d8e58fff2fd9d5f86397a49733c5, Linux 91926d8b7e71aaf5f84f0cf208fc5a8b7a761050, Linux 5.16, Linux 5.18, Linux 5.19. Upgrade Linux to 5.19 or later.

### How do I check if I'm affected by CVE-2022-49955?

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/8b08d4f97233d8e58fff2fd9d5f86397a49733c5>
- patch: <https://git.kernel.org/stable/c/91926d8b7e71aaf5f84f0cf208fc5a8b7a761050>

## 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-2022-49955>

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