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 4BD453148A8 for ; Wed, 24 Dec 2025 10:35:56 +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=1766572556; cv=none; b=UKmjswkLDilqJnq48UJrGT3brb8l4ygGiaYohZV+xItpYSxkr4CBD+baTz0CHKBFEA1SkQmm3Qv336l6IxW0p/XUypJtoR3iweW6hHIJmUrawNIVYd+XNYAFuhGjr+mDcVRY2PsXnZbl5owzML1BxUw1mcJCXpmfFfxWoQ0+YjE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1766572556; c=relaxed/simple; bh=Jl50bkry6i5DYrBEAOUbbOFraLniBkktb5qV5Gz5Yv4=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=qYQvwE1/UlzaI1gYE9M9agUXrLzNypufPpf+PwNejPkTLYuVe8f5bKz3hrLMsdJgbBKnnh9XbhTL5gQJvWgijDkS7fEJ1DeIr7eBcH9JMpHEl4EPGmjiI3FEFaZfF6aV32Uuafs2NU63zeQHum3p9wzNt81bVuFdbEPPph0iPFs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=r6um6y0i; 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="r6um6y0i" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 87701C4CEFB; Wed, 24 Dec 2025 10:35:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1766572555; bh=Jl50bkry6i5DYrBEAOUbbOFraLniBkktb5qV5Gz5Yv4=; h=From:To:Cc:Subject:Date:Reply-To:From; b=r6um6y0iCmtENRQweegwVhQa9z/grFyRgjO3RGwOhjw2CKmZNEpEncfNAccLGFlLk 44bk9C0hrkuvkU68INCU4IwXiSl+jaZqVwNqK6LUcxy6asNpue5Dvz4z66pSaCvNOV AswdPLSddGJB6x77cw/hTQiQb37d74DUEksXkuvA= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-68365: fs/ntfs3: Initialize allocated memory before use Date: Wed, 24 Dec 2025 11:35:10 +0100 Message-ID: <2025122459-CVE-2025-68365-4ad3@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=2122; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=G6Za7gHAJ6GN/+oma1K3mXb/BygvA+Ah0Y0oi6WclR4=; b=owGbwMvMwCRo6H6F97bub03G02pJDJneBy+zmSy1u7bFuy3swttSMeV1v53cnafU90QfsWG+c 2/1xBK1jlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZhI9WyG+TmKzHXsB45L+J2f LlcqWH/w085XIQwLJgorn9/g0+ocEV+4NfGmZX7mlJg/AA== 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: Initialize allocated memory before use KMSAN reports: Multiple uninitialized values detected: - KMSAN: uninit-value in ntfs_read_hdr (3) - KMSAN: uninit-value in bcmp (3) Memory is allocated by __getname(), which is a wrapper for kmem_cache_alloc(). This memory is used before being properly cleared. Change kmem_cache_alloc() to kmem_cache_zalloc() to properly allocate and clear memory before use. The Linux kernel CVE team has assigned CVE-2025-68365 to this issue. Affected and fixed versions =========================== Issue introduced in 5.15 with commit 82cae269cfa953032fbb8980a7d554d60fb00b17 and fixed in 6.18.2 with commit 192e8ce302f14ac66259231dd10cede19858d742 Issue introduced in 5.15 with commit 82cae269cfa953032fbb8980a7d554d60fb00b17 and fixed in 6.19-rc1 with commit a8a3ca23bbd9d849308a7921a049330dc6c91398 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-2025-68365 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/inode.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/192e8ce302f14ac66259231dd10cede19858d742 https://git.kernel.org/stable/c/a8a3ca23bbd9d849308a7921a049330dc6c91398