livepatch: fix format string in kobject_init_and_add()
kobject_init_and_add() takes expects format string for a name, so we better provide it in order to avoid infoleaks if modules craft their mod->name in a special way. Reported-by: NFengguang Wu <fengguang.wu@intel.com> Reported-by: NKees Cook <keescook@chromium.org> Acked-by: NSeth Jennings <sjenning@redhat.com> Signed-off-by: NJiri Kosina <jkosina@suse.cz>
Showing
想要评论请 注册 或 登录