Breaking: Ruby2Shell - Ruby Memory Corruption Flaws Expose Applications to Remote Code Execution
Read the Report
Learn How MCP Is Bypassing a Decade of Cloud Security Best Practices
Read the Report
Are you exposed? Connect a repo in minutes.
Scan your repos free

CVE-2024-40969

kernel: f2fs: don't set RO when shutting down f2fs

Overview

Published
12 Jul 2024
Modified
17 Jun 2026
Medium CVE
0 Registry packages
23 OS packages
5 Linux distributions
Yes Fix available

Description

In the Linux kernel, the following vulnerability has been resolved:

f2fs: don't set RO when shutting down f2fs

Shutdown does not check the error of thaw_super due to readonly, which causes a deadlock like below.

f2fs_ioc_shutdown(F2FS_GOING_DOWN_FULLSYNC) issue_discard_thread

  • bdev_freeze
  • freeze_super
  • f2fs_stop_checkpoint()
  • f2fs_handle_critical_error - sb_start_write
    • set RO - waiting
  • bdev_thaw
  • thaw_super_locked
    • return -EINVAL, if sb_rdonly()
  • f2fs_stop_discard_thread -> wait for kthread_stop(discard_thread);

Source: OX vulnerability database

Severity

5.5 · MEDIUM

CVSS 3.1 base score, scored by NVD.

Attack vector
Local
Attack complexity
Low
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

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

Weakness: CWE-667

Affected packages · 0

No registry package. This ID affects operating system packages only.

Operating systems · 25 fixes

debian 4 releases · 1 package

affected 2 fixed 2
linux
debian fixes for CVE-2024-40969
ReleasePackageFixed in
11 linux affected
12 linux affected
13 linux 6.9.7-1
14 linux 6.9.7-1

echo 1 release · 1 package

fixed 1
linux
echo fixes for CVE-2024-40969
ReleasePackageFixed in
linux 1

root.io debian 3 releases · 2 packages

fixed 3
linux rootio-linux
root.io debian fixes for CVE-2024-40969
ReleasePackageFixed in
11 linux +1 5.10.251-5.root.io.85
12 linux +1 6.1.172-1.root.io.132
13 rootio-linux 6.9.7-1

root.io ubuntu 1 release · 1 package

fixed 1
rootio-linux
root.io ubuntu fixes for CVE-2024-40969
ReleasePackageFixed in
24.04 rootio-linux 6.8.0-44.44

ubuntu 2 releases · 16 packages

fixed 16
linux-oracle-6-8 linux-nvidia-6-8 linux-azure-6-8 linux-aws-6-8 linux-lowlatency-hwe-6-8 linux-hwe-6-8 +10
ubuntu fixes for CVE-2024-40969
ReleasePackageFixed in
22.04 linux-oracle-6-8 6.8.0-1012.12~22.04.1
22.04 linux-nvidia-6-8 6.8.0-1013.14~22.04.1
22.04 linux-azure-6-8 +1 6.8.0-1014.16~22.04.1
22.04 linux-aws-6-8 6.8.0-1015.16~22.04.1
22.04 linux-lowlatency-hwe-6-8 +1 6.8.0-44.44.1~22.04.1
22.04 linux-hwe-6-8 6.8.0-45.45~22.04.1

10 more rows

References

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.