* Re: [fortify] 54d9469bc5: WARNING:at_net/wireless/wext-core.c:#wireless_send_event
[not found] <202210110943.6f16f1ea-yujie.liu@intel.com>
@ 2022-10-11 6:17 ` Kees Cook
2022-10-11 6:59 ` Johannes Berg
0 siblings, 1 reply; 2+ messages in thread
From: Kees Cook @ 2022-10-11 6:17 UTC (permalink / raw)
To: kernel test robot
Cc: lkp, lkp, linux-kernel, linux-hardening, Gustavo A. R. Silva,
Hawkins Jiawei, Johannes Berg, linux-wireless
On Tue, Oct 11, 2022 at 11:46:21AM +0800, kernel test robot wrote:
> commit: 54d9469bc515dc5fcbc20eecbe19cea868b70d68 ("fortify: Add run-time WARN for cross-field memcpy()")
> https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git master
> [...]
> caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):
> [...]
> [ 95.913726][ T36] memcpy: detected field-spanning write (size 16) of single field "&compat_event->pointer" at net/wireless/wext-core.c:623 (size 4)
This was fixed with:
e3e6e1d16a4c ("wifi: wext: use flex array destination for memcpy()")
I expect this will land before -rc1 closes, but Johannes will know more
about the schedule.
--
Kees Cook
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [fortify] 54d9469bc5: WARNING:at_net/wireless/wext-core.c:#wireless_send_event
2022-10-11 6:17 ` [fortify] 54d9469bc5: WARNING:at_net/wireless/wext-core.c:#wireless_send_event Kees Cook
@ 2022-10-11 6:59 ` Johannes Berg
0 siblings, 0 replies; 2+ messages in thread
From: Johannes Berg @ 2022-10-11 6:59 UTC (permalink / raw)
To: Kees Cook, kernel test robot
Cc: lkp, lkp, linux-kernel, linux-hardening, Gustavo A. R. Silva,
Hawkins Jiawei, linux-wireless
On Mon, 2022-10-10 at 23:17 -0700, Kees Cook wrote:
> On Tue, Oct 11, 2022 at 11:46:21AM +0800, kernel test robot wrote:
> > commit: 54d9469bc515dc5fcbc20eecbe19cea868b70d68 ("fortify: Add run-time WARN for cross-field memcpy()")
> > https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git master
> > [...]
> > caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):
> > [...]
> > [ 95.913726][ T36] memcpy: detected field-spanning write (size 16) of single field "&compat_event->pointer" at net/wireless/wext-core.c:623 (size 4)
>
> This was fixed with:
> e3e6e1d16a4c ("wifi: wext: use flex array destination for memcpy()")
>
> I expect this will land before -rc1 closes, but Johannes will know more
> about the schedule.
>
Yes, we're planning to send a pull request today, so that should go to
Linus with the net pull request tomorrow.
johannes
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-10-11 7:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <202210110943.6f16f1ea-yujie.liu@intel.com>
2022-10-11 6:17 ` [fortify] 54d9469bc5: WARNING:at_net/wireless/wext-core.c:#wireless_send_event Kees Cook
2022-10-11 6:59 ` Johannes Berg
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox