From: Edward Adam Davis <eadavis@qq.com>
To: syzbot+a56aa983ce6a1bf12485@syzkaller.appspotmail.com
Cc: linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com
Subject: Re: [syzbot] [fs?] KASAN: slab-use-after-free Read in driver_remove_file
Date: Sun, 21 Sep 2025 19:22:29 +0800 [thread overview]
Message-ID: <tencent_F5FF2568BA75BB0C33479E6F1BAF4B4B1B08@qq.com> (raw)
In-Reply-To: <68cf794c.050a0220.13cd81.002a.GAE@google.com>
#syz test
diff --git a/drivers/comedi/drivers/c6xdigio.c b/drivers/comedi/drivers/c6xdigio.c
index 14b90d1c64dc..023c72e589a7 100644
--- a/drivers/comedi/drivers/c6xdigio.c
+++ b/drivers/comedi/drivers/c6xdigio.c
@@ -242,8 +242,10 @@ static int c6xdigio_attach(struct comedi_device *dev,
int ret;
ret = comedi_request_region(dev, it->options[0], 0x03);
- if (ret)
+ if (ret) {
+ dev->driver = NULL:
return ret;
+ }
ret = comedi_alloc_subdevices(dev, 2);
if (ret)
next prev parent reply other threads:[~2025-09-21 11:22 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-07-29 11:26 syzbot
2025-09-21 4:04 ` syzbot
2025-09-21 11:22 ` Edward Adam Davis [this message]
2025-09-21 11:40 ` syzbot
2025-09-21 11:55 ` Edward Adam Davis
2025-09-21 12:20 ` syzbot
2025-09-21 12:20 ` [PATCH] comedi: Unregister is prohibited when attach fails before register Edward Adam Davis
2025-09-21 12:38 ` [syzbot] [fs?] KASAN: slab-use-after-free Read in driver_remove_file Hillf Danton
2025-09-21 13:06 ` syzbot
2026-01-05 9:58 ` syzbot
2026-01-06 10:30 ` Forwarded: " syzbot
2025-09-24 6:31 [syzbot] [fs?] KASAN: slab-use-after-free Read in bus_remove_driver syzbot
2025-09-24 7:22 ` [syzbot] [fs?] KASAN: slab-use-after-free Read in driver_remove_file 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=tencent_F5FF2568BA75BB0C33479E6F1BAF4B4B1B08@qq.com \
--to=eadavis@qq.com \
--cc=linux-kernel@vger.kernel.org \
--cc=syzbot+a56aa983ce6a1bf12485@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®