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  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:   Mon, 05 Sep 2022 14:00:14 +0000
To:     Kees Cook <>
Subject: Re: [PATCH v4] netlink: Bounds-check struct nlmsgerr creation


This patch was applied to netdev/net-next.git (master)
by David S. Miller <>:

On Fri,  2 Sep 2022 21:37:49 -0700 you wrote:
> In preparation for FORTIFY_SOURCE doing bounds-check on memcpy(),
> switch from __nlmsg_put to nlmsg_put(), and explain the bounds check
> for dealing with the memcpy() across a composite flexible array struct.
> Avoids this future run-time warning:
>   memcpy: detected field-spanning write (size 32) of single field "&errmsg->msg" at net/netlink/af_netlink.c:2447 (size 16)
> [...]

Here is the summary with links:
  - [v4] netlink: Bounds-check struct nlmsgerr creation

You are awesome, thank you!
Deet-doot-dot, I am a bot.

Powered by blists - more mailing lists