Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2024-43859

MEDIUM 5.5EPSS 16%

f2fs: fix to truncate preallocated blocks in f2fs_file_open()

Mitigation

  • Upgrade Linux to 298b1e4182d657c3e388adcc29477904e9600ed5 or later.

Who should check

  • Anyone running Linux >= d4dd19ec1ea0cf6532d65709325c42b1398614a8, < 5f04969136db674f133781626e0b692c5f2bf2f0; >= d4dd19ec1ea0cf6532d65709325c42b1398614a8, < f44a25a8bfe0c15d33244539696cd9119cf44d18; >= d4dd19ec1ea0cf6532d65709325c42b1398614a8, < 3ba0ae885215b325605ff7ebf6de12ac2adf204d; >= d4dd19ec1ea0cf6532d65709325c42b1398614a8, < 298b1e4182d657c3e388adcc29477904e9600ed5
  • Anyone running Linux 5.17

Vulnerability facts

Affected
Linux >= d4dd19ec1ea0cf6532d65709325c42b1398614a8, < 5f04969136db674f133781626e0b692c5f2bf2f0; >= d4dd19ec1ea0cf6532d65709325c42b1398614a8, < f44a25a8bfe0c15d33244539696cd9119cf44d18; >= d4dd19ec1ea0cf6532d65709325c42b1398614a8, < 3ba0ae885215b325605ff7ebf6de12ac2adf204d; >= d4dd19ec1ea0cf6532d65709325c42b1398614a8, < 298b1e4182d657c3e388adcc29477904e9600ed5; Linux 5.17
Fixed in
Linux 5f04969136db674f133781626e0b692c5f2bf2f0, Linux 3ba0ae885215b325605ff7ebf6de12ac2adf204d, Linux 298b1e4182d657c3e388adcc29477904e9600ed5
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
5.5 (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Local
  • Attack complexity: Low
  • Privileges required: Low
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: None
  • Integrity impact: None
  • Availability impact: High
EPSS
0.30% chance of exploitation in 30 days (percentile 16, 2026-11-26)
CWE
CWE-476
Published
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: f2fs: fix to truncate preallocated blocks in f2fs_file_open() chenyuwen reports a f2fs bug as below: Unable to handle kernel NULL pointer dereference at virtual address 0000000000000011 fscrypt_set_bio_crypt_ctx+0x78/0x1e8 f2fs_grab_read_bio+0x78/0x208 f2fs_submit_page_read+0x44/0x154 f2fs_get_read_data_page+0x288/0x5f4 f2fs_get_lock_data_page+0x60/0x190 truncate_partial_data_page+0x108/0x4fc f2fs_do_truncate_blocks+0x344/0x5f0 f2fs_truncate_blocks+0x6c/0x134 f2fs_truncate+0xd8/0x200 f2fs_iget+0x20c/0x5ac do_garbage_collect+0x5d0/0xf6c f2fs_gc+0x22c/0x6a4 f2fs_disable_checkpoint+0xc8/0x310 f2fs_fill_super+0x14bc/0x1764 mount_bdev+0x1b4/0x21c f2fs_mount+0x20/0x30 legacy_get_tree+0x50/0xbc vfs_get_tree+0x5c/0x1b0 do_new_mount+0x298/0x4cc path_mount+0x33c/0x5fc __arm64_sys_mount+0xcc/0x15c invoke_syscall+0x60/0x150 el0_svc_common+0xb8/0xf8 do_el0_svc+0x28/0xa0 el0_svc+0x24/0x84 el0t_64_sync_handler+0x88/0xec It is because inode.i_crypt_info is not initialized during below path: - mount - f2fs_fill_super - f2fs_disable_checkpoint - f2fs_gc - f2fs_iget - f2fs_truncate So, let's relocate truncation of preallocated blocks to f2fs_file_open(), after fscrypt_file_open().

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= d4dd19ec1ea0cf6532d65709325c42b1398614a8, < 5f04969136db674f133781626e0b692c5f2bf2f0; >= d4dd19ec1ea0cf6532d65709325c42b1398614a8, < f44a25a8bfe0c15d33244539696cd9119cf44d18; >= d4dd19ec1ea0cf6532d65709325c42b1398614a8, < 3ba0ae885215b325605ff7ebf6de12ac2adf204d; >= d4dd19ec1ea0cf6532d65709325c42b1398614a8, < 298b1e4182d657c3e388adcc29477904e9600ed5—cvelist
Linux5.17—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2024-43859. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-43859.md
Affected: Linux >= d4dd19ec1ea0cf6532d65709325c42b1398614a8, < 5f04969136db674f133781626e0b692c5f2bf2f0; >= d4dd19ec1ea0cf6532d65709325c42b1398614a8, < f44a25a8bfe0c15d33244539696cd9119cf44d18; >= d4dd19ec1ea0cf6532d65709325c42b1398614a8, < 3ba0ae885215b325605ff7ebf6de12ac2adf204d; >= d4dd19ec1ea0cf6532d6570…
Fixed in: Linux 5f04969136db674f133781626e0b692c5f2bf2f0, Linux 3ba0ae885215b325605ff7ebf6de12ac2adf204d, Linux 298b1e4182d657c3e388adcc29477904e9600ed5

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2024-43859 being exploited?

There is no confirmed exploitation: CVE-2024-43859 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.30% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2024-43859?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

Which versions are affected by CVE-2024-43859?

Linux >= d4dd19ec1ea0cf6532d65709325c42b1398614a8, < 5f04969136db674f133781626e0b692c5f2bf2f0; >= d4dd19ec1ea0cf6532d65709325c42b1398614a8, < f44a25a8bfe0c15d33244539696cd9119cf44d18; >= d4dd19ec1ea0cf6532d65709325c42b1398614a8, < 3ba0ae885215b325605ff7ebf6de12ac2adf204d; >= d4dd19ec1ea0cf6532d65709325c42b1398614a8, < 298b1e4182d657c3e388adcc29477904e9600ed5; Linux 5.17.

Is there a fix for CVE-2024-43859?

Yes. Fixed in Linux 5f04969136db674f133781626e0b692c5f2bf2f0, Linux 3ba0ae885215b325605ff7ebf6de12ac2adf204d, Linux 298b1e4182d657c3e388adcc29477904e9600ed5. Upgrade Linux to 298b1e4182d657c3e388adcc29477904e9600ed5 or later.

How do I check if I'm affected by CVE-2024-43859?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors