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: <20250706211855.GBaGroP2vqE-5_Ar86@fat_crate.local>
Date: Sun, 6 Jul 2025 23:18:55 +0200
From: Borislav Petkov <bp@...en8.de>
To: Thorsten Blum <thorsten.blum@...ux.dev>
Cc: Thomas Gleixner <tglx@...utronix.de>, Ingo Molnar <mingo@...hat.com>,
	Dave Hansen <dave.hansen@...ux.intel.com>, x86@...nel.org,
	"H. Peter Anvin" <hpa@...or.com>,
	Tom Lendacky <thomas.lendacky@....com>,
	Nikunj A Dadhania <nikunj@....com>,
	Ard Biesheuvel <ardb@...nel.org>,
	Alexey Kardashevskiy <aik@....com>,
	Ashish Kalra <ashish.kalra@....com>,
	kernel test robot <lkp@...el.com>, Ingo Molnar <mingo@...nel.org>,
	linux-kernel@...r.kernel.org
Subject: Re: [PATCH] x86/sev: Replace memset(0) and kfree() with
 kfree_sensitive()

On Sun, Jul 06, 2025 at 11:28:44AM +0200, Thorsten Blum wrote:
> Replace memset(0) followed by kfree() with kfree_sensitive() to improve
> snp_msg_free()

Improve how?

> and silence the following Coccinelle/coccicheck warning
> reported by kfree_sensitive.cocci:

We don't do patches just to silence tools.

-- 
Regards/Gruss,
    Boris.

https://people.kernel.org/tglx/notes-about-netiquette

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ