# CVE-2022-50625: serial: amba-pl011: avoid SBSA UART accessing DMACR register

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

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.32% (percentile 18, 2026-11-26)
- **Published:** 2025-12-08T01:16:39.642Z
- **Modified:** 2026-11-11T23:10:00.263Z

## Who should check

- Anyone running Linux \>= 0dd1e247fd39aed20fd2baacc62ca44d82534798, \< 1c5f0d3f480abd8c26761b6b1f486822e77faea3; \>= 0dd1e247fd39aed20fd2baacc62ca44d82534798, \< a4ea20ab82aa2b197dc7b08f51e1d615578276a0; \>= 0dd1e247fd39aed20fd2baacc62ca44d82534798, \< 78d837ce20517e0c1ff3ebe08ad64636e02c2e48; \>= 0dd1e247fd39aed20fd2baacc62ca44d82534798, \< 965f07ea5fd1b9591bcccc825a93ad883e56222c; \>= 0dd1e247fd39aed20fd2baacc62ca44d82534798, \< d5b16eb076f46c88d02d41ece5bec4e0d89158bb; \>= 0dd1e247fd39aed20fd2baacc62ca44d82534798, \< d71a611fca1984c0765f9317ff471ac8cd0e3e2f; \>= 0dd1e247fd39aed20fd2baacc62ca44d82534798, \< 38a10fdd54d17590d45cb1c43b9889da383b6b1a; \>= 0dd1e247fd39aed20fd2baacc62ca44d82534798, \< 64bc5dbc3260230e2f022288c71e5c680059384a; \>= 0dd1e247fd39aed20fd2baacc62ca44d82534798, \< 94cdb9f33698478b0e7062586633c42c6158a786
- Anyone running Linux 4.2

## Description

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

serial: amba-pl011: avoid SBSA UART accessing DMACR register

Chapter "B Generic UART" in "ARM Server Base System Architecture" \[1\]
documentation describes a generic UART interface. Such generic UART
does not support DMA. In current code, sbsa\_uart\_pops and
amba\_pl011\_pops share the same stop\_rx operation, which will invoke
pl011\_dma\_rx\_stop, leading to an access of the DMACR register. This
commit adds a using\_rx\_dma check in pl011\_dma\_rx\_stop to avoid the
access to DMACR register for SBSA UARTs which does not support DMA.

When the kernel enables DMA engine with "CONFIG\_DMA\_ENGINE=y", Linux
SBSA PL011 driver will access PL011 DMACR register in some functions.
For most real SBSA Pl011 hardware implementations, the DMACR write
behaviour will be ignored. So these DMACR operations will not cause
obvious problems. But for some virtual SBSA PL011 hardware, like Xen
virtual SBSA PL011 (vpl011) device, the behaviour might be different.
Xen vpl011 emulation will inject a data abort to guest, when guest is
accessing an unimplemented UART register. As Xen VPL011 is SBSA
compatible, it will not implement DMACR register. So when Linux SBSA
PL011 driver access DMACR register, it will get an unhandled data abort
fault and the application will get a segmentation fault:
Unhandled fault at 0xffffffc00944d048
Mem abort info:
  ESR = 0x96000000
  EC = 0x25: DABT (current EL), IL = 32 bits
  SET = 0, FnV = 0
  EA = 0, S1PTW = 0
  FSC = 0x00: ttbr address size fault
Data abort info:
  ISV = 0, ISS = 0x00000000
  CM = 0, WnR = 0
swapper pgtable: 4k pages, 39-bit VAs, pgdp=0000000020e2e000
\[ffffffc00944d048\] pgd=100000003ffff803, p4d=100000003ffff803, pud=100000003ffff803, pmd=100000003fffa803, pte=006800009c090f13
Internal error: ttbr address size fault: 96000000 \[\#1\] PREEMPT SMP
...
Call trace:
 pl011\_stop\_rx+0x70/0x80
 tty\_port\_shutdown+0x7c/0xb4
 tty\_port\_close+0x60/0xcc
 uart\_close+0x34/0x8c
 tty\_release+0x144/0x4c0
 \_\_fput+0x78/0x220
 \_\_\_\_fput+0x1c/0x30
 task\_work\_run+0x88/0xc0
 do\_notify\_resume+0x8d0/0x123c
 el0\_svc+0xa8/0xc0
 el0t\_64\_sync\_handler+0xa4/0x130
 el0t\_64\_sync+0x1a0/0x1a4
Code: b9000083 b901f001 794038a0 8b000042 (b9000041)
---\[ end trace 83dd93df15c3216f \]---
note: bootlogd\[132\] exited with preempt\_count 1
/etc/rcS.d/S07bootlogd: line 47: 132 Segmentation fault start-stop-daemon

This has been discussed in the Xen community, and we think it should fix
this in Linux. See \[2\] for more information.

\[1\] https://developer.arm.com/documentation/den0094/c/?lang=en
\[2\] https://lists.xenproject.org/archives/html/xen-devel/2022-11/msg00543.html

## Affected and fixed versions

- Linux: \>= 0dd1e247fd39aed20fd2baacc62ca44d82534798, \< 1c5f0d3f480abd8c26761b6b1f486822e77faea3; \>= 0dd1e247fd39aed20fd2baacc62ca44d82534798, \< a4ea20ab82aa2b197dc7b08f51e1d615578276a0; \>= 0dd1e247fd39aed20fd2baacc62ca44d82534798, \< 78d837ce20517e0c1ff3ebe08ad64636e02c2e48; \>= 0dd1e247fd39aed20fd2baacc62ca44d82534798, \< 965f07ea5fd1b9591bcccc825a93ad883e56222c; \>= 0dd1e247fd39aed20fd2baacc62ca44d82534798, \< d5b16eb076f46c88d02d41ece5bec4e0d89158bb; \>= 0dd1e247fd39aed20fd2baacc62ca44d82534798, \< d71a611fca1984c0765f9317ff471ac8cd0e3e2f; \>= 0dd1e247fd39aed20fd2baacc62ca44d82534798, \< 38a10fdd54d17590d45cb1c43b9889da383b6b1a; \>= 0dd1e247fd39aed20fd2baacc62ca44d82534798, \< 64bc5dbc3260230e2f022288c71e5c680059384a; \>= 0dd1e247fd39aed20fd2baacc62ca44d82534798, \< 94cdb9f33698478b0e7062586633c42c6158a786 (cvelist)
- Linux: 4.2 (cvelist)

## Mitigation

- Upgrade Linux to 94cdb9f33698478b0e7062586633c42c6158a786 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-50625. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2022-50625.md
Affected: Linux >= 0dd1e247fd39aed20fd2baacc62ca44d82534798, < 1c5f0d3f480abd8c26761b6b1f486822e77faea3; >= 0dd1e247fd39aed20fd2baacc62ca44d82534798, < a4ea20ab82aa2b197dc7b08f51e1d615578276a0; >= 0dd1e247fd39aed20fd2baacc62ca44d82534798, < 78d837ce20517e0c1ff3ebe08ad64636e02c2e48; >= 0dd1e247fd39aed20fd2baa…
Fixed in: Linux 1c5f0d3f480abd8c26761b6b1f486822e77faea3, Linux 78d837ce20517e0c1ff3ebe08ad64636e02c2e48, Linux 965f07ea5fd1b9591bcccc825a93ad883e56222c, Linux 38a10fdd54d17590d45cb1c43b9889da383b6b1a, Linux 64bc5dbc3260230e2f022288c71e5c680059384a, Linux 94cdb9f33698478b0e7062586633c42c6158a786

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

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

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

It has no CVSS score yet. Unknown.

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

Linux \>= 0dd1e247fd39aed20fd2baacc62ca44d82534798, \< 1c5f0d3f480abd8c26761b6b1f486822e77faea3; \>= 0dd1e247fd39aed20fd2baacc62ca44d82534798, \< a4ea20ab82aa2b197dc7b08f51e1d615578276a0; \>= 0dd1e247fd39aed20fd2baacc62ca44d82534798, \< 78d837ce20517e0c1ff3ebe08ad64636e02c2e48; \>= 0dd1e247fd39aed20fd2baacc62ca44d82534798, \< 965f07ea5fd1b9591bcccc825a93ad883e56222c; \>= 0dd1e247fd39aed20fd2baacc62ca44d82534798, \< d5b16eb076f46c88d02d41ece5bec4e0d89158bb; \>= 0dd1e247fd39aed20fd2baacc62ca44d82534798, \< d71a611fca1984c0765f9317ff471ac8cd0e3e2f; \>= 0dd1e247fd39aed20fd2baacc62ca44d82534798, \< 38a10fdd54d17590d45cb1c43b9889da383b6b1a; \>= 0dd1e247fd39aed20fd2baacc62ca44d82534798, \< 64bc5dbc3260230e2f022288c71e5c680059384a; \>= 0dd1e247fd39aed20fd2baacc62ca44d82534798, \< 94cdb9f33698478b0e7062586633c42c6158a786; Linux 4.2.

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

Yes. Fixed in Linux 1c5f0d3f480abd8c26761b6b1f486822e77faea3, Linux 78d837ce20517e0c1ff3ebe08ad64636e02c2e48, Linux 965f07ea5fd1b9591bcccc825a93ad883e56222c, Linux 38a10fdd54d17590d45cb1c43b9889da383b6b1a, Linux 64bc5dbc3260230e2f022288c71e5c680059384a, Linux 94cdb9f33698478b0e7062586633c42c6158a786. Upgrade Linux to 94cdb9f33698478b0e7062586633c42c6158a786 or later.

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

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

- other: <https://git.kernel.org/stable/c/1c5f0d3f480abd8c26761b6b1f486822e77faea3>
- other: <https://git.kernel.org/stable/c/a4ea20ab82aa2b197dc7b08f51e1d615578276a0>
- other: <https://git.kernel.org/stable/c/78d837ce20517e0c1ff3ebe08ad64636e02c2e48>
- other: <https://git.kernel.org/stable/c/965f07ea5fd1b9591bcccc825a93ad883e56222c>
- other: <https://git.kernel.org/stable/c/d5b16eb076f46c88d02d41ece5bec4e0d89158bb>
- other: <https://git.kernel.org/stable/c/d71a611fca1984c0765f9317ff471ac8cd0e3e2f>
- other: <https://git.kernel.org/stable/c/38a10fdd54d17590d45cb1c43b9889da383b6b1a>
- other: <https://git.kernel.org/stable/c/64bc5dbc3260230e2f022288c71e5c680059384a>
- other: <https://git.kernel.org/stable/c/94cdb9f33698478b0e7062586633c42c6158a786>

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

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