This series addresses several issues related to module loading error
handling, particularly around force loading and signature verification.
The most critical fix is in patch 1, which resolves a bug where signed
modules were incorrectly rejected when loaded with the -f flag (force
load).
The others improve the user experience when troubleshooting
module loading issues while maintaining the security guarantees of
module signing.
Jinchao Wang (5):
module: Fix module_sig_check() for modules with ignored modversions/vermagic
module: signing: Use pr_err for signature rejection
module: show why force load fails
module: centralize no-versions force load check
module: separate vermagic and livepatch checks
kernel/module/main.c | 13 +++++++------
kernel/module/signing.c | 15 +++++----------
kernel/module/version.c | 9 +++++----
3 files changed, 17 insertions(+), 20 deletions(-)
--
2.43.0