Re: + zram-fix-null-dereference-of-handle.patch added to -mm tree

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

 



On (09/25/17 15:16), akpm@xxxxxxxxxxxxxxxxxxxx wrote:
> ------------------------------------------------------
> From: Minchan Kim <minchan@xxxxxxxxxx>
> Subject: zram: fix null dereference of handle
> 
> In testing I found handle passed to zs_map_object in __zram_bvec_read is
> NULL so eh kernel goes oops in pin_object().
> 
> The reason is there is no routine to check the slot's freeing after
> getting the slot's lock.  This patch fixes it.
> 

Hello,

Andrew, I believe there was V2 of this patch:
message id: 1505887347-10881-1-git-send-email-minchan@xxxxxxxxxx

	-ss



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