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] [thread-next>] [day] [month] [year] [list]
Message-ID: <CA+CK2bAyHHoUaT_4dTNK6AH2oyMMhs2sNhuW97hV4yRw7ie9Tg@mail.gmail.com>
Date: Thu, 22 Jan 2026 13:14:49 -0500
From: Pasha Tatashin <pasha.tatashin@...een.com>
To: Andrew Morton <akpm@...ux-foundation.org>
Cc: Dan Carpenter <dan.carpenter@...aro.org>, oe-kbuild@...ts.linux.dev, lkp@...el.com, 
	oe-kbuild-all@...ts.linux.dev, linux-kernel@...r.kernel.org, 
	Linux Memory Management List <linux-mm@...ck.org>, Jason Gunthorpe <jgg@...dia.com>, 
	"Mike Rapoport (Microsoft)" <rppt@...nel.org>
Subject: Re: kernel/liveupdate/kexec_handover.c:994 kho_preserve_vmalloc()
 warn: missing error code 'err'

> --- a/kernel/liveupdate/kexec_handover.c~a
> +++ a/kernel/liveupdate/kexec_handover.c
> @@ -1011,8 +1011,10 @@ int kho_preserve_vmalloc(void *ptr, stru
>                 chunk->phys[idx++] = phys;
>                 if (idx == ARRAY_SIZE(chunk->phys)) {
>                         chunk = new_vmalloc_chunk(chunk);
> -                       if (!chunk)
> +                       if (!chunk) {
> +                               err = -ENOMEM;
>                                 goto err_free;
> +                       }

Reviewed-by: Pasha Tatashin <pasha.tatashin@...een.com>

Thank you,
Pasha

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ