diff options
author | Johannes Berg <johannes.berg@intel.com> | 2019-04-15 12:39:33 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-05-08 08:21:42 +0300 |
commit | ec30811209e4753b303a827553c457e36f6147a4 (patch) | |
tree | f68fa32abb98fd21dc6ee216d20b5ff93be5527a /drivers/i2c | |
parent | be7df63d3680f89bcdaf0b805fc213c0ff3405f8 (diff) | |
download | linux-ec30811209e4753b303a827553c457e36f6147a4.tar.xz |
mac80211: don't attempt to rename ERR_PTR() debugfs dirs
commit 517879147493a5e1df6b89a50f708f1133fcaddb upstream.
We need to dereference the directory to get its parent to
be able to rename it, so it's clearly not safe to try to
do this with ERR_PTR() pointers. Skip in this case.
It seems that this is most likely what was causing the
report by syzbot, but I'm not entirely sure as it didn't
come with a reproducer this time.
Cc: stable@vger.kernel.org
Reported-by: syzbot+4ece1a28b8f4730547c9@syzkaller.appspotmail.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/i2c')
0 files changed, 0 insertions, 0 deletions