Re: [PATCH v2] firmware: arm_ffa: Fix NULL dereference in ffa_partition_info_get()
From: Sudeep Holla
Date: Tue Jun 30 2026 - 05:57:57 EST
On Wed, 17 Jun 2026 16:35:00 -0700, Unnathi Chalicheemala wrote:
> ffa_partition_info_get() passes uuid_str directly to uuid_parse()
> without a NULL check. When a caller passes NULL, uuid_parse() ->
> __uuid_parse() -> uuid_is_valid() dereferences the pointer, causing
> a kernel panic:
>
> Unable to handle kernel NULL pointer dereference at virtual address
> 0000000000000040
> pc : uuid_parse+0x40/0xac
> lr : ffa_partition_info_get+0x1c/0x94 [arm_ffa]
>
> [...]
Applied to sudeep.holla/linux (for-next/ffa/fixes), thanks!
[1/1] firmware: arm_ffa: Fix NULL dereference in ffa_partition_info_get()
https://git.kernel.org/sudeep.holla/c/8ae5f8e48366
--
Regards,
Sudeep