lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ZtuPrIhZfET7hLek@bombadil.infradead.org>
Date: Fri, 6 Sep 2024 16:26:36 -0700
From: Luis Chamberlain <mcgrof@...nel.org>
To: Vincent Donnefort <vdonnefort@...gle.com>
Cc: linux-modules@...r.kernel.org, linux-kernel@...r.kernel.org,
	kernel-team@...roid.com, Song Liu <song@...nel.org>,
	Catalin Marinas <catalin.marinas@....com>
Subject: Re: [PATCH] module: Refine kmemleak scanned areas

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 <song@...nel.org>
> CC: Catalin Marinas <catalin.marinas@....com>
> Signed-off-by: Vincent Donnefort <vdonnefort@...gle.com>


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

  Luis

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ