ipc_task_queue_send_task() is documented to return the callback's result, but returns 0 whenever the callback succeeds. ipc_protocol_msg_send() uses that result as the message ring slot that points to its on-stack response, so a timeout clears slot 0 and leaves the real slot pointing to the returned stack frame. A late reply then calls complete() on it: BUG: unable to handle page fault for address: fffffffffffffff8 RIP: 0010:complete+0x9c/0x2b0 Call Trace: ipc_protocol_msg_process ipc_imem_tq_irq_cb ipc_task_queue_handler Return the callback result. The other callers see the same values as before. Reproduced on an XMM7360 by forcing pipe open and close timeouts. Fixes: 3b575260cb86 ("net: iosm: bottom half") Signed-off-by: David Westen --- Notes: The bug was found in an AI-assisted review of the driver. The investigation, the test changes, the patch and this changelog were done with an AI coding assistant (Claude Opus 5.5). I ran the tests and reviewed the result. drivers/net/wwan/iosm/iosm_ipc_task_queue.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/net/wwan/iosm/iosm_ipc_task_queue.c b/drivers/net/wwan/iosm/iosm_ipc_task_queue.c index 7cb2f6a506d9..069075481825 100644 --- a/drivers/net/wwan/iosm/iosm_ipc_task_queue.c +++ b/drivers/net/wwan/iosm/iosm_ipc_task_queue.c @@ -162,10 +162,8 @@ int ipc_task_queue_send_task(struct iosm_imem *imem, copy, size, is_copy); if (is_copy) kfree(copy); - goto out; } - ret = 0; out: return ret; } -- 2.56.0