In the Linux kernel, the following vulnerability has been resolved:driver core: Fix a potential null-ptr-deref in module_add_driver()Inject fault while probing of-fpga-region, if kasprintf() fails in
module_add_driver(), the second sysfs_remove_link() in exit path will cause
null-ptr-deref as below because kernfs_name_hash() will call strlen() with
NULL driver_name.Fix it by releasing resources based on the exit path sequence.