Bug 2273252 (CVE-2024-26731)

Summary: CVE-2024-26731 kernel: bpf, sockmap: Fix NULL pointer dereference in sk_psock_verdict_data_ready()
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 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 Linux kernel, where a race condition is present between the sk_psock_verdict_data_ready() and sk_psock_stop_verdict() functions. If the functions are called concurrently, the psock (packet socket) object which both access could be NULL, causing a NULL pointer dereference, leading to memory corruption 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: 2273253    
Bug Blocks: 2273246    

Description Robb Gatica 2024-04-04 01:16:31 UTC
In the Linux kernel, the following vulnerability has been resolved:

bpf, sockmap: Fix NULL pointer dereference in sk_psock_verdict_data_ready()

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

Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2024040358-CVE-2024-26731-e084@gregkh/T

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

Affects: fedora-all [bug 2273253]

Comment 2 Alex 2024-06-09 13:02:20 UTC
The result of automatic check (that is developed by Alexander Larkin) for this CVE-2024-26731 is: 	SKIP	The Fixes patch not applied yet, so unlikely that actual: 6df7f764cd3cf5a03a4a47b23be47e57e41fcd85	YES			NO	NO	unknown (where first YES/NO value means if related sources built).