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 4CE8C2DCC05 for ; Sat, 25 Jul 2026 08:52:05 +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=1784969526; cv=none; b=PB+TpTGULLtr4dtFN2FvlkeWRi5fzEV12wiUGPrKITXfdeLKOEit/c92aWX4DBZT6TnJsfyrN5IATB7bAY6clQ3KaeH5PQRbAx4OTY5Jk+HtLgFf0X5+lzhk1AVHPR+9+jKbof4OrgcWZGhhu/Mzu/j7jlQ2lzwLF0tVyual3B8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784969526; c=relaxed/simple; bh=RlYzeau6XKPUZQoah8bIBZCOcQPxUbmzyOjnE9Jk6EI=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=JjlgTCHdYI0hclQcR+RxY+bdKVe5/4goMBxyg3rHLcXBldcdW7yY/u1u6hEhkLlVRlpljndId9viYLvC3PxMQ3LhOkQDwH05NFHgSmPAi3ZSGwmaiGz7E++hSpTfnXoJf220h8kJhyVynEUT02Z/rsmxicauT31lZ5Ep166udbo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=BOgZP6+w; 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="BOgZP6+w" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6BC7F1F000E9; Sat, 25 Jul 2026 08:52:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1784969524; bh=s8z+vv1EVOIy6zTvZpuMcIxE5g/TgMP/JWUikHwWGxQ=; h=From:To:Cc:Subject:Date:Reply-To; b=BOgZP6+wgoqM3IVRAw9Z23qcePD4gZcVnUqKHKuYODVTluCI0VF/uf0+Rg6pqA2MY UK9Ztq/NCnkogzcIYHCG5jktfS9dAUdqeTNs6XATiuA76oqcyogChmWXaax/m1+uTa R5foEx0E0YEuhQEPT8xu/bSH/RFlVvJgzPMOcGUs= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-64256: xfs: don't wrap around quota ids in dqiterate Date: Sat, 25 Jul 2026 10:47:53 +0200 Message-ID: <2026072553-CVE-2026-64256-643b@gregkh> X-Mailer: git-send-email 2.55.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=2468; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=g3kbtu32bP9blOlsudTG44xfe4yYlpm/IdCpDRIDX1w=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkpFZZaX7f7blXqm7buMNti8fQVP457sDr4eM6O0ZWKu m30MZ2pI5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACbyfz7DfL/NPrOXfdl6cPOM U+YTe9MnnfopXsWwoD397zxeQ9XrtZec8kI3rmxnbzh7GwA= 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: xfs: don't wrap around quota ids in dqiterate LOLLM noticed that q_id is an unsigned 32-bit variable. If it happens to be set to XFS_DQ_ID_MAX due to a filesystem that actually has a dquot for ID_MAX, then this addition will truncate to zero and the iteration starts over. Fix this by casting to u64. The Linux kernel CVE team has assigned CVE-2026-64256 to this issue. Affected and fixed versions =========================== Issue introduced in 6.8 with commit 21d7500929c8a0b10e22a6755850c6f9a9280284 and fixed in 6.12.96 with commit 249e311c2ba392ceaf9ebfc145a46922946f069a Issue introduced in 6.8 with commit 21d7500929c8a0b10e22a6755850c6f9a9280284 and fixed in 6.18.39 with commit d1c4c40599c376aeb0c93068a2ae344e79ee4b90 Issue introduced in 6.8 with commit 21d7500929c8a0b10e22a6755850c6f9a9280284 and fixed in 7.1.4 with commit 2b14fe1e0924c6b901f4256456342569c5397abe Issue introduced in 6.8 with commit 21d7500929c8a0b10e22a6755850c6f9a9280284 and fixed in 7.2-rc4 with commit d766e4e5e85d829629c3ba503802fe1303d7b591 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-64256 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/xfs/scrub/dqiterate.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/249e311c2ba392ceaf9ebfc145a46922946f069a https://git.kernel.org/stable/c/d1c4c40599c376aeb0c93068a2ae344e79ee4b90 https://git.kernel.org/stable/c/2b14fe1e0924c6b901f4256456342569c5397abe https://git.kernel.org/stable/c/d766e4e5e85d829629c3ba503802fe1303d7b591