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: <CANn89iL_UVfFXiYGv4GDdtYOZeNDVEgYpRfKHxYDuvNYJU-XUg@mail.gmail.com>
Date: Fri, 26 Sep 2025 01:41:12 -0700
From: Eric Dumazet <edumazet@...gle.com>
To: Zqiang <qiang.zhang@...ux.dev>
Cc: jlayton@...nel.org, akpm@...ux-foundation.org, 
	linux-kernel@...r.kernel.org
Subject: Re: [PATCH] ref_tracker: Handling kmalloc() allocation failure in __ref_tracker_dir_pr_ostream()

On Fri, Sep 26, 2025 at 1:35 AM Zqiang <qiang.zhang@...ux.dev> wrote:
>
> The kmalloc() maybe fail to allocate, causing sbuf to be null. this
> commit therefore free stats memory and exit function when the sbuf
> is null.
>
> Signed-off-by: Zqiang <qiang.zhang@...ux.dev>

I think you forgot a Fixes: tag ?

Anyway, current code handles this case just fine, so your patch would
reduce the output of useful debug information.

Thank you.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ