CVE-2022-50306 Details
Description
In the Linux kernel, the following vulnerability has been resolved: ext4: fix potential out of bound read in ext4_fc_replay_scan() For scan loop must ensure that at least EXT4_FC_TAG_BASE_LEN space. If remain space less than EXT4_FC_TAG_BASE_LEN which will lead to out of bound read when mounting corrupt file system image. ADD_RANGE/HEAD/TAIL is needed to add extra check when do journal scan, as this three tags will read data during scan, tag length couldn't less than data length which will read.
A potential out-of-bounds read vulnerability has been identified in the Linux kernel's ext4 file system, specifically within the fast commit feature. This issue arises in versions of the Linux kernel prior to the latest stable release, when the scan loop in the fast commit replay process does not adequately verify that there is enough remaining space to safely read data. If the available space is less than the required length for certain tags, it can lead to out-of-bounds read errors when mounting a corrupted file system image. The vulnerability has been addressed by adding extra checks to ensure that tag lengths are valid before data is read during the journal scan process.
Users can upgrade to the latest version of the Linux kernel where this vulnerability has been fixed. Instructions for upgrading the Linux kernel can be found in the documentation for the specific Linux distribution in use.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/1b45cc5c7b920fd8bf72e5a888ec7abeadf41e09 | kernel.org | Patch |
| https://git.kernel.org/stable/c/6969367c1500c15eddc38fda12f6d15518ad6d03 | kernel.org | Patch |
| https://git.kernel.org/stable/c/f234294812c9b68d603650d28743eafb718e7ad5 | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-125 | Out-of-bounds Read | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | < 5.15.87 >= 5.16, < 6.0.6 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Aug 4, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | kernel.org |
| Dec 4, 2025 | Initial Analysis | [email protected] |
| Sep 15, 2025 | New CVE Received | kernel.org |