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 creatingrgd->rd_gl fails in read_rindex_entry(). Add a NULL pointer check in gfs2_rgrp_dump() to prevent that.
Created kernel tracking bugs for this issue: Affects: fedora-all [bug 2265669]
Issue introduced in 4.20 with commit 72244b6bc752 and fixed in 5.4.268 with commit efc8ef87ab91 Issue introduced in 4.20 with commit 72244b6bc752 and fixed in 5.10.209 with commit 5c28478af371 Issue introduced in 4.20 with commit 72244b6bc752 and fixed in 5.15.148 with commit ee0586d73cba Issue introduced in 4.20 with commit 72244b6bc752 and fixed in 6.1.75 with commit d69d7804cf9e Issue introduced in 4.20 with commit 72244b6bc752 and fixed in 6.6.14 with commit 067a7c48c2c7 Issue introduced in 4.20 with commit 72244b6bc752 and fixed in 6.7.2 with commit c323efd620c7 Issue introduced in 4.20 with commit 72244b6bc752 and fixed in 6.8-rc1 with commit 8877243beafa
This was fixed for Fedora with the 6.614 stable kernel updates.
This issue has been addressed in the following products: Red Hat Enterprise Linux 9 Via RHSA-2024:2394 https://access.redhat.com/errata/RHSA-2024:2394
This issue has been addressed in the following products: Red Hat Enterprise Linux 8 Via RHSA-2024:2950 https://access.redhat.com/errata/RHSA-2024:2950
This issue has been addressed in the following products: Red Hat Enterprise Linux 8 Via RHSA-2024:3138 https://access.redhat.com/errata/RHSA-2024:3138
The result of automatic check (that is developed by Alexander Larkin) for this CVE-2023-52448 is: CHECK Maybe valid. Check manually. with impact MODERATE (that is approximation based on flags NULLPTR DISK SIMPLEFIX IMPROVEONLY ; these flags parsed automatically based on patche data). Such automatic check happens only for Low/Moderates (and only when not from reporter, but parsing already existing CVE). Highs always checked manually (I check it myself and then we check it again in Remediation team). In rare cases some of the Moderates could be increased to High later.
This issue has been addressed in the following products: Red Hat Enterprise Linux 8.8 Extended Update Support Via RHSA-2024:5255 https://access.redhat.com/errata/RHSA-2024:5255
This issue has been addressed in the following products: Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions Red Hat Enterprise Linux 8.6 Telecommunications Update Service Via RHSA-2024:5281 https://access.redhat.com/errata/RHSA-2024:5281
This issue has been addressed in the following products: Red Hat Enterprise Linux 9.2 Extended Update Support Via RHSA-2024:5365 https://access.redhat.com/errata/RHSA-2024:5365
This issue has been addressed in the following products: Red Hat Enterprise Linux 9.2 Extended Update Support Via RHSA-2024:5364 https://access.redhat.com/errata/RHSA-2024:5364