
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 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).
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).
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 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).
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."