Bug 2265653 (CVE-2023-52448)

Summary: CVE-2023-52448 kernel: gfs2: Fix kernel NULL pointer dereference in gfs2_rgrp_dump
Product: [Other] Security Response Reporter: Patrick Del Bello <pdelbell>
Component: vulnerabilityAssignee: Product Security <prodsec-ir-bot>
Status: NEW --- QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: acaringi, allarkin, aquini, bhu, chwhite, cye, cyin, dbohanno, debarbos, dfreiber, drow, dvlasenk, esandeen, ezulian, hkrzesin, jarod, jburrell, jdenham, jfaracco, jforbes, jlelli, joe.lawrence, jshortt, jstancek, jwyatt, kcarcia, ldoskova, lgoncalv, lzampier, mleitner, mmilgram, mstowell, nmurray, ptalbert, rparrazo, rrobaina, rvrbovsk, rysulliv, scweaver, sukulkar, tglozar, tyberry, vkumar, wcosta, williams, wmealing, ycote, ykopkova, zhijwang
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2265669    
Bug Blocks: 2265643    

Description Patrick Del Bello 2024-02-23 13:47:37 UTC
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.

Comment 1 Patrick Del Bello 2024-02-23 14:54:17 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 2265669]

Comment 3 Justin M. Forbes 2024-02-27 00:26:43 UTC
	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

Comment 4 Justin M. Forbes 2024-02-27 00:27:22 UTC
This was fixed for Fedora with the 6.614 stable kernel updates.

Comment 7 errata-xmlrpc 2024-04-30 10:16:17 UTC
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

Comment 8 errata-xmlrpc 2024-05-22 09:13:27 UTC
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

Comment 9 errata-xmlrpc 2024-05-22 09:52:49 UTC
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