Files
linux/block
Greg Kroah-Hartman 36991ca68d blk-mq: protect debugfs_create_files() from failures
If debugfs were to return a non-NULL error for a debugfs call, using
that pointer later in debugfs_create_files() would crash.

Fix that by properly checking the pointer before referencing it.

Reported-by: Michal Hocko <mhocko@kernel.org>
Reported-and-tested-by: syzbot+b382ba6a802a3d242790@syzkaller.appspotmail.com
Reported-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-01-31 14:07:59 +01:00
..
2018-11-07 13:42:32 -07:00
2018-11-16 08:34:06 -07:00
2018-11-30 14:48:04 -07:00
2018-12-18 17:50:47 +01:00
2018-12-17 11:19:54 -07:00
2018-12-16 19:53:47 -07:00
2018-11-15 12:13:25 -07:00
2018-12-21 08:47:58 -07:00
2018-11-16 08:34:06 -07:00
2018-10-25 11:17:40 -06:00
2018-05-31 10:50:54 -04:00
2018-11-07 13:42:32 -07:00