On 2022/3/15 21:28, Dongliang Mu wrote:
From: Dongliang Mu <[email protected]>

Syzkaller hit 'WARNING: kobject bug in erofs_unregister_sysfs'. This bug
is triggered by injecting fault in kobject_init_and_add of
erofs_unregister_sysfs.

Fix this by adding sanity check for kobject in erofs_unregister_sysfs

Note that I've tested the patch and the crash does not occur any more.

Signed-off-by: Dongliang Mu <[email protected]>

Reviewed-by: Chao Yu <[email protected]>

Thanks,

Reply via email to