[PATCH 6.6.y 0/2] sched/psi: fix race in pressure_write (CVE-2026-52991)

Philo Lu posted 2 patches 1 week, 3 days ago
kernel/cgroup/cgroup.c | 25 +++++++++++++++++--------
1 file changed, 17 insertions(+), 8 deletions(-)
[PATCH 6.6.y 0/2] sched/psi: fix race in pressure_write (CVE-2026-52991)
Posted by Philo Lu 1 week, 3 days ago
This patchset is same as that for 6.12.y.

Backport of the CVE-2026-52991 fix.

  1/2 (94a4acfec146) clear of->priv on release, turning the UAF into an
      easier-to-detect NULL deref.
  2/2 (a5b98009f16d, the CVE fix) extend cgroup_mutex to cover all
      of->priv accesses, read ctx after taking the kn lock, and NULL-check
      of->priv. It depends on 1/2 as discussed in [0].

[0] https://lore.kernel.org/all/8a06c5c3-8f7a-4252-a3b1-0c0d812e2654@oracle.com/

Chen Ridong (1):
  cgroup/psi: Set of->priv to NULL upon file release

Edward Adam Davis (1):
  sched/psi: fix race between file release and pressure write

 kernel/cgroup/cgroup.c | 25 +++++++++++++++++--------
 1 file changed, 17 insertions(+), 8 deletions(-)

--
2.47.3
Re: [PATCH 6.6.y 0/2] sched/psi: fix race in pressure_write (CVE-2026-52991)
Posted by Greg KH 4 days, 3 hours ago
On Wed, Jul 15, 2026 at 04:42:54PM +0800, Philo Lu wrote:
> This patchset is same as that for 6.12.y.

Where is the 6.12.y version?

thanks,

greg k-h-
Re: [PATCH 6.6.y 0/2] sched/psi: fix race in pressure_write (CVE-2026-52991)
Posted by Philo Lu 3 days, 13 hours ago
On 7/21/26 9:09 PM, Greg KH wrote:
> On Wed, Jul 15, 2026 at 04:42:54PM +0800, Philo Lu wrote:
>> This patchset is same as that for 6.12.y.
> 
> Where is the 6.12.y version?

It was sent as a new patchset:
https://lore.kernel.org/stable/20260715083245.32115-1-lulie@linux.alibaba.com/

As Sasha said in that thread. The patchset is waiting on a pending Tejun 
fix (deadlock risk with cgroup_mutex). He'll queue 6.12/6.6/6.1 together 
once it lands.

Thanks.
-- 
Philo