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 0A5EC1F4165 for ; Wed, 16 Apr 2025 14:16:09 +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=1744812969; cv=none; b=d5yqtVX5nIhCVqgGVbCTklcIwwhDvz/sLZmkEjQIRwuJdh9tNeTq9p+xXIMw0zOuB4QKkOyjb9m9sN9AW6lrmwrePZTLNVVSSOOYZEl7tMYisRKuzJtO6fFkHTez+G1BvAmou2l8iTNyb8myDLkDI5aMfhePh+jUpVHNekU14UQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1744812969; c=relaxed/simple; bh=fZC8g8TNohCl9RirY7M+pTtM0t9XRSdR0QCWIFmxHnI=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=OBZp8IWMblImDc1LE8nyXyvI/ophg0ljCFt/uprSPUujcJulr80QVBoSvmHMm7KoJN9l3BMA+xN7rw+DdKqMkTHOV5NSuKVpvSr7QDq+Pc6SAw+smkVEBUDh8QnVVT+d8zdirBusPLhl/lEg1HL0HomLIY4eQJUCJs7wRyHoILM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=CGxXBzFe; 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="CGxXBzFe" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8B21EC4CEE2; Wed, 16 Apr 2025 14:16:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1744812968; bh=fZC8g8TNohCl9RirY7M+pTtM0t9XRSdR0QCWIFmxHnI=; h=From:To:Cc:Subject:Date:Reply-to:From; b=CGxXBzFegzNxMHOD+oog15yEjpsFbUQGmMFm5dP2RTHmynVEr97Dmd3FVGshzj5zY NqOfPlC4WK/gmsrzUlpnOIuWnoY4ZiuVxxHqnT0fbLd3I+h5L1Cra/RD6J4tou/Gwz 2hIUGSvAkCFY6FL5CQgrgrCHolLRU/8SOoK9260o= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-22076: exfat: fix missing shutdown check Date: Wed, 16 Apr 2025 16:12:47 +0200 Message-ID: <2025041612-CVE-2025-22076-88bb@gregkh> X-Mailer: git-send-email 2.49.0 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=2553; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=fZC8g8TNohCl9RirY7M+pTtM0t9XRSdR0QCWIFmxHnI=; b=owGbwMvMwCRo6H6F97bub03G02pJDOn/d+358fzzbCY+HhP/7/sTt0msi76wjYFTVsrbMnWX0 v6P5xdJdsSyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBEYt8xLLjmJMOn+GDCwQl6 rlsnb4n66C8TzMKwYOHxGddtvsyv5/7/mnu3yeUFNTqy7wA= 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: exfat: fix missing shutdown check xfstests generic/730 test failed because after deleting the device that still had dirty data, the file could still be read without returning an error. The reason is the missing shutdown check in ->read_iter. I also noticed that shutdown checks were missing from ->write_iter, ->splice_read, and ->mmap. This commit adds shutdown checks to all of them. The Linux kernel CVE team has assigned CVE-2025-22076 to this issue. Affected and fixed versions =========================== Issue introduced in 6.12 with commit f761fcdd289d07e8547fef7ac76c3760fc7803f2 and fixed in 6.12.23 with commit 4a9595eb024b8319957c178be3cdeed613ac0795 Issue introduced in 6.12 with commit f761fcdd289d07e8547fef7ac76c3760fc7803f2 and fixed in 6.13.11 with commit e41e33eb795cb9c1ead6ac627d8710546fac6e81 Issue introduced in 6.12 with commit f761fcdd289d07e8547fef7ac76c3760fc7803f2 and fixed in 6.14.2 with commit 539147585ca453db6e3d7a5cf3b9c9690513762d Issue introduced in 6.12 with commit f761fcdd289d07e8547fef7ac76c3760fc7803f2 and fixed in 6.15-rc1 with commit 47e35366bc6fa3cf189a8305bce63992495f3efa 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-22076 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/exfat/file.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/4a9595eb024b8319957c178be3cdeed613ac0795 https://git.kernel.org/stable/c/e41e33eb795cb9c1ead6ac627d8710546fac6e81 https://git.kernel.org/stable/c/539147585ca453db6e3d7a5cf3b9c9690513762d https://git.kernel.org/stable/c/47e35366bc6fa3cf189a8305bce63992495f3efa