From: Artem Dinaburg <artem@trailofbits.com>
To: stable@vger.kernel.org
Cc: damien.riegel@silabs.com, elder@kernel.org,
gregkh@linuxfoundation.org, greybus-dev@lists.linaro.org,
johan@kernel.org, linux-staging@lists.linux.dev
Subject: [6.18.y] Please pick greybus raw write-after-disconnect fix
Date: Tue, 24 Nov 2026 16:51:37 -0500 [thread overview]
Message-ID: <20261124215137.40304-1-artem@trailofbits.com> (raw)
Hi,
Please pick commit 84265cbd96b97058ef67e3f8be3933667a000835 ("greybus: raw:
fix use-after-free if write is called after disconnect") for 6.18.y. It
fixes CVE-2026-53024.
An open raw character device can outlive its Greybus connection. In 6.18.y,
raw_write() can still pass the destroyed connection to gb_operation_sync()
after disconnect. The fix serializes writes with disconnect and returns
-ENODEV for writes issued after disconnect.
The fix is in 6.1.191, 6.6.160, 6.12.114 and 7.0.10, and in mainline since
7.1. 6.18.y received only its companion, upstream commit 983cc2c7efbc
("greybus: raw: fix use-after-free on cdev close"), in 6.18.57; this fix
needs that commit for context and did not apply to 6.18.56. It applies
unchanged since 6.18.57, including on 6.18.65.
Compiled drivers/staging/greybus/raw.o on 6.18.64 from a cumulative x86_64
tree using allmodconfig. No kernel boot or runtime test was performed.
An LLM was used to check applicability and stable-queue history and to
draft this request; I reviewed the result.
Thanks,
Artem Dinaburg
reply other threads:[~2026-11-24 21:51 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20261124215137.40304-1-artem@trailofbits.com \
--to=artem@trailofbits.com \
--cc=damien.riegel@silabs.com \
--cc=elder@kernel.org \
--cc=gregkh@linuxfoundation.org \
--cc=greybus-dev@lists.linaro.org \
--cc=johan@kernel.org \
--cc=linux-staging@lists.linux.dev \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox