All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] zram: fix pCPU stream access vs CPU-hotplug races
@ 2026-11-30  4:43 Sergey Senozhatsky
  2026-11-30  4:43 ` [PATCH 1/2] zram: avoid rollback UAF in zcomp_cpu_up_prepare() Sergey Senozhatsky
  2026-11-30  4:43 ` [PATCH 2/2] zram: publish streams under lock in zcomp_cpu_up_prepare() Sergey Senozhatsky
  0 siblings, 2 replies; 5+ messages in thread
From: Sergey Senozhatsky @ 2026-11-30  4:43 UTC (permalink / raw)
  To: Andrew Morton
  Cc: Suren Baghdasaryan, Brian Geffon, Minchan Kim, Richard Chang,
	linux-kernel, linux-block, linux-mm, Sergey Senozhatsky

Suren Baghdasaryan ran an internal model on zram and found a couple
of pre-existing issues with per-CPU stream access in zram.  Both
are very low risk, related to preemption and CPU-hotplug races,
and have existed since v6.15.  Because zcomp has been redesigned
since v6.15 (split into separate R/W streams), these patches do
not apply to stable trees as-is, thus stable+noautosel tag.

Sergey Senozhatsky (2):
  zram: avoid rollback UAF in zcomp_cpu_up_prepare()
  zram: publish streams under lock in zcomp_cpu_up_prepare()

 drivers/block/zram/zcomp.c | 109 ++++++++++++++++++++++++++-----------
 drivers/block/zram/zcomp.h |   4 +-
 2 files changed, 80 insertions(+), 33 deletions(-)

-- 
2.56.1.839.g22a8290db9-goog


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2026-12-01  1:31 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-30  4:43 [PATCH 0/2] zram: fix pCPU stream access vs CPU-hotplug races Sergey Senozhatsky
2026-11-30  4:43 ` [PATCH 1/2] zram: avoid rollback UAF in zcomp_cpu_up_prepare() Sergey Senozhatsky
2026-12-01  1:31   ` + zram-avoid-rollback-uaf-in-zcomp_cpu_up_prepare.patch added to mm-new branch Andrew Morton
2026-11-30  4:43 ` [PATCH 2/2] zram: publish streams under lock in zcomp_cpu_up_prepare() Sergey Senozhatsky
2026-12-01  1:31   ` + zram-publish-streams-under-lock-in-zcomp_cpu_up_prepare.patch added to mm-new branch Andrew Morton

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.