
Cloud Vulnerability DB
A community-led vulnerabilities database
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 f2fs_handle_failed_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).
The vulnerability occurs when f2fs_get_node_info() 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 f2fs_destroy_node_manager during unmount operations (Kernel Git).
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).
The vulnerability is triggered through normal filesystem operations, specifically during unmount operations when certain error conditions occur. It requires local access to a system using the F2FS filesystem (Kernel Git).
The issue has been fixed by adding set_inode_flag(inode, FI_FREE_NID) when f2fs_get_node_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).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."