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: <175612830030.1493362.14216012036494775840.b4-ty@kernel.org>
Date: Mon, 25 Aug 2025 06:25:01 -0700
From: Kees Cook <kees@...nel.org>
To: "Gustavo A. R. Silva" <gustavoars@...nel.org>,
	Bill Wendling <morbo@...gle.com>,
	Justin Stitt <justinstitt@...gle.com>,
	Nathan Chancellor <nathan@...nel.org>
Cc: Kees Cook <kees@...nel.org>,
	linux-hardening@...r.kernel.org,
	llvm@...ts.linux.dev,
	patches@...ts.linux.dev
Subject: Re: [PATCH] hardening: Require clang 20.1.0 for __counted_by

On Thu, 07 Aug 2025 14:36:28 -0700, Nathan Chancellor wrote:
> After an innocuous change in -next that modified a structure that
> contains __counted_by, clang-19 start crashing when building certain
> files in drivers/gpu/drm/xe. When assertions are enabled, the more
> descriptive failure is:
> 
>   clang: clang/lib/AST/RecordLayoutBuilder.cpp:3335: const ASTRecordLayout &clang::ASTContext::getASTRecordLayout(const RecordDecl *) const: Assertion `D && "Cannot get layout of forward declarations!"' failed.
> 
> [...]

Applied to for-linus/hardening, thanks!

[1/1] hardening: Require clang 20.1.0 for __counted_by
      https://git.kernel.org/kees/c/871fcff457f9

Take care,

-- 
Kees Cook


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ