Bug 2273274 (CVE-2024-26737)

Summary: CVE-2024-26737 kernel: bpf: Fix racing between bpf_timer_cancel_and_free and bpf_timer_cancel
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 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 use-after-free flaw was found in the Linux kernel’s BPF functionality. This flaw allows a local user to crash the system.
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: 2273275    
Bug Blocks: 2273246    

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

bpf: Fix racing between bpf_timer_cancel_and_free and bpf_timer_cancel

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

Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2024040359-CVE-2024-26737-a9c3@gregkh/T

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

Affects: fedora-all [bug 2273275]

Comment 4 Alex 2024-06-09 15:22:54 UTC
The result of automatic check (that is developed by Alexander Larkin) for this CVE-2024-26737 is: CHECK	Maybe valid. Check manually. with impact MODERATE (that is approximation based on flags LOCK INIT BPF RACE UAF TIMER  ; 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.

Comment 9 errata-xmlrpc 2024-07-31 00:40:05 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2024:4928 https://access.redhat.com/errata/RHSA-2024:4928

Comment 10 errata-xmlrpc 2024-08-07 00:12:12 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.2 Extended Update Support

Via RHSA-2024:5067 https://access.redhat.com/errata/RHSA-2024:5067

Comment 11 errata-xmlrpc 2024-08-07 09:37:07 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.2 Extended Update Support

Via RHSA-2024:5066 https://access.redhat.com/errata/RHSA-2024:5066