Centos-kernel-stream-9/kernel/module
Richard Guy Briggs 826424db8c audit,module: restore audit logging in load failure case
JIRA: https://issues.redhat.com/browse/RHEL-52839

Upstream Status: audit/next, target v6.17-rc1

commit ae1ae11fb277f1335d6bcd4935ba0ea985af3c32
Author: Richard Guy Briggs <rgb@redhat.com>
Date:   Fri Jun 13 15:58:00 2025 -0400

    audit,module: restore audit logging in load failure case

    The move of the module sanity check to earlier skipped the audit logging
    call in the case of failure and to a place where the previously used
    context is unavailable.

    Add an audit logging call for the module loading failure case and get
    the module name when possible.

    Link: https://issues.redhat.com/browse/RHEL-52839
    Fixes: 02da2cbab452 ("module: move check_modinfo() early to early_mod_check()")
    Signed-off-by: Richard Guy Briggs <rgb@redhat.com>
    Reviewed-by: Petr Pavlu <petr.pavlu@suse.com>
    Signed-off-by: Paul Moore <paul@paul-moore.com>

Signed-off-by: Richard Guy Briggs <rgb@redhat.com>
2025-08-07 14:06:27 -04:00
..
Kconfig module: add debugging auto-load duplicate module support 2024-06-17 14:17:26 -04:00
Makefile module: add debugging auto-load duplicate module support 2024-06-17 14:17:26 -04:00
debug_kmemleak.c module: Move kmemleak support to a separate file 2024-06-17 14:17:13 -04:00
decompress.c module/decompress: use kvmalloc() consistently 2024-06-17 14:17:29 -04:00
dups.c module: Remove redundant TASK_UNINTERRUPTIBLE 2024-06-17 14:17:29 -04:00
internal.h kbuild: generate KSYMTAB entries by modpost 2024-06-17 14:17:28 -04:00
kallsyms.c modpost, kallsyms: Treat add '$'-prefixed symbols as mapping symbols 2024-06-17 14:17:28 -04:00
kdb.c module: replace module_layout with module_memory 2024-06-17 14:17:22 -04:00
kmod.c module: add debugging auto-load duplicate module support 2024-06-17 14:17:26 -04:00
livepatch.c module: Move livepatch support to a separate file 2024-06-17 14:17:12 -04:00
main.c audit,module: restore audit logging in load failure case 2025-08-07 14:06:27 -04:00
procfs.c module: replace module_layout with module_memory 2024-06-17 14:17:22 -04:00
signing.c Subject: revert of revert KEYS: Make use of platform keyring for module signature verify 2024-06-17 14:17:30 -04:00
stats.c module: Fix comment typo 2024-06-17 14:17:29 -04:00
strict_rwx.c module: replace module_layout with module_memory 2024-06-17 14:17:22 -04:00
sysfs.c module: Annotate struct module_notes_attrs with __counted_by 2024-06-17 14:17:29 -04:00
tracking.c module: add debug stats to help identify memory pressure 2024-06-17 14:17:25 -04:00
tree_lookup.c module: replace module_layout with module_memory 2024-06-17 14:17:22 -04:00
version.c kbuild: link symbol CRCs at final link, removing CONFIG_MODULE_REL_CRCS 2024-06-17 14:17:17 -04:00