Skip to content
Heist/ feed
Back to feed
UnratedFix available

serial: arc_uart: fix of_iomap leak in `arc_serial_probe`

Type: advisorySources: OSV

In the Linux kernel, the following vulnerability has been resolved: serial: arc_uart: fix of_iomap leak in `arc_serial_probe` Smatch reports: drivers/tty/serial/arc_uart.c:631 arc_serial_probe() warn: 'port->membase' from of_iomap() not released on lines: 631. In arc_serial_probe(), if uart_add_one_port() fails, port->membase is not released, which would cause a resource leak. To fix this, I replace of_iomap with devm_platform_ioremap_resource.

Products
Kernel
Affected versions
Not specified
Fixed versions
4.19.284, 5.10.181, 5.15.113, 5.4.244, 6.1.30, 6.3.4
CVEs
CVE-2023-53719
Confirmed fixed CVEs
Not specified
Updated in this feed
2 Nov 2026, 22:43 UTC · Revision 1

Source evidence

serial: arc_uart: fix of_iomap leak in `arc_serial_probe`

core-osv · Original source

Published 22 Oct 2025, 13:23 UTC

In the Linux kernel, the following vulnerability has been resolved: serial: arc_uart: fix of_iomap leak in `arc_serial_probe` Smatch reports: drivers/tty/serial/arc_uart.c:631 arc_serial_probe() warn: 'port->membase' from of_iomap() not released on lines: 631. In arc_serial_probe(), if uart_add_one_port() fails, port->membase is not released, which would cause a resource leak. To fix this, I replace of_iomap with devm_platform_ioremap_resource.

osv:CVE-2023-53719

Kernel

Fixed versions: 4.19.284, 5.4.244, 5.10.181, 5.15.113, 6.1.30, 6.3.4

Complete source record
{
  "id": "4a2099b0c4ef1d488111997bcf82a737f780054805e8f547a25d78f8b9758182",
  "url": "https://osv.dev/vulnerability/CVE-2023-53719",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "serial: arc_uart: fix of_iomap leak in `arc_serial_probe`",
    "summary": "In the Linux kernel, the following vulnerability has been resolved: serial: arc_uart: fix of_iomap leak in `arc_serial_probe` Smatch reports: drivers/tty/serial/arc_uart.c:631 arc_serial_probe() warn: 'port->membase' from of_iomap() not released on lines: 631. In arc_serial_probe(), if uart_add_one_port() fails, port->membase is not released, which would cause a resource leak. To fix this, I replace of_iomap with devm_platform_ioremap_resource.",
    "evidence": "osv:CVE-2023-53719",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "4.19.284",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.4.244",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.10.181",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.15.113",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.1.30",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.3.4",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "unknown",
    "structured": {
      "id": "CVE-2023-53719",
      "aliases": [
        "CVE-2023-53719"
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "8dbe1d5e09a7faec8d22cadcc1011acab8fa6e2a"
                },
                {
                  "fixed": "3f00df24a5021a6f02c1830a290acd4bceb22a2d"
                },
                {
                  "fixed": "7525aa211758cc023a371e010d16ceaae1057807"
                },
                {
                  "fixed": "153017561d2804cfae87cc9aa377aa84dd906ae1"
                },
                {
                  "fixed": "f76a18e53a66c0ef2938276110717b3805720cd9"
                },
                {
                  "fixed": "081790eee6b47389a0d895262086d64c6a38d6e5"
                },
                {
                  "fixed": "40a462313ba4f337a2b419e7fb4a670f3dd95e14"
                },
                {
                  "fixed": "8ab5fc55d7f65d58a3c3aeadf11bdf60267cd2bd"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-53719.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "3.17.0"
                },
                {
                  "fixed": "4.19.284"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "4.20.0"
                },
                {
                  "fixed": "5.4.244"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.5.0"
                },
                {
                  "fixed": "5.10.181"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.11.0"
                },
                {
                  "fixed": "5.15.113"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.16.0"
                },
                {
                  "fixed": "6.1.30"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.2.0"
                },
                {
                  "fixed": "6.3.4"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-53719.json"
          }
        }
      ],
      "modified": "2026-10-30T02:30:35.369405918Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/081790eee6b47389a0d895262086d64c6a38d6e5",
        "https://git.kernel.org/stable/c/153017561d2804cfae87cc9aa377aa84dd906ae1",
        "https://git.kernel.org/stable/c/3f00df24a5021a6f02c1830a290acd4bceb22a2d",
        "https://git.kernel.org/stable/c/40a462313ba4f337a2b419e7fb4a670f3dd95e14",
        "https://git.kernel.org/stable/c/7525aa211758cc023a371e010d16ceaae1057807",
        "https://git.kernel.org/stable/c/8ab5fc55d7f65d58a3c3aeadf11bdf60267cd2bd",
        "https://git.kernel.org/stable/c/f76a18e53a66c0ef2938276110717b3805720cd9",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53719.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2023-53719",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53719.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2023-53719",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 490634,
  "published_at": "2025-10-22T13:23:51.441+00:00"
}