{
  "id": "CVE-2026-74350",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-74350",
  "published_at": "2026-08-15T05:58:37.298Z",
  "title": "ocfs2: validate fast symlink target during inode read",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 9.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/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: validate fast symlink target during inode read\n\nocfs2_validate_inode_block() already rejects several inconsistent\nself-contained dinodes before they are exposed to the rest of the\nfilesystem.  Fast symlinks need the same treatment.\n\nA zero-cluster symlink is treated as a fast symlink and later read through\npage_get_link() and ocfs2_fast_symlink_read_folio().  That path uses\nstrnlen() on the inline payload and then copies len + 1 bytes into the\nfolio.  If a corrupt dinode stores an i_size that does not fit the inline\narea or omits the terminating NUL at i_size, that copy reads past the end\nof the inode block buffer.\n\nReject zero-cluster symlink dinodes whose i_size exceeds the inline\nfast-symlink capacity or whose inline payload is not NUL-terminated\nexactly at i_size when the inode block is validated.  This keeps malformed\nfast symlinks from reaching the read path.\n\nValidation reproduced this kernel report:\nKASAN use-after-free in ocfs2_fast_symlink_read_folio+0x12c/0x1f0\nRIP: 0033:0x7f5c6d859aa7\nRead of size 3905\nCall trace:\n  dump_stack_lvl+0x66/0xa0 (?:?)\n  print_report+0xce/0x630 (?:?)\n  ocfs2_fast_symlink_read_folio+0x12c/0x1f0 (fs/ocfs2/inode.c:?)\n  srso_alias_return_thunk+0x5/0xfbef5 (?:?)\n  __virt_addr_valid+0x19f/0x330 (?:?)\n  kasan_report+0xe0/0x110 (?:?)\n  kasan_check_range+0x105/0x1b0 (?:?)\n  __asan_memcpy+0x23/0x60 (?:?)\n  filemap_read_folio+0x27/0xe0 (?:?)\n  filemap_read_folio+0x35/0xe0 (?:?)\n  do_read_cache_folio+0x138/0x230 (?:?)\n  __page_get_link+0x26/0x110 (?:?)\n  page_get_link+0x2e/0x70 (?:?)\n  vfs_readlink+0x15e/0x250 (?:?)\n  touch_atime+0x4d/0x370 (?:?)\n  do_readlinkat+0x186/0x200 (?:?)\n  do_user_addr_fault+0x65a/0x890 (?:?)\n  __x64_sys_readlink+0x46/0x60 (?:?)\n  do_syscall_64+0x115/0x6a0 (arch/x86/entry/syscall_64.c:87)\n  entry_SYSCALL_64_after_hwframe+0x77/0x7f (?:?)",
  "cvss_by_source": {
    "cna": 9.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= ea022dfb3c2a4680483b00eb2fecc9fc4f6091d1, \u003c ed9f95ee3bbaea9b05808727eb86ea5e5ccf2b52",
          "\u003e= ea022dfb3c2a4680483b00eb2fecc9fc4f6091d1, \u003c dcabbf7da43825e23e5e89adccc1430faee1bce1",
          "\u003e= ea022dfb3c2a4680483b00eb2fecc9fc4f6091d1, \u003c 030d4caae89977b80349df95523dfda1dfb10f73",
          "\u003e= ea022dfb3c2a4680483b00eb2fecc9fc4f6091d1, \u003c d94bf50756d7f80bb728ad58246376649e1035b6",
          "\u003e= ea022dfb3c2a4680483b00eb2fecc9fc4f6091d1, \u003c f9e2cb692b77a679b1f4cc2b7b277fa908586533",
          "\u003e= ea022dfb3c2a4680483b00eb2fecc9fc4f6091d1, \u003c e234973f286ed2e8961a24561ec91594ec3e3ff8"
        ],
        "fixed_in": [
          "ed9f95ee3bbaea9b05808727eb86ea5e5ccf2b52",
          "dcabbf7da43825e23e5e89adccc1430faee1bce1",
          "030d4caae89977b80349df95523dfda1dfb10f73",
          "d94bf50756d7f80bb728ad58246376649e1035b6",
          "f9e2cb692b77a679b1f4cc2b7b277fa908586533",
          "e234973f286ed2e8961a24561ec91594ec3e3ff8"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "3.5"
        ],
        "fixed_in": [
          "0",
          "6.1.191",
          "6.6.160",
          "6.12.114",
          "6.18.57",
          "7.1.5",
          "7.2"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to ed9f95ee3bbaea9b05808727eb86ea5e5ccf2b52 or dcabbf7da43825e23e5e89adccc1430faee1bce1 or 030d4caae89977b80349df95523dfda1dfb10f73 or d94bf50756d7f80bb728ad58246376649e1035b6 or f9e2cb692b77a679b1f4cc2b7b277fa908586533 or e234973f286ed2e8961a24561ec91594ec3e3ff8 or later.",
      "Upgrade Linux to 0 or 6.1.191 or 6.6.160 or 6.12.114 or 6.18.57 or 7.1.5 or 7.2 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
