From: Christoph Hellwig <hch@xxxxxx> Subject: binfmt_flat: use flush_icache_user_range load_flat_file works on user addresses. Link: http://lkml.kernel.org/r/20200515143646.3857579-28-hch@xxxxxx Signed-off-by: Christoph Hellwig <hch@xxxxxx> Acked-by: Greg Ungerer <gerg@xxxxxxxxxxxxxx> Cc: Alexander Viro <viro@xxxxxxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- fs/binfmt_flat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/fs/binfmt_flat.c~binfmt_flat-use-flush_icache_user_range +++ a/fs/binfmt_flat.c @@ -854,7 +854,7 @@ static int load_flat_file(struct linux_b #endif /* CONFIG_BINFMT_FLAT_OLD */ } - flush_icache_range(start_code, end_code); + flush_icache_user_range(start_code, end_code); /* zero the BSS, BRK and stack areas */ if (clear_user((void __user *)(datapos + data_len), bss_len + _