Re: [PATCH 5.15 034/127] drivers/block/zram/zram_drv.c: do not keep dangling zcomp pointer after zram reset

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Greg Kroah-Hartman wrote on Tue, Jan 21, 2025 at 06:51:46PM +0100:
> 5.15-stable review patch.  If anyone has any objections, please let me know.
> 
> ------------------
> 
> From: Sergey Senozhatsky <senozhatsky@xxxxxxxxxxxx>
> 
> commit 6d2453c3dbc5f70eafc1c866289a90a1fc57ce18 upstream.
>
> We do all reset operations under write lock, so we don't need to save

This branch does not have said write lock, please either also pick
6f1637795f28 ("zram: fix race between zram_reset_device() and
disksize_store()") or drop the 3 zram patches from 5.15
(see https://lore.kernel.org/all/Z4YUmMI5e2yPmzHl@xxxxxxxxxxxxxxxxx/T/#u ;
sorry I didn't follow up more thoroughly. As said there, I believe that
with the extra patch this backport is now sound, but given this isn't a
security fix my opinion is that this was too complex of a backport for
an uninvolved party like me to do)

Thank you either way,
-- 
Dominique




[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux