summaryrefslogtreecommitdiff
path: root/CREDITS
diff options
context:
space:
mode:
authorMinchan Kim <minchan@kernel.org>2017-10-03 16:15:19 -0700
committerPeter Kalauskas <peskal@google.com>2018-08-24 08:17:23 -0700
commitedf99a4a6eba1d4083479dd6b0a76552ac58701e (patch)
tree70e13d48a8c0f983a64d8cbc096a053872dee153 /CREDITS
parent8a610b438dbd129936d07f4aa0bd6ca42fca54c4 (diff)
UPSTREAM: 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. [minchan@kernel.org: v2] Link: http://lkml.kernel.org/r/1505887347-10881-1-git-send-email-minchan@kernel.org Link: http://lkml.kernel.org/r/1505788488-26723-1-git-send-email-minchan@kernel.org Fixes: 1f7319c74275 ("zram: partial IO refactoring") Signed-off-by: Minchan Kim <minchan@kernel.org> Reviewed-by: Sergey Senozhatsky <sergey.senozhatsky.work@gmail.com> Cc: <stable@vger.kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> (cherry picked from commit ae94264ed4b0cf7cd887947650db4c69acb62072) Signed-off-by: Peter Kalauskas <peskal@google.com> Bug: 112488418 Change-Id: I0ff4a8c2f1fcd0ee39511985809b58bf94b2d44c
Diffstat (limited to 'CREDITS')
0 files changed, 0 insertions, 0 deletions