Bug 2278425 (CVE-2024-27051)

Summary: CVE-2024-27051 kernel: cpufreq: brcmstb-avs-cpufreq: add check for cpufreq_cpu_get's return value
Product: [Other] Security Response Reporter: Zack Miele <zmiele>
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.10.214, kernel 5.15.153, kernel 6.1.83, kernel 6.6.23, kernel 6.7.11, kernel 6.8.2, kernel 6.9-rc1 Doc Type: If docs needed, set a value
Doc Text:
A vulnerability was found in the brcm_avs_is_firmware_loaded() function in the Linux Kernel's brcmstb-avs-cpufreq.c driver, where a lack of proper checks may lead to a NULL pointer dereference. This is caused by a call to the cpufreq_cpu_get() function, which may return NULL and whose output is then stored in the policy value which is referenced later on in the function. This issue may lead to system instability.
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: 2278426    
Bug Blocks: 2278552    

Description Zack Miele 2024-05-01 20:26:32 UTC
In the Linux kernel, the following vulnerability has been resolved:

cpufreq: brcmstb-avs-cpufreq: add check for cpufreq_cpu_get&#39;s return value

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

Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2024050114-CVE-2024-27051-07ce@gregkh/T

Comment 1 Zack Miele 2024-05-01 20:27:06 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 2278426]

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