All of lore.kernel.org
 help / color / mirror / Atom feed
From: syzbot <syzbot+34f63c11dab47d09ad9a@syzkaller.appspotmail.com>
To: nsvatoslav515@gmail.com
Cc: nsvatoslav515@gmail.com, linux-kernel@vger.kernel.org,
	 syzkaller-bugs@googlegroups.com
Subject: Re: [PATCH] Testing for a forgotten lock...
Date: Mon, 28 Sep 2026 07:18:39 -0700	[thread overview]
Message-ID: <6aba773f.80e1c6cc.1e8e5f.0072.GAE@google.com> (raw)
In-Reply-To: <20260928141824.11910-1-nsvatoslav515@gmail.com>

> #syz test: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git d58dffe9ee2c

This crash does not have a reproducer. I cannot test it.

>
> Signed-off-by: Svyatoslav Nikolenko <nsvatoslav515@gmail.com>
> ---
>  drivers/memstick/host/rtsx_usb_ms.c | 3 +++
>  1 file changed, 3 insertions(+)
>
> diff --git a/drivers/memstick/host/rtsx_usb_ms.c b/drivers/memstick/host/rtsx_usb_ms.c
> index beadc389f15f..98143e13b6a0 100644
> --- a/drivers/memstick/host/rtsx_usb_ms.c
> +++ b/drivers/memstick/host/rtsx_usb_ms.c
> @@ -517,7 +517,10 @@ static void rtsx_usb_ms_handle_req(struct work_struct *work)
>  	if (!host->req) {
>  		pm_runtime_get_sync(ms_dev(host));
>  		do {
> +			mutex_lock(&msh->lock);
>  			rc = memstick_next_req(msh, &host->req);
> +			mutex_unlock(&msh->lock);
> +
>  			dev_dbg(ms_dev(host), "next req %d\n", rc);
>  
>  			if (!rc) {
> -- 
> 2.47.3
>

       reply	other threads:[~2026-09-28 14:18 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20260928141824.11910-1-nsvatoslav515@gmail.com>
2026-09-28 14:18 ` syzbot [this message]
     [not found] <20260929111645.1954-1-nsvatoslav515@gmail.com>
2026-09-29 11:17 ` [PATCH] Testing for a forgotten lock syzbot
     [not found] <20260928140010.10270-1-nsvatoslav515@gmail.com>
2026-09-28 14:00 ` 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=6aba773f.80e1c6cc.1e8e5f.0072.GAE@google.com \
    --to=syzbot+34f63c11dab47d09ad9a@syzkaller.appspotmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=nsvatoslav515@gmail.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.