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: <Z5uye0c5JQ9tZ1f4@localhost.localdomain>
Date: Thu, 30 Jan 2025 18:10:19 +0100
From: Frederic Weisbecker <frederic@...nel.org>
To: Yu-Chun Lin <eleanor15x@...il.com>
Cc: akpm@...ux-foundation.org, vbabka@...e.cz, jserv@...s.ncku.edu.tw,
	visitorckw@...il.com, linux-kernel@...r.kernel.org,
	kernel test robot <lkp@...el.com>
Subject: Re: [PATCH] kthread: Fix return value on kzalloc() failure in
 kthread_affine_preferred()

Le Thu, Jan 30, 2025 at 10:48:49PM +0800, Yu-Chun Lin a écrit :
> kthread_affine_preferred() incorrectly returns 0 instead of -ENOMEM
> when kzalloc() fails. Return 'ret' to ensure the correct error code is
> propagated.
> 
> Fixes: 4d13f4304fa4 ("kthread: Implement preferred affinity")
> Reported-by: kernel test robot <lkp@...el.com>
> Closes: https://lore.kernel.org/oe-kbuild-all/202501301528.t0cZVbnq-lkp@intel.com/
> Signed-off-by: Yu-Chun Lin <eleanor15x@...il.com>

Queued. Thanks!

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ