CVE-2022-50625 (GCVE-0-2022-50625)

Vulnerability from cvelistv5 – Published: 2025-12-08 01:16 – Updated: 2026-05-11 19:22
VLAI
Title
serial: amba-pl011: avoid SBSA UART accessing DMACR register
Summary
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
Severity
No CVSS data available.
Impacted products
Vendor Product Version
Linux Linux Affected: 0dd1e247fd39aed20fd2baacc62ca44d82534798 , < 1c5f0d3f480abd8c26761b6b1f486822e77faea3 (git)
Affected: 0dd1e247fd39aed20fd2baacc62ca44d82534798 , < a4ea20ab82aa2b197dc7b08f51e1d615578276a0 (git)
Affected: 0dd1e247fd39aed20fd2baacc62ca44d82534798 , < 78d837ce20517e0c1ff3ebe08ad64636e02c2e48 (git)
Affected: 0dd1e247fd39aed20fd2baacc62ca44d82534798 , < 965f07ea5fd1b9591bcccc825a93ad883e56222c (git)
Affected: 0dd1e247fd39aed20fd2baacc62ca44d82534798 , < d5b16eb076f46c88d02d41ece5bec4e0d89158bb (git)
Affected: 0dd1e247fd39aed20fd2baacc62ca44d82534798 , < d71a611fca1984c0765f9317ff471ac8cd0e3e2f (git)
Affected: 0dd1e247fd39aed20fd2baacc62ca44d82534798 , < 38a10fdd54d17590d45cb1c43b9889da383b6b1a (git)
Affected: 0dd1e247fd39aed20fd2baacc62ca44d82534798 , < 64bc5dbc3260230e2f022288c71e5c680059384a (git)
Affected: 0dd1e247fd39aed20fd2baacc62ca44d82534798 , < 94cdb9f33698478b0e7062586633c42c6158a786 (git)
Create a notification for this product.
Linux Linux Affected: 4.2
Unaffected: 0 , < 4.2 (semver)
Unaffected: 4.9.337 , ≤ 4.9.* (semver)
Unaffected: 4.14.303 , ≤ 4.14.* (semver)
Unaffected: 4.19.270 , ≤ 4.19.* (semver)
Unaffected: 5.4.229 , ≤ 5.4.* (semver)
Unaffected: 5.10.163 , ≤ 5.10.* (semver)
Unaffected: 5.15.86 , ≤ 5.15.* (semver)
Unaffected: 6.0.16 , ≤ 6.0.* (semver)
Unaffected: 6.1.2 , ≤ 6.1.* (semver)
Unaffected: 6.2 , ≤ * (original_commit_for_fix)
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/tty/serial/amba-pl011.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "1c5f0d3f480abd8c26761b6b1f486822e77faea3",
              "status": "affected",
              "version": "0dd1e247fd39aed20fd2baacc62ca44d82534798",
              "versionType": "git"
            },
            {
              "lessThan": "a4ea20ab82aa2b197dc7b08f51e1d615578276a0",
              "status": "affected",
              "version": "0dd1e247fd39aed20fd2baacc62ca44d82534798",
              "versionType": "git"
            },
            {
              "lessThan": "78d837ce20517e0c1ff3ebe08ad64636e02c2e48",
              "status": "affected",
              "version": "0dd1e247fd39aed20fd2baacc62ca44d82534798",
              "versionType": "git"
            },
            {
              "lessThan": "965f07ea5fd1b9591bcccc825a93ad883e56222c",
              "status": "affected",
              "version": "0dd1e247fd39aed20fd2baacc62ca44d82534798",
              "versionType": "git"
            },
            {
              "lessThan": "d5b16eb076f46c88d02d41ece5bec4e0d89158bb",
              "status": "affected",
              "version": "0dd1e247fd39aed20fd2baacc62ca44d82534798",
              "versionType": "git"
            },
            {
              "lessThan": "d71a611fca1984c0765f9317ff471ac8cd0e3e2f",
              "status": "affected",
              "version": "0dd1e247fd39aed20fd2baacc62ca44d82534798",
              "versionType": "git"
            },
            {
              "lessThan": "38a10fdd54d17590d45cb1c43b9889da383b6b1a",
              "status": "affected",
              "version": "0dd1e247fd39aed20fd2baacc62ca44d82534798",
              "versionType": "git"
            },
            {
              "lessThan": "64bc5dbc3260230e2f022288c71e5c680059384a",
              "status": "affected",
              "version": "0dd1e247fd39aed20fd2baacc62ca44d82534798",
              "versionType": "git"
            },
            {
              "lessThan": "94cdb9f33698478b0e7062586633c42c6158a786",
              "status": "affected",
              "version": "0dd1e247fd39aed20fd2baacc62ca44d82534798",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/tty/serial/amba-pl011.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "4.2"
            },
            {
              "lessThan": "4.2",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.9.*",
              "status": "unaffected",
              "version": "4.9.337",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.14.*",
              "status": "unaffected",
              "version": "4.14.303",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.19.*",
              "status": "unaffected",
              "version": "4.19.270",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.4.*",
              "status": "unaffected",
              "version": "5.4.229",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.163",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.86",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.0.*",
              "status": "unaffected",
              "version": "6.0.16",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.2",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.2",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "4.9.337",
                  "versionStartIncluding": "4.2",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "4.14.303",
                  "versionStartIncluding": "4.2",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "4.19.270",
                  "versionStartIncluding": "4.2",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.4.229",
                  "versionStartIncluding": "4.2",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.163",
                  "versionStartIncluding": "4.2",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.86",
                  "versionStartIncluding": "4.2",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.0.16",
                  "versionStartIncluding": "4.2",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.2",
                  "versionStartIncluding": "4.2",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.2",
                  "versionStartIncluding": "4.2",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nserial: amba-pl011: avoid SBSA UART accessing DMACR register\n\nChapter \"B Generic UART\" in \"ARM Server Base System Architecture\" [1]\ndocumentation describes a generic UART interface. Such generic UART\ndoes not support DMA. In current code, sbsa_uart_pops and\namba_pl011_pops share the same stop_rx operation, which will invoke\npl011_dma_rx_stop, leading to an access of the DMACR register. This\ncommit adds a using_rx_dma check in pl011_dma_rx_stop to avoid the\naccess to DMACR register for SBSA UARTs which does not support DMA.\n\nWhen the kernel enables DMA engine with \"CONFIG_DMA_ENGINE=y\", Linux\nSBSA PL011 driver will access PL011 DMACR register in some functions.\nFor most real SBSA Pl011 hardware implementations, the DMACR write\nbehaviour will be ignored. So these DMACR operations will not cause\nobvious problems. But for some virtual SBSA PL011 hardware, like Xen\nvirtual SBSA PL011 (vpl011) device, the behaviour might be different.\nXen vpl011 emulation will inject a data abort to guest, when guest is\naccessing an unimplemented UART register. As Xen VPL011 is SBSA\ncompatible, it will not implement DMACR register. So when Linux SBSA\nPL011 driver access DMACR register, it will get an unhandled data abort\nfault and the application will get a segmentation fault:\nUnhandled fault at 0xffffffc00944d048\nMem abort info:\n  ESR = 0x96000000\n  EC = 0x25: DABT (current EL), IL = 32 bits\n  SET = 0, FnV = 0\n  EA = 0, S1PTW = 0\n  FSC = 0x00: ttbr address size fault\nData abort info:\n  ISV = 0, ISS = 0x00000000\n  CM = 0, WnR = 0\nswapper pgtable: 4k pages, 39-bit VAs, pgdp=0000000020e2e000\n[ffffffc00944d048] pgd=100000003ffff803, p4d=100000003ffff803, pud=100000003ffff803, pmd=100000003fffa803, pte=006800009c090f13\nInternal error: ttbr address size fault: 96000000 [#1] PREEMPT SMP\n...\nCall trace:\n pl011_stop_rx+0x70/0x80\n tty_port_shutdown+0x7c/0xb4\n tty_port_close+0x60/0xcc\n uart_close+0x34/0x8c\n tty_release+0x144/0x4c0\n __fput+0x78/0x220\n ____fput+0x1c/0x30\n task_work_run+0x88/0xc0\n do_notify_resume+0x8d0/0x123c\n el0_svc+0xa8/0xc0\n el0t_64_sync_handler+0xa4/0x130\n el0t_64_sync+0x1a0/0x1a4\nCode: b9000083 b901f001 794038a0 8b000042 (b9000041)\n---[ end trace 83dd93df15c3216f ]---\nnote: bootlogd[132] exited with preempt_count 1\n/etc/rcS.d/S07bootlogd: line 47: 132 Segmentation fault start-stop-daemon\n\nThis has been discussed in the Xen community, and we think it should fix\nthis in Linux. See [2] for more information.\n\n[1] https://developer.arm.com/documentation/den0094/c/?lang=en\n[2] https://lists.xenproject.org/archives/html/xen-devel/2022-11/msg00543.html"
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-05-11T19:22:28.054Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/1c5f0d3f480abd8c26761b6b1f486822e77faea3"
        },
        {
          "url": "https://git.kernel.org/stable/c/a4ea20ab82aa2b197dc7b08f51e1d615578276a0"
        },
        {
          "url": "https://git.kernel.org/stable/c/78d837ce20517e0c1ff3ebe08ad64636e02c2e48"
        },
        {
          "url": "https://git.kernel.org/stable/c/965f07ea5fd1b9591bcccc825a93ad883e56222c"
        },
        {
          "url": "https://git.kernel.org/stable/c/d5b16eb076f46c88d02d41ece5bec4e0d89158bb"
        },
        {
          "url": "https://git.kernel.org/stable/c/d71a611fca1984c0765f9317ff471ac8cd0e3e2f"
        },
        {
          "url": "https://git.kernel.org/stable/c/38a10fdd54d17590d45cb1c43b9889da383b6b1a"
        },
        {
          "url": "https://git.kernel.org/stable/c/64bc5dbc3260230e2f022288c71e5c680059384a"
        },
        {
          "url": "https://git.kernel.org/stable/c/94cdb9f33698478b0e7062586633c42c6158a786"
        }
      ],
      "title": "serial: amba-pl011: avoid SBSA UART accessing DMACR register",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2022-50625",
    "datePublished": "2025-12-08T01:16:39.642Z",
    "dateReserved": "2025-12-08T01:14:55.190Z",
    "dateUpdated": "2026-05-11T19:22:28.054Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2022-50625",
      "date": "2026-11-16",
      "epss": "0.00254",
      "percentile": "0.17037"
    },
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "defaultStatus": "unaffected",
                "product": "Linux",
                "programFiles": [
                  "drivers/tty/serial/amba-pl011.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "lessThan": "1c5f0d3f480abd8c26761b6b1f486822e77faea3",
                    "status": "affected",
                    "version": "0dd1e247fd39aed20fd2baacc62ca44d82534798",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "a4ea20ab82aa2b197dc7b08f51e1d615578276a0",
                    "status": "affected",
                    "version": "0dd1e247fd39aed20fd2baacc62ca44d82534798",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "78d837ce20517e0c1ff3ebe08ad64636e02c2e48",
                    "status": "affected",
                    "version": "0dd1e247fd39aed20fd2baacc62ca44d82534798",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "965f07ea5fd1b9591bcccc825a93ad883e56222c",
                    "status": "affected",
                    "version": "0dd1e247fd39aed20fd2baacc62ca44d82534798",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "d5b16eb076f46c88d02d41ece5bec4e0d89158bb",
                    "status": "affected",
                    "version": "0dd1e247fd39aed20fd2baacc62ca44d82534798",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "d71a611fca1984c0765f9317ff471ac8cd0e3e2f",
                    "status": "affected",
                    "version": "0dd1e247fd39aed20fd2baacc62ca44d82534798",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "38a10fdd54d17590d45cb1c43b9889da383b6b1a",
                    "status": "affected",
                    "version": "0dd1e247fd39aed20fd2baacc62ca44d82534798",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "64bc5dbc3260230e2f022288c71e5c680059384a",
                    "status": "affected",
                    "version": "0dd1e247fd39aed20fd2baacc62ca44d82534798",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "94cdb9f33698478b0e7062586633c42c6158a786",
                    "status": "affected",
                    "version": "0dd1e247fd39aed20fd2baacc62ca44d82534798",
                    "versionType": "git"
                  }
                ]
              },
              {
                "defaultStatus": "affected",
                "product": "Linux",
                "programFiles": [
                  "drivers/tty/serial/amba-pl011.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "status": "affected",
                    "version": "4.2"
                  },
                  {
                    "lessThan": "4.2",
                    "status": "unaffected",
                    "version": "0",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "4.9.*",
                    "status": "unaffected",
                    "version": "4.9.337",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "4.14.*",
                    "status": "unaffected",
                    "version": "4.14.303",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "4.19.*",
                    "status": "unaffected",
                    "version": "4.19.270",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "5.4.*",
                    "status": "unaffected",
                    "version": "5.4.229",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "5.10.*",
                    "status": "unaffected",
                    "version": "5.10.163",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "5.15.*",
                    "status": "unaffected",
                    "version": "5.15.86",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.0.*",
                    "status": "unaffected",
                    "version": "6.0.16",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.1.*",
                    "status": "unaffected",
                    "version": "6.1.2",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "*",
                    "status": "unaffected",
                    "version": "6.2",
                    "versionType": "original_commit_for_fix"
                  }
                ]
              }
            ],
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
          }
        ],
        "cveTags": [],
        "descriptions": [
          {
            "lang": "en",
            "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nserial: amba-pl011: avoid SBSA UART accessing DMACR register\n\nChapter \"B Generic UART\" in \"ARM Server Base System Architecture\" [1]\ndocumentation describes a generic UART interface. Such generic UART\ndoes not support DMA. In current code, sbsa_uart_pops and\namba_pl011_pops share the same stop_rx operation, which will invoke\npl011_dma_rx_stop, leading to an access of the DMACR register. This\ncommit adds a using_rx_dma check in pl011_dma_rx_stop to avoid the\naccess to DMACR register for SBSA UARTs which does not support DMA.\n\nWhen the kernel enables DMA engine with \"CONFIG_DMA_ENGINE=y\", Linux\nSBSA PL011 driver will access PL011 DMACR register in some functions.\nFor most real SBSA Pl011 hardware implementations, the DMACR write\nbehaviour will be ignored. So these DMACR operations will not cause\nobvious problems. But for some virtual SBSA PL011 hardware, like Xen\nvirtual SBSA PL011 (vpl011) device, the behaviour might be different.\nXen vpl011 emulation will inject a data abort to guest, when guest is\naccessing an unimplemented UART register. As Xen VPL011 is SBSA\ncompatible, it will not implement DMACR register. So when Linux SBSA\nPL011 driver access DMACR register, it will get an unhandled data abort\nfault and the application will get a segmentation fault:\nUnhandled fault at 0xffffffc00944d048\nMem abort info:\n  ESR = 0x96000000\n  EC = 0x25: DABT (current EL), IL = 32 bits\n  SET = 0, FnV = 0\n  EA = 0, S1PTW = 0\n  FSC = 0x00: ttbr address size fault\nData abort info:\n  ISV = 0, ISS = 0x00000000\n  CM = 0, WnR = 0\nswapper pgtable: 4k pages, 39-bit VAs, pgdp=0000000020e2e000\n[ffffffc00944d048] pgd=100000003ffff803, p4d=100000003ffff803, pud=100000003ffff803, pmd=100000003fffa803, pte=006800009c090f13\nInternal error: ttbr address size fault: 96000000 [#1] PREEMPT SMP\n...\nCall trace:\n pl011_stop_rx+0x70/0x80\n tty_port_shutdown+0x7c/0xb4\n tty_port_close+0x60/0xcc\n uart_close+0x34/0x8c\n tty_release+0x144/0x4c0\n __fput+0x78/0x220\n ____fput+0x1c/0x30\n task_work_run+0x88/0xc0\n do_notify_resume+0x8d0/0x123c\n el0_svc+0xa8/0xc0\n el0t_64_sync_handler+0xa4/0x130\n el0t_64_sync+0x1a0/0x1a4\nCode: b9000083 b901f001 794038a0 8b000042 (b9000041)\n---[ end trace 83dd93df15c3216f ]---\nnote: bootlogd[132] exited with preempt_count 1\n/etc/rcS.d/S07bootlogd: line 47: 132 Segmentation fault start-stop-daemon\n\nThis has been discussed in the Xen community, and we think it should fix\nthis in Linux. See [2] for more information.\n\n[1] https://developer.arm.com/documentation/den0094/c/?lang=en\n[2] https://lists.xenproject.org/archives/html/xen-devel/2022-11/msg00543.html"
          },
          {
            "lang": "es",
            "value": "En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nserial: amba-pl011: evitar que la UART SBSA acceda al registro DMACR\n\nEl cap\u00edtulo \u2019B Generic UART\u2019 en la documentaci\u00f3n \u2019ARM Server Base System Architecture\u2019 [1] describe una interfaz UART gen\u00e9rica. Dicha UART gen\u00e9rica no es compatible con DMA. En el c\u00f3digo actual, sbsa_uart_pops y amba_pl011_pops comparten la misma operaci\u00f3n stop_rx, lo que invocar\u00e1 pl011_dma_rx_stop, lo que lleva a un acceso al registro DMACR. Este commit a\u00f1ade una comprobaci\u00f3n using_rx_dma en pl011_dma_rx_stop para evitar el acceso al registro DMACR para las UART SBSA que no son compatibles con DMA.\n\nCuando el kernel habilita el motor DMA con \u2019CONFIG_DMA_ENGINE=y\u2019, el controlador Linux SBSA PL011 acceder\u00e1 al registro PL011 DMACR en algunas funciones. Para la mayor\u00eda de las implementaciones de hardware SBSA PL011 reales, el comportamiento de escritura del DMACR ser\u00e1 ignorado. Por lo tanto, estas operaciones DMACR no causar\u00e1n problemas obvios. Pero para algunos hardware SBSA PL011 virtuales, como el dispositivo Xen virtual SBSA PL011 (vpl011), el comportamiento podr\u00eda ser diferente. La emulaci\u00f3n Xen vpl011 inyectar\u00e1 un aborto de datos al invitado, cuando el invitado est\u00e9 accediendo a un registro UART no implementado. Como Xen VPL011 es compatible con SBSA, no implementar\u00e1 el registro DMACR. As\u00ed que cuando el controlador Linux SBSA PL011 acceda al registro DMACR, obtendr\u00e1 un fallo de aborto de datos no manejado y la aplicaci\u00f3n obtendr\u00e1 un fallo de segmentaci\u00f3n:\nFallo no manejado en 0x ffffffc00944d048\nInformaci\u00f3n de aborto de memoria:\n  ESR = 0x 96000000\n  EC = 0x25: DABT (EL actual), IL = 32 bits\n  SET = 0, FnV = 0\n  EA = 0, S1PTW = 0\n  FSC = 0x00: fallo de tama\u00f1o de direcci\u00f3n ttbr\nInformaci\u00f3n de aborto de datos:\n  ISV = 0, ISS = 0x 00000000\n  CM = 0, WnR = 0\ntabla de p\u00e1ginas del swapper: p\u00e1ginas de 4k, VAs de 39 bits, pgdp=0000000020e2e000\n[ffffffc00944d048] pgd=100000003ffff803, p4d=100000003ffff803, pud=100000003ffff803, pmd=100000003fffa803, pte=006800009c090f13\nError interno: fallo de tama\u00f1o de direcci\u00f3n ttbr: 96000000 [#1] PREEMPT SMP\n...\nRastro de llamada:\n pl011_stop_rx+0x70/0x80\n tty_port_shutdown+0x7c/0xb4\n tty_port_close+0x60/0xcc\n uart_close+0x34/0x8c\n tty_release+0x144/0x4c0\n __fput+0x78/0x220\n ____fput+0x1c/0x30\n task_work_run+0x88/0xc0\n do_notify_resume+0x8d0/0x 123c\n el0_svc+0xa8/0xc0\n el0t_64_sync_handler+0xa4/0x130\n el0t_64_sync+0x1a0/0x1a4\nC\u00f3digo: b9000083 b901f001 794038a0 8b000042 (b9000041)\n- --[ fin del rastro 83dd93df15c3216f ]- --\nnota: bootlogd[132] sali\u00f3 con preempt_count 1\n/etc/rcS.d/S07bootlogd: l\u00ednea 47: 132 Fallo de segmentaci\u00f3n start-stop-daemon\n\nEsto ha sido discutido en la comunidad Xen, y creemos que deber\u00eda solucionarse en Linux. Consulte [2] para m\u00e1s informaci\u00f3n.\n\n[1] https://developer.arm.com/documentation/den0094/c/?lang=en\n[2] https://lists.xenproject.org/archives/html/xen-devel/2022-11/msg00543.html"
          }
        ],
        "id": "CVE-2022-50625",
        "lastModified": "2026-11-11T23:10:00.263",
        "metrics": {},
        "published": "2025-12-08T02:15:48.510",
        "references": [
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/1c5f0d3f480abd8c26761b6b1f486822e77faea3"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/38a10fdd54d17590d45cb1c43b9889da383b6b1a"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/64bc5dbc3260230e2f022288c71e5c680059384a"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/78d837ce20517e0c1ff3ebe08ad64636e02c2e48"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/94cdb9f33698478b0e7062586633c42c6158a786"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/965f07ea5fd1b9591bcccc825a93ad883e56222c"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/a4ea20ab82aa2b197dc7b08f51e1d615578276a0"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/d5b16eb076f46c88d02d41ece5bec4e0d89158bb"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/d71a611fca1984c0765f9317ff471ac8cd0e3e2f"
          }
        ],
        "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "vulnStatus": "Deferred"
      }
    },
    "redhat_vex": {
      "aggregate_severity": "Moderate",
      "current_release_date": "2026-11-05T10:23:59+00:00",
      "cve": "CVE-2022-50625",
      "id": "CVE-2022-50625",
      "initial_release_date": "2022-01-01T00:00:00+00:00",
      "product_status:fixed": "280",
      "product_status:known_affected": "70",
      "product_status:known_not_affected": "51",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: serial: amba-pl011: avoid SBSA UART accessing DMACR register",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2022/cve-2022-50625.json",
      "version": "3"
    },
    "suse_vex": {
      "aggregate_severity": "low",
      "current_release_date": "2026-11-01T03:02:45Z",
      "cve": "CVE-2022-50625",
      "id": "CVE-2022-50625",
      "initial_release_date": "2025-12-09T00:31:25Z",
      "product_status:known_affected": "556",
      "product_status:known_not_affected": "166",
      "product_status:recommended": "219",
      "source": "SUSE CSAF VEX",
      "status": "interim",
      "title": "SUSE CVE CVE-2022-50625",
      "url": "https://ftp.suse.com/pub/projects/security/csaf-vex/2025/cve-2022-50625.json",
      "version": "35"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…