CVE-2024-40971

Medium

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

Package Linux Kernel
Published 2024-07-12
Last modified 2026-05-12
CVSS version 3.1
Patch available
Yes

CVSS 3.1 score

5.5

out of 10
Medium
Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
None
Availability
High
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Affected versions

Linux kernel versions 3.8 and later are affected. Fixed in 5.10.221, 5.15.162, 6.1.96, 6.6.36, 6.9.7, 6.10 and their respective stable series.

Affected from
≥ 3.8
Fixed in
✓ 5.10.221 5.10.x ✓ 5.15.162 5.15.x ✓ 6.1.96 6.1.x ✓ 6.6.36 6.6.x ✓ 6.9.7 6.9.x ✓ 6.10

Frequently asked questions

  • What is CVE-2024-40971?

    CVE-2024-40971 is a Medium severity Linux kernel vulnerability with a CVSS score of 5.5 out of 10 . It affects Linux kernel versions from 3.8 onward and has been patched in 5.10.221, 5.15.162, 6.1.96 and others. CVE-2024-40971 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.

  • What is the CVSS score for CVE-2024-40971?

    CVE-2024-40971 has a CVSS score of 5.5 out of 10, rated Medium severity (CVSS 3.1). The vector string is CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H .

  • Is there a patch available for CVE-2024-40971?

    Yes. CVE-2024-40971 has been patched. Fixed versions include 5.10.221, 5.15.162, 6.1.96 and others. If you are running Linux kernel 3.8 or later up to the fix versions, apply the relevant patch for your kernel branch.

  • Is CVE-2024-40971 actively exploited?

    No. CVE-2024-40971 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.