CVE-2022-50428
BaseFortify
Publication date: 2025-10-01
Last updated on: 2025-10-02
Assigner: kernel.org
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| linux | linux_kernel | From 5.15.160 (inc) to 5.16 (inc) |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-UNKNOWN |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability involves off-by-one errors in how the Linux kernel's ext4 filesystem fills fast-commit blocks with tlv (type-length-value) entries. Due to these errors, there are unusual constraints on where tlvs can be placed within a block, such as needing to start at least 10 bytes before the block's end and end at least 1 byte before the block's end. These constraints can cause the replay code to ignore or consider tlvs invalid, potentially leading to bugs like uninitialized memory being leaked to disk. The issue arises from inconsistencies in the code and design changes that were not fully implemented.
How can this vulnerability impact me? :
The impact of this vulnerability includes potential data integrity issues due to the improper handling of fast-commit blocks in the ext4 filesystem. Specifically, tlv entries may be ignored or considered invalid during replay, which could lead to unexpected behavior or data corruption. Additionally, there was a related bug where uninitialized memory could be leaked to disk, which might expose sensitive information. Also, older kernels will not be able to replay fast-commit journals created by kernels with the fix, potentially causing compatibility issues.
What immediate steps should I take to mitigate this vulnerability?
Update the Linux kernel to a version that includes the fix for the off-by-one errors in fast-commit block filling in ext4. This will ensure that the fast-commit journals are correctly handled and prevent issues related to invalid tlv entries and potential data corruption or leaks.