[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <871e075f-9c11-7baf-c3c4-8541fafa101b@kernel.org>
Date: Wed, 16 Mar 2022 09:45:02 +0800
From: Chao Yu <chao@...nel.org>
To: Dongliang Mu <dzm91@...t.edu.cn>, Gao Xiang <xiang@...nel.org>
Cc: Dongliang Mu <mudongliangabcd@...il.com>,
linux-erofs@...ts.ozlabs.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] fs: erofs: add sanity check for kobject in
erofs_unregister_sysfs
On 2022/3/15 21:28, Dongliang Mu wrote:
> From: Dongliang Mu <mudongliangabcd@...il.com>
>
> 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 <mudongliangabcd@...il.com>
Reviewed-by: Chao Yu <chao@...nel.org>
Thanks,
Powered by blists - more mailing lists