aboutsummaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-01-23 14:48:54 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-01-31 14:07:59 +0100
commit36991ca68db9dd43bac7f3519f080ee3939263ef (patch)
tree49a095083f83399fa032a7e3264a1509d79dc983 /kernel
parentrelay: check return of create_buf_file() properly (diff)
downloadlinux-dev-36991ca68db9dd43bac7f3519f080ee3939263ef.tar.xz
linux-dev-36991ca68db9dd43bac7f3519f080ee3939263ef.zip
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>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions