linux/kernel/module
Mike Rapoport (Microsoft) 675204778c module: don't annotate ROX memory as kmemleak_not_leak()
The ROX memory allocations are part of a larger vmalloc allocation and
annotating them with kmemleak_not_leak() confuses kmemleak.

Skip kmemleak_not_leak() annotations for the ROX areas.

Fixes: c287c07233 ("module: switch to execmem API for remapping as RW and restoring ROX")
Fixes: 64f6a4e10c ("x86: re-enable EXECMEM_ROX support")
Reported-by: "Borah, Chaitanya Kumar" <chaitanya.kumar.borah@intel.com>
Signed-off-by: Mike Rapoport (Microsoft) <rppt@kernel.org>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lkml.kernel.org/r/20250214084531.3299390-1-rppt@kernel.org
2025-02-14 10:32:02 +01:00
..
debug_kmemleak.c
decompress.c
dups.c
internal.h Kbuild updates for v6.14 2025-01-31 12:07:07 -08:00
kallsyms.c
Kconfig Kbuild updates for v6.14 2025-01-31 12:07:07 -08:00
kdb.c
kmod.c
livepatch.c
main.c module: don't annotate ROX memory as kmemleak_not_leak() 2025-02-14 10:32:02 +01:00
Makefile
procfs.c
signing.c
stats.c
strict_rwx.c module: switch to execmem API for remapping as RW and restoring ROX 2025-02-03 11:46:02 +01:00
sysfs.c Driver core and debugfs updates 2025-01-28 12:25:12 -08:00
tracking.c
tree_lookup.c
version.c