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-next>] [day] [month] [year] [list]
Message-ID: <20231018102952.3339837-1-liushixin2@huawei.com>
Date:   Wed, 18 Oct 2023 18:29:45 +0800
From:   Liu Shixin <liushixin2@...wei.com>
To:     Catalin Marinas <catalin.marinas@....com>,
        Patrick Wang <patrick.wang.shcn@...il.com>,
        Andrew Morton <akpm@...ux-foundation.org>,
        Kefeng Wang <wangkefeng.wang@...wei.com>
CC:     <linux-mm@...ck.org>, <linux-kernel@...r.kernel.org>,
        Liu Shixin <liushixin2@...wei.com>
Subject: [PATCH v3 0/7] Some bugfix about kmemleak

Some bugfix about kmemleak and the print info of debug mode.

v2->v3: Split __create_object into two function[4] and use kmemleak_lock to
	fix partially freeing unknown object warning[7]. And add a new patch
	to fix an inccorrect use of kmem_cache_free[5].
v1->v2: Split the first patch suggested by Andrew. And fix the format of
	the last two patches suggested by Catalin. Use mutex in patch[3]
	because there are memory allocation with flag GFP_KERNEL.

Liu Shixin (7):
  bootmem: use kmemleak_free_part_phys in put_page_bootmem
  bootmem: use kmemleak_free_part_phys in free_bootmem_page
  mm/kmemleak: fix print format of pointer in pr_debug()
  mm: kmemleak: split __create_object into two functions
  mm: kmemleak: use mem_pool_free() to free object
  mm: kmemleak: add __find_and_remove_object()
  mm/kmemleak: fix partially freeing unknown object warning

 include/linux/bootmem_info.h |   2 +-
 mm/bootmem_info.c            |   2 +-
 mm/kmemleak.c                | 154 +++++++++++++++++++++++------------
 3 files changed, 106 insertions(+), 52 deletions(-)

-- 
2.25.1

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ