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 368EF446B4 for ; Tue, 21 May 2024 15:38:02 +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=1716305882; cv=none; b=mKFWZdXQb8YkWGTepoHBzdLGTU7dhrGaaGK4Wb+47+9MnQWH1F9w4LMnyyJXFLsYUmEspQpBmPpsAxe+WTd/qX1pycUMHU+4ONzdFytV755C4BbuvRjrtuST3aN/o3F7FDedkwHiCIYygxbD3bZiKXQ/dZdXgKPqwW0h1S5fOwE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716305882; c=relaxed/simple; bh=mqIy2ZhocNbhIASxUMxi0w/lF514SEoBG0X4fPBX+xY=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=u9hyPvcW+DkP9pDvcbUnJn3ZgbydkeaU+xoVsqhyEMzF5hJbCvlCGTeyFtvEdZ4cfyaMppYYtZwjbGZrXZVKXC6LIkgsNSqXS3W35xy1K3m5WaoYodvv4ovWQL9YELbOh/oeACY3Rx8k6t+IgAuA/friKuDrFF/PMjhl9zwXiGo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=gteWxb4h; 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="gteWxb4h" Received: by smtp.kernel.org (Postfix) with ESMTPSA id AEEBBC2BD11; Tue, 21 May 2024 15:38:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1716305882; bh=mqIy2ZhocNbhIASxUMxi0w/lF514SEoBG0X4fPBX+xY=; h=From:To:Cc:Subject:Date:Reply-to:From; b=gteWxb4haF2niE4p6rrUk8w8e2du+Qicrr4cYuTguDYBPfurthu2m/tIlkhNK4fLz yEovMvcOoo9ECs0J9VVY7tA3QmPkdYEBC/AVIHzGB8NROMuoB+bHkkIdBxAI4w3dAa nXOiAMXyPu7G1oOfyPc0eflqaoeGzxmyYdqK/1F4= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-52838: fbdev: imsttfb: fix a resource leak in probe Date: Tue, 21 May 2024 17:32:14 +0200 Message-ID: <2024052110-CVE-2023-52838-be44@gregkh> X-Mailer: git-send-email 2.45.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=2923; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=mqIy2ZhocNbhIASxUMxi0w/lF514SEoBG0X4fPBX+xY=; b=owGbwMvMwCRo6H6F97bub03G02pJDGk+++wqi63uBjf4L1/u4il13OudpIOtKW9GA9e95av5g q5Z6z3siGVhEGRikBVTZPmyjefo/opDil6Gtqdh5rAygQxh4OIUgImwmDEsaJXYnjGVOUxmy/2A R7MZ1ATT7TY+Zliw/lDmbA+D8oMV9vM3zOm6kXQu4poJAA== X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit Description =========== In the Linux kernel, the following vulnerability has been resolved: fbdev: imsttfb: fix a resource leak in probe I've re-written the error handling but the bug is that if init_imstt() fails we need to call iounmap(par->cmap_regs). The Linux kernel CVE team has assigned CVE-2023-52838 to this issue. Affected and fixed versions =========================== Issue introduced in 4.19.291 with commit 7f683f286a21 and fixed in 4.19.299 with commit 382e1931e0c9 Issue introduced in 5.4.251 with commit 815c95d82b79 and fixed in 5.4.261 with commit 6c66d737b272 Issue introduced in 5.10.188 with commit 2bf70b88cc35 and fixed in 5.10.201 with commit a4dfebec32ec Issue introduced in 5.15.116 with commit ad3de274e065 and fixed in 5.15.139 with commit 8e4b510fe917 Issue introduced in 6.1.33 with commit c6c0a9f61958 and fixed in 6.1.63 with commit 7bc7b82fb219 Issue introduced in 6.4 with commit c75f5a550610 and fixed in 6.5.12 with commit 18d26f9baca7 Issue introduced in 6.4 with commit c75f5a550610 and fixed in 6.6.2 with commit b346a531159d Issue introduced in 6.4 with commit c75f5a550610 and fixed in 6.7 with commit aba6ab57a910 Issue introduced in 4.14.322 with commit 64c6b84c73f5 Issue introduced in 6.3.7 with commit 4c86974fb422 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-52838 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/video/fbdev/imsttfb.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/382e1931e0c9cd58a5a8519cdc6cd9dc4d82b485 https://git.kernel.org/stable/c/6c66d737b2726ac7784269ddf32a31634f8f269d https://git.kernel.org/stable/c/a4dfebec32ec6d420a5506dd56a7834c91be28e4 https://git.kernel.org/stable/c/8e4b510fe91782522b7ca0ca881b663b5d35e513 https://git.kernel.org/stable/c/7bc7b82fb2191b0d50a80ee4e27030918767dd1d https://git.kernel.org/stable/c/18d26f9baca7d0d309303e3074a2252b8310884a https://git.kernel.org/stable/c/b346a531159d08c564a312a9eaeea691704f3c00 https://git.kernel.org/stable/c/aba6ab57a910ad4b940c2024d15f2cdbf5b7f76b