Skip to content
CVE PROGRAM SOURCE RECORD7.1 High

CVE-2022-50306

ext4: fix potential out of bound read in ext4_fc_replay_scan()

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

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 8016e29f4362e285f0f7e38fadc61a5b7bdfdfa2 to < 6969367c1500c15eddc38fda12f6d15518ad6d03affected
  • 8016e29f4362e285f0f7e38fadc61a5b7bdfdfa2 to < f234294812c9b68d603650d28743eafb718e7ad5affected
  • 8016e29f4362e285f0f7e38fadc61a5b7bdfdfa2 to < 1b45cc5c7b920fd8bf72e5a888ec7abeadf41e09affected

Linux Linux

Default version status: affected

  • 5.10affected
  • 0 to < 5.10unaffected
  • 5.15.87 to ≤ 5.15.*unaffected
  • 6.0.6 to ≤ 6.0.*unaffected
  • 6.1 to ≤ *unaffected

References