From: Johan Hovold <johan@kernel.org>
To: Sasha Levin <sashal@kernel.org>
Cc: stable@vger.kernel.org, Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Subject: Re: [PATCH 6.12.y] USB: serial: cypress_m8: fix memory corruption with small endpoint
Date: Thu, 4 Jun 2026 15:58:27 +0200 [thread overview]
Message-ID: <aiGEgwjWkP05ipwt@hovoldconsulting.com> (raw)
In-Reply-To: <20260604135502.3494174-1-sashal@kernel.org>
Hi Sasha,
On Thu, Jun 04, 2026 at 09:55:02AM -0400, Sasha Levin wrote:
> From: Johan Hovold <johan@kernel.org>
>
> [ Upstream commit e1a9d791fd66ab2431b9e6f6f835823809869047 ]
>
> Make sure that the interrupt-out endpoint max packet size is at least
> eight bytes to avoid user-controlled slab corruption or NULL-pointer
> dereference should a malicious device report a smaller size.
>
> Fixes: 3416eaa1f8f8 ("USB: cypress_m8: Packet format is separate from characteristic size")
> Cc: stable@vger.kernel.org # 2.6.26
> Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
> Signed-off-by: Johan Hovold <johan@kernel.org>
> Signed-off-by: Sasha Levin <sashal@kernel.org>
I sent backports of these earlier today:
https://lore.kernel.org/all/20260604083636.2650249-1-johan@kernel.org/
https://lore.kernel.org/all/20260604120758.2769085-1-johan@kernel.org/
https://lore.kernel.org/all/20260604121133.2771807-1-johan@kernel.org/
Johan
prev parent reply other threads:[~2026-06-04 13:58 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-06-04 8:11 FAILED: patch "[PATCH] USB: serial: cypress_m8: fix memory corruption with small" failed to apply to 6.12-stable tree gregkh
2026-06-04 13:55 ` [PATCH 6.12.y] USB: serial: cypress_m8: fix memory corruption with small endpoint Sasha Levin
2026-06-04 13:58 ` Johan Hovold [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=aiGEgwjWkP05ipwt@hovoldconsulting.com \
--to=johan@kernel.org \
--cc=gregkh@linuxfoundation.org \
--cc=sashal@kernel.org \
--cc=stable@vger.kernel.org \
/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.