From: Sasha Levin <sashal@kernel.org>
To: gregkh@linuxfoundation.org, include@grrlz.net
Cc: Sasha Levin <sashal@kernel.org>,
stable@vger.kernel.org, Thomas Gleixner <tglx@kernel.org>
Subject: Re: [PATCH 5.10.y] cpu: hotplug: Bound hotplug states sysfs output
Date: Fri, 24 Jul 2026 07:22:42 -0400 [thread overview]
Message-ID: <20260724105500.stable-0010@kernel.org> (raw)
In-Reply-To: <87pl0ekgxw.ffs@fw13>
> states_show() adds CPU hotplug state names into a single sysfs buffer
> using sprintf(). With enough registered states, this can write past the
> end of the PAGE_SIZE buffer.
>
> Use sysfs_emit_at() so output is bounded.
Queued for 5.10, thanks.
--
Thanks,
Sasha
prev parent reply other threads:[~2026-07-24 11:22 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-20 15:49 FAILED: patch "[PATCH] cpu: hotplug: Bound hotplug states sysfs output" failed to apply to 5.10-stable tree gregkh
2026-07-22 18:38 ` [PATCH 5.10.y] cpu: hotplug: Bound hotplug states sysfs output Thomas Gleixner
2026-07-22 18:55 ` Bradley Morgan
2026-07-24 11:22 ` 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=20260724105500.stable-0010@kernel.org \
--to=sashal@kernel.org \
--cc=gregkh@linuxfoundation.org \
--cc=include@grrlz.net \
--cc=stable@vger.kernel.org \
--cc=tglx@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