Re: [PATCH v2 1/2] misc: fastrpc: Fix NULL pointer dereference in rpmsg callback

From: Srinivas Kandagatla

Date: Tue May 19 2026 - 12:18:23 EST



On Mon, 04 May 2026 22:47:00 +0530, Mukesh Ojha wrote:
> A NULL pointer dereference was observed on Hawi at boot when the DSP
> sends a glink message before fastrpc_rpmsg_probe() has completed
> initialization:
>
> Unable to handle kernel NULL pointer dereference at virtual address 0000000000000178
> pc : _raw_spin_lock_irqsave+0x34/0x8c
> lr : fastrpc_rpmsg_callback+0x3c/0xcc [fastrpc]
> ...
> Call trace:
> _raw_spin_lock_irqsave+0x34/0x8c (P)
> fastrpc_rpmsg_callback+0x3c/0xcc [fastrpc]
> qcom_glink_native_rx+0x538/0x6a4
> qcom_glink_smem_intr+0x14/0x24 [qcom_glink_smem]
>
> [...]

Applied, thanks!

[1/2] misc: fastrpc: Fix NULL pointer dereference in rpmsg callback
commit: 4d24965e0ae82ae4b49c4d739d030ee23a1779d4
[2/2] misc: fastrpc: Move prints outside spinlock in fastrpc_cb_probe
commit: 8d712bcdd1ef73bf790f01039508fb4e9c076bb1

Best regards,
--
Srinivas Kandagatla <srini@xxxxxxxxxx>