lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CABQgh9E3vLSwxFzH8UaQN8icGENhbAjsGO5MHO-dZwHNXrXBkw@mail.gmail.com>
Date: Tue, 2 Dec 2025 15:49:12 +0800
From: Zhangfei Gao <zhangfei.gao@...aro.org>
To: Chenghai Huang <huangchenghai2@...wei.com>
Cc: gregkh@...uxfoundation.org, wangzhou1@...ilicon.com, 
	linux-kernel@...r.kernel.org, linux-crypto@...r.kernel.org, 
	fanghao11@...wei.com, shenyang39@...wei.com, liulongfang@...wei.com, 
	qianweili@...wei.com, linwenkai6@...ilicon.com
Subject: Re: [PATCH v6 1/4] uacce: fix cdev handling in the cleanup path

On Tue, 2 Dec 2025 at 14:13, Chenghai Huang <huangchenghai2@...wei.com> wrote:
>
> From: Wenkai Lin <linwenkai6@...ilicon.com>
>
> When cdev_device_add fails, it internally releases the cdev memory,
> and if cdev_device_del is then executed, it will cause a hang error.
> To fix it, we check the return value of cdev_device_add() and clear
> uacce->cdev to avoid calling cdev_device_del in the uacce_remove.
>
> Fixes: 015d239ac014 ("uacce: add uacce driver")
> Cc: stable@...r.kernel.org
> Signed-off-by: Wenkai Lin <linwenkai6@...ilicon.com>
> Signed-off-by: Chenghai Huang <huangchenghai2@...wei.com>

Acked-by: Zhangfei Gao <zhangfei.gao@...aro.org>

Thanks

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ