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 BF8042EA743 for ; Tue, 30 Dec 2025 12:21:12 +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=1767097272; cv=none; b=Qm8pObekI2Hk1kGPj0ZrBesUkatXQDK9KyR00DSvmcW92MjvTy5xDOSzhmk2guniIGWTf6C2qY+uxjuzIp0IJBU9Ew1rrSJ+zIZKUApCiAIjcEWgTAEjxJDW27OCxbVRQaE0kxyoVqU6TJyb9b2xV0JnUuRSNQVtgunrIO4EKyw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767097272; c=relaxed/simple; bh=SrAoc6pTwKOWRfwPhYU4LttSrpr5AyUma6RCzRJvpWk=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=F3jMww8EnbMMPqh5BYvMMnPfYgbarr5xQgDfcWIaI3yvr4oVSso/L+peGSTNO9Qsu3uuQoykB8BowXjPPnXLZqNCP0dw7H87KyC/lftRHFZga0fLCX0n47Qkus75JV8H1YV6w4U+xkNpw4TxgtctuGQFVsBp4jP43dXxAqUWo60= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=tc1ygRXo; 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="tc1ygRXo" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 41A27C4CEFB; Tue, 30 Dec 2025 12:21:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1767097272; bh=SrAoc6pTwKOWRfwPhYU4LttSrpr5AyUma6RCzRJvpWk=; h=From:To:Cc:Subject:Date:Reply-To:From; b=tc1ygRXoJj7hAdd7SXWuuzpliisIbTKCwwfUq3HHe1zbnh29MlNmQDhzWzyeiAVUc QvaXXwwkRUX42PzfFBUv+XDbq45X0Pa7ZF5capsCNqUjhE6vlTAQ0XgV899aVYYWkX J4vfu/ym4aoaUHqTur4Y3iBR2K5QrLNza+Na15js= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-54248: fs/ntfs3: Add check for kmemdup Date: Tue, 30 Dec 2025 13:20:14 +0100 Message-ID: <2025123053-CVE-2023-54248-c2cf@gregkh> X-Mailer: git-send-email 2.52.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2557; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=sj9WLjLrDNr3Wc4WMvx4ZAxnNpHBfz4EpOhVZ4ieuBA=; b=owGbwMvMwCRo6H6F97bub03G02pJDJnBhzOL23tyL1Ya7VpxZWpc9pPgttgdZTr9H837zZ6kx qmIHJvSEcvCIMjEICumyPJlG8/R/RWHFL0MbU/DzGFlAhnCwMUpABPZ/51hweQnqlPv1Zycm54R n9+d+TTjs9DbLIZ5unZLzqzpuL/8jLhu2mse7qWL/nWKAAA= 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: fs/ntfs3: Add check for kmemdup Since the kmemdup may return NULL pointer, it should be better to add check for the return value in order to avoid NULL pointer dereference. The Linux kernel CVE team has assigned CVE-2023-54248 to this issue. Affected and fixed versions =========================== Issue introduced in 5.15 with commit b46acd6a6a627d876898e1c84d3f84902264b445 and fixed in 5.15.111 with commit 952bbfcedbf895963509861e55a6e4fc105eb842 Issue introduced in 5.15 with commit b46acd6a6a627d876898e1c84d3f84902264b445 and fixed in 6.1.28 with commit 7898db22ed6cee909513cf4935b5f9f0298b74f0 Issue introduced in 5.15 with commit b46acd6a6a627d876898e1c84d3f84902264b445 and fixed in 6.2.15 with commit 9f36704a58adade3b0216f8a3fa5503db4517208 Issue introduced in 5.15 with commit b46acd6a6a627d876898e1c84d3f84902264b445 and fixed in 6.3.2 with commit cdcdfd57f4c701f832787da1309cc6687917d783 Issue introduced in 5.15 with commit b46acd6a6a627d876898e1c84d3f84902264b445 and fixed in 6.4 with commit e6c3cef24cb0d045f99d5cb039b344874e3cfd74 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-54248 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: fs/ntfs3/fslog.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/952bbfcedbf895963509861e55a6e4fc105eb842 https://git.kernel.org/stable/c/7898db22ed6cee909513cf4935b5f9f0298b74f0 https://git.kernel.org/stable/c/9f36704a58adade3b0216f8a3fa5503db4517208 https://git.kernel.org/stable/c/cdcdfd57f4c701f832787da1309cc6687917d783 https://git.kernel.org/stable/c/e6c3cef24cb0d045f99d5cb039b344874e3cfd74