Bug 2278385 (CVE-2024-27063)

Summary: CVE-2024-27063 kernel: leds: trigger: netdev: Fix kernel panic on interface rename trig notify
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 6.6.24, kernel 6.7.12, kernel 6.8.3, kernel 6.9-rc1 Doc Type: If docs needed, set a value
Doc Text:
A vulnerability was found in the netdev_trig_notify() function in the Linux Kernel's led ledtrig-netdev.c driver, where a call to the get_device_state() function may lead to a kernel panic. This can occur when the interface is renamed, because the function get_device_state() still uses the old device reference found in trigger_data, which may not have been updated to the new device, resulting in an invalid memory reference. This issue can 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: 2278386    
Bug Blocks: 2278552    

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

leds: trigger: netdev: Fix kernel panic on interface rename trig notify

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

Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2024050131-CVE-2024-27063-c356@gregkh/T

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

Affects: fedora-all [bug 2278386]

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