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: c287c072 ("module: switch to execmem API for remapping as RW and restoring ROX") Fixes: 64f6a4e1 ("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
Loading
Please register or sign in to comment