From: sashiko-bot@kernel.org
To: "Shuai Liu" <847807867@qq.com>
Cc: linux-usb@vger.kernel.org
Subject: Re: [PATCH v2] usb: gadget: uac1_legacy: fix double-close of sound device files
Date: Tue, 24 Nov 2026 08:47:18 +0000 [thread overview]
Message-ID: <sashiko-outbox-230741@kernel.org> (raw)
In-Reply-To: <tencent_574ADC21A5DB586EE40F9BE6714DC5382609@qq.com>
> syzbot reports:
>
> VFS: Close: file count is 0 (f_op=snd_ctl_f_ops)
> kernel BUG at fs/open.c
> ...
> Call Trace:
> filp_flush+0x...
> filp_close+0x...
> gaudio_close_snd_dev
> gaudio_cleanup
> f_audio_bind
> usb_add_function
>
> gaudio_close_snd_dev() closes the control/playback/capture device
> files but does not clear the file pointers afterwards, so it is not
> [ ... ]
>
> Reported-by: syzbot+592c653b056459925299@syzkaller.appspotmail.com
> Closes: https://syzkaller.appspot.com/bug?extid=592c653b056459925299
> Fixes: f3a3406b3f56 ("usb: gadget: f_uac1: convert to new function interface with backward compatibility")
> Signed-off-by: Shuai Liu <847807867@qq.com>
Sashiko has reviewed this patch and found no issues.
--
Sashiko AI review · https://sashiko.dev/#/patchset/tencent_574ADC21A5DB586EE40F9BE6714DC5382609@qq.com?part=1
prev parent reply other threads:[~2026-11-24 8:47 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20261123134853.1589732-1-847807867@qq.com>
2026-11-24 8:34 ` [PATCH v2] usb: gadget: uac1_legacy: fix double-close of sound device files Shuai Liu
2026-11-24 8:47 ` sashiko-bot [this message]
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=sashiko-outbox-230741@kernel.org \
--to=sashiko-bot@kernel.org \
--cc=847807867@qq.com \
--cc=linux-usb@vger.kernel.org \
--cc=sashiko-reviews@lists.linux.dev \
/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