Thread (7 messages) 7 messages, 4 authors, 2022-08-28

Re: KMSAN: uninit-value in ath9k_htc_rx_msg

From: Alexander Potapenko <glider@google.com>
Date: 2022-08-26 08:40:40
Also in: lkml, netdev

Possibly related (same subject, not in this thread)

On Fri, Aug 26, 2022 at 3:35 AM Tetsuo Handa
[off-list ref] wrote:
On 2022/08/26 0:09, Alexander Potapenko wrote:
quoted
On Thu, Aug 25, 2022 at 4:34 PM Tetsuo Handa
[off-list ref] wrote:
quoted
Hello.
Hi Tetsuo,
quoted
I found that your patch was applied. But since the reproducer tested only 0 byte
case, I think that rejecting only less than sizeof(struct htc_frame_hdr) bytes
is not sufficient.

More complete patch with Ack from Toke is waiting at
https://lkml.kernel.org/r/7acfa1be-4b5c-b2ce-de43-95b0593fb3e5@I-love.SAKURA.ne.jp .
Thanks for letting me know! I just checked that your patch indeed
fixes the issue I am facing.
If it is more complete, I think we'd indeed better use yours.
I recognized that "ath9k: fix an uninit value use in ath9k_htc_rx_msg()" is
local to KMSAN tree.
https://github.com/google/kmsan/commit/d891e35583bf2e81ccc7a2ea548bf7cf47329f40
I actually did a rebase of KMSAN tree to v6.0-rc2 yesterday and
dropped that patch (picked yours instead).
Thanks for the heads-up!

-- 
Alexander Potapenko
Software Engineer

Google Germany GmbH
Erika-Mann-Straße, 33
80636 München

Geschäftsführer: Paul Manicle, Liana Sebastian
Registergericht und -nummer: Hamburg, HRB 86891
Sitz der Gesellschaft: Hamburg
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help