public inbox for stable@vger.kernel.org
 help / color / mirror / Atom feed
From: Greg KH <gregkh@linuxfoundation.org>
To: Wentao Guan <guanwentao@uniontech.com>
Cc: stable <stable@vger.kernel.org>, tiwai <tiwai@suse.de>,
	sashal <sashal@kernel.org>, pavel <pavel@denx.de>
Subject: Re: [PATCH 6.6] ALSA: usb-audio: Fix missing unlock at error path of maxpacksize check
Date: Tue, 3 Feb 2026 15:48:54 +0100	[thread overview]
Message-ID: <2026020339-tidy-appealing-44f1@gregkh> (raw)
In-Reply-To: <tencent_42D789F563D3A21850DD27DE@qq.com>

On Fri, Jan 30, 2026 at 06:04:44PM +0800, Wentao Guan wrote:
> I found that patch which in v6.12.60 should be applied in v6.6-stable tree.
> 
> From: Takashi Iwai <tiwai@suse.de>
> 
> The recent backport of the upstream commit 05a1fc5efdd8 ("ALSA:
> usb-audio: Fix potential overflow of PCM transfer buffer") on the
> older stable kernels like 6.12.y was broken since it doesn't consider
> the mutex unlock, where the upstream code manages with guard().
> In the older code, we still need an explicit unlock.
> 
> This is a fix that corrects the error path, applied only on old stable
> trees.
> 
> Reported-by: Pavel Machek <pavel@denx.de>
> Closes: https://lore.kernel.org/aSWtH0AZH5+aeb+a@duo.ucw.cz
> Fixes: 98e9d5e33bda ("ALSA: usb-audio: Fix potential overflow of PCM transfer buffer")
> Reviewed-by: Pavel Machek <pavel@denx.de>
> Signed-off-by: Takashi Iwai <tiwai@suse.de>
> Signed-off-by: Sasha Levin <sashal@kernel.org>
> (cherry picked from commit fdf0dc82eb60091772ecea73cbc5a8fb7562fc45)
> Signed-off-by: Wentao Guan <guanwentao@uniontech.com>
> ---
>  sound/usb/endpoint.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)

This does not apply to the 6.6.y kernel tree :(

Please fix up and resend.

thanks,

greg k-h

      reply	other threads:[~2026-02-03 14:48 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-01-14  6:13 [PATCH 6.6] Revert "LoongArch: BPF: Sign extend kfunc call arguments" Wentao Guan
2026-01-14  6:24 ` Wentao Guan
2026-01-15 11:38   ` Greg KH
2026-01-30 10:04 ` [PATCH 6.6] ALSA: usb-audio: Fix missing unlock at error path of maxpacksize check Wentao Guan
2026-02-03 14:48   ` Greg KH [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=2026020339-tidy-appealing-44f1@gregkh \
    --to=gregkh@linuxfoundation.org \
    --cc=guanwentao@uniontech.com \
    --cc=pavel@denx.de \
    --cc=sashal@kernel.org \
    --cc=stable@vger.kernel.org \
    --cc=tiwai@suse.de \
    /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