]> Git Repo - linux.git/commit
livepatch: fix format string in kobject_init_and_add()
authorJiri Kosina <[email protected]>
Sun, 15 Feb 2015 09:03:20 +0000 (10:03 +0100)
committerJiri Kosina <[email protected]>
Mon, 16 Feb 2015 15:26:56 +0000 (16:26 +0100)
commite0b561ee78d82a4cc7792aa28fa4b1ea15325dcc
treee11dc662c90bc42ee17d358f0f79eb914dfbb119
parent1d9c5d79e6e4385aea6f69c23ba543717434ed70
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: Fengguang Wu <[email protected]>
Reported-by: Kees Cook <[email protected]>
Acked-by: Seth Jennings <[email protected]>
Signed-off-by: Jiri Kosina <[email protected]>
kernel/livepatch/core.c
This page took 0.059177 seconds and 4 git commands to generate.