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

- Severity: High 7.1 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.19%, higher than 8% of CVEs (2026-12-01)
- Published: 2026-09-16T10:31:12.746Z
- Modified: 2026-10-30T13:20:31.010Z
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from f356fe0cba0e3523e538987916bd2acedd4e6f41 before b8ac8b14b9d92dd2e1cb05fa8994f41f701fbf28; from f356fe0cba0e3523e538987916bd2acedd4e6f41 before 450ab2e5dbe0ef6e3ed73214256565f6f003d62a; from f356fe0cba0e3523e538987916bd2acedd4e6f41 before 3d02c7c8446f5d6793ac67f93bf3f84bf24e3f25; from f356fe0cba0e3523e538987916bd2acedd4e6f41 before e754120f8ede55cc773ade108cf7e5b17c859c46; from f356fe0cba0e3523e538987916bd2acedd4e6f41 before 7ab1780074943508534343e1e5e5ab0c9ef9dd7b; from f356fe0cba0e3523e538987916bd2acedd4e6f41 before 35c5abccd0924b02ad34126f562d93c8d75b0831; from f356fe0cba0e3523e538987916bd2acedd4e6f41 before 317d32e1a8deaf1c01c388badc667334c39e62ca; from f356fe0cba0e3523e538987916bd2acedd4e6f41 before 01027b2fcb74dade59fb833b51023f6593b6a9a2; 3.11 (not affected: before 3.11; from 5.10.273 up to 5.10.*; from 5.15.224 up to 5.15.*; from 6.1.191 up to 6.1.*; from 6.6.160 up to 6.6.*; from 6.12.112 up to 6.12.*; from 6.18.53 up to 6.18.*; from 7.2.5 up to 7.2.*; from 7.3 up to *)

## 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>

## Sources

- CVE List: [CVE-2026-89838](https://www.cve.org/CVERecord?id=CVE-2026-89838), CVE Terms of Use, modified 2026-10-30
- NVD: [CVE-2026-89838](https://nvd.nist.gov/vuln/detail/CVE-2026-89838), Public domain, modified 2026-10-30

---

Page: https://cve.day/CVE-2026-89838 · Whole record: https://cve.day/CVE-2026-89838.json · Rebuilt by cve.day 2026-11-25T22:59:38.952Z
