mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-22 16:06:04 -05:00
212fe1c0df
If zram_meta_alloc failed early, it frees allocated zram->table without
setting it NULL. Which will potentially cause zram_meta_free to access
the table if user reset an failed and uninitialized device.
Link: https://lkml.kernel.org/r/20250107065446.86928-1-ryncsn@gmail.com
Fixes:
|
||
---|---|---|
.. | ||
backend_842.c | ||
backend_842.h | ||
backend_deflate.c | ||
backend_deflate.h | ||
backend_lz4.c | ||
backend_lz4.h | ||
backend_lz4hc.c | ||
backend_lz4hc.h | ||
backend_lzo.c | ||
backend_lzo.h | ||
backend_lzorle.c | ||
backend_lzorle.h | ||
backend_zstd.c | ||
backend_zstd.h | ||
Kconfig | ||
Makefile | ||
zcomp.c | ||
zcomp.h | ||
zram_drv.c | ||
zram_drv.h |