On Mon, 06 Apr 2026 09:59:50 +0530, Vishnu Santhosh wrote:
> A null pointer panic is observed when stopping a remoteproc and closing
> a character device using the RPMSG_DESTROY_EPT_IOCTL. There is a race
> where each context calls rpmsg_chrdev_eptdev_destroy(). The thread that
> runs second will call cdev_device_del() for a second time, which fails
> because the first call already removed the device from sysfs. Add a
> check at the beginning of destroy and exit early if the destroy call
> has already been done.
> 
> [...]

Applied, thanks!

[1/1] rpmsg: char: Check for ongoing chrdev destroy
      commit: 1f9c2897afb0fe86c1fdf4f5e23c5fb8f7442f6d

Best regards,
-- 
Bjorn Andersson <[email protected]>

Reply via email to