mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
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 09:05:07 +0800	[thread overview]
Message-ID: <20250119010509.2052-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/dvb_frontend.c
+++ y/drivers/media/dvb-core/dvb_frontend.c
@@ -2887,6 +2887,7 @@ err3:
 	mutex_unlock(&fe->dvb->mdev_lock);
 err2:
 #endif
+	dvb_device_get(dvbdev);
 	dvb_generic_release(inode, file);
 err1:
 	if (dvbdev->users == -1 && fe->ops.ts_bus_ctrl)
--

  parent reply	other threads:[~2025-01-19  1:05 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
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 [this message]
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=20250119010509.2052-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

all inboxes | Powered by JetHome®