diff options
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2022-01-14 03:51:52 +0300 |
---|---|---|
committer | Luis Chamberlain <mcgrof@kernel.org> | 2022-01-14 20:40:49 +0300 |
commit | a97ac8cb24a3c3ad74794adb83717ef1605d1b47 (patch) | |
tree | c90c1d09d830a5849bf79ee64ba9803b39841f43 /MAINTAINERS | |
parent | 285ac8dca4df48e9a29fcc1c7f27602e1299a819 (diff) | |
download | linux-a97ac8cb24a3c3ad74794adb83717ef1605d1b47.tar.xz |
module: fix signature check failures when using in-kernel decompression
The new flag MODULE_INIT_COMPRESSED_FILE unintentionally trips check in
module_sig_check(). The check was supposed to catch case when version
info or magic was removed from a signed module, making signature
invalid, but it was coded too broadly and was catching this new flag as
well.
Change the check to only test the 2 particular flags affecting signature
validity.
Fixes: b1ae6dc41eaa ("module: add in-kernel support for decompressing")
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Reviewed-by: Douglas Anderson <dianders@chromium.org>
Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>
Diffstat (limited to 'MAINTAINERS')
0 files changed, 0 insertions, 0 deletions