kernel: properly handle paging errors in fit partition parser
authorDaniel Golle <daniel@makrotopia.org>
Fri, 27 Aug 2021 20:30:32 +0000 (21:30 +0100)
committerDaniel Golle <daniel@makrotopia.org>
Fri, 27 Aug 2021 20:32:43 +0000 (21:32 +0100)
commitcf40141b515d518ff166afb85e898904ab2ae57a
tree03a0fa9ca3fd2e0a215a127b266b9fd0f6927077
parent97e32e9702be7c7fab97d024ee336886e9faa0c7
kernel: properly handle paging errors in fit partition parser

The uImage.FIT partition uses page mapping without properly handling
paging errors. This can lead to Kernel Oops in case of read errors
while trying to parse uImage.FIT partitions.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
target/linux/generic/files/block/partitions/fit.c