mirror of
https://github.com/torvalds/linux.git
synced 2026-11-23 23:11:40 +00:00
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]>