GCVE Workshop - 22 September 2026 (14:00-18:00), Luxembourg Before The Vulnopticon Conference - Registration

CVE-2026-72164 (GCVE-0-2026-72164)

Vulnerability from cvelistv5 – Published: 2026-08-15 05:53 – Updated: 2026-08-17 05:41
VLAI
Title
ocfs2: avoid moving extents to occupied clusters
Summary
In the Linux kernel, the following vulnerability has been resolved: ocfs2: avoid moving extents to occupied clusters For non-auto OCFS2_IOC_MOVE_EXT operations, userspace supplies a physical me_goal. ocfs2_move_extent() initializes new_phys_cpos from that goal and expects ocfs2_probe_alloc_group() to replace it with a free run in the target block group. The probe currently leaves *phys_cpos unchanged if the scan reaches the end of the group without finding a free run. An occupied goal at the last bit can therefore survive the probe and be passed to __ocfs2_move_extent(), which copies file data into a cluster still owned by another inode before the bitmap is updated. When the probe does find a free run, it also subtracts move_len from the ending bit. The start of an N-bit run ending at i is i - N + 1, so the current calculation can report the bit immediately before the free run. Clear *phys_cpos before scanning and use the correct free-run start. Callers already treat a zero result as -ENOSPC, so failed probes no longer continue with an occupied caller-controlled goal.
Impacted products
Vendor Product Version CPE status
Linux Linux Affected: e6b5859cccfa0fec02f3c5b1069481efc7186f47 , < 3112afebf2a76e522fbaabcbb0c47aafbdc35932 (git)
Affected: e6b5859cccfa0fec02f3c5b1069481efc7186f47 , < 35486b291b8fbde6c4d0b1c79e565c6260d3329d (git)
Affected: e6b5859cccfa0fec02f3c5b1069481efc7186f47 , < 19f7b04924b20b81dabbeed19d5542792ba5b6d6 (git)
Affected: e6b5859cccfa0fec02f3c5b1069481efc7186f47 , < e281d892ce5870a50fdc718cb3bfc3dd5b62c728 (git)
Affected: e6b5859cccfa0fec02f3c5b1069481efc7186f47 , < 0d0c5c17b18bdbc592ac26ab4d1de7e3dbf9be1e (git)
Affected: e6b5859cccfa0fec02f3c5b1069481efc7186f47 , < d5d5a21fb33cd9b963aea99da81e4dacd452cd95 (git)
Affected: e6b5859cccfa0fec02f3c5b1069481efc7186f47 , < 4d1953d3aeb4a7f6623083e1839068ee1c157db2 (git)
Affected: e6b5859cccfa0fec02f3c5b1069481efc7186f47 , < 22920541c35a9f23f219038ba5874c843a7c4419 (git)
guessed Create a notification for this product.
Linux Linux Affected: 3.0
Unaffected: 0 , < 3.0 (semver)
Unaffected: 5.10.261 , ≤ 5.10.* (semver)
Unaffected: 5.15.212 , ≤ 5.15.* (semver)
Unaffected: 6.1.178 , ≤ 6.1.* (semver)
Unaffected: 6.6.145 , ≤ 6.6.* (semver)
Unaffected: 6.12.97 , ≤ 6.12.* (semver)
Unaffected: 6.18.40 , ≤ 6.18.* (semver)
Unaffected: 7.1.5 , ≤ 7.1.* (semver)
Unaffected: 7.2 , ≤ * (original_commit_for_fix)
guessed Create a notification for this product.
Show details on NVD website

{
  "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\u2192vfs_ioctl\u2192ocfs2_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\u0027s 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",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-72164",
      "date": "2026-09-05",
      "epss": "0.00164",
      "percentile": "0.05875"
    },
    "nvd": "{\"cve\":{\"id\":\"CVE-2026-72164\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2026-08-15T06:21:34.357\",\"lastModified\":\"2026-08-17T06:18:16.720\",\"vulnStatus\":\"Received\",\"cveTags\":[],\"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.\"}],\"affected\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"affectedData\":[{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"unaffected\",\"programFiles\":[\"fs/ocfs2/move_extents.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"e6b5859cccfa0fec02f3c5b1069481efc7186f47\",\"lessThan\":\"3112afebf2a76e522fbaabcbb0c47aafbdc35932\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"e6b5859cccfa0fec02f3c5b1069481efc7186f47\",\"lessThan\":\"35486b291b8fbde6c4d0b1c79e565c6260d3329d\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"e6b5859cccfa0fec02f3c5b1069481efc7186f47\",\"lessThan\":\"19f7b04924b20b81dabbeed19d5542792ba5b6d6\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"e6b5859cccfa0fec02f3c5b1069481efc7186f47\",\"lessThan\":\"e281d892ce5870a50fdc718cb3bfc3dd5b62c728\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"e6b5859cccfa0fec02f3c5b1069481efc7186f47\",\"lessThan\":\"0d0c5c17b18bdbc592ac26ab4d1de7e3dbf9be1e\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"e6b5859cccfa0fec02f3c5b1069481efc7186f47\",\"lessThan\":\"d5d5a21fb33cd9b963aea99da81e4dacd452cd95\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"e6b5859cccfa0fec02f3c5b1069481efc7186f47\",\"lessThan\":\"4d1953d3aeb4a7f6623083e1839068ee1c157db2\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"e6b5859cccfa0fec02f3c5b1069481efc7186f47\",\"lessThan\":\"22920541c35a9f23f219038ba5874c843a7c4419\",\"versionType\":\"git\",\"status\":\"affected\"}]},{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"affected\",\"programFiles\":[\"fs/ocfs2/move_extents.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"3.0\",\"status\":\"affected\"},{\"version\":\"0\",\"lessThan\":\"3.0\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"5.10.261\",\"lessThanOrEqual\":\"5.10.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"5.15.212\",\"lessThanOrEqual\":\"5.15.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.1.178\",\"lessThanOrEqual\":\"6.1.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.6.145\",\"lessThanOrEqual\":\"6.6.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.12.97\",\"lessThanOrEqual\":\"6.12.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.18.40\",\"lessThanOrEqual\":\"6.18.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"7.1.5\",\"lessThanOrEqual\":\"7.1.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"7.2\",\"lessThanOrEqual\":\"*\",\"versionType\":\"original_commit_for_fix\",\"status\":\"unaffected\"}]}]}],\"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}]},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/0d0c5c17b18bdbc592ac26ab4d1de7e3dbf9be1e\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/19f7b04924b20b81dabbeed19d5542792ba5b6d6\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/22920541c35a9f23f219038ba5874c843a7c4419\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/3112afebf2a76e522fbaabcbb0c47aafbdc35932\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/35486b291b8fbde6c4d0b1c79e565c6260d3329d\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/4d1953d3aeb4a7f6623083e1839068ee1c157db2\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/d5d5a21fb33cd9b963aea99da81e4dacd452cd95\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/e281d892ce5870a50fdc718cb3bfc3dd5b62c728\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}",
    "redhat_vex": {
      "aggregate_severity": "Moderate",
      "current_release_date": "2026-08-18T14:32:52+00:00",
      "cve": "CVE-2026-72164",
      "id": "CVE-2026-72164",
      "initial_release_date": "2026-08-15T00:00:00+00:00",
      "product_status:known_not_affected": "274",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: ocfs2: avoid moving extents to occupied clusters",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-72164.json",
      "version": "3"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…

Loading…