CVE-2026-72163 (GCVE-0-2026-72163)

Vulnerability from cvelistv5 – Published: 2026-08-15 05:53 – Updated: 2026-08-17 05:09
VLAI
Title
ocfs2: fix NULL h_transaction deref in ocfs2_assure_trans_credits
Summary
In the Linux kernel, the following vulnerability has been resolved: ocfs2: fix NULL h_transaction deref in ocfs2_assure_trans_credits [BUG] A direct write over unwritten extents can panic the kernel in ocfs2_assure_trans_credits() when the journal aborts during DIO completion. The crash is a general protection fault from a NULL pointer dereference. [CAUSE] ocfs2_dio_end_io_write() loops over a direct write's unwritten extents, marking each written under a single journal handle. If the journal aborts (for example after an I/O error) while the extent tree is being updated, the handle is left aborted with its transaction pointer cleared. The extent merge treats that failure as not critical and reports success, so the loop keeps using the handle. ocfs2_assure_trans_credits() reads the handle's remaining credits without first checking whether the handle is aborted, and that read dereferences the cleared transaction pointer. [FIX] A journal abort is recorded in the handle itself, so callers are expected to test the handle rather than rely on a returned error. Make ocfs2_assure_trans_credits() do that, as the other ocfs2 journal helpers already do, and return -EROFS when the handle is aborted.
Severity
No CVSS data available.
Impacted products
Vendor Product Version CPE status
Linux Linux Affected: a68b896aa56e435506453ec8835bc991ec3ae687 , < 2d80e9c56718435a9c9f5f24dbc954989aead579 (git)
Affected: 320273b5649bbcee87f9e65343077189699d2a7a , < 942b818b396c24c452681803ff291552317d2ef1 (git)
Affected: 9ea2d1c6789722d58ec191f14f9a02518d55b6b4 , < 7146d191dae3a8efdb957993fb61a55713186266 (git)
Affected: c05ffb693bfb42a48ef3ee88a55b57392984e111 , < f14aaaa130356ee4adb44de947c098637c70df8f (git)
Affected: be346c1a6eeb49d8fda827d2a9522124c2f72f36 , < 6ad7532a23bc94076efe9f1486dd7f7493c090ff (git)
Affected: be346c1a6eeb49d8fda827d2a9522124c2f72f36 , < bd73971fad89d5ee4ea0ba9b92d2ea08733c4a64 (git)
Affected: be346c1a6eeb49d8fda827d2a9522124c2f72f36 , < 253ed993e0b36997ec7b04c1ff76103b38241de2 (git)
Affected: be346c1a6eeb49d8fda827d2a9522124c2f72f36 , < f9ab30c96b0f00c20c6dac93681bdae3a033d229 (git)
Affected: 331d1079d58206ff7dc5518185f800b412f89bc6 (git)
Affected: 5.10.221 , < 5.10.261 (semver)
Affected: 5.15.162 , < 5.15.212 (semver)
Affected: 6.1.97 , < 6.1.178 (semver)
Affected: 6.6.37 , < 6.6.145 (semver)
Affected: 6.9.8 , < 6.10 (semver)
guessed Create a notification for this product.
Linux Linux Affected: 6.10
Unaffected: 0 , < 6.10 (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/journal.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "2d80e9c56718435a9c9f5f24dbc954989aead579",
              "status": "affected",
              "version": "a68b896aa56e435506453ec8835bc991ec3ae687",
              "versionType": "git"
            },
            {
              "lessThan": "942b818b396c24c452681803ff291552317d2ef1",
              "status": "affected",
              "version": "320273b5649bbcee87f9e65343077189699d2a7a",
              "versionType": "git"
            },
            {
              "lessThan": "7146d191dae3a8efdb957993fb61a55713186266",
              "status": "affected",
              "version": "9ea2d1c6789722d58ec191f14f9a02518d55b6b4",
              "versionType": "git"
            },
            {
              "lessThan": "f14aaaa130356ee4adb44de947c098637c70df8f",
              "status": "affected",
              "version": "c05ffb693bfb42a48ef3ee88a55b57392984e111",
              "versionType": "git"
            },
            {
              "lessThan": "6ad7532a23bc94076efe9f1486dd7f7493c090ff",
              "status": "affected",
              "version": "be346c1a6eeb49d8fda827d2a9522124c2f72f36",
              "versionType": "git"
            },
            {
              "lessThan": "bd73971fad89d5ee4ea0ba9b92d2ea08733c4a64",
              "status": "affected",
              "version": "be346c1a6eeb49d8fda827d2a9522124c2f72f36",
              "versionType": "git"
            },
            {
              "lessThan": "253ed993e0b36997ec7b04c1ff76103b38241de2",
              "status": "affected",
              "version": "be346c1a6eeb49d8fda827d2a9522124c2f72f36",
              "versionType": "git"
            },
            {
              "lessThan": "f9ab30c96b0f00c20c6dac93681bdae3a033d229",
              "status": "affected",
              "version": "be346c1a6eeb49d8fda827d2a9522124c2f72f36",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "331d1079d58206ff7dc5518185f800b412f89bc6",
              "versionType": "git"
            },
            {
              "lessThan": "5.10.261",
              "status": "affected",
              "version": "5.10.221",
              "versionType": "semver"
            },
            {
              "lessThan": "5.15.212",
              "status": "affected",
              "version": "5.15.162",
              "versionType": "semver"
            },
            {
              "lessThan": "6.1.178",
              "status": "affected",
              "version": "6.1.97",
              "versionType": "semver"
            },
            {
              "lessThan": "6.6.145",
              "status": "affected",
              "version": "6.6.37",
              "versionType": "semver"
            },
            {
              "lessThan": "6.10",
              "status": "affected",
              "version": "6.9.8",
              "versionType": "semver"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "fs/ocfs2/journal.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "6.10"
            },
            {
              "lessThan": "6.10",
              "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": "5.10.221",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.212",
                  "versionStartIncluding": "5.15.162",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.178",
                  "versionStartIncluding": "6.1.97",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.145",
                  "versionStartIncluding": "6.6.37",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.97",
                  "versionStartIncluding": "6.10",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.40",
                  "versionStartIncluding": "6.10",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.1.5",
                  "versionStartIncluding": "6.10",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.2",
                  "versionStartIncluding": "6.10",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionStartIncluding": "6.9.8",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "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\u0027s 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\u0027s 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."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-08-17T05:09:24.274Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/2d80e9c56718435a9c9f5f24dbc954989aead579"
        },
        {
          "url": "https://git.kernel.org/stable/c/942b818b396c24c452681803ff291552317d2ef1"
        },
        {
          "url": "https://git.kernel.org/stable/c/7146d191dae3a8efdb957993fb61a55713186266"
        },
        {
          "url": "https://git.kernel.org/stable/c/f14aaaa130356ee4adb44de947c098637c70df8f"
        },
        {
          "url": "https://git.kernel.org/stable/c/6ad7532a23bc94076efe9f1486dd7f7493c090ff"
        },
        {
          "url": "https://git.kernel.org/stable/c/bd73971fad89d5ee4ea0ba9b92d2ea08733c4a64"
        },
        {
          "url": "https://git.kernel.org/stable/c/253ed993e0b36997ec7b04c1ff76103b38241de2"
        },
        {
          "url": "https://git.kernel.org/stable/c/f9ab30c96b0f00c20c6dac93681bdae3a033d229"
        }
      ],
      "title": "ocfs2: fix NULL h_transaction deref in ocfs2_assure_trans_credits",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-72163",
    "datePublished": "2026-08-15T05:53:31.157Z",
    "dateReserved": "2026-08-09T03:40:39.909Z",
    "dateUpdated": "2026-08-17T05:09:24.274Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-72163",
      "date": "2026-08-23",
      "epss": "0.0021",
      "percentile": "0.11534"
    },
    "nvd": "{\"cve\":{\"id\":\"CVE-2026-72163\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2026-08-15T06:21:34.217\",\"lastModified\":\"2026-08-17T06:18:16.597\",\"vulnStatus\":\"Received\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"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\u0027s 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\u0027s 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.\"}],\"affected\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"affectedData\":[{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"unaffected\",\"programFiles\":[\"fs/ocfs2/journal.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"a68b896aa56e435506453ec8835bc991ec3ae687\",\"lessThan\":\"2d80e9c56718435a9c9f5f24dbc954989aead579\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"320273b5649bbcee87f9e65343077189699d2a7a\",\"lessThan\":\"942b818b396c24c452681803ff291552317d2ef1\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"9ea2d1c6789722d58ec191f14f9a02518d55b6b4\",\"lessThan\":\"7146d191dae3a8efdb957993fb61a55713186266\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"c05ffb693bfb42a48ef3ee88a55b57392984e111\",\"lessThan\":\"f14aaaa130356ee4adb44de947c098637c70df8f\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"be346c1a6eeb49d8fda827d2a9522124c2f72f36\",\"lessThan\":\"6ad7532a23bc94076efe9f1486dd7f7493c090ff\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"be346c1a6eeb49d8fda827d2a9522124c2f72f36\",\"lessThan\":\"bd73971fad89d5ee4ea0ba9b92d2ea08733c4a64\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"be346c1a6eeb49d8fda827d2a9522124c2f72f36\",\"lessThan\":\"253ed993e0b36997ec7b04c1ff76103b38241de2\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"be346c1a6eeb49d8fda827d2a9522124c2f72f36\",\"lessThan\":\"f9ab30c96b0f00c20c6dac93681bdae3a033d229\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"331d1079d58206ff7dc5518185f800b412f89bc6\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"5.10.221\",\"lessThan\":\"5.10.261\",\"versionType\":\"semver\",\"status\":\"affected\"},{\"version\":\"5.15.162\",\"lessThan\":\"5.15.212\",\"versionType\":\"semver\",\"status\":\"affected\"},{\"version\":\"6.1.97\",\"lessThan\":\"6.1.178\",\"versionType\":\"semver\",\"status\":\"affected\"},{\"version\":\"6.6.37\",\"lessThan\":\"6.6.145\",\"versionType\":\"semver\",\"status\":\"affected\"},{\"version\":\"6.9.8\",\"lessThan\":\"6.10\",\"versionType\":\"semver\",\"status\":\"affected\"}]},{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"affected\",\"programFiles\":[\"fs/ocfs2/journal.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"6.10\",\"status\":\"affected\"},{\"version\":\"0\",\"lessThan\":\"6.10\",\"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\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/253ed993e0b36997ec7b04c1ff76103b38241de2\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/2d80e9c56718435a9c9f5f24dbc954989aead579\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/6ad7532a23bc94076efe9f1486dd7f7493c090ff\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/7146d191dae3a8efdb957993fb61a55713186266\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/942b818b396c24c452681803ff291552317d2ef1\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/bd73971fad89d5ee4ea0ba9b92d2ea08733c4a64\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/f14aaaa130356ee4adb44de947c098637c70df8f\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/f9ab30c96b0f00c20c6dac93681bdae3a033d229\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}",
    "redhat_vex": {
      "aggregate_severity": "Moderate",
      "current_release_date": "2026-08-17T16:06:30+00:00",
      "cve": "CVE-2026-72163",
      "id": "CVE-2026-72163",
      "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: fix NULL h_transaction deref in ocfs2_assure_trans_credits",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-72163.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…