What’s Vulnerable › Vulnerabilities

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

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.

Affected products

How to fix

Upgrade to a fixed version: Linux 7.3. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-89838 or the next vulnerability affects your stack