SecurityContext

CVE-2024-40971: Linux Kernel - Data Tampering

  • Cve: CVE-2024-40971
  • Name: Linux Kernel - Data Tampering
  • 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
  • Impact: Potential data corruption when creating or opening files during remount if inlinecrypt is not properly set, especially with wrappedkey_v0 enabled.
  • Remediation: Update to the latest Linux kernel version where this issue is fixed.
  • Vulnerability type: misconfiguration
  • Vulnerability impact: data_tampering
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 5.5
  • Cvss vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
  • Epss score: 0.00304
  • Epss percentile: 0.2355
  • Assignee: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  • Published at: 2024-07-12T13:15:18Z
  • Age in days: 865
  • Modified at: 2026-10-15T01:18:39Z
  • Patch available: yes
  • References total: 9
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-40971
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
NVD-CWE-noinfo—

References

Same in every row:

  • Source: nvd
UrlTags
https://git.kernel.org/stable/c/38a82c8d00638bb642bef787eb1d5e0e4d3b7d71Patch
https://git.kernel.org/stable/c/724429db09e21ee153fef35e34342279d33df6aePatch
https://git.kernel.org/stable/c/a9cea0489c562c97cd56bb345e78939f9909e7f4Patch
https://git.kernel.org/stable/c/ac5eecf481c29942eb9a862e758c0c8b68090c33Patch
https://git.kernel.org/stable/c/ae39c8ec4250d2a35ddaab1c40faacfec306ff66Patch
https://git.kernel.org/stable/c/eddeb8d941d5be11a9da5637dbe81ac37e8449a2Patch
https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html
https://cert-portal.siemens.com/productcert/html/ssa-265688.html
https://cert-portal.siemens.com/productcert/html/ssa-355557.html

Products

ProductAffectedPlatform boundSourcesUrl
linux:linux_kernel>= 6.7, < 6.9.7; >= 6.2, < 6.6.36; >= 5.16, < 6.1.96; >= 5.11, < 5.15.162; >= 3.8, < 5.10.221nonvd/v1/products/linux/linux_kernel

Projects

RepositoryLink kindsIndexedUrl
torvalds/linuxcna_commit, commityes/v1/repositories/torvalds/linux

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Authentication required: yes
  • Exposed hosts: 10038339
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports