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 35CAC3101BF for ; Wed, 24 Jun 2026 16:34:02 +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=1782318843; cv=none; b=Zm8EfmcH3aZDus58aTa3DgIQS3JQIBBLkCWdybNzKWA0qXp5wndWgawugHrw3iMW+HMnuyCzVJbWItIdNcHZ5rotAvtwObmYKHY5WhDWlzS+fb8yOGbpYYciA15asmAByNRPxAlH9PSzxRdMHTyuAw3c9sqxdyyO07W2tkafpx4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782318843; c=relaxed/simple; bh=BVFWz0ms3Yw8lepIueNJVrSdvN+HuTmn4ErkK3gpmBQ=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=fxyHhtbmXkI1s//eZ3GVtXTcTrAeVNRQf6SaIrcX6iFP3rpU2I0I1EFW4/wDQoqj2cQLON5xqgiRiwDX7YNWhDcF0pDxdCQ9RYtPX9rK5Kuu+0/YwnhEUUfA0B5N4XHA5DGH5D1iCcCjI/lS+lrKCgkRe6yyT/zMg11m6pAfOYY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=xI3L1Tp4; 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="xI3L1Tp4" Received: by smtp.kernel.org (Postfix) with ESMTPSA id B265D1F000E9; Wed, 24 Jun 2026 16:34:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1782318842; bh=SA11N4mWmCXUQyWEySl2eKErPG8dpcTQmiZ+zJ5tKbA=; h=From:To:Cc:Subject:Date:Reply-To; b=xI3L1Tp4aWhRPl8oKMFw7yMtyMZcX9Xzp6cx8GcKGr6iU9p3gopC+ovp9AjgoYiHT 4oJ6LknJd021ea/zFI9+98b3i9qavQpX9mNaTR1rv37oZ9QaRXikDsQtlrm/gDf5f+ Y6XJYfKVpk/rguuB4i/nU+N60d9/okG40EnDbsi4= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-52992: fs/adfs: validate nzones in adfs_validate_bblk() Date: Wed, 24 Jun 2026 17:30:16 +0100 Message-ID: <2026062444-CVE-2026-52992-af99@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=3672; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=G5vV3o/E8187vSHa53XiPw7VxpUA0pRVOQ2GhoFjaLg=; b=owGbwMvMwCRo6H6F97bub03G02pJDFk2rD8VX+b+Wid8TbNAYEXitFlHP+WHJ9i/kVm4oO/Hj lZbr//2HbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjCRzyEMc4Uv9cvuehugxNdS cUqxek/vka2tBgxz+LkEEu3quvtf6vJ9tkn9uqnhvss/AA== 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: fs/adfs: validate nzones in adfs_validate_bblk() Reject ADFS disc records with a zero zone count during boot block validation, before the disc record is used. When nzones is 0, adfs_read_map() passes it to kmalloc_array(0, ...) which returns ZERO_SIZE_PTR, and adfs_map_layout() then writes to dm[-1], causing an out-of-bounds write before the allocated buffer. adfs_validate_dr0() already rejects nzones != 1 for old-format images. Add the equivalent check to adfs_validate_bblk() for new-format images so that a crafted image with nzones == 0 is rejected at probe time. Found by syzkaller. The Linux kernel CVE team has assigned CVE-2026-52992 to this issue. Affected and fixed versions =========================== Issue introduced in 5.6 with commit f6f14a0d71b0773a1d4147d1a3c33d537cd213ab and fixed in 5.10.258 with commit 33aafd2418a59c96c0389d47ea09026661fa9ec6 Issue introduced in 5.6 with commit f6f14a0d71b0773a1d4147d1a3c33d537cd213ab and fixed in 5.15.209 with commit 1f0ed0f57f0fc87e46fe19a05435c214dc464be2 Issue introduced in 5.6 with commit f6f14a0d71b0773a1d4147d1a3c33d537cd213ab and fixed in 6.1.175 with commit 6ff8cca5cdb4f2e0ea6d28ecd78479dd3f221ebc Issue introduced in 5.6 with commit f6f14a0d71b0773a1d4147d1a3c33d537cd213ab and fixed in 6.6.141 with commit a11372a8b1ceaa5e950a84b3b5fbf8228f25e277 Issue introduced in 5.6 with commit f6f14a0d71b0773a1d4147d1a3c33d537cd213ab and fixed in 6.12.91 with commit 1586bd2d2fb436a26df20a70e78b000d34a7d159 Issue introduced in 5.6 with commit f6f14a0d71b0773a1d4147d1a3c33d537cd213ab and fixed in 6.18.33 with commit a3fd5dc1c7b0aae947a67dc2e2c037d57557a4de Issue introduced in 5.6 with commit f6f14a0d71b0773a1d4147d1a3c33d537cd213ab and fixed in 7.0.10 with commit 60d82592ac8b5637fbed871381eb0a16df0a492e Issue introduced in 5.6 with commit f6f14a0d71b0773a1d4147d1a3c33d537cd213ab and fixed in 7.1 with commit dd9d3e16c2d5fa166e13dce07413be51f42c8f5d 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-52992 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/adfs/super.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/33aafd2418a59c96c0389d47ea09026661fa9ec6 https://git.kernel.org/stable/c/1f0ed0f57f0fc87e46fe19a05435c214dc464be2 https://git.kernel.org/stable/c/6ff8cca5cdb4f2e0ea6d28ecd78479dd3f221ebc https://git.kernel.org/stable/c/a11372a8b1ceaa5e950a84b3b5fbf8228f25e277 https://git.kernel.org/stable/c/1586bd2d2fb436a26df20a70e78b000d34a7d159 https://git.kernel.org/stable/c/a3fd5dc1c7b0aae947a67dc2e2c037d57557a4de https://git.kernel.org/stable/c/60d82592ac8b5637fbed871381eb0a16df0a492e https://git.kernel.org/stable/c/dd9d3e16c2d5fa166e13dce07413be51f42c8f5d