# CVE-2022-50306: ext4: fix potential out of bound read in ext4_fc_replay_scan()

- Severity: High 7.1 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.17%, higher than 6% of CVEs (2026-12-01)
- Published: 2025-09-15T14:46:01.672Z
- Modified: 2026-08-05T08:58:07.756Z
- Weaknesses: CWE-125
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 8016e29f4362e285f0f7e38fadc61a5b7bdfdfa2 before 6969367c1500c15eddc38fda12f6d15518ad6d03; from 8016e29f4362e285f0f7e38fadc61a5b7bdfdfa2 before f234294812c9b68d603650d28743eafb718e7ad5; from 8016e29f4362e285f0f7e38fadc61a5b7bdfdfa2 before 1b45cc5c7b920fd8bf72e5a888ec7abeadf41e09; 5.10 (not affected: before 5.10; from 5.15.87 up to 5.15.*; from 6.0.6 up to 6.0.*; from 6.1 up to *)
- linux linux_kernel: before 5.15.87; from 5.16 before 6.0.6

## Every score

- Linux: CVSS:3.1 7.1 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H`
- NVD: CVSS:3.1 7.1 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/6969367c1500c15eddc38fda12f6d15518ad6d03> (patch)
- <https://git.kernel.org/stable/c/f234294812c9b68d603650d28743eafb718e7ad5> (patch)
- <https://git.kernel.org/stable/c/1b45cc5c7b920fd8bf72e5a888ec7abeadf41e09> (patch)

## Sources

- CVE List: [CVE-2022-50306](https://www.cve.org/CVERecord?id=CVE-2022-50306), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2022-50306](https://nvd.nist.gov/vuln/detail/CVE-2022-50306), Public domain, modified 2026-08-04

---

Page: https://cve.day/CVE-2022-50306 · Whole record: https://cve.day/CVE-2022-50306.json · Rebuilt by cve.day 2026-11-25T22:58:21.157Z
