{
  "id": "CVE-2026-43076",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-43076",
  "published_at": "2026-05-06T07:40:13.634Z",
  "title": "ocfs2: validate inline data i_size during inode read",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 7.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "In the Linux kernel, the following vulnerability has been resolved:\n\nocfs2: validate inline data i_size during inode read\n\nWhen reading an inode from disk, ocfs2_validate_inode_block() performs\nvarious sanity checks but does not validate the size of inline data.  If\nthe filesystem is corrupted, an inode's i_size can exceed the actual\ninline data capacity (id_count).\n\nThis causes ocfs2_dir_foreach_blk_id() to iterate beyond the inline data\nbuffer, triggering a use-after-free when accessing directory entries from\nfreed memory.\n\nIn the syzbot report:\n  - i_size was 1099511627576 bytes (~1TB)\n  - Actual inline data capacity (id_count) is typically \u003c256 bytes\n  - A garbage rec_len (54648) caused ctx-\u003epos to jump out of bounds\n  - This triggered a UAF in ocfs2_check_dir_entry()\n\nFix by adding a validation check in ocfs2_validate_inode_block() to ensure\ninodes with inline data have i_size \u003c= id_count.  This catches the\ncorruption early during inode read and prevents all downstream code from\noperating on invalid data.",
  "cwe": "CWE-416",
  "cpes": [
    "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:2.6.24:-:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.0:rc1:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.0:rc2:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.0:rc3:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.0:rc4:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.0:rc5:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.0:rc6:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.0:rc7:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= 23193e513d1cd69411469f028d56fd175d4a6b07, \u003c d012c782abcabe68b5b9e71be58a15e9f9d83dc1",
          "\u003e= 23193e513d1cd69411469f028d56fd175d4a6b07, \u003c bcd46bc261b215b3b12c557a978299eafa02ecdd",
          "\u003e= 23193e513d1cd69411469f028d56fd175d4a6b07, \u003c 131c0b573e1b467b7d553e9ff38003f1acd8f5f2",
          "\u003e= 23193e513d1cd69411469f028d56fd175d4a6b07, \u003c 37f074e65f24f10f8d8df224a572e4cb9e6faf63",
          "\u003e= 23193e513d1cd69411469f028d56fd175d4a6b07, \u003c c1de19e891be3bfb3e1d0c7cf07bbb8fb3b77c1b",
          "\u003e= 23193e513d1cd69411469f028d56fd175d4a6b07, \u003c cd2d765aa7157f852999842af32148128c735d39",
          "\u003e= 23193e513d1cd69411469f028d56fd175d4a6b07, \u003c 77d0295725109d77f5854ef5b58c0d06c08168cc",
          "\u003e= 23193e513d1cd69411469f028d56fd175d4a6b07, \u003c 1524af3685b35feac76662cc551cbc37bd14775f"
        ],
        "fixed_in": [
          "d012c782abcabe68b5b9e71be58a15e9f9d83dc1",
          "bcd46bc261b215b3b12c557a978299eafa02ecdd",
          "131c0b573e1b467b7d553e9ff38003f1acd8f5f2",
          "37f074e65f24f10f8d8df224a572e4cb9e6faf63",
          "c1de19e891be3bfb3e1d0c7cf07bbb8fb3b77c1b",
          "cd2d765aa7157f852999842af32148128c735d39",
          "77d0295725109d77f5854ef5b58c0d06c08168cc",
          "1524af3685b35feac76662cc551cbc37bd14775f"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "2.6.24"
        ],
        "fixed_in": [
          "0",
          "5.10.258",
          "5.15.209",
          "6.1.175",
          "6.6.136",
          "6.12.83",
          "6.18.24",
          "6.19.14",
          "7.0"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to d012c782abcabe68b5b9e71be58a15e9f9d83dc1 or bcd46bc261b215b3b12c557a978299eafa02ecdd or 131c0b573e1b467b7d553e9ff38003f1acd8f5f2 or 37f074e65f24f10f8d8df224a572e4cb9e6faf63 or c1de19e891be3bfb3e1d0c7cf07bbb8fb3b77c1b or cd2d765aa7157f852999842af32148128c735d39 or 77d0295725109d77f5854ef5b58c0d06c08168cc or 1524af3685b35feac76662cc551cbc37bd14775f or later.",
      "Upgrade Linux to 0 or 5.10.258 or 5.15.209 or 6.1.175 or 6.6.136 or 6.12.83 or 6.18.24 or 6.19.14 or 7.0 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
