Re: [PATCH] media: chips-media: wave5: Fix possible ERR_PTR deference
From: Markus Elfring
Date: Fri Feb 13 2026 - 06:39:08 EST
…
> or ERR_PTR() on failure. The return value was not checked and in the
error pointer
…
> Add proper IS_ERR() check after kthread_run(), log the error, set
> dev->irq_thread to NULL and fail the probe to prevent the driver
> from operating in a broken state.
…
See also once more:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/process/stable-kernel-rules.rst?h=v6.19#n34
Would a summary phrase like “Prevent error pointer dereference in wave5_vpu_probe()”
be more appropriate?
Regards,
Markus