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 2DB5A315D20 for ; Wed, 24 Dec 2025 10:36:27 +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=1766572588; cv=none; b=tDr7kgPlmObtCOVezh4R4ahFMU+4aPfWXlRZqw6J3nmu33fG3Cvy2Klqxdqff7s9Ihf9H/pV2pAuIGLPeDWHnUxnWiipMpVXBd81GBGS0oXwcLA1cGWSstQKNrBRwSWMGSIAxfO6YAHzOECU1HkzyehA474hF6Rkuzv6YiOMdys= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1766572588; c=relaxed/simple; bh=M/bgEfpiEsWDw1030hcDjuzAgfAH0k/AepbE+TYt0zM=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=kS1p6ocnF0sk+qJyy71fLEYatFLmjf6PYL7+zj9pXhm1gB88My6AoP81Km3UZ9O21/Q6PvgiAvKHmEf3TxRNCawZ6OyaPU+DWs9kMoZW8d9BUgIF8AwtptvPHe2R6Yv6C+iHF2eWZL7Toj9GeG0aLBIHXBQVCDwrM1tyRYHjqO0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=AD+xIE42; 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="AD+xIE42" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 66108C4CEFB; Wed, 24 Dec 2025 10:36:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1766572587; bh=M/bgEfpiEsWDw1030hcDjuzAgfAH0k/AepbE+TYt0zM=; h=From:To:Cc:Subject:Date:Reply-To:From; b=AD+xIE42omdG7vVvaO8oHlobyXi2Gm7c6SbEcF6XGE9UzTw2J6O2eWxPURY1542Eu VXALCcKdLKGWw/pdZp9ZQCEbX1bkyqPSacwcC15vS45Z5pmG9VO1nOYB2VIflyhVFg rmuTFv4BVhCLaUlED29eJOKFO2Ig7SIl3nElaRKU= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-68350: exfat: fix divide-by-zero in exfat_allocate_bitmap Date: Wed, 24 Dec 2025 11:34:55 +0100 Message-ID: <2025122454-CVE-2025-68350-c55b@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=2046; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=AjPRuipyGcSWW6fNTt0fFJYqZr0IBUrucHf3fMZspyw=; b=owGbwMvMwCRo6H6F97bub03G02pJDJneB8/VLPZL47Ys4NSZ980ya3XLXLapFe+e/OesClm0w 8uHwXNtRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAEykJYlhfuzPZZxtVk/jLBjT J8yY2/Vn+7ndOxnm59htnWd8OOvIj4oo28nRr9TE4+ddAAA= 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: exfat: fix divide-by-zero in exfat_allocate_bitmap The variable max_ra_count can be 0 in exfat_allocate_bitmap(), which causes a divide-by-zero error in the subsequent modulo operation (i % max_ra_count), leading to a system crash. When max_ra_count is 0, it means that readahead is not used. This patch load the bitmap without readahead. The Linux kernel CVE team has assigned CVE-2025-68350 to this issue. Affected and fixed versions =========================== Issue introduced in 6.18 with commit 9fd688678dd86e3be32a35e3b2c5cc3ef0c4e257 and fixed in 6.18.2 with commit 88fc3dd6e631b3e2975f898c6c2b6bc6f7058b44 Issue introduced in 6.18 with commit 9fd688678dd86e3be32a35e3b2c5cc3ef0c4e257 and fixed in 6.19-rc1 with commit d70a5804c563b5e34825353ba9927509df709651 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-68350 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/balloc.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/88fc3dd6e631b3e2975f898c6c2b6bc6f7058b44 https://git.kernel.org/stable/c/d70a5804c563b5e34825353ba9927509df709651