mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Vincent Mailhol <mailhol.vincent@wanadoo.fr>
To: syzbot <syzbot+79340d79a8ed013a2313@syzkaller.appspotmail.com>
Cc: linux-can@vger.kernel.org, linux-kernel@vger.kernel.org,
	linux-usb@vger.kernel.org, mkl@pengutronix.de,
	syzkaller-bugs@googlegroups.com
Subject: Re: [syzbot] [can?] [usb?] KASAN: slab-out-of-bounds Read in ucan_probe
Date: Thu, 27 Mar 2025 14:33:04 +0900	[thread overview]
Message-ID: <713f8ca1-e406-421e-89b3-17458995ed1c@wanadoo.fr> (raw)
In-Reply-To: <67e46af0.050a0220.2f068f.000e.GAE@google.com>

On 27/03/2025 at 06:00, syzbot wrote:
> Hello,
> 
> syzbot found the following issue on:
> 
> HEAD commit:    245aece3750d MAINTAINERS: Add myself as a riscv reviewer
> git tree:       git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes
> console output: https://syzkaller.appspot.com/x/log.txt?x=1241643f980000
> kernel config:  https://syzkaller.appspot.com/x/.config?x=ef948fab17fe83a5
> dashboard link: https://syzkaller.appspot.com/bug?extid=79340d79a8ed013a2313
> compiler:       riscv64-linux-gnu-gcc (Debian 12.2.0-13) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40
> userspace arch: riscv64
> syz repro:      https://syzkaller.appspot.com/x/repro.syz?x=10de2804580000
> C reproducer:   https://syzkaller.appspot.com/x/repro.c?x=14bd4198580000
> 
> Downloadable assets:
> disk image (non-bootable): https://storage.googleapis.com/syzbot-assets/a741b348759c/non_bootable_disk-245aece3.raw.xz
> vmlinux: https://storage.googleapis.com/syzbot-assets/1570230830d5/vmlinux-245aece3.xz
> kernel image: https://storage.googleapis.com/syzbot-assets/a3c2191c4291/Image-245aece3.xz
> 
> IMPORTANT: if you fix the issue, please add the following tag to the commit:
> Reported-by: syzbot+79340d79a8ed013a2313@syzkaller.appspotmail.com
> 
> usb 1-1: ucan: probing device on interface #0
> ==================================================================
> BUG: KASAN: slab-out-of-bounds in sized_strscpy+0x2a2/0x2cc lib/string.c:182
> Read of size 1 at addr ffffaf801ba334c0 by task kworker/0:1/9

This is already fixed upstream in commit 1d22a122ffb1 ("can: ucan: fix
out of bound read in strscpy() source")

Link: https://git.kernel.org/torvalds/c/1d22a122ffb1


Yours sincerely,
Vincent Mailhol


  parent reply	other threads:[~2025-03-27  5:33 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-03-26 21:00 syzbot
2025-03-27  1:28 ` [syzbot] " syzbot
2025-03-27  5:33 ` Vincent Mailhol [this message]
2025-03-27  6:43 ` [PATCH] can: ucan: the memory allocated to ctl_msg_buffer is one byte less Lizhi Xu
     [not found] <20250327012816.3901896-1-lizhi.xu@windriver.com>
2025-03-27  5:30 ` [syzbot] [can?] [usb?] KASAN: slab-out-of-bounds Read in ucan_probe 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=713f8ca1-e406-421e-89b3-17458995ed1c@wanadoo.fr \
    --to=mailhol.vincent@wanadoo.fr \
    --cc=linux-can@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=mkl@pengutronix.de \
    --cc=syzbot+79340d79a8ed013a2313@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

all inboxes | Powered by JetHome®