CVE-2025-39731
Linux Debian vulnerability analysis and mitigation

Overview

CVE-2025-39731 is a vulnerability discovered in the Linux kernel's F2FS (Flash-Friendly File System) implementation, specifically related to the vm_unmap_ram() function being called from an invalid context. The vulnerability was disclosed on September 7, 2025, and affects various Linux distributions and systems using the F2FS filesystem (NVD, Ubuntu).

Technical details

The vulnerability occurs when f2fs_release_decomp_mem() calls vm_unmap_ram() from an invalid context during F2FS operations with UFS backed virtual disks. The issue manifests as a sleeping function being called from an invalid context at mm/vmalloc.c:2978, with specific conditions including in_atomic(): 1, irqs_disabled(): 1, and non_block: 0. The vulnerability has been assigned a CVSS v3 base score of 5.5, indicating moderate severity (NVD).

Impact

The vulnerability can lead to system instability and potential crashes when F2FS filesystem operations are performed under specific conditions. This particularly affects systems using UFS backed virtual disks with F2FS, where the improper context handling can trigger kernel warnings and potentially compromise system stability (NVD).

Mitigation and workarounds

A patch has been developed that modifies the in_task() check inside f2fs_read_end_io() to also verify if interrupts are disabled. This ensures that pages are unmapped asynchronously in an interrupt handler. The fix has been incorporated into various Linux distributions, with Ubuntu marking it as affecting their newer releases (25.04 and 24.04 LTS) while older versions are not affected (Ubuntu).

Additional resources


SourceThis report was generated using AI

Related Linux Debian vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-22857MEDIUM6.8
  • Linux DebianLinux Debian
  • freerdp-plugins
NoNoJan 14, 2026
CVE-2026-22856MEDIUM6.8
  • Linux DebianLinux Debian
  • freerdp2
NoNoJan 14, 2026
CVE-2026-22859MEDIUM5.6
  • Linux DebianLinux Debian
  • freerdp3
NoNoJan 14, 2026
CVE-2026-22858MEDIUM5.6
  • Linux DebianLinux Debian
  • freerdp3
NoNoJan 14, 2026
CVE-2026-22036LOW3.7
  • JavaScriptJavaScript
  • node-undici
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