From: "Toke Høiland-Jørgensen" <toke@toke.dk>
To: syzbot <syzbot+98afa303be379af6cdb2@syzkaller.appspotmail.com>,
kvalo@kernel.org, linux-kernel@vger.kernel.org,
linux-wireless@vger.kernel.org, netdev@vger.kernel.org,
syzkaller-bugs@googlegroups.com
Subject: Re: [syzbot] [wireless?] KMSAN: uninit-value in skb_trim (2)
Date: Mon, 12 Aug 2024 15:31:09 +0200 [thread overview]
Message-ID: <87ttfpx3z6.fsf@toke.dk> (raw)
In-Reply-To: <000000000000d830f0061f503c6a@google.com>
syzbot <syzbot+98afa303be379af6cdb2@syzkaller.appspotmail.com> writes:
> Hello,
>
> syzbot found the following issue on:
>
> HEAD commit: b446a2dae984 Merge tag 'linux_kselftest-fixes-6.11-rc3' of..
> git tree: upstream
> console output: https://syzkaller.appspot.com/x/log.txt?x=13eb467d980000
> kernel config: https://syzkaller.appspot.com/x/.config?x=305509ad8eb5f9b8
> dashboard link: https://syzkaller.appspot.com/bug?extid=98afa303be379af6cdb2
> compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40
>
> Unfortunately, I don't have any reproducer for this issue yet.
>
> Downloadable assets:
> disk image: https://storage.googleapis.com/syzbot-assets/49d96e53e1c4/disk-b446a2da.raw.xz
> vmlinux: https://storage.googleapis.com/syzbot-assets/f05350d128a7/vmlinux-b446a2da.xz
> kernel image: https://storage.googleapis.com/syzbot-assets/805c7d86a2db/bzImage-b446a2da.xz
>
> IMPORTANT: if you fix the issue, please add the following tag to the commit:
> Reported-by: syzbot+98afa303be379af6cdb2@syzkaller.appspotmail.com
#syz test
diff --git a/drivers/net/wireless/ath/ath9k/hif_usb.c b/drivers/net/wireless/ath/ath9k/hif_usb.c
index 0c7841f95228..f77cb743ca06 100644
--- a/drivers/net/wireless/ath/ath9k/hif_usb.c
+++ b/drivers/net/wireless/ath/ath9k/hif_usb.c
@@ -755,7 +755,7 @@ static void ath9k_hif_usb_reg_in_cb(struct urb *urb)
goto free_skb;
default:
skb_reset_tail_pointer(skb);
- skb_trim(skb, 0);
+ __skb_trim(skb, 0);
goto resubmit;
}
next prev parent reply other threads:[~2024-08-12 13:31 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-10 8:42 [syzbot] [wireless?] KMSAN: uninit-value in skb_trim (2) syzbot
2024-08-12 13:31 ` Toke Høiland-Jørgensen [this message]
2024-08-12 13:31 ` syzbot
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=87ttfpx3z6.fsf@toke.dk \
--to=toke@toke.dk \
--cc=kvalo@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-wireless@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=syzbot+98afa303be379af6cdb2@syzkaller.appspotmail.com \
--cc=syzkaller-bugs@googlegroups.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).