{"api_version":"1","generated_at":"2026-08-17T16:00:56+00:00","cve":"CVE-2026-72164","urls":{"html":"https://cve.report/CVE-2026-72164","api":"https://cve.report/api/cve/CVE-2026-72164.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-72164","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-72164"},"summary":{"title":"ocfs2: avoid moving extents to occupied clusters","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nocfs2: avoid moving extents to occupied clusters\n\nFor non-auto OCFS2_IOC_MOVE_EXT operations, userspace supplies a physical\nme_goal.  ocfs2_move_extent() initializes new_phys_cpos from that goal and\nexpects ocfs2_probe_alloc_group() to replace it with a free run in the\ntarget block group.\n\nThe probe currently leaves *phys_cpos unchanged if the scan reaches the\nend of the group without finding a free run.  An occupied goal at the last\nbit can therefore survive the probe and be passed to\n__ocfs2_move_extent(), which copies file data into a cluster still owned\nby another inode before the bitmap is updated.\n\nWhen the probe does find a free run, it also subtracts move_len from the\nending bit.  The start of an N-bit run ending at i is i - N + 1, so the\ncurrent calculation can report the bit immediately before the free run.\n\nClear *phys_cpos before scanning and use the correct free-run start. \nCallers already treat a zero result as -ENOSPC, so failed probes no longer\ncontinue with an occupied caller-controlled goal.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-08-15 06:21:34","updated_at":"2026-08-17 06:18:16"},"problem_types":[],"metrics":[{"version":"3.1","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","type":"Secondary","score":"7.8","severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":7.8,"baseSeverity":"HIGH","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"}},{"version":"3.1","source":"CNA","type":"DECLARED","score":"7.8","severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","data":{"baseScore":7.8,"baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"}}],"references":[{"url":"https://git.kernel.org/stable/c/0d0c5c17b18bdbc592ac26ab4d1de7e3dbf9be1e","name":"https://git.kernel.org/stable/c/0d0c5c17b18bdbc592ac26ab4d1de7e3dbf9be1e","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/3112afebf2a76e522fbaabcbb0c47aafbdc35932","name":"https://git.kernel.org/stable/c/3112afebf2a76e522fbaabcbb0c47aafbdc35932","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/19f7b04924b20b81dabbeed19d5542792ba5b6d6","name":"https://git.kernel.org/stable/c/19f7b04924b20b81dabbeed19d5542792ba5b6d6","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/d5d5a21fb33cd9b963aea99da81e4dacd452cd95","name":"https://git.kernel.org/stable/c/d5d5a21fb33cd9b963aea99da81e4dacd452cd95","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/35486b291b8fbde6c4d0b1c79e565c6260d3329d","name":"https://git.kernel.org/stable/c/35486b291b8fbde6c4d0b1c79e565c6260d3329d","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/22920541c35a9f23f219038ba5874c843a7c4419","name":"https://git.kernel.org/stable/c/22920541c35a9f23f219038ba5874c843a7c4419","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/4d1953d3aeb4a7f6623083e1839068ee1c157db2","name":"https://git.kernel.org/stable/c/4d1953d3aeb4a7f6623083e1839068ee1c157db2","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/e281d892ce5870a50fdc718cb3bfc3dd5b62c728","name":"https://git.kernel.org/stable/c/e281d892ce5870a50fdc718cb3bfc3dd5b62c728","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-72164","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-72164","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected e6b5859cccfa0fec02f3c5b1069481efc7186f47 3112afebf2a76e522fbaabcbb0c47aafbdc35932 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected e6b5859cccfa0fec02f3c5b1069481efc7186f47 35486b291b8fbde6c4d0b1c79e565c6260d3329d git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected e6b5859cccfa0fec02f3c5b1069481efc7186f47 19f7b04924b20b81dabbeed19d5542792ba5b6d6 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected e6b5859cccfa0fec02f3c5b1069481efc7186f47 e281d892ce5870a50fdc718cb3bfc3dd5b62c728 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected e6b5859cccfa0fec02f3c5b1069481efc7186f47 0d0c5c17b18bdbc592ac26ab4d1de7e3dbf9be1e git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected e6b5859cccfa0fec02f3c5b1069481efc7186f47 d5d5a21fb33cd9b963aea99da81e4dacd452cd95 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected e6b5859cccfa0fec02f3c5b1069481efc7186f47 4d1953d3aeb4a7f6623083e1839068ee1c157db2 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected e6b5859cccfa0fec02f3c5b1069481efc7186f47 22920541c35a9f23f219038ba5874c843a7c4419 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 3.0","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 3.0 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.10.261 5.10.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.15.212 5.15.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.1.178 6.1.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.6.145 6.6.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.97 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.40 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.1.5 7.1.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.2 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":{"cve_year":"2026","cve_id":"72164","cve":"CVE-2026-72164","epss":"0.002100000","percentile":"0.115820000","score_date":"2026-08-16","updated_at":"2026-08-17 00:01:06"},"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["fs/ocfs2/move_extents.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"3112afebf2a76e522fbaabcbb0c47aafbdc35932","status":"affected","version":"e6b5859cccfa0fec02f3c5b1069481efc7186f47","versionType":"git"},{"lessThan":"35486b291b8fbde6c4d0b1c79e565c6260d3329d","status":"affected","version":"e6b5859cccfa0fec02f3c5b1069481efc7186f47","versionType":"git"},{"lessThan":"19f7b04924b20b81dabbeed19d5542792ba5b6d6","status":"affected","version":"e6b5859cccfa0fec02f3c5b1069481efc7186f47","versionType":"git"},{"lessThan":"e281d892ce5870a50fdc718cb3bfc3dd5b62c728","status":"affected","version":"e6b5859cccfa0fec02f3c5b1069481efc7186f47","versionType":"git"},{"lessThan":"0d0c5c17b18bdbc592ac26ab4d1de7e3dbf9be1e","status":"affected","version":"e6b5859cccfa0fec02f3c5b1069481efc7186f47","versionType":"git"},{"lessThan":"d5d5a21fb33cd9b963aea99da81e4dacd452cd95","status":"affected","version":"e6b5859cccfa0fec02f3c5b1069481efc7186f47","versionType":"git"},{"lessThan":"4d1953d3aeb4a7f6623083e1839068ee1c157db2","status":"affected","version":"e6b5859cccfa0fec02f3c5b1069481efc7186f47","versionType":"git"},{"lessThan":"22920541c35a9f23f219038ba5874c843a7c4419","status":"affected","version":"e6b5859cccfa0fec02f3c5b1069481efc7186f47","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["fs/ocfs2/move_extents.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"3.0"},{"lessThan":"3.0","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"5.10.*","status":"unaffected","version":"5.10.261","versionType":"semver"},{"lessThanOrEqual":"5.15.*","status":"unaffected","version":"5.15.212","versionType":"semver"},{"lessThanOrEqual":"6.1.*","status":"unaffected","version":"6.1.178","versionType":"semver"},{"lessThanOrEqual":"6.6.*","status":"unaffected","version":"6.6.145","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.97","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.40","versionType":"semver"},{"lessThanOrEqual":"7.1.*","status":"unaffected","version":"7.1.5","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.2","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.10.261","versionStartIncluding":"3.0","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.15.212","versionStartIncluding":"3.0","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.1.178","versionStartIncluding":"3.0","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.6.145","versionStartIncluding":"3.0","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.97","versionStartIncluding":"3.0","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.40","versionStartIncluding":"3.0","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.1.5","versionStartIncluding":"3.0","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.2","versionStartIncluding":"3.0","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nocfs2: avoid moving extents to occupied clusters\n\nFor non-auto OCFS2_IOC_MOVE_EXT operations, userspace supplies a physical\nme_goal.  ocfs2_move_extent() initializes new_phys_cpos from that goal and\nexpects ocfs2_probe_alloc_group() to replace it with a free run in the\ntarget block group.\n\nThe probe currently leaves *phys_cpos unchanged if the scan reaches the\nend of the group without finding a free run.  An occupied goal at the last\nbit can therefore survive the probe and be passed to\n__ocfs2_move_extent(), which copies file data into a cluster still owned\nby another inode before the bitmap is updated.\n\nWhen the probe does find a free run, it also subtracts move_len from the\nending bit.  The start of an N-bit run ending at i is i - N + 1, so the\ncurrent calculation can report the bit immediately before the free run.\n\nClear *phys_cpos before scanning and use the correct free-run start. \nCallers already treat a zero result as -ENOSPC, so failed probes no longer\ncontinue with an occupied caller-controlled goal."}],"metrics":[{"cvssV3_1":{"baseScore":7.8,"baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"scenarios":[{"lang":"en","value":"AV:L - Exploitation requires the OCFS2_IOC_MOVE_EXT ioctl on a locally mounted ocfs2 volume via sys_ioctl→vfs_ioctl→ocfs2_ioctl; OCFS2 has no network-facing handler exposing this code path.\nAC:L - The attacker fully controls me_goal and move length on the non-auto path; an occupied goal at the end of an alloc group deterministically bypasses ocfs2_probe_alloc_group() and reaches __ocfs2_move_extent() with no races or external preconditions.\nPR:L - OCFS2_IOC_MOVE_EXT performs no capable() check (unlike FITRIM); any local user with FMODE_WRITE on a regular file on an ocfs2 mount can invoke ioctl(), including root inside a user namespace per kernel CNA guidance.\nUI:N - The attacker issues OCFS2_IOC_MOVE_EXT on their own writable fd with crafted parameters; no victim interaction or third-party action is required beyond the enterprise ocfs2 mount already being present.\nS:U - Impact is confined to on-disk data corruption and filesystem availability within the same cluster node/kernel authority; it does not cross VM, container, or IOMMU security boundaries.\nC:H - __ocfs2_move_extent() copies into clusters still allocated to other inodes, creating cross-file block aliasing on shared cluster storage so later reads through the new extent can return another tenant's or root-owned file contents.\nI:H - ocfs2_duplicate_clusters_by_page() writes attacker-controlled file data into physical clusters owned by other inodes before the bitmap is updated, enabling arbitrary corruption of files the attacker lacks write permission to on shared OCFS2 storage.\nA:H - Dual allocation and bitmap/extent inconsistency can trigger ocfs2_error(), forcing remount-ro or panic on the node and corrupting shared storage in ways that impair availability for all cluster members until fsck.ocfs2."}]}],"providerMetadata":{"dateUpdated":"2026-08-17T05:41:06.039Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/3112afebf2a76e522fbaabcbb0c47aafbdc35932"},{"url":"https://git.kernel.org/stable/c/35486b291b8fbde6c4d0b1c79e565c6260d3329d"},{"url":"https://git.kernel.org/stable/c/19f7b04924b20b81dabbeed19d5542792ba5b6d6"},{"url":"https://git.kernel.org/stable/c/e281d892ce5870a50fdc718cb3bfc3dd5b62c728"},{"url":"https://git.kernel.org/stable/c/0d0c5c17b18bdbc592ac26ab4d1de7e3dbf9be1e"},{"url":"https://git.kernel.org/stable/c/d5d5a21fb33cd9b963aea99da81e4dacd452cd95"},{"url":"https://git.kernel.org/stable/c/4d1953d3aeb4a7f6623083e1839068ee1c157db2"},{"url":"https://git.kernel.org/stable/c/22920541c35a9f23f219038ba5874c843a7c4419"}],"title":"ocfs2: avoid moving extents to occupied clusters","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-72164","datePublished":"2026-08-15T05:53:31.901Z","dateReserved":"2026-08-09T03:40:39.909Z","dateUpdated":"2026-08-17T05:41:06.039Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-08-15 06:21:34","lastModifiedDate":"2026-08-17 06:18:16","problem_types":[],"metrics":{"cvssMetricV31":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":7.8,"baseSeverity":"HIGH","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":1.8,"impactScore":5.9}]},"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"72164","Ordinal":"1","Title":"ocfs2: avoid moving extents to occupied clusters","CVE":"CVE-2026-72164","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"72164","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\nocfs2: avoid moving extents to occupied clusters\n\nFor non-auto OCFS2_IOC_MOVE_EXT operations, userspace supplies a physical\nme_goal.  ocfs2_move_extent() initializes new_phys_cpos from that goal and\nexpects ocfs2_probe_alloc_group() to replace it with a free run in the\ntarget block group.\n\nThe probe currently leaves *phys_cpos unchanged if the scan reaches the\nend of the group without finding a free run.  An occupied goal at the last\nbit can therefore survive the probe and be passed to\n__ocfs2_move_extent(), which copies file data into a cluster still owned\nby another inode before the bitmap is updated.\n\nWhen the probe does find a free run, it also subtracts move_len from the\nending bit.  The start of an N-bit run ending at i is i - N + 1, so the\ncurrent calculation can report the bit immediately before the free run.\n\nClear *phys_cpos before scanning and use the correct free-run start. \nCallers already treat a zero result as -ENOSPC, so failed probes no longer\ncontinue with an occupied caller-controlled goal.","Type":"Description","Title":"ocfs2: avoid moving extents to occupied clusters"}]}}}