[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ef9d2a7e-932b-9389-ce4c-82b9d74952c8@gmail.com>
Date: Tue, 8 Mar 2022 21:12:28 +0300
From: Pavel Skripkin <paskripkin@...il.com>
To: syzbot <syzbot+16bcb127fb73baeecb14@...kaller.appspotmail.com>,
krzysztof.kozlowski@...onical.com, linux-kernel@...r.kernel.org,
netdev@...r.kernel.org, syzkaller-bugs@...glegroups.com
Subject: Re: [syzbot] KASAN: use-after-free Read in port100_send_complete
On 3/8/22 21:03, syzbot wrote:
> Hello,
>
> syzbot found the following issue on:
>
> HEAD commit: 38f80f42147f MAINTAINERS: Remove dead patchwork link
> git tree: upstream
> console output: https://syzkaller.appspot.com/x/log.txt?x=14b0d321700000
> kernel config: https://syzkaller.appspot.com/x/.config?x=542b2708133cc492
> dashboard link: https://syzkaller.appspot.com/bug?extid=16bcb127fb73baeecb14
> compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2
> syz repro: https://syzkaller.appspot.com/x/repro.syz?x=14a63d21700000
> C reproducer: https://syzkaller.appspot.com/x/repro.c?x=17d21be1700000
>
> IMPORTANT: if you fix the issue, please add the following tag to the commit:
> Reported-by: syzbot+16bcb127fb73baeecb14@...kaller.appspotmail.com
>
> port100 5-1:0.0: NFC: Urb failure (status -71)
> ==================================================================
> BUG: KASAN: use-after-free in port100_send_complete+0x16e/0x1a0 drivers/nfc/port100.c:935
> Read of size 1 at addr ffff88801bb59540 by task ksoftirqd/2/26
We need to kill urbs on disconnect, since urbs callbacks they may access
freed memory
#syz test
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
With regards,
Pavel Skripkin
View attachment "ph" of type "text/plain" (440 bytes)
Powered by blists - more mailing lists