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 0C936288510 for ; Tue, 16 Sep 2025 08:12:30 +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=1758010350; cv=none; b=WQmQzl+8/NJA/lVHRTIBhrKM+LROnLZNfS+huZWbz57Bc6UpxFVNB521ep466nmLGy29gZduZy5Tis6mjphVJXZZvONW5uENMVwAZs9Dyj1+uEqCiok1P2kjk3fTP4+kHWWBVFkUu1tC08A8JPU9B2x1KgWmY8qWU/VbrPlB+Ms= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1758010350; c=relaxed/simple; bh=nTEzE3jJh1TaHJLelrugLx0Bbn2siVjG16dASCUclz8=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=l218qiDVgEDcSbSWlInjT5mc9rihTpDCuQtUCqo8U7Puj2aSCRXAchjB6JAr0ghVISpxVSr48rvK995IurAwAzBMS0IWrwNhKn+pUA8hSLc+vIiUyH2obypRU7UiYJlt71lvyv1ewdX/X7MawcCsmBbLph+cvl8MizcDBJulVyE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=gOyhQ0MG; 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="gOyhQ0MG" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 80F9EC4CEEB; Tue, 16 Sep 2025 08:12:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1758010349; bh=nTEzE3jJh1TaHJLelrugLx0Bbn2siVjG16dASCUclz8=; h=From:To:Cc:Subject:Date:Reply-to:From; b=gOyhQ0MGgDTEExlpEDU14jmKJWUCAYDNBX0aVRDj5qcSjSZ0zHzyrisE6nmOv8IVn nOQzbwXRG3G1yYU+DL28765n2bRUawt3YzDAd3FRm0+1n/S+WtVwgsBx1+6Z63qu/s QAXsepkq9Xc+Zz0W4JsiWwgdW4wn++o97R7zVSoU= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-53285: ext4: add bounds checking in get_max_inline_xattr_value_size() Date: Tue, 16 Sep 2025 10:11:35 +0200 Message-ID: <2025091625-CVE-2023-53285-7cb1@gregkh> X-Mailer: git-send-email 2.51.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=2959; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=sAIpio1zbHyM+0FaVnfqKHotF76VsYNBHw6UnsWVjhU=; b=owGbwMvMwCRo6H6F97bub03G02pJDBknpdcuv/P4pUMl27fmH1dDFSrKhHOMFljFzzttNG/Ro 98vizvWdcSyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBECvYxLGjVtEqu8SkLjve0 +Z4yb8KRi5pPZzDMlbil/83vpEfX4u3TWQLe3N3weN99MwA= 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: ext4: add bounds checking in get_max_inline_xattr_value_size() Normally the extended attributes in the inode body would have been checked when the inode is first opened, but if someone is writing to the block device while the file system is mounted, it's possible for the inode table to get corrupted. Add bounds checking to avoid reading beyond the end of allocated memory if this happens. The Linux kernel CVE team has assigned CVE-2023-53285 to this issue. Affected and fixed versions =========================== Fixed in 4.14.315 with commit 5a229d21b98d132673096710e8281ef522dab1d1 Fixed in 4.19.283 with commit 3d7b8fbcd2273e2b9f4c6de5ce2f4c0cd3cb1205 Fixed in 5.4.243 with commit 486efbbc9445dca7890a1b86adbccb88b91284b0 Fixed in 5.10.180 with commit 4597554b4f7b29e7fd78aa449bab648f8da4ee2c Fixed in 5.15.112 with commit f22b274429e88d3dc7e79d375b56ce4f2f59f0b4 Fixed in 6.1.29 with commit 1d2caddbeeee56fbbc36b428c5b909c3ad88eb7f Fixed in 6.2.16 with commit e780058bd75614b66882bc02620ddbd884171560 Fixed in 6.3.3 with commit 88a06a94942c5c0a896e9da1113a6bb29e36cbef Fixed in 6.4 with commit 2220eaf90992c11d888fe771055d4de330385f01 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-53285 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/ext4/inline.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/5a229d21b98d132673096710e8281ef522dab1d1 https://git.kernel.org/stable/c/3d7b8fbcd2273e2b9f4c6de5ce2f4c0cd3cb1205 https://git.kernel.org/stable/c/486efbbc9445dca7890a1b86adbccb88b91284b0 https://git.kernel.org/stable/c/4597554b4f7b29e7fd78aa449bab648f8da4ee2c https://git.kernel.org/stable/c/f22b274429e88d3dc7e79d375b56ce4f2f59f0b4 https://git.kernel.org/stable/c/1d2caddbeeee56fbbc36b428c5b909c3ad88eb7f https://git.kernel.org/stable/c/e780058bd75614b66882bc02620ddbd884171560 https://git.kernel.org/stable/c/88a06a94942c5c0a896e9da1113a6bb29e36cbef https://git.kernel.org/stable/c/2220eaf90992c11d888fe771055d4de330385f01