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 59DBD2ECD34 for ; Tue, 30 Dec 2025 12:24:04 +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=1767097444; cv=none; b=nNwSGQjeCKRXJdysybdD4Z8sSUl3hfFm3E4pR6/uRn7dYByZenCOsegcQrkEEWKJhkVud2UZYRPpJQO3qXPT+XnjZ3iKQv7HNu0fYBl4ZPD615wy3f4UgdNJTspRhzMA1+bdk83yGBsqS3JMdA7+HUc0qgg1Om/FwHDbetlrR88= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767097444; c=relaxed/simple; bh=F3B0eTW3EQ1Nij5jpYiIPsxwQUZEX9FhsZkcfTl4DkE=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Ud4oIlEHJ/OgyZVNlsvTbOYJwTiV7jS3Aw0HJzXY4wJSpUndjD4lUb+kuPit2N84PHpgI8xbah2LUOPPXp7NHMshVcm4KAMrWrqzDs7m8DopQuemEf642gJhEMdpYDNMOb2gA+64AwDE+cfe9maK4JXRlp3TPYNUwgalIBMAq1c= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=HWtH9swa; 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="HWtH9swa" Received: by smtp.kernel.org (Postfix) with ESMTPSA id DA3BBC4CEFB; Tue, 30 Dec 2025 12:24:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1767097444; bh=F3B0eTW3EQ1Nij5jpYiIPsxwQUZEX9FhsZkcfTl4DkE=; h=From:To:Cc:Subject:Date:Reply-To:From; b=HWtH9swa5i5t3t8it3c7z5JyS6lvjzxuD61es+92aKUQcDGMSduQ4Bds8B3WbkZE2 +ShANb4HjqYMm4A3Py+rje6vZfM8POtyyy0v9WPYEULvSEr4VfTCqHP3/07RIDzNk0 VfGaw8g1Q0Jmu/aZ5yl6LMsjwjdwmv98nYRudMj0= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-54285: iomap: Fix possible overflow condition in iomap_write_delalloc_scan Date: Tue, 30 Dec 2025 13:23:38 +0100 Message-ID: <2025123027-CVE-2023-54285-edc0@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=1819; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=bCyEQsoeXtTNfXU+nIlbyGdpGdjxwlYPECfP/Il5du0=; b=owGbwMvMwCRo6H6F97bub03G02pJDJnBR+w/JEqwyUSekeCOtVkncNhT0kLspKX6BameG3Eu6 xfqcDB3xLIwCDIxyIopsnzZxnN0f8UhRS9D29Mwc1iZQIYwcHEKwESUjRnmV9XUZdrlXjFoz7Au f3GUwfPC8ivzGBb0rFNULfH4LyGd4v84WiLK4q+9yU4A 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: iomap: Fix possible overflow condition in iomap_write_delalloc_scan folio_next_index() returns an unsigned long value which left shifted by PAGE_SHIFT could possibly cause an overflow on 32-bit system. Instead use folio_pos(folio) + folio_size(folio), which does this correctly. The Linux kernel CVE team has assigned CVE-2023-54285 to this issue. Affected and fixed versions =========================== Fixed in 6.5.5 with commit 5c281b0c5d18c8eeb1cfd5023f4adb153e6d1240 Fixed in 6.6 with commit eee2d2e6ea5550118170dbd5bb1316ceb38455fb 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-54285 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/iomap/buffered-io.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/5c281b0c5d18c8eeb1cfd5023f4adb153e6d1240 https://git.kernel.org/stable/c/eee2d2e6ea5550118170dbd5bb1316ceb38455fb