# CVE-2022-49214: powerpc/64s: Don't use DSISR for SLB faults

> 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.28% (percentile 13, 2026-11-26)
- **CWE:** CWE-476
- **Published:** 2025-02-26T01:55:49.677Z
- **Modified:** 2026-06-17T05:17:24.400Z

## Who should check

- Anyone running Linux \>= 46ddcb3950a28c0df4815e8dbb8d4b91d5d9f22d, \< 4a852ff9b7bea9c640540e2c1bc70bd3ba455d61; \>= 46ddcb3950a28c0df4815e8dbb8d4b91d5d9f22d, \< a3dae36d632b2cf6eb20314273e512a96cb43c9a; \>= 46ddcb3950a28c0df4815e8dbb8d4b91d5d9f22d, \< 093449bb182db885dae816d62874cccab7a4c42a; \>= 46ddcb3950a28c0df4815e8dbb8d4b91d5d9f22d, \< d4679ac8ea2e5078704aa1c026db36580cc1bf9a
- Anyone running Linux 5.5

## Description

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

powerpc/64s: Don't use DSISR for SLB faults

Since commit 46ddcb3950a2 ("powerpc/mm: Show if a bad page fault on data
is read or write.") we use page\_fault\_is\_write(regs-\>dsisr) in
\_\_bad\_page\_fault() to determine if the fault is for a read or write, and
change the message printed accordingly.

But SLB faults, aka Data Segment Interrupts, don't set DSISR (Data
Storage Interrupt Status Register) to a useful value. All ISA versions
from v2.03 through v3.1 specify that the Data Segment Interrupt sets
DSISR "to an undefined value". As far as I can see there's no mention of
SLB faults setting DSISR in any BookIV content either.

This manifests as accesses that should be a read being incorrectly
reported as writes, for example, using the xmon "dump" command:

  0:mon\> d 0x5deadbeef0000000
  5deadbeef0000000
  \[359526.415354\]\[    C6\] BUG: Unable to handle kernel data access on write at 0x5deadbeef0000000
  \[359526.415611\]\[    C6\] Faulting instruction address: 0xc00000000010a300
  cpu 0x6: Vector: 380 (Data SLB Access) at \[c00000000ffbf400\]
      pc: c00000000010a300: mread+0x90/0x190

If we disassemble the PC, we see a load instruction:

  0:mon\> di c00000000010a300
  c00000000010a300 89490000      lbz     r10,0(r9)

We can also see in exceptions-64s.S that the data\_access\_slb block
doesn't set IDSISR=1, which means it doesn't load DSISR into pt\_regs. So
the value we're using to determine if the fault is a read/write is some
stale value in pt\_regs from a previous page fault.

Rework the printing logic to separate the SLB fault case out, and only
print read/write in the cases where we can determine it.

The result looks like eg:

  0:mon\> d 0x5deadbeef0000000
  5deadbeef0000000
  \[  721.779525\]\[    C6\] BUG: Unable to handle kernel data access at 0x5deadbeef0000000
  \[  721.779697\]\[    C6\] Faulting instruction address: 0xc00000000014cbe0
  cpu 0x6: Vector: 380 (Data SLB Access) at \[c00000000ffbf390\]

  0:mon\> d 0
  0000000000000000
  \[  742.793242\]\[    C6\] BUG: Kernel NULL pointer dereference at 0x00000000
  \[  742.793316\]\[    C6\] Faulting instruction address: 0xc00000000014cbe0
  cpu 0x6: Vector: 380 (Data SLB Access) at \[c00000000ffbf390\]

## Affected and fixed versions

- Linux: \>= 46ddcb3950a28c0df4815e8dbb8d4b91d5d9f22d, \< 4a852ff9b7bea9c640540e2c1bc70bd3ba455d61; \>= 46ddcb3950a28c0df4815e8dbb8d4b91d5d9f22d, \< a3dae36d632b2cf6eb20314273e512a96cb43c9a; \>= 46ddcb3950a28c0df4815e8dbb8d4b91d5d9f22d, \< 093449bb182db885dae816d62874cccab7a4c42a; \>= 46ddcb3950a28c0df4815e8dbb8d4b91d5d9f22d, \< d4679ac8ea2e5078704aa1c026db36580cc1bf9a (cvelist)
- Linux: 5.5 (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-2022-49214. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2022-49214.md
Affected: Linux >= 46ddcb3950a28c0df4815e8dbb8d4b91d5d9f22d, < 4a852ff9b7bea9c640540e2c1bc70bd3ba455d61; >= 46ddcb3950a28c0df4815e8dbb8d4b91d5d9f22d, < a3dae36d632b2cf6eb20314273e512a96cb43c9a; >= 46ddcb3950a28c0df4815e8dbb8d4b91d5d9f22d, < 093449bb182db885dae816d62874cccab7a4c42a; >= 46ddcb3950a28c0df4815e8…
Fixed in: Linux 4a852ff9b7bea9c640540e2c1bc70bd3ba455d61, Linux 093449bb182db885dae816d62874cccab7a4c42a

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

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

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

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

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

Linux \>= 46ddcb3950a28c0df4815e8dbb8d4b91d5d9f22d, \< 4a852ff9b7bea9c640540e2c1bc70bd3ba455d61; \>= 46ddcb3950a28c0df4815e8dbb8d4b91d5d9f22d, \< a3dae36d632b2cf6eb20314273e512a96cb43c9a; \>= 46ddcb3950a28c0df4815e8dbb8d4b91d5d9f22d, \< 093449bb182db885dae816d62874cccab7a4c42a; \>= 46ddcb3950a28c0df4815e8dbb8d4b91d5d9f22d, \< d4679ac8ea2e5078704aa1c026db36580cc1bf9a; Linux 5.5.

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

Yes. Fixed in Linux 4a852ff9b7bea9c640540e2c1bc70bd3ba455d61, Linux 093449bb182db885dae816d62874cccab7a4c42a. No fix listed yet: follow the vendor advisory.

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

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/4a852ff9b7bea9c640540e2c1bc70bd3ba455d61>
- patch: <https://git.kernel.org/stable/c/a3dae36d632b2cf6eb20314273e512a96cb43c9a>
- patch: <https://git.kernel.org/stable/c/093449bb182db885dae816d62874cccab7a4c42a>
- patch: <https://git.kernel.org/stable/c/d4679ac8ea2e5078704aa1c026db36580cc1bf9a>

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

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