Messages in this thread | | | Date | Mon, 10 Oct 2022 23:17:58 -0700 | From | Kees Cook <> | Subject | Re: [fortify] 54d9469bc5: WARNING:at_net/wireless/wext-core.c:#wireless_send_event |
| |
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
| |