CVE-2026-64256 PUBLISHED

xfs: don't wrap around quota ids in dqiterate

Assigner: Linux
Reserved: 19.07.2026 Published: 25.07.2026 Updated: 25.07.2026

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.

Product Status

Vendor Linux
Product Linux
Versions Default: unaffected
  • affected from 21d7500929c8a0b10e22a6755850c6f9a9280284 to 249e311c2ba392ceaf9ebfc145a46922946f069a (excl.)
  • affected from 21d7500929c8a0b10e22a6755850c6f9a9280284 to d1c4c40599c376aeb0c93068a2ae344e79ee4b90 (excl.)
  • affected from 21d7500929c8a0b10e22a6755850c6f9a9280284 to 2b14fe1e0924c6b901f4256456342569c5397abe (excl.)
  • affected from 21d7500929c8a0b10e22a6755850c6f9a9280284 to d766e4e5e85d829629c3ba503802fe1303d7b591 (excl.)
Vendor Linux
Product Linux
Versions Default: affected
  • Version 6.8 is affected
  • unaffected from 0 to 6.8 (excl.)
  • unaffected from 6.12.96 to 6.12.* (incl.)
  • unaffected from 6.18.39 to 6.18.* (incl.)
  • unaffected from 7.1.4 to 7.1.* (incl.)
  • unaffected from 7.2-rc4 to * (incl.)

References