Bug 2273215 (CVE-2024-26754)

Summary: CVE-2024-26754 kernel: gtp: fix use-after-free and null-ptr-deref in gtp_genl_dump_pdp()
Product: [Other] Security Response Reporter: Robb Gatica <rgatica>
Component: vulnerabilityAssignee: Product Security <prodsec-ir-bot>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: acaringi, allarkin, aquini, bhu, chwhite, cye, cyin, dbohanno, debarbos, dfreiber, drow, dvlasenk, esandeen, ezulian, hkrzesin, jarod, jburrell, jdenham, jfaracco, jlelli, joe.lawrence, jshortt, jstancek, jwyatt, kcarcia, ldoskova, lgoncalv, lzampier, mleitner, mmilgram, mstowell, nmurray, ptalbert, rparrazo, rrobaina, rvrbovsk, rysulliv, scweaver, sidakwo, sukulkar, tglozar, tyberry, vkumar, wcosta, williams, wmealing, ycote, ykopkova, zhijwang
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: kernel 4.19.308, kernel 5.4.270, kernel 5.10.211, kernel 5.15.150, kernel 6.1.80, kernel 6.6.19, kernel 6.7.7, kernel 6.8 Doc Type: If docs needed, set a value
Doc Text:
A vulnerability was found in the gtp_genl_dump_pdp() function in the Linux kernel. This issue occurs due to incorrect initialization order and error handling, which can lead to use-after-free and NULL pointer dereference issues. This vulnerability could also cause undefined behaviors or crashes.
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: 2273216    
Bug Blocks: 2273182    

Description Robb Gatica 2024-04-04 00:27:41 UTC
In the Linux kernel, the following vulnerability has been resolved:

gtp: fix use-after-free and null-ptr-deref in gtp_genl_dump_pdp()

The Linux kernel CVE team has assigned CVE-2024-26754 to this issue.

Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2024040303-CVE-2024-26754-b34f@gregkh/T

Comment 1 Robb Gatica 2024-04-04 00:28:17 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 2273216]

Comment 2 Alex 2024-06-09 12:49:10 UTC
The result of automatic check (that is developed by Alexander Larkin) for this CVE-2024-26754 is: 	SKIP	No affected files built, so skip this CVE	NO			-	-	unknown (where first YES/NO value means if related sources built).