[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20210622152410.74439C43460@smtp.codeaurora.org>
Date: Tue, 22 Jun 2021 15:24:10 +0000 (UTC)
From: Kalle Valo <kvalo@...eaurora.org>
To: Kees Cook <keescook@...omium.org>
Cc: Andrew Lunn <andrew@...n.ch>, Kees Cook <keescook@...omium.org>,
Lennert Buytenhek <buytenh@...tstofly.org>,
"David S. Miller" <davem@...emloft.net>,
Jakub Kicinski <kuba@...nel.org>,
Romain Perier <romain.perier@...il.com>,
Allen Pais <allen.lkml@...il.com>,
"Gustavo A. R. Silva" <gustavoars@...nel.org>,
Arnd Bergmann <arnd@...db.de>,
wengjianfeng <wengjianfeng@...ong.com>,
Christophe JAILLET <christophe.jaillet@...adoo.fr>,
Lv Yunlong <lyl2019@...l.ustc.edu.cn>,
linux-kernel@...r.kernel.org, linux-wireless@...r.kernel.org,
netdev@...r.kernel.org, linux-hardening@...r.kernel.org
Subject: Re: [PATCH v2] mwl8k: Avoid memcpy() over-reading of mcs.rx_mask
Kees Cook <keescook@...omium.org> wrote:
> In preparation for FORTIFY_SOURCE performing compile-time and run-time
> field bounds checking for memcpy(), memmove(), and memset(), avoid
> intentionally reading across neighboring array fields. Use the
> sub-structure address directly.
>
> Signed-off-by: Kees Cook <keescook@...omium.org>
Patch applied to wireless-drivers-next.git, thanks.
3f26f7665c5d mwl8k: Avoid memcpy() over-reading of mcs.rx_mask
--
https://patchwork.kernel.org/project/linux-wireless/patch/20210617041431.2168953-1-keescook@chromium.org/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
Powered by blists - more mailing lists