--- zzzz-none-000/linux-4.9.279/fs/squashfs/xz_wrapper.c 2021-08-08 06:38:54.000000000 +0000 +++ puma7-arm-6591-750/linux-4.9.279/fs/squashfs/xz_wrapper.c 2023-02-08 10:58:16.000000000 +0000 @@ -68,7 +68,7 @@ goto out; } - opts->dict_size = le32_to_cpu(comp_opts->dictionary_size); + opts->dict_size = sqsh32_to_cpu(comp_opts->dictionary_size); /* the dictionary size should be 2^n or 2^n+2^(n+1) */ n = ffs(opts->dict_size) - 1;