Linux Hardening
 help / color / mirror / Atom feed
* Re: [fortify] 54d9469bc5: WARNING:at_fs/nfs/namespace.c:#nfs_d_automount
       [not found] <202210110948.26b43120-yujie.liu@intel.com>
@ 2022-10-11  6:54 ` Kees Cook
  0 siblings, 0 replies; only message in thread
From: Kees Cook @ 2022-10-11  6:54 UTC (permalink / raw)
  To: kernel test robot
  Cc: lkp, lkp, linux-kernel, linux-hardening, Gustavo A. R. Silva

On Tue, Oct 11, 2022 at 11:45:56AM +0800, kernel test robot wrote:
> FYI, we noticed the following commit (built with gcc-11):
> 
> commit: 54d9469bc515dc5fcbc20eecbe19cea868b70d68 ("fortify: Add run-time WARN for cross-field memcpy()")
> https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git master
> 
> [...]
> [   57.256986][ T4357] memcpy: detected field-spanning write (size 28) of single field "&ctx->nfs_server.address" at fs/nfs/namespace.c:178 (size 16)

Thanks for the report! I've sent a patch for this now:
https://lore.kernel.org/lkml/20221011065243.583650-1-keescook@chromium.org/

-- 
Kees Cook

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-10-11  6:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <202210110948.26b43120-yujie.liu@intel.com>
2022-10-11  6:54 ` [fortify] 54d9469bc5: WARNING:at_fs/nfs/namespace.c:#nfs_d_automount Kees Cook

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox