From: Hillf Danton <hdanton@sina.com>
To: syzbot <syzbot+4e21d5f67b886a692b55@syzkaller.appspotmail.com>
Cc: linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com
Subject: Re: [syzbot] [fs?] BUG: corrupted list in remove_wait_queue (2)
Date: Mon, 7 Jul 2025 19:26:57 +0800 [thread overview]
Message-ID: <20250707112658.2733-1-hdanton@sina.com> (raw)
In-Reply-To: <686b939a.a00a0220.c7b3.007e.GAE@google.com>
> Date: Mon, 07 Jul 2025 02:30:02 -0700
> syzbot has bisected this issue to:
>
> commit 8ffdff6a8cfbdc174a3a390b6f825a277b5bb895
> Author: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
> Date: Wed Apr 14 08:58:10 2021 +0000
>
> staging: comedi: move out of staging directory
>
> bisection log: https://syzkaller.appspot.com/x/bisect.txt?x=13009f70580000
> start commit: 05df91921da6 Merge tag 'v6.16-rc4-smb3-client-fixes' of gi..
> git tree: upstream
> final oops: https://syzkaller.appspot.com/x/report.txt?x=10809f70580000
> console output: https://syzkaller.appspot.com/x/log.txt?x=17009f70580000
> kernel config: https://syzkaller.appspot.com/x/.config?x=45bd916a213c79bb
> dashboard link: https://syzkaller.appspot.com/bug?extid=4e21d5f67b886a692b55
> syz repro: https://syzkaller.appspot.com/x/repro.syz?x=161cdc8c580000
> C reproducer: https://syzkaller.appspot.com/x/repro.c?x=14d1a582580000
#syz test upstream master
--- x/drivers/comedi/comedi_fops.c
+++ y/drivers/comedi/comedi_fops.c
@@ -2454,7 +2454,7 @@ static __poll_t comedi_poll(struct file
struct comedi_device *dev = cfp->dev;
struct comedi_subdevice *s, *s_read;
- down_read(&dev->attach_lock);
+ down_write(&dev->attach_lock);
if (!dev->attached) {
dev_dbg(dev->class_dev, "no driver attached\n");
@@ -2484,7 +2484,7 @@ static __poll_t comedi_poll(struct file
}
done:
- up_read(&dev->attach_lock);
+ up_write(&dev->attach_lock);
return mask;
}
--
next prev parent reply other threads:[~2025-07-07 11:27 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-01-22 23:27 syzbot
2025-02-17 7:26 ` [syzbot] " syzbot
2025-07-07 9:30 ` syzbot
2025-07-07 11:26 ` Hillf Danton [this message]
2025-07-07 11:43 ` syzbot
2026-01-15 23:32 ` syzbot
[not found] <20250217072635.2581421-1-lizhi.xu@windriver.com>
2025-02-17 7:49 ` 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=20250707112658.2733-1-hdanton@sina.com \
--to=hdanton@sina.com \
--cc=linux-kernel@vger.kernel.org \
--cc=syzbot+4e21d5f67b886a692b55@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®