ext4: Filter Out EXT4_FC_REPLAY from on-disk Superblock Field s_state
Summary
GSD-2022-1002934: ext4: filter out EXT4_FC_REPLAY from on-disk superblock field s_state. Affects Kernel versions < af2f1932743fb52ebcb008ad7ac500d9df0aa796. 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 the default file system for many Linux distributions. The ext4 file system offers improved performance, scalability, and reliability compared to its predecessor, ext3. However, a vulnerability has been discovered in the ext4 package that could potentially be exploited by attackers.
Vulnerability Detail
The vulnerability in the ext4 package involves the on-disk superblock field s_state. Specifically, the vulnerability allows the presence of the EXT4_FC_REPLAY flag in the s_state field, which should be filtered out. This flag is related to file system consistency and should not be present in the on-disk superblock. The impact and attack plausibility of this vulnerability have not been proven yet, but it has the potential to affect the integrity and reliability of the ext4 file system.
How To Fix
No fixed version is published for this vulnerability.
To fix this vulnerability, it is recommended to update the Linux Kernel to version v5.17.14 or later. The fix for this vulnerability was implemented in commit af2f1932743fb52ebcb008ad7ac500d9df0aa796. Updating the kernel to the fixed version will ensure that the EXT4_FC_REPLAY flag is properly filtered out from the on-disk superblock field s_state.
Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →
Workaround
There is no known workaround for this vulnerability. It is essential to update the Linux Kernel to the fixed version to mitigate the risk of exploitation.
Conclusion
The ext4 package is vulnerable to a potential exploitation involving the on-disk superblock field s_state. To mitigate this vulnerability, it is crucial to update the Linux Kernel to version v5.17.14 or later. 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, providing support for the ext4 file system.
The s_state field in the ext4 on-disk superblock represents the state of the file system, including flags indicating various conditions.
The EXT4_FC_REPLAY flag is related to file system consistency and should not be present in the on-disk superblock. Its presence indicates a potential vulnerability.
The presence of the EXT4_FC_REPLAY flag in the on-disk superblock s_state field could impact the integrity and reliability of the ext4 file system.
To fix this vulnerability, update the Linux Kernel to version v5.17.14 or later, which includes the necessary fix for filtering out the EXT4_FC_REPLAY flag.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.
Follow Vulert in Google
Get more Vulert vulnerability and dependency-security updates in Google Search and AI results.