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] [day] [month] [year] [list]
Message-Id: <20240619162910.106034-1-sj@kernel.org>
Date: Wed, 19 Jun 2024 09:29:10 -0700
From: SeongJae Park <sj@...nel.org>
To: Xiu Jianfeng <xiujianfeng@...wei.com>
Cc: SeongJae Park <sj@...nel.org>,
	tj@...nel.org,
	lizefan.x@...edance.com,
	hannes@...xchg.org,
	akpm@...ux-foundation.org,
	cgroups@...r.kernel.org,
	linux-kernel@...r.kernel.org,
	linux-mm@...ck.org,
	m.szyprowski@...sung.com
Subject: Re: [PATCH v3 -next] mm/hugetlb_cgroup: register lockdep key for cftype

On Wed, 19 Jun 2024 01:55:27 +0000 Xiu Jianfeng <xiujianfeng@...wei.com> wrote:

> When CONFIG_DEBUG_LOCK_ALLOC is enabled, the following commands can
> trigger a bug,
> 
> mount -t cgroup2 none /sys/fs/cgroup
> cd /sys/fs/cgroup
> echo "+hugetlb" > cgroup.subtree_control

[...]
> 
> Fixes: e18df2889ff9 ("mm/hugetlb_cgroup: prepare cftypes based on template")
> Reported-by: kernel test robot <oliver.sang@...el.com>
> Closes: https://lore.kernel.org/oe-lkp/202406181046.8d8b2492-oliver.sang@intel.com
> Signed-off-by: Xiu Jianfeng <xiujianfeng@...wei.com>
> 
> ---
> v3: remove #ifdef CONFIG_DEBUG_LOCK_ALLOC in struct cftype

I confirmed the issue is fixed.

Tested-by: SeongJae Park <sj@...nel.org>
Closes: https://lore.kernel.org/20240618233608.400367-1-sj@kernel.org

[...]

Thanks,
SJ

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ