xfs: don't wrap around quota ids in dqiterate
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.
02 / AFFECTED SOFTWARE
Affected packages
03 / CONNECTIONS
Connected vulnerabilities
04 / EVIDENCE
Source records
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.
05 / REFERENCES
Further evidence
- https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
- https://git.kernel.org/stable/c/249e311c2ba392ceaf9ebfc145a46922946f069a
- https://git.kernel.org/stable/c/2b14fe1e0924c6b901f4256456342569c5397abe
- https://git.kernel.org/stable/c/d1c4c40599c376aeb0c93068a2ae344e79ee4b90
- https://git.kernel.org/stable/c/d766e4e5e85d829629c3ba503802fe1303d7b591
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/64xxx/CVE-2026-64256.json
- https://nvd.nist.gov/vuln/detail/CVE-2026-64256