title: gfs2: Fix kernel NULL pointer dereference in gfs2_rgrp_dump
description: In the Linux kernel, the following vulnerability has been resolved:
gfs2: Fix kernel NULL pointer dereference in gfs2_rgrp_dump
Syzkaller has reported a NULL pointer dereference when accessing
rgd->rd_rgl in gfs2_rgrp_dump().  This can happen when creating
rgd->rd_gl fails in read_rindex_entry().  Add a NULL pointer check in
gfs2_rgrp_dump() to prevent that.
affected:
{
product: Linux
vendor: Linux
defaultStatus: unaffected
repo: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
versions:
version: 72244b6bc752, lessThan: efc8ef87ab91, status: affected, versionType: git
version: 72244b6bc752, lessThan: 5c28478af371, status: affected, versionType: git
version: 72244b6bc752, lessThan: ee0586d73cba, status: affected, versionType: git
version: 72244b6bc752, lessThan: d69d7804cf9e, status: affected, versionType: git
version: 72244b6bc752, lessThan: 067a7c48c2c7, status: affected, versionType: git
version: 72244b6bc752, lessThan: c323efd620c7, status: affected, versionType: git
version: 72244b6bc752, lessThan: 8877243beafa, status: affected, versionType: git
}
{
product: Linux
vendor: Linux
defaultStatus: affected
repo: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
versions:
version: 4.20, status: affected
version: 0, lessThan: 4.20, status: unaffected, versionType: custom
version: 5.4.268, lessThanOrEqual: 5.4.*, status: unaffected, versionType: custom
version: 5.10.209, lessThanOrEqual: 5.10.*, status: unaffected, versionType: custom
version: 5.15.148, lessThanOrEqual: 5.15.*, status: unaffected, versionType: custom
version: 6.1.75, lessThanOrEqual: 6.1.*, status: unaffected, versionType: custom
version: 6.6.14, lessThanOrEqual: 6.6.*, status: unaffected, versionType: custom
version: 6.7.2, lessThanOrEqual: 6.7.*, status: unaffected, versionType: custom
version: 6.8, lessThanOrEqual: *, status: unaffected, versionType: original_commit_for_fix
}
