All of lore.kernel.org
 help / color / mirror / Atom feed
From: Hillf Danton <hdanton@sina.com>
To: syzbot <syzbot+7061d72c26b7daebe2b4@syzkaller.appspotmail.com>
Cc: linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com
Subject: Re: [syzbot] [sound?] KASAN: use-after-free Read in release_card_device
Date: Fri, 14 Aug 2026 12:10:23 +0800	[thread overview]
Message-ID: <20260814041025.1107-1-hdanton@sina.com> (raw)
In-Reply-To: <6a7d81d9.d5f0ebe7.22d851.0014.GAE@google.com>

> Date: Thu, 13 Aug 2026 01:35:37 -0700	[thread overview]
> syzbot has found a reproducer for the following issue on:
> 
> HEAD commit:    3d6d817622b0 Merge tag 'scsi-fixes' of git://git.kernel.or..
> git tree:       upstream
> console output: https://syzkaller.appspot.com/x/log.txt?x=1729f479580000
> kernel config:  https://syzkaller.appspot.com/x/.config?x=aaf0da806f995318
> dashboard link: https://syzkaller.appspot.com/bug?extid=7061d72c26b7daebe2b4
> C reproducer:   https://syzkaller.appspot.com/x/repro.c?x=120e8ac6580000

#syz test

--- x/sound/core/init.c
+++ y/sound/core/init.c
@@ -599,8 +599,10 @@ static int snd_card_do_free(struct snd_c
 		dev_warn(card->dev, "unable to free card info\n");
 		/* Not fatal error */
 	}
-	if (card->release_completion)
+	if (card->release_completion) {
 		complete(card->release_completion);
+		return 0;
+	}
 	if (!card->managed)
 		kfree(card);
 	return 0;
--

  reply	other threads:[~2026-08-14  4:10 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-05  0:12 [syzbot] [sound?] KASAN: use-after-free Read in release_card_device syzbot
2026-08-13  8:35 ` syzbot
2026-08-14  4:10   ` Hillf Danton [this message]
2026-08-14  7:37     ` 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=20260814041025.1107-1-hdanton@sina.com \
    --to=hdanton@sina.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=syzbot+7061d72c26b7daebe2b4@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 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.