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 A90E12EC0B5 for ; Tue, 30 Dec 2025 12:22:45 +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=1767097365; cv=none; b=H68GN+CmvzoJ9lUOZxd2f7hXiKA4P1FuPC0Wt8nPmL+dprCDfUo5NlaD76ql4oK5xRdOFNPnpfb8KyeARm/5JZ+/syTUSUa+U1DHLNW7bXM84YoSoIeVQGxtvNCPr1sDe5dOeCnHskxbXFQ0ngSXKHFmdw5x3EWOvZOGo5kkRFU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767097365; c=relaxed/simple; bh=5k/Y0wEyGCS0vV44OwPXYHfawe+WUOEA2qQz1G5fbRc=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=fa2q9Cpv4YzGRolXGW+h/mxiVXWXtE9NZnscGX8IJLWviegxO8uvEvINSDLpGL05AxK5QH+2lrK51tWucVM1h9nS0rKVHDbPkkncVPMwUSxBEkTG3zW9gpwpPT8Qqq6zewnyE43sPSQPlMgemp9VecuQNEEw81lI9Za3x3mSKYE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=fP/2HcB1; 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="fP/2HcB1" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 34C76C4CEFB; Tue, 30 Dec 2025 12:22:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1767097365; bh=5k/Y0wEyGCS0vV44OwPXYHfawe+WUOEA2qQz1G5fbRc=; h=From:To:Cc:Subject:Date:Reply-To:From; b=fP/2HcB1umhvkhPMoI6YYboW4qEOteYjTb1+cfzPzOu8Zc34vEJ+DKcc5X7Z+/Wbt GSpqApHzpzAkgtOBJjUiFAMTk7BAXpaJ8rfHQpa1X3ZGOfWZQF5NAS/5W7Fqc8K0c9 EORqufQECKeMbT7Dee4mhKBbvFaP19BBKI05XD4E= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-54272: fs/ntfs3: Fix a possible null-pointer dereference in ni_clear() Date: Tue, 30 Dec 2025 13:20:38 +0100 Message-ID: <2025123001-CVE-2023-54272-cb3f@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=2458; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=+B1Ege+iRk3JE+us5SlCrI2FJCRaeYxRSkuDO9jED1k=; b=kA0DAAIRMUfUDdst+ykByyZiAGlTw3GhnBLefAPEDN3hlV0Ma2cQkVGBw5ISuOCQRH8HG2NKB 4hdBAARAgAdFiEE9LYMxb94wiFKMT3LMUfUDdst+ykFAmlTw3EACgkQMUfUDdst+ymRJACfeA6z 62uawcT8ooHzv/8JlIeqZDgAoLVCY8lSgz2kFwVkDBBditmZ+Ttn 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: Fix a possible null-pointer dereference in ni_clear() In a previous commit c1006bd13146, ni->mi.mrec in ni_write_inode() could be NULL, and thus a NULL check is added for this variable. However, in the same call stack, ni->mi.mrec can be also dereferenced in ni_clear(): ntfs_evict_inode(inode) ni_write_inode(inode, ...) ni = ntfs_i(inode); is_rec_inuse(ni->mi.mrec) -> Add a NULL check by previous commit ni_clear(ntfs_i(inode)) is_rec_inuse(ni->mi.mrec) -> No check Thus, a possible null-pointer dereference may exist in ni_clear(). To fix it, a NULL check is added in this function. The Linux kernel CVE team has assigned CVE-2023-54272 to this issue. Affected and fixed versions =========================== Fixed in 5.15.113 with commit 20f9bfc664d6a478f9a5bbc0c380f80f7a1a06c6 Fixed in 6.1.81 with commit 39c6312009574ca73865354133ca222e7753a71b Fixed in 6.3.4 with commit e7675f85a92233136c630000a0b7cf97826705da Fixed in 6.4 with commit ec275bf9693d19cc0fdce8436f4c425ced86f6e7 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-54272 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/frecord.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/20f9bfc664d6a478f9a5bbc0c380f80f7a1a06c6 https://git.kernel.org/stable/c/39c6312009574ca73865354133ca222e7753a71b https://git.kernel.org/stable/c/e7675f85a92233136c630000a0b7cf97826705da https://git.kernel.org/stable/c/ec275bf9693d19cc0fdce8436f4c425ced86f6e7