CVE-2023-2898
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2023-2898 is a null-pointer-dereference vulnerability discovered in the Linux kernel's f2fswriteend_io function located in fs/f2fs/data.c. The vulnerability was disclosed in May 2023 and affects various Linux kernel versions. This security flaw allows a local privileged user to cause a denial of service condition through improper handling of f2fs filesystem operations (NVD, CVE).

Technical details

The vulnerability stems from missing sanitization in the f2fs file system's writeendio function. The issue occurs when a thread calls F2FSIOCRESIZEFS to resize the filesystem, and if the resize operation fails, the f2fs kernel thread invokes a callback function to update f2fs io info, potentially triggering a null-pointer dereference in NODEMAPPING. The vulnerability has been assigned a CVSS v3.1 base score of 4.7 (Medium) with the vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H (Kernel Patch, NVD).

Impact

When successfully exploited, this vulnerability can lead to a denial of service condition through system crashes. The impact is limited to local systems where an attacker has privileged access and can interact with the f2fs filesystem. The vulnerability specifically affects systems with mounted f2fs filesystems (Debian Advisory, NetApp Advisory).

Mitigation and workarounds

The vulnerability has been patched in various Linux distributions. Debian has fixed the issue in version 5.10.191-1 for the oldstable distribution (bullseye) and version 6.1.52-1 for the stable distribution (bookworm). Ubuntu has also released fixes for affected versions, including 6.2.0-32.32 for 23.04 (lunar) and 5.15.0-83.92 for 22.04 LTS (jammy) (Debian Advisory, Debian Advisory).

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-40344N/AN/A
  • Linux KernelLinux Kernel
  • kernel-debug-modules-internal
NoYesDec 09, 2025
CVE-2025-40343N/AN/A
  • Linux KernelLinux Kernel
  • kernel-64k-debug-devel
NoYesDec 09, 2025
CVE-2025-40342N/AN/A
  • Linux KernelLinux Kernel
  • kernel-64k-debug-devel-matched
NoYesDec 09, 2025
CVE-2025-40341N/AN/A
  • Linux KernelLinux Kernel
  • kernel-rt-64k-debug-modules-extra
NoYesDec 09, 2025
CVE-2025-40340N/AN/A
  • Linux KernelLinux Kernel
  • kernel-rt-64k-debug-kvm
NoYesDec 09, 2025

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