Bug 2273448 (CVE-2024-26791)

Summary: CVE-2024-26791 kernel: btrfs: dev-replace: properly validate device names
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, mcascell, 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.309, kernel 5.4.271, kernel 5.10.212, kernel 5.15.151, kernel 6.1.81, kernel 6.6.21, kernel 6.7.9, kernel 6.8 Doc Type: If docs needed, set a value
Doc Text:
A vulnerability was found in the Linux kernel's btrfs filesystem related to the dev-replace feature. The issue stems from inadequate validation of device names. This flaw could allow an attacker unauthorized access or manipulation of devices, impacting the system's security.
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: 2273449    
Bug Blocks: 2273418    

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

btrfs: dev-replace: properly validate device names

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

Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2024040400-CVE-2024-26791-1002@gregkh/T

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

Affects: fedora-all [bug 2273449]

Comment 8 Alex 2024-06-09 12:37:11 UTC
The result of automatic check (that is developed by Alexander Larkin) for this CVE-2024-26791 is: 	SKIPCHECK	Skip, because not a security issue or not included. Check manually anyway.	YES	NONE	WRITE OOB DISK SKIP IMPROVEONLY 	NO	NO	guess (where first YES/NO value means if related sources built).