{"id":"CVE-2026-64600","aliases":["CVE-2026-64600"],"related":[],"kind":"vulnerability","state":"published","title":"xfs: resample the data fork mapping after cycling ILOCK","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nxfs: resample the data fork mapping after cycling ILOCK\n\nxfs_reflink_fill_{cow_hole,delalloc} are both presented with an inode,\na data fork mapping, and a cow fork mapping.  Unfortunately, these two\nhelpers cycle the ILOCK to grab a transaction, which means that the\nmappings are stale as soon as we reacquire the ILOCK.  Currently we\nrefresh the cow fork mapping by re-calling xfs_find_trim_cow_extent, but\nwe don't refresh the data fork mapping beforehand, which means that the\nxfs_bmap_trim_cow in that function queries the refcount btree about the\nwrong physical blocks and returns an inaccurate value in *shared.\n\nIf *shared is now false, the directio write proceeds with a stale data\nfork mapping.  Fix this by querying the data fork mapping if the\nsequence counter changes across the ILOCK cycle.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nxfs: resample the data fork mapping after cycling ILOCK\n\nxfs_reflink_fill_{cow_hole,delalloc} are both presented with an inode,\na data fork mapping, and a cow fork mapping.  Unfortunately, these two\nhelpers cycle the ILOCK to grab a transaction, which means that the\nmappings are stale as soon as we reacquire the ILOCK.  Currently we\nrefresh the cow fork mapping by re-calling xfs_find_trim_cow_extent, but\nwe don't refresh the data fork mapping beforehand, which means that the\nxfs_bmap_trim_cow in that function queries the refcount btree about the\nwrong physical blocks and returns an inaccurate value in *shared.\n\nIf *shared is now false, the directio write proceeds with a stale data\nfork mapping.  Fix this by querying the data fork mapping if the\nsequence counter changes across the ILOCK cycle.","source":"cvelist"}],"published":"2026-07-23T05:46:56.149Z","modified":"2026-10-19T21:17:49.500Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":["CWE-362"],"affected":[{"ranges":[{"type":"git","introduced":"3c68d44a2b49a0ac9165faa9c191e1e618c8a8d5","fixed":"dc11be133efca5fe3a2fb02b016dee825cc12f18","status":"affected"},{"type":"git","introduced":"3c68d44a2b49a0ac9165faa9c191e1e618c8a8d5","fixed":"b8c9aa832b52680ee40d6cab0efb081f9a69df05","status":"affected"},{"type":"git","introduced":"3c68d44a2b49a0ac9165faa9c191e1e618c8a8d5","fixed":"50f0012da1040f69a4e788cd9aed587c9a04983f","status":"affected"},{"type":"git","introduced":"3c68d44a2b49a0ac9165faa9c191e1e618c8a8d5","fixed":"e705d81a7193dd19e69b8e2bad4696d78a4ea075","status":"affected"},{"type":"git","introduced":"3c68d44a2b49a0ac9165faa9c191e1e618c8a8d5","fixed":"206c09b04dc5469c7ff14d8aceff2d47c88078d9","status":"affected"},{"type":"git","introduced":"3c68d44a2b49a0ac9165faa9c191e1e618c8a8d5","fixed":"44f891bc088958399eec27f7604928694aa35581","status":"affected"},{"type":"git","introduced":"3c68d44a2b49a0ac9165faa9c191e1e618c8a8d5","fixed":"2f4acd0fcd862e22eab45690ec2c08c80b6ef2e7","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.11","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.11","status":"unaffected"},{"type":"semver","introduced":"5.15.212","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.178","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.145","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.96","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.39","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.1.4","lastAffected":"7.1.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.2","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"4.11","fixed":"5.15.212"},{"status":"affected","introduced":"5.16","fixed":"6.1.178"},{"status":"affected","introduced":"6.2","fixed":"6.6.145"},{"status":"affected","introduced":"6.7","fixed":"6.12.96"},{"status":"affected","introduced":"6.13","fixed":"6.18.39"},{"status":"affected","introduced":"6.19","fixed":"7.1.4"},{"status":"affected","version":"7.2"},{"status":"affected","version":"7.2"},{"status":"affected","version":"7.2"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/dc11be133efca5fe3a2fb02b016dee825cc12f18","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b8c9aa832b52680ee40d6cab0efb081f9a69df05","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/50f0012da1040f69a4e788cd9aed587c9a04983f","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e705d81a7193dd19e69b8e2bad4696d78a4ea075","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/206c09b04dc5469c7ff14d8aceff2d47c88078d9","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/44f891bc088958399eec27f7604928694aa35581","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2f4acd0fcd862e22eab45690ec2c08c80b6ef2e7","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://cdn2.qualys.com/advisory/2026/07/22/RefluXFS.txt","tags":["exploit","third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"http://www.openwall.com/lists/oss-security/2026/07/22/14","tags":["exploit","mailing-list"],"sources":["cvelist","nvd"]},{"url":"http://www.openwall.com/lists/oss-security/2026/07/22/18","tags":["mailing-list"],"sources":["cvelist","nvd"]},{"url":"http://www.openwall.com/lists/oss-security/2026/07/22/19","tags":["mailing-list"],"sources":["cvelist","nvd"]},{"url":"http://www.openwall.com/lists/oss-security/2026/07/31/3","tags":["mailing-list"],"sources":["cvelist","nvd"]},{"url":"http://www.openwall.com/lists/oss-security/2026/08/03/4","tags":["mailing-list"],"sources":["cvelist","nvd"]},{"url":"http://www.openwall.com/lists/oss-security/2026/08/03/8","tags":["mailing-list"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-10-16T15:43:31.132Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-64600","url":"https://www.cve.org/CVERecord?id=CVE-2026-64600","licence":"CVE Terms of Use","modified":"2026-10-19T20:48:43.886Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-64600","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-64600","licence":"Public domain","modified":"2026-10-19T21:17:49.500Z"}],"updatedAt":"2026-11-25T22:59:29.865Z","epss":{"score":0.00467,"percentile":0.42098,"date":"2026-12-01T12:00:22.000Z"}}