diff options
author | 2020-11-24 10:44:36 -0500 | |
---|---|---|
committer | 2020-11-25 18:10:55 +0100 | |
commit | 778721510e84209f78e31e2ccb296ae36d623f5e (patch) | |
tree | 96707ce63859f1cd210625c8b9da7701190d907a /tools/perf/scripts/python/export-to-postgresql.py | |
parent | gfs2: set lockdep subclass for iopen glocks (diff) | |
download | wireguard-linux-778721510e84209f78e31e2ccb296ae36d623f5e.tar.xz wireguard-linux-778721510e84209f78e31e2ccb296ae36d623f5e.zip |
gfs2: check for empty rgrp tree in gfs2_ri_update
If gfs2 tries to mount a (corrupt) file system that has no resource
groups it still tries to set preferences on the first one, which causes
a kernel null pointer dereference. This patch adds a check to function
gfs2_ri_update so this condition is detected and reported back as an
error.
Reported-by: syzbot+e3f23ce40269a4c9053a@syzkaller.appspotmail.com
Signed-off-by: Bob Peterson <rpeterso@redhat.com>
Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions