hsi: suspected uaf issue in hsi_core.c

From: YE Chengfeng
Date: Fri Nov 05 2021 - 03:52:41 EST


Hi,

It seems that put_device will free cl, so we are returning a freed object. Should we add goto err; in this branch?
https://github.com/torvalds/linux/blob/master/drivers/hsi/hsi_core.c#L102

Best regards,
Chengfeng