CVE-2024-40971

MEDIUM EPSS 21.6%
Published Jul 12, 20241y ago · Modified Jun 17, 20261w ago
5.5 CVSS 3.1
Medium
Find Similar
Published Jul 12, 2024 1y ago
Last Modified Jun 17, 2026 1w ago

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

CVSS Details

Base Score
5.5
Exploitability
1.8
Impact
3.6
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Attack Vector Local
Attack Complexity Low
Privileges Required Low
User Interaction None
Scope Unchanged
Confidentiality None
Integrity None
Availability High

Threat Intelligence

EPSS Exploit Probability
21.6% percentile
Exploit & Patch Status
No Known Exploit
Patch Available

Affected Products 5

VendorProductVersionRange
linuxlinux_kernel*≥3.8  –  <5.10.221
linuxlinux_kernel*≥5.11  –  <5.15.162
linuxlinux_kernel*≥5.16  –  <6.1.96
linuxlinux_kernel*≥6.2  –  <6.6.36
linuxlinux_kernel*≥6.7  –  <6.9.7

References 9

  • cert-portal.siemens.com https://cert-portal.siemens.com/productcert/html/ssa-265688.html
  • cert-portal.siemens.com https://cert-portal.siemens.com/productcert/html/ssa-355557.html
  • git.kernel.org https://git.kernel.org/stable/c/38a82c8d00638bb642bef787eb1d5e0e4d3b7d71
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/724429db09e21ee153fef35e34342279d33df6ae
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/a9cea0489c562c97cd56bb345e78939f9909e7f4
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/ac5eecf481c29942eb9a862e758c0c8b68090c33
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/ae39c8ec4250d2a35ddaab1c40faacfec306ff66
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/eddeb8d941d5be11a9da5637dbe81ac37e8449a2
    Patch
  • lists.debian.org https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html

Remediation

  • git.kernel.org https://git.kernel.org/stable/c/38a82c8d00638bb642bef787eb1d5e0e4d3b7d71
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/724429db09e21ee153fef35e34342279d33df6ae
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/a9cea0489c562c97cd56bb345e78939f9909e7f4
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/ac5eecf481c29942eb9a862e758c0c8b68090c33
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/ae39c8ec4250d2a35ddaab1c40faacfec306ff66
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/eddeb8d941d5be11a9da5637dbe81ac37e8449a2
    Patch