On Fri, Sep 06, 2024 at 04:38:56PM +0100, Vincent Donnefort wrote:
> commit ac3b43283923 ("module: replace module_layout with module_memory")
> introduced a set of memory regions for the module layout sharing the
> same attributes but didn't update the kmemleak scanned areas which
> intended to limit kmemleak scan to sections containing writable data.
> This means sections such as .text and .rodata are scanned by kmemleak.
> 
> Refine the scanned areas for modules by limiting it to MOD_TEXT and
> MOD_INIT_TEXT mod_mem regions.
> 
> CC: Song Liu <s...@kernel.org>
> CC: Catalin Marinas <catalin.mari...@arm.com>
> Signed-off-by: Vincent Donnefort <vdonnef...@google.com>


Refine or fix? If a fix, please use a Fixes tag.

  Luis

Reply via email to