7.3

CVE-2024-40971: f2fs: remove clear SB_INLINECRYPT flag in default_options

Modified
AliasesUBUNTU-CVE-2024-40971DEBIAN-CVE-2024-40971
Published 12-07-2024Last modified 15-10-2026

Vulnerability summary

CVE-2024-40971 is a high (CVSS 7.3) vulnerability in linux. EPSS estimates a 0.30% chance of exploitation in the next 30 days, higher than 23.2% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 7.3, local access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
7.3/10
010
High · v3.1 (CVE.org)
EPSS score
0.30%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 16 · Related 13

Timeline

  1. 12-07-2024
    PublishedVulnerability first disclosed.
  2. 15-10-2026
    Last modifiedVulnerability information updated.

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 metrics

4 scores · 4 sources · 1 version

EPSS trend

Probability

0.30%

Chance of exploitation in the next 30 days

Percentile

23%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.31% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

No weakness data has been published for this record.

Affected systems

Version check

Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Ubuntu129 products
  • linuxAll versions (No fix recorded) | < 5.15.0-121.131 | < 6.8.0-44.44
  • linux-allwinner-5.19All versions (No fix recorded)
  • linux-awsAll versions (No fix recorded) | < 5.15.0-1069.75 | < 6.8.0-1015.16
  • linux-aws-5.0All versions (No fix recorded)
  • linux-aws-5.11All versions (No fix recorded)
Linux2 products
  • linux≥ 98e4da8ca301e062d79ae168c67e56f3c3de3ce4, < 38a82c8d00638bb642bef787eb1d5e0e4d3b7d71 | ≥ 98e4da8ca301e062d79ae168c67e56f3c3de3ce4, < 724429db09e21ee153fef35e34342279d33df6ae | ≥ 98e4da8ca301e062d79ae168c67e56f3c3de3ce4, < a9cea0489c562c97cd56bb345e78939f9909e7f4 | ≥ 98e4da8ca301e062d79ae168c67e56f3c3de3ce4, < eddeb8d941d5be11a9da5637dbe81ac37e8449a2 | ≥ 98e4da8ca301e062d79ae168c67e56f3c3de3ce4, < ae39c8ec4250d2a35ddaab1c40faacfec306ff66 | ≥ 98e4da8ca301e062d79ae168c67e56f3c3de3ce4, < ac5eecf481c29942eb9a862e758c0c8b68090c33 | 3.8
  • linux_kernel≥ 3.8, < 5.10.221 | ≥ 5.11, < 5.15.162 | ≥ 5.16, < 6.1.96 | ≥ 6.2, < 6.6.36 | ≥ 6.7, < 6.9.7
Debian1 product
  • linux< 6.1.99-1 | < 6.9.7-1

3 vendors · 132 products

References

26 links
Show all 26 references