ext4: Filter out EXT4_FC_REPLAY from on-disk superblock field s_state
Summary
GSD-2022-1002597: ext4: filter out EXT4_FC_REPLAY from on-disk superblock field s_state. Affects Kernel versions < 55b4dbb29054a05d839562f6d635ce05669b016d. No fix is published. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
The ext4 package is a file system driver for the Linux kernel. It provides support for the fourth extended file system (ext4), which is a widely used file system in Linux distributions. The ext4 file system offers features such as improved performance, scalability, and reliability compared to its predecessors. However, a vulnerability has been discovered in the ext4 package that affects the on-disk superblock field s_state.
Vulnerability Detail
The vulnerability in the ext4 package involves the failure to filter out the EXT4_FC_REPLAY flag from the on-disk superblock field s_state. This flag is used to indicate whether the file system is in the process of being replayed after a crash. By not properly filtering this flag, an attacker may be able to manipulate the file system state and potentially cause data corruption or other malicious actions. The impact and attack plausibility of this vulnerability have not yet been proven.
How To Fix
No fixed version is published for this vulnerability.
Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →
Conclusion
The ext4 package is vulnerable to a flaw that allows the EXT4_FC_REPLAY flag to remain in the on-disk superblock field s_state. This vulnerability can potentially lead to data corruption and unauthorized manipulation of the file system state. It is recommended to update the Linux Kernel to version v5.18.3 or later to mitigate this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The ext4 package is a file system driver for the Linux kernel that supports the ext4 file system.
The on-disk superblock field s_state is used to store various flags and information about the file system state.
The EXT4_FC_REPLAY flag is used to indicate whether the file system is in the process of being replayed after a crash.
The potential consequences of this vulnerability include data corruption and the ability for an attacker to manipulate the file system state.
To fix this vulnerability, update the Linux Kernel to version v5.18.3 or later.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.