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 for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <ZtCHlVZSea/M7oHT@tissot.1015granger.net>
Date: Thu, 29 Aug 2024 10:37:09 -0400
From: Chuck Lever <chuck.lever@...cle.com>
To: Thorsten Blum <thorsten.blum@...lux.com>
Cc: jlayton@...nel.org, neilb@...e.de, okorniev@...hat.com, Dai.Ngo@...cle.com,
        tom@...pey.com, kees@...nel.org, gustavoars@...nel.org,
        linux-nfs@...r.kernel.org, linux-kernel@...r.kernel.org,
        linux-hardening@...r.kernel.org
Subject: Re: [PATCH] NFSD: Annotate struct pnfs_block_deviceaddr with
 __counted_by()

On Wed, 28 Aug 2024 23:42:55 +0200, Thorsten Blum wrote:
> Add the __counted_by compiler attribute to the flexible array member
> volumes to improve access bounds-checking via CONFIG_UBSAN_BOUNDS and
> CONFIG_FORTIFY_SOURCE.
> 
> Use struct_size() instead of manually calculating the number of bytes to
> allocate for a pnfs_block_deviceaddr with a single volume.
> 
> [...]

Applied to nfsd-next for v6.12, thanks!

[1/1] NFSD: Annotate struct pnfs_block_deviceaddr with __counted_by()
      commit: 7dd2311b21ef121d0ce9f9b2e56d3e42b2534991

-- 
Chuck Lever

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ