Re: [PATCH 1/1] pstore/ram: Check member of buffers during the initialization phase of the pstore
From: Kees Cook
Date: Fri Aug 04 2023 - 13:04:38 EST
On Tue, 01 Aug 2023 14:04:32 +0800, Yunlong Xing wrote:
> The commit 30696378f68a("pstore/ram: Do not treat empty buffers as valid")
> would introduce the following issue:
>
> When finding the buffer_size is zero, it would return directly.However, at
> the same time, if the buffer's start is a illegal value, the others would
> panic if access the buffer.
>
> [...]
Applied to for-next/pstore, thanks!
[1/1] pstore/ram: Check member of buffers during the initialization phase of the pstore
https://git.kernel.org/kees/c/fe8c3623ab06
Take care,
--
Kees Cook