mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Siddh Raman Pant <siddh.raman.pant@oracle.com>
To: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: stable <stable@vger.kernel.org>,
	linux-kernel <linux-kernel@vger.kernel.org>
Subject: [PATCH 5.4.y 0/2] Missing cgroup RCU patches for 5.4.y
Date: Mon,  2 Dec 2024 16:40:22 +0530	[thread overview]
Message-ID: <20241202111024.11212-1-siddh.raman.pant@oracle.com> (raw)

5.4 doesn't have commit backported which introduces RCU for cgroup
root_list, but has a commit fixing a UAF (and thus a CVE) which depends
on it.

Thus, we need to backport the original commits. See thread:
https://lore.kernel.org/all/xr93ikus2nd1.fsf@gthelen-cloudtop.c.googlers.com/

This patch series backports the requisite commits to 5.4.y, which are
picked up from the above mentioned thread.

Thanks,
Siddh

Waiman Long (1):
  cgroup: Move rcu_head up near the top of cgroup_root

Yafang Shao (1):
  cgroup: Make operations on the cgroup root_list RCU safe

 include/linux/cgroup-defs.h     |  7 ++++---
 kernel/cgroup/cgroup-internal.h |  3 ++-
 kernel/cgroup/cgroup.c          | 23 ++++++++++++++++-------
 3 files changed, 22 insertions(+), 11 deletions(-)

-- 
2.45.2


             reply	other threads:[~2024-12-02 11:10 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-12-02 11:10 Siddh Raman Pant [this message]
2024-12-02 11:10 ` [PATCH 5.4.y 1/2] cgroup: Make operations on the cgroup root_list RCU safe Siddh Raman Pant
2024-12-02 11:10 ` [PATCH 5.4.y 2/2] cgroup: Move rcu_head up near the top of cgroup_root Siddh Raman Pant

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=20241202111024.11212-1-siddh.raman.pant@oracle.com \
    --to=siddh.raman.pant@oracle.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-kernel@vger.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®