{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "e6b5859cccfa0fec02f3c5b1069481efc7186f47"
            },
            {
              "fixed": "3112afebf2a76e522fbaabcbb0c47aafbdc35932"
            },
            {
              "fixed": "35486b291b8fbde6c4d0b1c79e565c6260d3329d"
            },
            {
              "fixed": "19f7b04924b20b81dabbeed19d5542792ba5b6d6"
            },
            {
              "fixed": "e281d892ce5870a50fdc718cb3bfc3dd5b62c728"
            },
            {
              "fixed": "0d0c5c17b18bdbc592ac26ab4d1de7e3dbf9be1e"
            },
            {
              "fixed": "d5d5a21fb33cd9b963aea99da81e4dacd452cd95"
            },
            {
              "fixed": "4d1953d3aeb4a7f6623083e1839068ee1c157db2"
            },
            {
              "fixed": "22920541c35a9f23f219038ba5874c843a7c4419"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "3.0.0"
            },
            {
              "fixed": "5.10.261"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.11.0"
            },
            {
              "fixed": "5.15.212"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.16.0"
            },
            {
              "fixed": "6.1.178"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.2.0"
            },
            {
              "fixed": "6.6.145"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.7.0"
            },
            {
              "fixed": "6.12.97"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.18.40"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.1.5"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/72xxx/CVE-2026-72164.json"
  },
  "details": "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.",
  "id": "CVE-2026-72164",
  "modified": "2026-08-18T03:31:05.903131320Z",
  "published": "2026-08-15T05:53:31.901Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/0d0c5c17b18bdbc592ac26ab4d1de7e3dbf9be1e"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/19f7b04924b20b81dabbeed19d5542792ba5b6d6"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/22920541c35a9f23f219038ba5874c843a7c4419"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/3112afebf2a76e522fbaabcbb0c47aafbdc35932"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/35486b291b8fbde6c4d0b1c79e565c6260d3329d"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/4d1953d3aeb4a7f6623083e1839068ee1c157db2"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/d5d5a21fb33cd9b963aea99da81e4dacd452cd95"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/e281d892ce5870a50fdc718cb3bfc3dd5b62c728"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/72xxx/CVE-2026-72164.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-72164"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "ocfs2: avoid moving extents to occupied clusters"
}