mirror of https://gitee.com/openkylin/linux.git
70a6f46d7b
Passing a NULL id causes a NULL pointer deference in writers such as erst_writer and efi_pstore_write because they expect to update this id. Pass a dummy id instead. This avoids a cascade of oopses caused when the initial pstore_console_write passes a null which in turn causes writes to the console causing further oopses in subsequent pstore_console_write calls. Signed-off-by: Colin Ian King <colin.king@canonical.com> Acked-by: Kees Cook <keescook@chromium.org> Cc: stable@vger.kernel.org Signed-off-by: Anton Vorontsov <anton.vorontsov@linaro.org> |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
ftrace.c | ||
inode.c | ||
internal.h | ||
platform.c | ||
ram.c | ||
ram_core.c |