Linux Hardening
 help / color / mirror / Atom feed
* Re: warning upon association with latest kernel
       [not found] <f6cb6803-602f-91e3-8bd3-3bbbd924731d@suse.com>
@ 2022-11-22  4:31 ` Kees Cook
  0 siblings, 0 replies; only message in thread
From: Kees Cook @ 2022-11-22  4:31 UTC (permalink / raw)
  To: Oliver Neukum; +Cc: Gregory Greenman, linux-wireless, linux-hardening

On Wed, Nov 09, 2022 at 04:26:39PM +0100, Oliver Neukum wrote:
> I am getting this warning when I connect to my home
> wifi upon boot:
> 
> [...]
> [ 1321.321889] memcpy: detected field-spanning write (size 16) of single field "&compat_event->pointer" at net/wireless/wext-core.c:624 (size 4)

This should be fixed by commit e3e6e1d16a4c ("wifi: wext: use flex array
destination for memcpy()").

> [...]
> Head commit is:
> 
> commit f141df371335645ce29a87d9683a3f79fba7fd67 (origin/master, origin/HEAD)
> Merge: f49b2d89fb10 986d93f55bde
> Author: Linus Torvalds <torvalds@linux-foundation.org>
> Date:   Tue Nov 8 12:30:29 2022 -0800
> 
>     Merge tag 'audit-pr-20221107' of git://git.kernel.org/pub/scm/linux/kernel/git/pcmoore/audit

Are you sure that's the same kernel? The stated commit no longer has
"&compat_event->pointer" as a memcpy argument...

-- 
Kees Cook

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

only message in thread, other threads:[~2022-11-22  4:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <f6cb6803-602f-91e3-8bd3-3bbbd924731d@suse.com>
2022-11-22  4:31 ` warning upon association with latest kernel Kees Cook

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