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]
Date:   Thu,  1 Jun 2023 09:58:11 -0700
From:   Kees Cook <keescook@...omium.org>
To:     keescook@...omium.org, hca@...ux.ibm.com
Cc:     svens@...ux.ibm.com, gustavoars@...nel.org, agordeev@...ux.ibm.com,
        linux@...mhuis.info, gor@...ux.ibm.com, borntraeger@...ux.ibm.com,
        linux-s390@...r.kernel.org, nathan@...nel.org,
        linux-hardening@...r.kernel.org, masahiroy@...nel.org,
        lkft@...aro.org, joanbrugueram@...il.com,
        linux-kernel@...r.kernel.org
Subject: Re: [PATCH] s390/purgatory: Do not use fortified string functions

On Tue, 30 May 2023 17:34:15 -0700, Kees Cook wrote:
> With the addition of -fstrict-flex-arrays=3, struct sha256_state's
> trailing array is no longer ignored by CONFIG_FORTIFY_SOURCE:
> 
> struct sha256_state {
>         u32 state[SHA256_DIGEST_SIZE / 4];
>         u64 count;
>         u8 buf[SHA256_BLOCK_SIZE];
> };
> 
> [...]

Applied to for-next/hardening, thanks!

[1/1] s390/purgatory: Do not use fortified string functions
      https://git.kernel.org/kees/c/d11f44513655

-- 
Kees Cook

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ