CVE-2023-53796

f2fs: fix information leak in f2fs_move_inline_dirents()

State
Published
Severity
Not scored
Published
Dec 9, 2025
Updated
May 11, 2026
Reserved
Dec 8, 2025

Read the record on cve.org

Description

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

f2fs: fix information leak in f2fs_move_inline_dirents()

When converting an inline directory to a regular one, f2fs is leaking uninitialized memory to disk because it doesn't initialize the entire directory block. Fix this by zero-initializing the block.

This bug was introduced by commit 4ec17d688d74 ("f2fs: avoid unneeded initializing when converting inline dentry"), which didn't consider the security implications of leaking uninitialized memory to disk.

This was found by running xfstest generic/435 on a KMSAN-enabled kernel.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 4ec17d688d74b6b7cb10043c57ff4818cde2b0ca to before 4e3b4b170bd43db1d8a93a6bd0ea434b17cc86f7Affected
  • 4ec17d688d74b6b7cb10043c57ff4818cde2b0ca to before a6807ef0f3b3d8508d3b07a2e35de8a91820a014Affected
  • 4ec17d688d74b6b7cb10043c57ff4818cde2b0ca to before 2bef8314fcf94ddc27e22d03f237c0fafd00de33Affected
  • 4ec17d688d74b6b7cb10043c57ff4818cde2b0ca to before 00b5587326625d0fddb2a5f5a3d4acd950102aceAffected
  • 4ec17d688d74b6b7cb10043c57ff4818cde2b0ca to before 117d4f6687b1f74423b5d398ea95c63b262a8e73Affected
  • 4ec17d688d74b6b7cb10043c57ff4818cde2b0ca to before f07a8d61b6ea81bb3cbe0638af40f8824d6147fdAffected
  • 4ec17d688d74b6b7cb10043c57ff4818cde2b0ca to before eebaecef0095bb8f493c03982da75c6e7bae1056Affected
  • 4ec17d688d74b6b7cb10043c57ff4818cde2b0ca to before 9a5571cff4ffcfc24847df9fd545cc5799ac0ee5Affected
LinuxLinux
  • 4.3Affected
  • before 4.3Not affected
  • 4.14.308 through 4.14.*Not affected
  • 4.19.276 through 4.19.*Not affected
  • 5.4.235 through 5.4.*Not affected
  • 5.10.173 through 5.10.*Not affected
  • 5.15.99 through 5.15.*Not affected
  • 6.1.16 through 6.1.*Not affected
  • 6.2.3 through 6.2.*Not affected
  • 6.3 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.