Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2023-53796

f2fs: fix information leak in f2fs_move_inline_dirents()

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 4ec17d688d74b6b7cb10043c57ff4818cde2b0ca to < 4e3b4b170bd43db1d8a93a6bd0ea434b17cc86f7affected
  • 4ec17d688d74b6b7cb10043c57ff4818cde2b0ca to < a6807ef0f3b3d8508d3b07a2e35de8a91820a014affected
  • 4ec17d688d74b6b7cb10043c57ff4818cde2b0ca to < 2bef8314fcf94ddc27e22d03f237c0fafd00de33affected
  • 4ec17d688d74b6b7cb10043c57ff4818cde2b0ca to < 00b5587326625d0fddb2a5f5a3d4acd950102aceaffected
  • 4ec17d688d74b6b7cb10043c57ff4818cde2b0ca to < 117d4f6687b1f74423b5d398ea95c63b262a8e73affected
  • 4ec17d688d74b6b7cb10043c57ff4818cde2b0ca to < f07a8d61b6ea81bb3cbe0638af40f8824d6147fdaffected
  • 4ec17d688d74b6b7cb10043c57ff4818cde2b0ca to < eebaecef0095bb8f493c03982da75c6e7bae1056affected
  • 4ec17d688d74b6b7cb10043c57ff4818cde2b0ca to < 9a5571cff4ffcfc24847df9fd545cc5799ac0ee5affected

Linux Linux

Default version status: affected

  • 4.3affected
  • 0 to < 4.3unaffected
  • 4.14.308 to ≤ 4.14.*unaffected
  • 4.19.276 to ≤ 4.19.*unaffected
  • 5.4.235 to ≤ 5.4.*unaffected
  • 5.10.173 to ≤ 5.10.*unaffected
  • 5.15.99 to ≤ 5.15.*unaffected
  • 6.1.16 to ≤ 6.1.*unaffected
  • 6.2.3 to ≤ 6.2.*unaffected
  • 6.3 to ≤ *unaffected

References