From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 6B6E9312837 for ; Wed, 24 Jun 2026 16:35:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782318920; cv=none; b=TjeRXNUJwiFmpyeMGoY+G+tI1y1Cl862Sm9DR0qnBFrwbS9UP3umU03H+sCgvDxaf3de6TInl9va8W9Pt/bjnJK/9raX4WfM9kuQWFcKVXqG0Or4XpjVbXwrITWM3yQb5w7CR91ttxxLmd2gJC4CjMesbs3Gg3H8upzUNqg/bsg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782318920; c=relaxed/simple; bh=v725luDxCat7T5uwGrW6EUc3Jvd0qqfFAs+d9L9HcSA=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=UXClyPXYwgCmuZXwsa+AgUdvyO24UOPqye9oaei+ETgke1UHYIHseDapaTa8CmeDzym1F07LDUlsbg0tvHXb65r5eJbGhmztYJ+htULPo7EQE4wXiCx1oNaHV/dPM9A7gKyKuFeLbeumNJRIFtcVBoANhZVKqP9aQvAVptw3o4A= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=EDY9rpFN; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="EDY9rpFN" Received: by smtp.kernel.org (Postfix) with ESMTPSA id B5A531F000E9; Wed, 24 Jun 2026 16:35:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1782318919; bh=nmxcR2vt5otz3R3yZyByH8mZcZfQ4656t+squnHixsg=; h=From:To:Cc:Subject:Date:Reply-To; b=EDY9rpFNxQ3xRMKsPS92tTu5FM6/w8hCWAIWrAV5pB94Ee9tBqHs4Jc0ctM597Hsa arJEP4DX6xHsSk5ebl/9AtPycj1yq9zI1DVjSUGf0OzAyklz2AWf38FkLSj7swbSqh YCNlu6LEmJ8QvuiBx3PTwRCLQYm3UGvufmpweV5o= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-53015: erofs: unify lcn as u64 for 32-bit platforms Date: Wed, 24 Jun 2026 17:30:39 +0100 Message-ID: <2026062450-CVE-2026-53015-fe84@gregkh> X-Mailer: git-send-email 2.54.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=2572; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=JWKgmOTNHVOz+F2yrvAoua4nXTv9WbEMfyrw5wNomEQ=; b=owGbwMvMwCRo6H6F97bub03G02pJDFk2rP8iP5yyd1Gb+S6/XDknws9Xeu1Hls9bv//05Ph43 TB27YnQjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZhI/XOG+f5v7lwJlxN14pj2 umj7ESa2iSVyVxjmxwhNXCzBtXqO6mONmS9fMPlKLi4zBQA= 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: erofs: unify lcn as u64 for 32-bit platforms As sashiko reported [1], `lcn` was typed as `unsigned long` (or `unsigned int` sometimes), which is only 32 bits wide on 32-bit platforms, which causes `(lcn << lclusterbits)` to be truncated at 4 GiB. In order to consolidate the logic, just use `u64` consistently around the codebase. [1] https://sashiko.dev/r/20260420034612.1899973-1-hsiangkao%40linux.alibaba.com The Linux kernel CVE team has assigned CVE-2026-53015 to this issue. Affected and fixed versions =========================== Issue introduced in 5.3 with commit 152a333a589560bee002e4c96761f1b560a5793c and fixed in 6.12.91 with commit 4fc9b12e43a3f19a01a8fb61f7961be79de20253 Issue introduced in 5.3 with commit 152a333a589560bee002e4c96761f1b560a5793c and fixed in 6.18.33 with commit 858e4d98a86adf34584767388deb6c9b217f70c5 Issue introduced in 5.3 with commit 152a333a589560bee002e4c96761f1b560a5793c and fixed in 7.0.10 with commit 582b0bf201157632cb5474c885989a6ebda46521 Issue introduced in 5.3 with commit 152a333a589560bee002e4c96761f1b560a5793c and fixed in 7.1 with commit 2d8c7edcb661812249469f4a5b62e9339118846f 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-2026-53015 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/erofs/zmap.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/4fc9b12e43a3f19a01a8fb61f7961be79de20253 https://git.kernel.org/stable/c/858e4d98a86adf34584767388deb6c9b217f70c5 https://git.kernel.org/stable/c/582b0bf201157632cb5474c885989a6ebda46521 https://git.kernel.org/stable/c/2d8c7edcb661812249469f4a5b62e9339118846f