[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <713f8ca1-e406-421e-89b3-17458995ed1c@wanadoo.fr>
Date: Thu, 27 Mar 2025 14:33:04 +0900
From: Vincent Mailhol <mailhol.vincent@...adoo.fr>
To: syzbot <syzbot+79340d79a8ed013a2313@...kaller.appspotmail.com>
Cc: linux-can@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-usb@...r.kernel.org, mkl@...gutronix.de,
syzkaller-bugs@...glegroups.com
Subject: Re: [syzbot] [can?] [usb?] KASAN: slab-out-of-bounds Read in
ucan_probe
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@...kaller.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
Powered by blists - more mailing lists