CVE-2026-93285

f2fs: embed f2fs_gc_kthread in f2fs_sb_info

Published Sep 24, 2026 CVSS 3.1 · 5.5 Medium EPSS < 1% KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

f2fs: embed f2fs_gc_kthread in f2fs_sb_info

Instead of allocating f2fs_gc_kthread dynamically, embed it in
f2fs_sb_info. This simplifies lifetime management and prepares for
fixing race conditions during teardown.

- __sbi_store - remount|shutdown
- f2fs_stop_gc_thread
- access sbi->gc_thread
- sbi->gc_thread = NULL
- access sbi->gc_thread->f2fs_gc_task

Analysis

AI-generated

Technical impact

The Linux kernel’s f2fs filesystem previously created its garbage‑collector thread as a separate kernel object. This design allowed the GC thread to be freed while other parts of the filesystem could still reference it, leading to a NULL pointer dereference race condition (CWE‑476). During filesystem operations such as remount, unmount or shutdown the thread might be prematurely disposed of while still in use, which can cause a kernel crash or panic.

Affected Systems

All Linux kernel installations running the f2fs filesystem that were built before the embedding patch, which corresponds to any kernel version prior to the commit referenced at the provided Git URLs. The affected product is the Linux kernel as a whole, and the vulnerability applies to any kernel configuration that includes f2fs support.

Risk and Exploitability

The CVSS score for this vulnerability is 5.5, and the EPSS score is less than 1%. The vulnerability is not listed in CISA KEV. The likely attack vector requires local or escalated privileges to manipulate filesystem operations such as remounting or unmounting while garbage collection or background writes are active. Because no exploits have been reported, the precise likelihood of exploitation is uncertain; however, the potential outcome—a kernel crash and loss of availability—makes it a high‑prioritization concern for systems that rely on f2fs.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Linux kernel to a version that includes the f2fs_gc_kthread embedding patch, which eliminates the race condition by tying the GC thread’s lifetime to the superblock.
  • Avoid remounting, unmounting, or shutting down f2fs filesystems while garbage collection or background writes are active; follow kernel guidelines for clean filesystem teardown to prevent premature thread release.
  • Monitor kernel logs (e.g., dmesg, /var/log/kern.log) for f2fs‑related panics after the update; if crashes persist, investigate additional upstream patches or consider disabling f2fs on critical systems until a stable fix is available.

Generated by OpenCVE AI on October 1, 2026 at 21:10 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4850-1 linux-6.12 security update
Debian DLA Debian DLA DLA-4906-1 linux security update
Debian DSA Debian DSA DSA-6568-1 linux security update
Ubuntu USN Ubuntu USN USN-9019-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-9020-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9022-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9023-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9024-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9025-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9026-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-9039-1 Linux kernel (Azure CVM) vulnerabilities
Ubuntu USN Ubuntu USN USN-9040-1 Linux kernel (Low Latency NVIDIA) vulnerabilities
Ubuntu USN Ubuntu USN USN-9066-1 Linux kernel (HWE) vulnerabilities
Ubuntu USN Ubuntu USN USN-9091-1 Linux kernel (NVIDIA Tegra) vulnerabilities
Ubuntu USN Ubuntu USN USN-9160-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-9167-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9168-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9168-2 Linux kernel (FIPS) vulnerabilities
Ubuntu USN Ubuntu USN USN-9167-2 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9168-3 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9183-1 Linux kernel (FIPS) vulnerabilities
Ubuntu USN Ubuntu USN USN-9168-4 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-9167-3 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9192-1 Linux kernel (NVIDIA) vulnerabilities
History
Type Values Removed Values Added
Weaknesses CWE-362
CWE-416
Type Values Removed Values Added
Weaknesses CWE-476
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Moderate

Type Values Removed Values Added
Weaknesses CWE-362
CWE-416
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: f2fs: embed f2fs_gc_kthread in f2fs_sb_info Instead of allocating f2fs_gc_kthread dynamically, embed it in f2fs_sb_info. This simplifies lifetime management and prepares for fixing race conditions during teardown. - __sbi_store - remount|shutdown - f2fs_stop_gc_thread - access sbi->gc_thread - sbi->gc_thread = NULL - access sbi->gc_thread->f2fs_gc_task
Title f2fs: embed f2fs_gc_kthread in f2fs_sb_info
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Oct 30, 2026, 12:36 PM
Reserved
Sep 17, 2026, 4:02 PM
Status
Received
Published
Sep 24, 2026, 5:17 PM
Modified
Oct 30, 2026, 1:21 PM
Severity
Moderate
Public date
Sep 24, 2026, 12:00 AM