CVE-2026-98124
Full vulnerability record from the local CVENow database.
Description
In the Linux kernel, the following vulnerability has been resolved: smb/client: invalidate fscache for fallocate range operations smb3_zero_range(), smb3_punch_hole(), smb3_insert_range(), and smb3_collapse_range() modify file contents through server-side range operations. These operations discard the affected page cache, but leave the FS-Cache cookie valid, so a later read may return data cached before the range operation. Fix this by invalidating FS-Cache after outstanding I/O has completed and before modifying the file on the server. Run the following as root on a CIFS mount with fsc enabled and an active CacheFiles backend: bash -c ' MNT=/mnt/cifs FILE="$MNT/repro" # Generate four 1 MiB random blocks: [A][B][C][D]. dd if=/dev/urandom of=/tmp/src bs=1M count=4 status=none # Expected contents after zeroing B: [A][zero][C][D]. cp /tmp/src /tmp/expected dd if=/dev/zero of=/tmp/expected bs=1M seek=1 count=1 \ conv=notrunc status=none cp /tmp/src "$FILE" # Populate FS-Cache, then discard the page cache. sync echo 1 > /proc/sys/vm/drop_caches cat "$FILE" > /dev/null sync echo 1 > /proc/sys/vm/drop_caches fallocate --zero-range -o 1M -l 1M "$FILE" if cmp -s /tmp/expected "$FILE"; then echo "readback: OK" else echo "readback: STALE DATA" fi ' Before this change, the readback differs from /tmp/expected: readback: STALE DATA After this change, it matches: readback: OK
View original CVE JSON
{
"id": "CVE-2026-98124",
"sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"published": "2026-09-25T11:17:43.720",
"lastModified": "2026-10-22T16:38:53.723",
"vulnStatus": "Analyzed",
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\nsmb/client: invalidate fscache for fallocate range operations\n\nsmb3_zero_range(), smb3_punch_hole(), smb3_insert_range(), and\nsmb3_collapse_range() modify file contents through server-side range\noperations. These operations discard the affected page cache, but leave\nthe FS-Cache cookie valid, so a later read may return data cached before\nthe range operation.\n\nFix this by invalidating FS-Cache after outstanding I/O has completed\nand before modifying the file on the server.\n\nRun the following as root on a CIFS mount with fsc enabled and an active\nCacheFiles backend:\n\n bash -c '\n MNT=/mnt/cifs\n FILE=\"$MNT/repro\"\n\n # Generate four 1 MiB random blocks: [A][B][C][D].\n dd if=/dev/urandom of=/tmp/src bs=1M count=4 status=none\n\n # Expected contents after zeroing B: [A][zero][C][D].\n cp /tmp/src /tmp/expected\n dd if=/dev/zero of=/tmp/expected bs=1M seek=1 count=1 \\\n conv=notrunc status=none\n cp /tmp/src \"$FILE\"\n\n # Populate FS-Cache, then discard the page cache.\n sync\n echo 1 > /proc/sys/vm/drop_caches\n cat \"$FILE\" > /dev/null\n sync\n echo 1 > /proc/sys/vm/drop_caches\n\n fallocate --zero-range -o 1M -l 1M \"$FILE\"\n\n if cmp -s /tmp/expected \"$FILE\"; then\n echo \"readback: OK\"\n else\n echo \"readback: STALE DATA\"\n fi\n '\n\nBefore this change, the readback differs from /tmp/expected:\n\n readback: STALE DATA\n\nAfter this change, it matches:\n\n readback: OK"
}
],
"affected": [
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"affectedData": [
{
"vendor": "Linux",
"product": "Linux",
"defaultStatus": "unaffected",
"programFiles": [
"fs/smb/client/smb2ops.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"versions": [
{
"version": "31742c5a331766bc7df6b0d525df00c6cd20d5a6",
"lessThan": "cc7202a51b8777a757bda9dcfbf339f828c6a130",
"versionType": "git",
"status": "affected"
},
{
"version": "31742c5a331766bc7df6b0d525df00c6cd20d5a6",
"lessThan": "dd8b1e808f5c19479e6ed47e2f88a1fd46f8b0e5",
"versionType": "git",
"status": "affected"
},
{
"version": "31742c5a331766bc7df6b0d525df00c6cd20d5a6",
"lessThan": "93c6e5a8d7c5071d586c1411596d5db5faad22b2",
"versionType": "git",
"status": "affected"
},
{
"version": "31742c5a331766bc7df6b0d525df00c6cd20d5a6",
"lessThan": "448ba0ae65ca61064183564d2983c9aa59bd6ba7",
"versionType": "git",
"status": "affected"
}
]
},
{
"vendor": "Linux",
"product": "Linux",
"defaultStatus": "affected",
"programFiles": [
"fs/smb/client/smb2ops.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"versions": [
{
"version": "3.17",
"status": "affected"
},
{
"version": "0",
"lessThan": "3.17",
"versionType": "semver",
"status": "unaffected"
},
{
"version": "6.6.160",
"lessThanOrEqual": "6.6.*",
"versionType": "semver",
"status": "unaffected"
},
{
"version": "6.12.114",
"lessThanOrEqual": "6.12.*",
"versionType": "semver",
"status": "unaffected"
},
{
"version": "7.2.7",
"lessThanOrEqual": "7.2.*",
"versionType": "semver",
"status": "unaffected"
},
{
"version": "7.3",
"lessThanOrEqual": "*",
"versionType": "original_commit_for_fix",
"status": "unaffected"
}
]
}
]
}
],
"metrics": {
"cvssMetricV31": [
{
"source": "[email protected]",
"type": "Primary",
"cvssData": {
"version": "3.1",
"vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H",
"baseScore": 5.5,
"baseSeverity": "MEDIUM",
"attackVector": "LOCAL",
"attackComplexity": "LOW",
"privilegesRequired": "LOW",
"userInteraction": "NONE",
"scope": "UNCHANGED",
"confidentialityImpact": "NONE",
"integrityImpact": "NONE",
"availabilityImpact": "HIGH"
},
"exploitabilityScore": 1.8,
"impactScore": 3.6
}
]
},
"weaknesses": [
{
"source": "[email protected]",
"type": "Primary",
"description": [
{
"lang": "en",
"value": "CWE-672"
}
]
}
],
"configurations": [
{
"nodes": [
{
"operator": "OR",
"negate": false,
"cpeMatch": [
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "3.17.1",
"versionEndExcluding": "6.6.160",
"matchCriteriaId": "438C480C-978E-4F8C-A37D-7CB29AE32E61"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:-:*:*:*:*:*:*",
"versionStartIncluding": "6.7",
"versionEndExcluding": "6.12.114",
"matchCriteriaId": "7DD957C0-0777-4304-9BCA-7E8429CBE3D3"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "6.13",
"versionEndExcluding": "7.2.7",
"matchCriteriaId": "BACEDE75-270F-419E-A22D-025914C6BA15"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:3.17:-:*:*:*:*:*:*",
"matchCriteriaId": "3A351B03-87A0-405B-8A9B-488E173E1E3B"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:3.17:rc2:*:*:*:*:*:*",
"matchCriteriaId": "434E8752-0D8B-42E1-8B8F-23C409AB442C"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:3.17:rc3:*:*:*:*:*:*",
"matchCriteriaId": "D64AD3CD-8D3C-4749-9042-969F524DCB68"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:3.17:rc4:*:*:*:*:*:*",
"matchCriteriaId": "4B4E29E3-9F10-43B1-A349-1F7484F6015A"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:3.17:rc5:*:*:*:*:*:*",
"matchCriteriaId": "4223286C-F679-4FEC-B144-1C3B942BD506"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:3.17:rc6:*:*:*:*:*:*",
"matchCriteriaId": "C889AAA8-186E-433F-A31D-FF09221E1EBC"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:3.17:rc7:*:*:*:*:*:*",
"matchCriteriaId": "80BC78EE-50D8-4561-A6A6-A370E72F215B"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:6.13:-:*:*:*:*:*:*",
"matchCriteriaId": "5A3F9505-6B98-4269-8B81-127E55A1BF00"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:7.3:rc1:*:*:*:*:*:*",
"matchCriteriaId": "11E35E1B-5DB4-4AB9-9706-CD73B799EADF"
}
]
}
]
}
],
"references": [
{
"url": "https://git.kernel.org/stable/c/448ba0ae65ca61064183564d2983c9aa59bd6ba7",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"tags": [
"Patch"
]
},
{
"url": "https://git.kernel.org/stable/c/93c6e5a8d7c5071d586c1411596d5db5faad22b2",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"tags": [
"Patch"
]
},
{
"url": "https://git.kernel.org/stable/c/cc7202a51b8777a757bda9dcfbf339f828c6a130",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"tags": [
"Patch"
]
},
{
"url": "https://git.kernel.org/stable/c/dd8b1e808f5c19479e6ed47e2f88a1fd46f8b0e5",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"tags": [
"Patch"
]
}
]
}