Skip to content
Commit e0b561ee authored by Jiri Kosina's avatar Jiri Kosina
Browse files

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: default avatarFengguang Wu <fengguang.wu@intel.com>
Reported-by: default avatarKees Cook <keescook@chromium.org>
Acked-by: default avatarSeth Jennings <sjenning@redhat.com>
Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
parent 1d9c5d79
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment