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 24667218E83 for ; Wed, 26 Feb 2025 02:15:42 +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=1740536142; cv=none; b=dMsAUtSeJBGQLty9XocWtpdfQsj3k+wY/qhtEF4M0LEoJQ+QnN6AEQbLUHMrcLOqKKnvayznOmCta+Y2tI2vn5I7JbeqcYkD415TivILdC2dQXjbyQzNqyMDGl6lP9GtPL4ISrNATrHxnqxl+7qY+kUmOLFfJiyG3jGIL76hX2E= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740536142; c=relaxed/simple; bh=LIxykPkFOZv3U+tOYkt3fMhLgcJzltOdVcoUHIVcVGw=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=P+FdtBktWR1Ao0CbMBprEqEvLQvrtM9zgunP06XnHzO+D6PzMduByjjRlwnVjynWaRbaOjoVewrXEPDqAK7X2TwZPaabLJZKfCqBjKk8veR8c9G46h9uthwWgjyiPAJ6d0xvJxJ7KM6iolrcN+mePgAFKevZTiZ6ceorgS9xbq0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=zkYmyYB4; 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="zkYmyYB4" Received: by smtp.kernel.org (Postfix) with ESMTPSA id EE46EC4CEE6; Wed, 26 Feb 2025 02:15:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1740536142; bh=LIxykPkFOZv3U+tOYkt3fMhLgcJzltOdVcoUHIVcVGw=; h=From:To:Cc:Subject:Date:Reply-to:From; b=zkYmyYB4hsnaKTErW0LUsYa6F0ZIjy6Tz4sI3T4H1BUgaN7nQsKgBYyBNs+4iXWEn cWkuSWPJWYPSygxvqUxiRysmdIWVVBIg5yZPY5JBLqr/Ikv3LmrH9fWggI8xtkbzFn snli5iNLcpX6kNPvwO/hTnWYt24OReVbtx/m5rqU= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2022-49550: fs/ntfs3: provide block_invalidate_folio to fix memory leak Date: Wed, 26 Feb 2025 03:13:44 +0100 Message-ID: <2025022616-CVE-2022-49550-29a9@gregkh> X-Mailer: git-send-email 2.48.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=1967; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=LIxykPkFOZv3U+tOYkt3fMhLgcJzltOdVcoUHIVcVGw=; b=owGbwMvMwCRo6H6F97bub03G02pJDOn7Kji49tT7PCo+NVGv4+GS0iui+Xd2egtopUdEby09n qJzV+BKRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAEzkqyXD/Fj7+cE//+17FRZ5 oux46OLA/BIOVoYFi0xz99h8vzBhT81dpWN2CQxlh1qCAQ== 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: fs/ntfs3: provide block_invalidate_folio to fix memory leak The ntfs3 filesystem lacks the 'invalidate_folio' method and it causes memory leak. If you write to the filesystem and then unmount it, the cached written data are not freed and they are permanently leaked. The Linux kernel CVE team has assigned CVE-2022-49550 to this issue. Affected and fixed versions =========================== Issue introduced in 5.18 with commit 7ba13abbd31ee9265e88d7dc029c0f786e665192 and fixed in 5.18.3 with commit 0753245a72ec99824677586499ee2e0919164b3f Issue introduced in 5.18 with commit 7ba13abbd31ee9265e88d7dc029c0f786e665192 and fixed in 5.19 with commit 724bbe49c5e427cb077357d72d240a649f2e4054 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-2022-49550 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/0753245a72ec99824677586499ee2e0919164b3f https://git.kernel.org/stable/c/724bbe49c5e427cb077357d72d240a649f2e4054