From: Hillf Danton <hdanton@sina.com>
To: syzbot <syzbot+ce750e124675d4599449@syzkaller.appspotmail.com>
Cc: linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com
Subject: Re: [syzbot] [pvrusb2?] KASAN: slab-use-after-free Read in pvr2_context_set_notify (2)
Date: Fri, 16 Feb 2024 08:42:48 +0800 [thread overview]
Message-ID: <20240216004250.1196-1-hdanton@sina.com> (raw)
In-Reply-To: <00000000000028b68806103b4266@google.com>
On Wed, 31 Jan 2024 02:22:39 -0800
> HEAD commit: f1a27f081c1f usb: typec: qcom-pmic-typec: allow different ..
> git tree: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing
> C reproducer: https://syzkaller.appspot.com/x/repro.c?x=1429ed40180000
#syz test https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
--- x/drivers/media/usb/pvrusb2/pvrusb2-context.c
+++ y/drivers/media/usb/pvrusb2/pvrusb2-context.c
@@ -267,9 +267,9 @@ static void pvr2_context_exit(struct pvr
void pvr2_context_disconnect(struct pvr2_context *mp)
{
pvr2_hdw_disconnect(mp->hdw);
- mp->disconnect_flag = !0;
if (!pvr2_context_shutok())
pvr2_context_notify(mp);
+ pvr2_context_destroy(mp);
}
--
next prev parent reply other threads:[~2024-02-16 0:43 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.217.1706634262.2961.pvrusb2@isely.net>
2024-01-31 10:22 ` syzbot
2024-02-16 0:42 ` Hillf Danton [this message]
2024-02-16 4:58 ` syzbot
2024-02-16 3:03 ` Edward Adam Davis
2024-02-16 5:09 ` syzbot
2024-02-16 7:30 ` [PATCH usb] media/pvrusb2: fix uaf in pvr2_context_set_notify Edward Adam Davis
2024-02-17 7:41 ` Greg KH
2024-02-18 6:22 ` Edward Adam Davis
2024-03-02 2:08 ` [PATCH usb V2] " Edward Adam Davis
2024-02-15 16:26 ` [syzbot] syzbot
2024-04-14 4:26 [syzbot] [pvrusb2?] [usb?] KASAN: slab-use-after-free Read in pvr2_context_set_notify (3) syzbot
2024-04-14 9:37 ` [syzbot] [pvrusb2?] KASAN: slab-use-after-free Read in pvr2_context_set_notify (2) Edward Adam Davis
2024-04-14 12:58 ` Edward Adam Davis
[not found] <CZ5SKT22SUPI.1CKVD5QORTT2B@getstate.dev>
2024-02-15 16:37 ` syzbot
-- strict thread matches above, loose matches on Subject: below --
2024-01-30 17:04 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=20240216004250.1196-1-hdanton@sina.com \
--to=hdanton@sina.com \
--cc=linux-kernel@vger.kernel.org \
--cc=syzbot+ce750e124675d4599449@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®