CVE-2024-40971

MediumCVSS 5.5/10Last modified Oct 15, 2026

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

Metrics

CVSS 3.1 5.5/10CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Affected software

VendorProductVersions
LinuxLinux>= 98e4da8ca301e062d79ae168c67e56f3c3de3ce4, < 38a82c8d00638bb642bef787eb1d5e0e4d3b7d71; >= 98e4da8ca301e062d79ae168c67e56f3c3de3ce4, < 724429db09e21ee153fef35e34342279d33df6ae; >= 98e4da8ca301e062d79ae168c67e56f3c3de3ce4, < a9cea0489c562c97cd56bb345e78939f9909e7f4; >= 98e4da8ca301e062d79ae168c67e56f3c3de3ce4, < eddeb8d941d5be11a9da5637dbe81ac37e8449a2; >= 98e4da8ca301e062d79ae168c67e56f3c3de3ce4, < ae39c8ec4250d2a35ddaab1c40faacfec306ff66; >= 98e4da8ca301e062d79ae168c67e56f3c3de3ce4, < ac5eecf481c29942eb9a862e758c0c8b68090c33
LinuxLinux3.8
SiemensSIMATIC S7-1500 TM MFP - GNU/Linux subsystem< V1.1.1

References

Timeline

Published
Jul 12, 2024
Last modified
Oct 15, 2026
NVD status
Modified

Related CVEs from 2024

CVE-2024-409725.5In the Linux kernel, the following vulnerability has been resolved: ext4: do not create EA inode under buffer lock ext4_xattr_set_entry() CVE-2024-409735.5In the Linux kernel, the following vulnerability has been resolved: media: mtk-vcodec: potential null pointer deference in SCP The return CVE-2024-409747.8In the Linux kernel, the following vulnerability has been resolved: powerpc/pseries: Enforce hcall result buffer validity and size plpar_hCVE-2024-409755.5In the Linux kernel, the following vulnerability has been resolved: platform/x86: x86-android-tablets: Unregister devices in reverse order CVE-2024-409765.5In the Linux kernel, the following vulnerability has been resolved: drm/lima: mask irqs in timeout path before hard reset There is a race CVE-2024-409775.5In the Linux kernel, the following vulnerability has been resolved: wifi: mt76: mt7921s: fix potential hung tasks during chip recovery DurCVE-2024-409787.1In the Linux kernel, the following vulnerability has been resolved: scsi: qedi: Fix crash while reading debugfs attribute The qedi_dbg_do_CVE-2024-409795.5In the Linux kernel, the following vulnerability has been resolved: wifi: ath12k: fix kernel crash during resume Currently during resume, CVE-2024-40989.8The Shariff Wrapper plugin for WordPress is vulnerable to Local File Inclusion in versions up to, and including, 4.6.13 via the shariff3uu_fCVE-2024-409805.5In the Linux kernel, the following vulnerability has been resolved: drop_monitor: replace spin_lock by raw_spin_lock trace_drop_common() iCVE-2024-409815.5In the Linux kernel, the following vulnerability has been resolved: batman-adv: bypass empty buckets in batadv_purge_orig_ref() Many syzboCVE-2024-409835.5In the Linux kernel, the following vulnerability has been resolved: tipc: force a dst refcount before doing decryption As it says in commi
CVE-2024-40971: Medium severity, CVSS 5.5 | Vulnix