From: Sasha Levin <sashal@kernel.org>
To: stable@vger.kernel.org, Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Sasha Levin <sashal@kernel.org>,
Mikhail Dmitrichenko <mdmitrichenko@astralinux.ru>,
Peter Chen <peter.chen@nxp.com>,
Pawel Laszczak <pawell@cadence.com>,
Roger Quadros <rogerq@ti.com>,
Felipe Balbi <felipe.balbi@linux.intel.com>,
linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org,
Peter Chen <peter.chen@kernel.org>,
Roger Quadros <rogerq@kernel.org>,
lvc-project@linuxtesting.org, stable <stable@kernel.org>,
Yongchao Wu <yongchao.wu@autochips.com>
Subject: Re: [PATCH 5.10] usb: cdns3: gadget: fix NULL pointer dereference in ep_queue
Date: Fri, 3 Jul 2026 00:07:00 -0400 [thread overview]
Message-ID: <stable-reply-usb-cdns3-ep-queue-510-20260702192533@kernel.org> (raw)
In-Reply-To: <20260702102018.48182-1-mdmitrichenko@astralinux.ru>
On Thu, Jul 02, 2026 at 01:20:17PM +0300, Mikhail Dmitrichenko wrote:
> From: Yongchao Wu <yongchao.wu@autochips.com>
>
> commit 7f6f127b9bc34bed35f56faf7ecb1561d6b39000 upstream.
>
> When the gadget endpoint is disabled or not yet configured, the ep->desc
> pointer can be NULL. This leads to a NULL pointer dereference when
> __cdns3_gadget_ep_queue() is called, causing a kernel crash.
Queued up for 5.10.y, thanks!
--
Thanks,
Sasha
prev parent reply other threads:[~2026-07-03 4:07 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-02 10:20 [PATCH 5.10] usb: cdns3: gadget: fix NULL pointer dereference in ep_queue Mikhail Dmitrichenko
2026-07-03 4:07 ` Sasha Levin [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=stable-reply-usb-cdns3-ep-queue-510-20260702192533@kernel.org \
--to=sashal@kernel.org \
--cc=felipe.balbi@linux.intel.com \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=lvc-project@linuxtesting.org \
--cc=mdmitrichenko@astralinux.ru \
--cc=pawell@cadence.com \
--cc=peter.chen@kernel.org \
--cc=peter.chen@nxp.com \
--cc=rogerq@kernel.org \
--cc=rogerq@ti.com \
--cc=stable@kernel.org \
--cc=stable@vger.kernel.org \
--cc=yongchao.wu@autochips.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.