What’s Vulnerable › Vulnerabilities
CVE-2022-50306: ext4: fix potential out of bound read in ext4_fc_replay_scan()
- Severity: high (CVSS 7.1 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-09-15 · updated 2026-08-04
- Weakness: CWE-125
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.
Affected products
- Linux kernel: before 5.15.87; from 5.16 before 6.0.6 — fixed in 5.15.87, 6.0.6
How to fix
Upgrade to a fixed version: Linux kernel 5.15.87, 6.0.6. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/1b45cc5c7b920fd8bf72e5a888ec7abeadf41e09
- https://git.kernel.org/stable/c/6969367c1500c15eddc38fda12f6d15518ad6d03
- https://git.kernel.org/stable/c/f234294812c9b68d603650d28743eafb718e7ad5
Get alerted when CVE-2022-50306 or the next vulnerability affects your stack