Re: [char-misc-next v2] mei: use kvmalloc for read buffer

From: Greg Kroah-Hartman
Date: Tue Oct 15 2024 - 07:24:37 EST


On Tue, Oct 15, 2024 at 01:47:45PM +0300, Alexander Usyskin wrote:
> Read buffer is allocated according to max message size, reported by
> the firmware and may reach 64K in systems with pxp client.
> Contiguous 64k allocation may fail under memory pressure.
> Read buffer is used as in-driver message storage and not required
> to be contiguous.
> Use kvmalloc to allow kernel to allocate non-contiguous memory.
>
> Reported-by: Rohit Agarwal <rohiagar@xxxxxxxxxxxx>
> Closes: https://lore.kernel.org/all/20240813084542.2921300-1-rohiagar@xxxxxxxxxxxx/
> Tested-by: Brian Geffon <bgeffon@xxxxxxxxxx>
> Signed-off-by: Alexander Usyskin <alexander.usyskin@xxxxxxxxx>
> ---

No Fixes: tag?