{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "a68b896aa56e435506453ec8835bc991ec3ae687"
            },
            {
              "fixed": "2d80e9c56718435a9c9f5f24dbc954989aead579"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "320273b5649bbcee87f9e65343077189699d2a7a"
            },
            {
              "fixed": "942b818b396c24c452681803ff291552317d2ef1"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "9ea2d1c6789722d58ec191f14f9a02518d55b6b4"
            },
            {
              "fixed": "7146d191dae3a8efdb957993fb61a55713186266"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "c05ffb693bfb42a48ef3ee88a55b57392984e111"
            },
            {
              "fixed": "f14aaaa130356ee4adb44de947c098637c70df8f"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "be346c1a6eeb49d8fda827d2a9522124c2f72f36"
            },
            {
              "fixed": "6ad7532a23bc94076efe9f1486dd7f7493c090ff"
            },
            {
              "fixed": "bd73971fad89d5ee4ea0ba9b92d2ea08733c4a64"
            },
            {
              "fixed": "253ed993e0b36997ec7b04c1ff76103b38241de2"
            },
            {
              "fixed": "f9ab30c96b0f00c20c6dac93681bdae3a033d229"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "331d1079d58206ff7dc5518185f800b412f89bc6"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "5.10.221"
            },
            {
              "fixed": "5.10.261"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "5.15.162"
            },
            {
              "fixed": "5.15.212"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "6.1.97"
            },
            {
              "fixed": "6.1.178"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "6.6.37"
            },
            {
              "fixed": "6.6.145"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "6.9.8"
            },
            {
              "fixed": "6.10"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "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.10.0"
            },
            {
              "fixed": "6.18.40"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.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-72163.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nocfs2: fix NULL h_transaction deref in ocfs2_assure_trans_credits\n\n[BUG]\nA direct write over unwritten extents can panic the kernel in\nocfs2_assure_trans_credits() when the journal aborts during DIO\ncompletion. The crash is a general protection fault from a NULL pointer\ndereference.\n\n[CAUSE]\nocfs2_dio_end_io_write() loops over a direct write's unwritten extents,\nmarking each written under a single journal handle. If the journal\naborts (for example after an I/O error) while the extent tree is being\nupdated, the handle is left aborted with its transaction pointer\ncleared. The extent merge treats that failure as not critical and\nreports success, so the loop keeps using the handle.\nocfs2_assure_trans_credits() reads the handle's remaining credits\nwithout first checking whether the handle is aborted, and that read\ndereferences the cleared transaction pointer.\n\n[FIX]\nA journal abort is recorded in the handle itself, so callers are\nexpected to test the handle rather than rely on a returned error.\nMake ocfs2_assure_trans_credits() do that, as the other ocfs2 journal\nhelpers already do, and return -EROFS when the handle is aborted.",
  "id": "CVE-2026-72163",
  "modified": "2026-08-18T03:30:51.764249953Z",
  "published": "2026-08-15T05:53:31.157Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/253ed993e0b36997ec7b04c1ff76103b38241de2"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/2d80e9c56718435a9c9f5f24dbc954989aead579"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/6ad7532a23bc94076efe9f1486dd7f7493c090ff"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/7146d191dae3a8efdb957993fb61a55713186266"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/942b818b396c24c452681803ff291552317d2ef1"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/bd73971fad89d5ee4ea0ba9b92d2ea08733c4a64"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/f14aaaa130356ee4adb44de947c098637c70df8f"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/f9ab30c96b0f00c20c6dac93681bdae3a033d229"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/72xxx/CVE-2026-72163.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-72163"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.9.0",
  "summary": "ocfs2: fix NULL h_transaction deref in ocfs2_assure_trans_credits"
}