{"id":"CVE-2022-50306","summary":"ext4: fix potential out of bound read in ext4_fc_replay_scan()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\next4: fix potential out of bound read in ext4_fc_replay_scan()\n\nFor scan loop must ensure that at least EXT4_FC_TAG_BASE_LEN space. If remain\nspace less than EXT4_FC_TAG_BASE_LEN which will lead to out of bound read\nwhen mounting corrupt file system image.\nADD_RANGE/HEAD/TAIL is needed to add extra check when do journal scan, as this\nthree tags will read data during scan, tag length couldn't less than data length\nwhich will read.","modified":"2026-04-02T08:28:24.511313Z","published":"2025-09-15T14:46:01.672Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50306.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/1b45cc5c7b920fd8bf72e5a888ec7abeadf41e09"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6969367c1500c15eddc38fda12f6d15518ad6d03"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f234294812c9b68d603650d28743eafb718e7ad5"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50306.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50306"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"8016e29f4362e285f0f7e38fadc61a5b7bdfdfa2"},{"fixed":"6969367c1500c15eddc38fda12f6d15518ad6d03"},{"fixed":"f234294812c9b68d603650d28743eafb718e7ad5"},{"fixed":"1b45cc5c7b920fd8bf72e5a888ec7abeadf41e09"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50306.json"}}],"schema_version":"1.7.5"}