Skip to content
Heist/ feed
High

ocfs2: avoid moving extents to occupied clusters

Type: advisorySource: Official CVE List1 source record

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.

Announced Group revision 1
Original source ↗

CVE-2026-72164

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-72164

Linux

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Linux

Source reference: /containers/cna/affected/1/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "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"
      }
    ],
    "programFiles": [
      "fs/ocfs2/move_extents.c"
    ],
    "defaultStatus": "unaffected"
  },
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "3.0"
      },
      {
        "status": "unaffected",
        "version": "0",
        "lessThan": "3.0",
        "versionType": "semver"
      },
      {
        "status": "unaffected",
        "version": "5.10.261",
        "versionType": "semver",
        "lessThanOrEqual": "5.10.*"
      },
      {
        "status": "unaffected",
        "version": "5.15.212",
        "versionType": "semver",
        "lessThanOrEqual": "5.15.*"
      },
      {
        "status": "unaffected",
        "version": "6.1.178",
        "versionType": "semver",
        "lessThanOrEqual": "6.1.*"
      },
      {
        "status": "unaffected",
        "version": "6.6.145",
        "versionType": "semver",
        "lessThanOrEqual": "6.6.*"
      },
      {
        "status": "unaffected",
        "version": "6.12.97",
        "versionType": "semver",
        "lessThanOrEqual": "6.12.*"
      },
      {
        "status": "unaffected",
        "version": "6.18.40",
        "versionType": "semver",
        "lessThanOrEqual": "6.18.*"
      },
      {
        "status": "unaffected",
        "version": "7.1.5",
        "versionType": "semver",
        "lessThanOrEqual": "7.1.*"
      },
      {
        "status": "unaffected",
        "version": "7.2",
        "versionType": "original_commit_for_fix",
        "lessThanOrEqual": "*"
      }
    ],
    "programFiles": [
      "fs/ocfs2/move_extents.c"
    ],
    "defaultStatus": "affected"
  }
]
Related CVEs
CVE-2026-72164

Source reference: /cveMetadata/cveId

Publisher severity

high

Source reference: /containers/cna/metrics

Event
#32962 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement