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: <CAHC9VhSyupEj_WfD=6tFUkujqBrNS86_TVFLpb+Um=5hc2C-8w@mail.gmail.com>
Date: Fri, 23 Feb 2024 14:11:22 -0500
From: Paul Moore <paul@...l-moore.com>
To: Kees Cook <keescook@...omium.org>
Cc: Masahiro Yamada <masahiroy@...nel.org>, Lu Yao <yaolu@...inos.cn>, 
	"Gustavo A . R . Silva" <gustavoars@...nel.org>, Nathan Chancellor <nathan@...nel.org>, 
	Christophe Leroy <christophe.leroy@...roup.eu>, Johannes Weiner <hannes@...xchg.org>, 
	Andrew Morton <akpm@...ux-foundation.org>, Randy Dunlap <rdunlap@...radead.org>, 
	Petr Mladek <pmladek@...e.com>, Suren Baghdasaryan <surenb@...gle.com>, 
	Marc Aurèle La France <tsi@...oix.net>, 
	Greg Kroah-Hartman <gregkh@...uxfoundation.org>, Ard Biesheuvel <ardb@...nel.org>, 
	Nhat Pham <nphamcs@...il.com>, linux-kernel@...r.kernel.org, 
	linux-hardening@...r.kernel.org
Subject: Re: [PATCH] init/Kconfig: Lower GCC version check for -Warray-bounds

On Fri, Feb 23, 2024 at 12:08 PM Kees Cook <keescook@...omium.org> wrote:
>
> We continue to see false positives from -Warray-bounds even in GCC 10,
> which is getting reported in a few places[1] still:
>
> security/security.c:811:2: warning: ‘memcpy’ offset 32 is out of the bounds [0, 0] [-Warray-bounds]
>
> Lower the GCC version check from 11 to 10.
>
> Reported-by: Lu Yao <yaolu@...inos.cn>
> Closes: https://lore.kernel.org/lkml/20240117014541.8887-1-yaolu@kylinos.cn/
> Link: https://lore.kernel.org/linux-next/65d84438.620a0220.7d171.81a7@mx.google.com [1]
> Signed-off-by: Kees Cook <keescook@...omium.org>
> ---
> Cc: Masahiro Yamada <masahiroy@...nel.org>
> Cc: Paul Moore <paul@...l-moore.com>
> Cc: Gustavo A. R. Silva <gustavoars@...nel.org>
> Cc: Nathan Chancellor <nathan@...nel.org>
> Cc: Christophe Leroy <christophe.leroy@...roup.eu>
> Cc: Johannes Weiner <hannes@...xchg.org>
> ---
>  init/Kconfig | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)

Thanks Kees.

Reviewed-by: Paul Moore <paul@...l-moore.com>

-- 
paul-moore.com

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ