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.
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 6.12.96, 6.18.39, 7.1.4
- CVEs
- CVE-2026-64256
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 4 Nov 2026, 20:56 UTC · Revision 1
Source evidence
xfs: don't wrap around quota ids in dqiterate
core-osv · Original sourcePublished 25 Jul 2026, 08:49 UTC
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.
osv:CVE-2026-64256
Kernel
Fixed versions: 6.12.96, 6.18.39, 7.1.4
Complete source record
{
"id": "6703726e1d1ffb679b93cc9fa182a1b49817ee22e5e699175e36577ff114d0fa",
"url": "https://osv.dev/vulnerability/CVE-2026-64256",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "xfs: don't wrap around quota ids in dqiterate",
"summary": "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.",
"evidence": "osv:CVE-2026-64256",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "6.12.96",
"evidence": "/affected/1/ranges"
},
{
"value": "6.18.39",
"evidence": "/affected/1/ranges"
},
{
"value": "7.1.4",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "unknown",
"structured": {
"id": "CVE-2026-64256",
"aliases": [
"CVE-2026-64256"
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "21d7500929c8a0b10e22a6755850c6f9a9280284"
},
{
"fixed": "249e311c2ba392ceaf9ebfc145a46922946f069a"
},
{
"fixed": "d1c4c40599c376aeb0c93068a2ae344e79ee4b90"
},
{
"fixed": "2b14fe1e0924c6b901f4256456342569c5397abe"
},
{
"fixed": "d766e4e5e85d829629c3ba503802fe1303d7b591"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-64256.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.8.0"
},
{
"fixed": "6.12.96"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.13.0"
},
{
"fixed": "6.18.39"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.19.0"
},
{
"fixed": "7.1.4"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-64256.json"
}
}
],
"modified": "2026-10-28T02:30:39.860724709Z",
"provider": "osv",
"references": [
"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",
"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
],
"provider_metadata": {
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/64xxx/CVE-2026-64256.json"
}
},
"related_cves": [
{
"value": "CVE-2026-64256",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": null
},
"source_id": "core-osv",
"document_id": 506937,
"published_at": "2026-07-25T08:49:08.676+00:00"
}