Get a Demo

Let's Patch It!

Book a short call with one our specialists, we'll walk you through how Endor Patches work, and ask you a few questions about your environment (like your primary programming languages and repository management). We'll also send you an email right after you fill out the form, feel free to reply with any questions you have in advance!

CVE

CVE-2026-74350

ocfs2: validate fast symlink target during inode read
Back to all
CVE

CVE-2026-74350

ocfs2: validate fast symlink target during inode read

In the Linux kernel, the following vulnerability has been resolved:

ocfs2: validate fast symlink target during inode read

ocfs2validateinode_block() already rejects several inconsistent

self-contained dinodes before they are exposed to the rest of the

filesystem.  Fast symlinks need the same treatment.

A zero-cluster symlink is treated as a fast symlink and later read through

pagegetlink() and ocfs2fastsymlinkreadfolio().  That path uses

strnlen() on the inline payload and then copies len + 1 bytes into the

folio.  If a corrupt dinode stores an i_size that does not fit the inline

area or omits the terminating NUL at i_size, that copy reads past the end

of the inode block buffer.

Reject zero-cluster symlink dinodes whose i_size exceeds the inline

fast-symlink capacity or whose inline payload is not NUL-terminated

exactly at i_size when the inode block is validated.  This keeps malformed

fast symlinks from reaching the read path.

Validation reproduced this kernel report:

KASAN use-after-free in ocfs2fastsymlinkreadfolio+0x12c/0x1f0

RIP: 0033:0x7f5c6d859aa7

Read of size 3905

Call trace:

  dumpstacklvl+0x66/0xa0 (?:?)

  print_report+0xce/0x630 (?:?)

  ocfs2fastsymlinkreadfolio+0x12c/0x1f0 (fs/ocfs2/inode.c:?)

  srsoaliasreturn_thunk+0x5/0xfbef5 (?:?)

  _virtaddr_valid+0x19f/0x330 (?:?)

  kasan_report+0xe0/0x110 (?:?)

  kasancheckrange+0x105/0x1b0 (?:?)

  _asanmemcpy+0x23/0x60 (?:?)

  filemapreadfolio+0x27/0xe0 (?:?)

  filemapreadfolio+0x35/0xe0 (?:?)

  doreadcache_folio+0x138/0x230 (?:?)

  _pageget_link+0x26/0x110 (?:?)

  pagegetlink+0x2e/0x70 (?:?)

  vfs_readlink+0x15e/0x250 (?:?)

  touch_atime+0x4d/0x370 (?:?)

  do_readlinkat+0x186/0x200 (?:?)

  douseraddr_fault+0x65a/0x890 (?:?)

  _x64sys_readlink+0x46/0x60 (?:?)

  dosyscall64+0x115/0x6a0 (arch/x86/entry/syscall_64.c:87)

  entrySYSCALL64afterhwframe+0x77/0x7f (?:?)

Package Versions Affected

Package Version
patch Availability
No items found.

Automatically patch vulnerabilities without upgrading

Fix Without Upgrading
Detect compatible fix
Apply safe remediation
Fix with a single pull request

CVSS Version

Severity
Base Score
CVSS Version
Score Vector
C
H
U
9.8
-
3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
C
H
U
0
-
3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
C
H
U
-

Related Resources

No items found.

References

https://git.kernel.org/stable/c/e234973f286ed2e8961a24561ec91594ec3e3ff8, https://git.kernel.org/stable/c/f9e2cb692b77a679b1f4cc2b7b277fa908586533, https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/74xxx/CVE-2026-74350.json, https://nvd.nist.gov/vuln/detail/CVE-2026-74350, https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Severity

9.8

CVSS Score
0
10

Basic Information

Base CVSS
9.8
EPSS Probability
0.0038%
EPSS Percentile
0.30817%
Introduced Version
ea022dfb3c2a4680483b00eb2fecc9fc4f6091d1,3.5.0,0
Fix Available
e234973f286ed2e8961a24561ec91594ec3e3ff8,7.1.5

Fix Critical Vulnerabilities Instantly

Secure your app without upgrading.
Fix Without Upgrading