public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Edward Adam Davis <eadavis@qq.com>
To: syzbot+16062f26c6480975e5ed@syzkaller.appspotmail.com
Cc: linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com
Subject: Re: [syzbot] [media?] KASAN: slab-use-after-free Read in em28xx_release_resources
Date: Fri, 20 Mar 2026 14:15:13 +0800	[thread overview]
Message-ID: <tencent_CB5DB219664FDF8DB525998DCD1262DDF707@qq.com> (raw)
In-Reply-To: <69608280.050a0220.1c677c.03b0.GAE@google.com>

#syz test

diff --git a/drivers/media/usb/em28xx/em28xx-video.c b/drivers/media/usb/em28xx/em28xx-video.c
index b0c184f237a7..563b4267588e 100644
--- a/drivers/media/usb/em28xx/em28xx-video.c
+++ b/drivers/media/usb/em28xx/em28xx-video.c
@@ -2147,7 +2147,7 @@ static int em28xx_v4l2_open(struct file *filp)
 			video_device_node_name(vdev), v4l2_type_names[fh_type],
 			v4l2->users);
 
-	if (mutex_lock_interruptible(&dev->lock))
+	if (!mutex_trylock(&dev->lock))
 		return -ERESTARTSYS;
 
 	ret = v4l2_fh_open(filp);


  parent reply	other threads:[~2026-03-20  6:16 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-02  7:49 [syzbot] [media?] KASAN: slab-use-after-free Read in em28xx_release_resources syzbot
2026-01-09  4:22 ` syzbot
2026-01-09  7:55   ` [PATCH] em28xx: test xiaopeitux
2026-01-09  9:42     ` [syzbot] [media?] KASAN: slab-use-after-free Read in em28xx_release_resources syzbot
2026-01-10  3:22   ` Hillf Danton
2026-01-10  3:50     ` syzbot
2026-01-10  8:50   ` Hillf Danton
2026-01-10 10:13     ` syzbot
2026-01-11  0:23   ` Hillf Danton
2026-01-11  1:51     ` syzbot
2026-01-11  4:46   ` Edward Adam Davis
2026-01-11  5:14     ` syzbot
2026-01-11  5:29   ` [PATCH 1/2] media: em28xx-video: add the unregister of video/VBI entity Edward Adam Davis
2026-01-11 15:31     ` Laurent Pinchart
2026-03-16 14:03     ` Hans Verkuil
2026-03-20 11:45       ` Edward Adam Davis
2026-03-20 12:07         ` hverkuil+cisco
2026-03-20  6:15   ` Edward Adam Davis [this message]
2026-03-20 10:59     ` [syzbot] [media?] KASAN: slab-use-after-free Read in em28xx_release_resources 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=tencent_CB5DB219664FDF8DB525998DCD1262DDF707@qq.com \
    --to=eadavis@qq.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=syzbot+16062f26c6480975e5ed@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