From: Hillf Danton <hdanton@sina.com>
To: syzbot <syzbot+1eb177ecc3943b883f0a@syzkaller.appspotmail.com>
Cc: linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com
Subject: Re: [syzbot] [media?] KASAN: slab-use-after-free Read in dvb_device_open
Date: Sun, 19 Jan 2025 08:14:59 +0800 [thread overview]
Message-ID: <20250119001505.2004-1-hdanton@sina.com> (raw)
In-Reply-To: <678c0605.050a0220.303755.0031.GAE@google.com>
On Sat, 18 Jan 2025 11:50:29 -0800
> syzbot has found a reproducer for the following issue on:
>
> HEAD commit: 595523945be0 Merge tag 'devicetree-fixes-for-6.13-2' of gi..
> git tree: upstream
> C reproducer: https://syzkaller.appspot.com/x/repro.c?x=12183fc4580000
#syz test
--- x/drivers/media/dvb-core/dvbdev.c
+++ y/drivers/media/dvb-core/dvbdev.c
@@ -109,8 +109,10 @@ static int dvb_device_open(struct inode
err = file->f_op->open(inode, file);
up_read(&minor_rwsem);
mutex_unlock(&dvbdev_mutex);
- if (err)
+ if (err) {
+ WARN(1, "open %pS\n", file->f_op->open);
dvb_device_put(dvbdev);
+ }
return err;
}
fail:
--
next prev parent reply other threads:[~2025-01-19 0:15 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-21 8:54 syzbot
2025-01-18 19:50 ` syzbot
2025-01-19 0:14 ` Hillf Danton [this message]
2025-01-19 0:32 ` syzbot
2025-01-19 1:02 ` Edward Adam Davis
2025-01-19 1:24 ` syzbot
2025-01-19 1:05 ` Hillf Danton
2025-01-19 2:40 ` syzbot
2025-01-19 1:36 ` Edward Adam Davis
2025-01-19 2:54 ` syzbot
2025-01-19 3:07 ` Edward Adam Davis
2025-01-19 3:30 ` syzbot
2025-01-19 3:42 ` [PATCH] media: dvbdev: keep dvb device ref balanced in dvb generic release and open Edward Adam Davis
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=20250119001505.2004-1-hdanton@sina.com \
--to=hdanton@sina.com \
--cc=linux-kernel@vger.kernel.org \
--cc=syzbot+1eb177ecc3943b883f0a@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
Powered by JetHome