dm: add error handling support for add_disk()
hulk inclusion category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I81XCK CVE: NA --------------------------- NULL pointer dereference and uaf will be triggered in del_gendisk() if add_disk has not complete. Clear request_queue and gendisk early if add_disk fail. Signed-off-by:Li Lingfeng <lilingfeng3@huawei.com>
Loading
Please sign in to comment