Files
linux/fs
Chao Yu eb116c891b f2fs: fix to do sanity check in is_alive()
commit 77900c45ee upstream.

In fuzzed image, SSA table may indicate that a data block belongs to
invalid node, which node ID is out-of-range (0, 1, 2 or max_nid), in
order to avoid migrating inconsistent data in such corrupted image,
let's do sanity check anyway before data block migration.

Cc: stable@vger.kernel.org
Signed-off-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-01-27 09:19:26 +01:00
..
2020-11-05 11:43:34 +01:00
2021-10-27 09:54:27 +02:00
2021-07-14 16:53:17 +02:00
2021-09-22 12:26:25 +02:00
2021-11-17 09:48:42 +01:00
2021-11-26 10:47:21 +01:00
2020-10-01 13:17:19 +02:00
2020-03-25 08:25:58 +01:00
2019-12-17 19:55:30 +01:00
2021-12-14 14:49:02 +01:00