CVE-2022-49255
Linux Debian vulnerability analysis and mitigation

Overview

In the Linux kernel, a vulnerability was discovered in the F2FS (Flash-Friendly File System) component. The issue involves a missing free node ID (nid) in the f2fshandlefailed_inode function, which was identified through xfstests/generic/475 failure. The vulnerability was assigned CVE-2022-49255 and has been resolved through a patch that fixes the issue (Kernel Git).

Technical details

The vulnerability occurs when f2fsgetnodeinfo() fails and the node ID is not properly freed. This leads to a kernel BUG at fs/f2fs/node.c:3334 with an invalid opcode, causing system crashes. The issue manifests with Buffer I/O errors and results in orphaned inodes. The error trace shows the crash occurring in f2fsdestroynodemanager during unmount operations (Kernel Git).

Impact

When triggered, the vulnerability can cause system crashes during unmount operations and may result in orphaned inodes, requiring filesystem checks (fsck) to repair. The issue can lead to filesystem inconsistency and potential data integrity problems (Kernel Git).

Mitigation and workarounds

The issue has been fixed by adding setinodeflag(inode, FIFREENID) when f2fsgetnode_info() fails. The patch ensures proper cleanup of node IDs in error conditions. Users should update to a patched version of the Linux kernel that includes this fix (Kernel Git).

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-2025-61729HIGH7.5
  • DockerDocker
  • golang-1.19
NoYesDec 02, 2025
CVE-2025-64460HIGH7.5
  • Linux DebianLinux Debian
  • python-django
NoYesDec 02, 2025
CVE-2025-65187MEDIUM6.1
  • Linux DebianLinux Debian
  • civicrm
NoNoDec 02, 2025
CVE-2025-65105MEDIUM4.5
  • Linux DebianLinux Debian
  • github.com/apptainer/apptainer
NoYesDec 02, 2025
CVE-2025-13372MEDIUM4.3
  • Linux DebianLinux Debian
  • py3-django
NoYesDec 02, 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