CVE-2024-47680
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2024-47680 affects the Linux kernel's F2FS (Flash-Friendly File System) implementation. The vulnerability was discovered in the way F2FS handles discard operations for conventional zones on zoned block devices. The issue affects Linux kernel versions from 6.10 up to (excluding) 6.10.13 and from 6.11 up to (excluding) 6.11.2 (NVD).

Technical details

The vulnerability stems from F2FS's incorrect handling of discard operations. The helper function f2fs_bdev_support_discard() checks if block devices support discard by calling bdev_max_discard_sectors() and bdev_is_zoned(). While this works for most cases, it fails for conventional zones on zoned block devices. After commit 30f1e7241422, __blkdev_issue_discard() no longer checks if devices support discard operations, instead always returning zero and setting NULL to the bio pointer. This NULL pointer triggers f2fs_bug_on() in __submit_discard_cmd(). The vulnerability has been assigned a CVSS v3.1 base score of 5.5 MEDIUM (Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H) (NVD).

Impact

When exploited, this vulnerability can cause a denial of service (system crash) through a NULL pointer dereference when unmounting an F2FS filesystem on a zoned block device that has conventional zones not supporting discard operations (NVD).

Mitigation and workarounds

The vulnerability has been fixed in Linux kernel versions 6.10.13 and 6.11.2. The fix involves checking if the device supports discard operations for conventional zones before issuing discard commands, and returning EOPNOTSUPP if discard is not supported (Kernel Patch).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-71142N/AN/A
  • Linux KernelLinux Kernel
  • kernel-uki-virt-addons
NoNoJan 14, 2026
CVE-2025-71137N/AN/A
  • Linux KernelLinux Kernel
  • linux-azure-6.14
NoYesJan 14, 2026
CVE-2025-71135N/AN/A
  • Linux KernelLinux Kernel
  • kernel-debug-modules-internal
NoNoJan 14, 2026
CVE-2025-71134N/AN/A
  • Linux KernelLinux Kernel
  • kernel-64k-debug-modules-core
NoNoJan 14, 2026
CVE-2025-71133N/AN/A
  • Linux KernelLinux Kernel
  • linux-ibm-5.15
NoYesJan 14, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management