{
  "id": "CVE-2026-43075",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-43075",
  "published_at": "2026-05-06T07:40:03.337Z",
  "title": "ocfs2: fix out-of-bounds write in ocfs2_write_end_inline",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 7.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/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: fix out-of-bounds write in ocfs2_write_end_inline\n\nKASAN reports a use-after-free write of 4086 bytes in\nocfs2_write_end_inline, called from ocfs2_write_end_nolock during a\ncopy_file_range splice fallback on a corrupted ocfs2 filesystem mounted on\na loop device.  The actual bug is an out-of-bounds write past the inode\nblock buffer, not a true use-after-free.  The write overflows into an\nadjacent freed page, which KASAN reports as UAF.\n\nThe root cause is that ocfs2_try_to_write_inline_data trusts the on-disk\nid_count field to determine whether a write fits in inline data.  On a\ncorrupted filesystem, id_count can exceed the physical maximum inline data\ncapacity, causing writes to overflow the inode block buffer.\n\nCall trace (crash path):\n\n   vfs_copy_file_range (fs/read_write.c:1634)\n     do_splice_direct\n       splice_direct_to_actor\n         iter_file_splice_write\n           ocfs2_file_write_iter\n             generic_perform_write\n               ocfs2_write_end\n                 ocfs2_write_end_nolock (fs/ocfs2/aops.c:1949)\n                   ocfs2_write_end_inline (fs/ocfs2/aops.c:1915)\n                     memcpy_from_folio     \u003c-- KASAN: write OOB\n\nSo add id_count upper bound check in ocfs2_validate_inode_block() to\nalongside the existing i_size check to fix it.",
  "cwe": "CWE-787",
  "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= 1afc32b952335f665327a1a9001ba1b44bb76fd9, \u003c 68f9cc3bbf2ae501770cea7dc0005fc9a85e48ea",
          "\u003e= 1afc32b952335f665327a1a9001ba1b44bb76fd9, \u003c 2e6a254f9cedf51b75cc20b8b92e2209bfa04c3e",
          "\u003e= 1afc32b952335f665327a1a9001ba1b44bb76fd9, \u003c 22df7d4de9c5cd42edf855a1de25f2106088c4c6",
          "\u003e= 1afc32b952335f665327a1a9001ba1b44bb76fd9, \u003c e2c9dc6b6e96f3585f2a1062ca3374a52db0938f",
          "\u003e= 1afc32b952335f665327a1a9001ba1b44bb76fd9, \u003c 947f953978b0d9463498d548d0f054f5a75be2e9",
          "\u003e= 1afc32b952335f665327a1a9001ba1b44bb76fd9, \u003c 0c1af902223b6fcedb60904ca0b551254686c7b9",
          "\u003e= 1afc32b952335f665327a1a9001ba1b44bb76fd9, \u003c 69d3c69ade1e4285ab4ca48fe7acee0767e65604",
          "\u003e= 1afc32b952335f665327a1a9001ba1b44bb76fd9, \u003c 7bc5da4842bed3252d26e742213741a4d0ac1b14"
        ],
        "fixed_in": [
          "68f9cc3bbf2ae501770cea7dc0005fc9a85e48ea",
          "2e6a254f9cedf51b75cc20b8b92e2209bfa04c3e",
          "22df7d4de9c5cd42edf855a1de25f2106088c4c6",
          "e2c9dc6b6e96f3585f2a1062ca3374a52db0938f",
          "947f953978b0d9463498d548d0f054f5a75be2e9",
          "0c1af902223b6fcedb60904ca0b551254686c7b9",
          "69d3c69ade1e4285ab4ca48fe7acee0767e65604",
          "7bc5da4842bed3252d26e742213741a4d0ac1b14"
        ]
      },
      {
        "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 68f9cc3bbf2ae501770cea7dc0005fc9a85e48ea or 2e6a254f9cedf51b75cc20b8b92e2209bfa04c3e or 22df7d4de9c5cd42edf855a1de25f2106088c4c6 or e2c9dc6b6e96f3585f2a1062ca3374a52db0938f or 947f953978b0d9463498d548d0f054f5a75be2e9 or 0c1af902223b6fcedb60904ca0b551254686c7b9 or 69d3c69ade1e4285ab4ca48fe7acee0767e65604 or 7bc5da4842bed3252d26e742213741a4d0ac1b14 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": []
}
