[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <167106277582.3571286.12639413013649335692.b4-ty@chromium.org>
Date: Wed, 14 Dec 2022 16:06:19 -0800
From: Kees Cook <keescook@...omium.org>
To: ndesaulniers@...gle.com, nathan@...nel.org
Cc: Kees Cook <keescook@...omium.org>, stable@...r.kernel.org,
trix@...hat.com, linux-kernel@...r.kernel.org,
linux-hardening@...r.kernel.org, patches@...ts.linux.dev,
llvm@...ts.linux.dev
Subject: Re: [PATCH] security: Restrict CONFIG_ZERO_CALL_USED_REGS to gcc or clang > 15.0.6
On Wed, 14 Dec 2022 16:26:03 -0700, Nathan Chancellor wrote:
> A bad bug in clang's implementation of -fzero-call-used-regs can result
> in NULL pointer dereferences (see the links above the check for more
> information). Restrict CONFIG_CC_HAS_ZERO_CALL_USED_REGS to either a
> supported GCC version or a clang newer than 15.0.6, which will catch
> both a theoretical 15.0.7 and the upcoming 16.0.0, which will both have
> the bug fixed.
>
> [...]
Applied to for-next/hardening, thanks! (And I'll send it for v6.2-rc1 too.)
[1/1] security: Restrict CONFIG_ZERO_CALL_USED_REGS to gcc or clang > 15.0.6
https://git.kernel.org/kees/c/d6a9fb87e9d1
--
Kees Cook
Powered by blists - more mailing lists