linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Kees Cook <keescook@chromium.org>
To: Oliver Neukum <oneukum@suse.com>
Cc: Gregory Greenman <gregory.greenman@intel.com>,
	linux-wireless@vger.kernel.org, linux-hardening@vger.kernel.org
Subject: Re: warning upon association with latest kernel
Date: Mon, 21 Nov 2022 20:31:07 -0800	[thread overview]
Message-ID: <202211212026.6959A4CBBC@keescook> (raw)
In-Reply-To: <f6cb6803-602f-91e3-8bd3-3bbbd924731d@suse.com>

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

      reply	other threads:[~2022-11-22  4:31 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-09 15:26 warning upon association with latest kernel Oliver Neukum
2022-11-22  4:31 ` Kees Cook [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202211212026.6959A4CBBC@keescook \
    --to=keescook@chromium.org \
    --cc=gregory.greenman@intel.com \
    --cc=linux-hardening@vger.kernel.org \
    --cc=linux-wireless@vger.kernel.org \
    --cc=oneukum@suse.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).