mirror of
https://github.com/torvalds/linux.git
synced 2026-12-04 12:24:18 +00:00
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" <[email protected]> Signed-off-by: Mike Rapoport (Microsoft) <[email protected]> Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Link: https://lkml.kernel.org/r/[email protected]