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 for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <d03be22a-ff9f-cc1e-7739-7c455c6d9345@huaweicloud.com>
Date: Fri, 20 Jun 2025 09:10:59 +0800
From: Yu Kuai <yukuai1@...weicloud.com>
To: John Garry <john.g.garry@...cle.com>, Yu Kuai <yukuai1@...weicloud.com>,
 tglx@...utronix.de, akpm@...ux-foundation.org, ming.lei@...hat.com,
 axboe@...nel.dk
Cc: linux-kernel@...r.kernel.org, yi.zhang@...wei.com, yangerkun@...wei.com,
 johnny.chenyi@...wei.com, "yukuai (C)" <yukuai3@...wei.com>
Subject: Re: [PATCH v2] lib/group_cpus: fix NULL pointer dereference from
 group_cpus_evenly()

Hi,

在 2025/06/19 22:08, John Garry 写道:
> There's a non-SMP version of group_cpus_evenly() at the bottom of 
> lib/group_cpus.c
> 
> It also does a kcalloc(numgrps, ...)
> 
> Does that need to be fixed as well?

Yes, you're right. Just run the test with SMP disabled, and the problem
can be reporduced as well.

Thanks,
Kuai


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ