Skip to content
7.3 High

CVE-2024-40971 In the Linux kernel, the following vulnerability has been resolved: f2fs: remove clear SB_INLINECRYPT flag in…

Description

In the Linux kernel, the following vulnerability has been resolved: f2fs: remove clear SB_INLINECRYPT flag in default_options In f2fs_remount, SB_INLINECRYPT flag will be clear and re-set. If create new file or open file during this gap, these files will not use inlinecrypt. Worse case, it may lead to data corruption if wrappedkey_v0 is enable. Thread A: Thread B: -f2fs_remount -f2fs_file_open or f2fs_new_inode -default_options <- clear SB_INLINECRYPT flag -fscrypt_select_encryption_impl -parse_options <- set SB_INLINECRYPT again

Affected products and versions

Product Affected versions Fixed in
Linux 6.10 earliest → < 6.10 6.10
Linux 6.9 earliest → < 6.9.7 6.9.7
Linux 6.6 earliest → < 6.6.36 6.6.36
Linux 6.1 earliest → < 6.1.96 6.1.96
Linux 5.15 earliest → < 5.15.162 5.15.162
Linux 5.10 earliest → < 5.10.221 5.10.221
Linux 3.8 No fix stated
RUGGEDCOM RST2428P Versions not published
SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 family Versions not published
Show the 2 other branches
Product Affected versions Fixed in
SCALANCE XCM-/XRM-/XCH-/XRH-300 family Versions not published
SIMATIC S7-1500 TM MFP - GNU/Linux subsystem 1.1 earliest → < 1.1.1 1.1.1

References

Timeline

  1. Published
  2. Last modified
The 18283 CVEs of Linux →
Track this CVE