Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5B14732E6B6 for ; Wed, 22 Oct 2025 13:26:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761139591; cv=none; b=Wazx1JWg/2z0XUMiH4aCmJwQRGPSsNytNY4kWSJ30X4yH7E9GG/w3d0KEb/4Q0zlJ2ltqGwHZ5sB2B1IF3C57WPMGR77HQBsRk4N3QRPHw0Oa0e0I8fevZB6Z/q/LTrJjq2DKlDnbrikrKHZqKDHLZ2iGhOKif9g2ImIkWsVMBs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761139591; c=relaxed/simple; bh=QNpOmJiSc8YvdSKjpp0DowD95L8p1DwnrvwOt4zrwPg=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=FazLm89ztCo9eg2LiF/BPFtng5/wO6TbbQf9aSjs3Vr9O5Uft40iH+frIan+aOwhAWdLzL89Ryrwgtof9e5Xm0xTuejaaWPgVOIdnTY39GM5Fyn6ahJ6zKqXiaC3qwZmvb5CamZ+13vT9CL4winl3WADkx58U3z46fj2ScHvJmk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=w75ddJiz; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="w75ddJiz" Received: by smtp.kernel.org (Postfix) with ESMTPSA id DDE2EC4CEE7; Wed, 22 Oct 2025 13:26:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1761139591; bh=QNpOmJiSc8YvdSKjpp0DowD95L8p1DwnrvwOt4zrwPg=; h=From:To:Cc:Subject:Date:Reply-to:From; b=w75ddJizI1o++KXmdwXyJujklJ0EudTcftyU12r0GE70CbHFxac5nQSCY6Si5CSif +1I0cM5CjOwMQBzp45w4ENJUlbfPGa3Ro4kLuR0yaU2fr2Sb39GSn0sBSpxf8gcI/E S+StjdXJqO2bqKaiwtQZFCm16mcyVmHvGSPtgwZY= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-53719: serial: arc_uart: fix of_iomap leak in `arc_serial_probe` Date: Wed, 22 Oct 2025 15:24:58 +0200 Message-ID: <2025102214-CVE-2023-53719-ad4c@gregkh> X-Mailer: git-send-email 2.51.1 Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Reply-to: , X-Developer-Signature: v=1; a=openpgp-sha256; l=3248; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=fuYKw7cjIZG4YWL1nxKemtYysktzcodH73iQHcWpxDM=; b=owGbwMvMwCRo6H6F97bub03G02pJDBk/bv17ufWlrHSY87NzjDsPvV8Vv8DqUf7bqr59F27Mf vS5oLO3qCOWhUGQiUFWTJHlyzaeo/srDil6GdqehpnDygQyhIGLUwAm8p6VYUGjuOKzpXdz36vs /m6pF7qwXbo1JYZhnrXHSRvhCQaGF49Uzqs7O/3TIu3KiQA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman Description =========== 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. The Linux kernel CVE team has assigned CVE-2023-53719 to this issue. Affected and fixed versions =========================== Issue introduced in 3.17 with commit 8dbe1d5e09a7faec8d22cadcc1011acab8fa6e2a and fixed in 4.19.284 with commit 3f00df24a5021a6f02c1830a290acd4bceb22a2d Issue introduced in 3.17 with commit 8dbe1d5e09a7faec8d22cadcc1011acab8fa6e2a and fixed in 5.4.244 with commit 7525aa211758cc023a371e010d16ceaae1057807 Issue introduced in 3.17 with commit 8dbe1d5e09a7faec8d22cadcc1011acab8fa6e2a and fixed in 5.10.181 with commit 153017561d2804cfae87cc9aa377aa84dd906ae1 Issue introduced in 3.17 with commit 8dbe1d5e09a7faec8d22cadcc1011acab8fa6e2a and fixed in 5.15.113 with commit f76a18e53a66c0ef2938276110717b3805720cd9 Issue introduced in 3.17 with commit 8dbe1d5e09a7faec8d22cadcc1011acab8fa6e2a and fixed in 6.1.30 with commit 081790eee6b47389a0d895262086d64c6a38d6e5 Issue introduced in 3.17 with commit 8dbe1d5e09a7faec8d22cadcc1011acab8fa6e2a and fixed in 6.3.4 with commit 40a462313ba4f337a2b419e7fb4a670f3dd95e14 Issue introduced in 3.17 with commit 8dbe1d5e09a7faec8d22cadcc1011acab8fa6e2a and fixed in 6.4 with commit 8ab5fc55d7f65d58a3c3aeadf11bdf60267cd2bd Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community. Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at https://cve.org/CVERecord/?id=CVE-2023-53719 will be updated if fixes are backported, please check that for the most up to date information about this issue. Affected files ============== The file(s) affected by this issue are: drivers/tty/serial/arc_uart.c Mitigation ========== The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits: https://git.kernel.org/stable/c/3f00df24a5021a6f02c1830a290acd4bceb22a2d https://git.kernel.org/stable/c/7525aa211758cc023a371e010d16ceaae1057807 https://git.kernel.org/stable/c/153017561d2804cfae87cc9aa377aa84dd906ae1 https://git.kernel.org/stable/c/f76a18e53a66c0ef2938276110717b3805720cd9 https://git.kernel.org/stable/c/081790eee6b47389a0d895262086d64c6a38d6e5 https://git.kernel.org/stable/c/40a462313ba4f337a2b419e7fb4a670f3dd95e14 https://git.kernel.org/stable/c/8ab5fc55d7f65d58a3c3aeadf11bdf60267cd2bd