# CVE-2023-53796: f2fs: fix information leak in f2fs_move_inline_dirents()

- Severity: not scored yet
- 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.22%, higher than 14% of CVEs (2026-12-01)
- Published: 2025-12-09T00:00:52.919Z
- Modified: 2026-06-17T06:46:05.300Z
- Assigned by: Linux

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

(As written by CVE List.)

## Affected

- Linux Linux: from 4ec17d688d74b6b7cb10043c57ff4818cde2b0ca before 4e3b4b170bd43db1d8a93a6bd0ea434b17cc86f7; from 4ec17d688d74b6b7cb10043c57ff4818cde2b0ca before a6807ef0f3b3d8508d3b07a2e35de8a91820a014; from 4ec17d688d74b6b7cb10043c57ff4818cde2b0ca before 2bef8314fcf94ddc27e22d03f237c0fafd00de33; from 4ec17d688d74b6b7cb10043c57ff4818cde2b0ca before 00b5587326625d0fddb2a5f5a3d4acd950102ace; from 4ec17d688d74b6b7cb10043c57ff4818cde2b0ca before 117d4f6687b1f74423b5d398ea95c63b262a8e73; from 4ec17d688d74b6b7cb10043c57ff4818cde2b0ca before f07a8d61b6ea81bb3cbe0638af40f8824d6147fd; from 4ec17d688d74b6b7cb10043c57ff4818cde2b0ca before eebaecef0095bb8f493c03982da75c6e7bae1056; from 4ec17d688d74b6b7cb10043c57ff4818cde2b0ca before 9a5571cff4ffcfc24847df9fd545cc5799ac0ee5; 4.3 (not affected: before 4.3; from 4.14.308 up to 4.14.*; from 4.19.276 up to 4.19.*; from 5.4.235 up to 5.4.*; from 5.10.173 up to 5.10.*; from 5.15.99 up to 5.15.*; from 6.1.16 up to 6.1.*; from 6.2.3 up to 6.2.*; from 6.3 up to *)

## References

- <https://git.kernel.org/stable/c/4e3b4b170bd43db1d8a93a6bd0ea434b17cc86f7>
- <https://git.kernel.org/stable/c/a6807ef0f3b3d8508d3b07a2e35de8a91820a014>
- <https://git.kernel.org/stable/c/2bef8314fcf94ddc27e22d03f237c0fafd00de33>
- <https://git.kernel.org/stable/c/00b5587326625d0fddb2a5f5a3d4acd950102ace>
- <https://git.kernel.org/stable/c/117d4f6687b1f74423b5d398ea95c63b262a8e73>
- <https://git.kernel.org/stable/c/f07a8d61b6ea81bb3cbe0638af40f8824d6147fd>
- <https://git.kernel.org/stable/c/eebaecef0095bb8f493c03982da75c6e7bae1056>
- <https://git.kernel.org/stable/c/9a5571cff4ffcfc24847df9fd545cc5799ac0ee5>

## Sources

- CVE List: [CVE-2023-53796](https://www.cve.org/CVERecord?id=CVE-2023-53796), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2023-53796](https://nvd.nist.gov/vuln/detail/CVE-2023-53796), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-53796 · Whole record: https://cve.day/CVE-2023-53796.json · Rebuilt by cve.day 2026-11-25T22:58:35.056Z
