Bug 2265796 (CVE-2023-52461)

Summary: CVE-2023-52461 kernel: drm/sched: Fix bounds limiting when given a malformed entity
Product: [Other] Security Response Reporter: Patrick Del Bello <pdelbell>
Component: vulnerabilityAssignee: Product Security <prodsec-ir-bot>
Status: NEW --- QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: acaringi, allarkin, aquini, bhu, chwhite, cye, cyin, dbohanno, debarbos, dfreiber, drow, dvlasenk, esandeen, ezulian, hkrzesin, jarod, jburrell, jdenham, jfaracco, jforbes, jlelli, joe.lawrence, jshortt, jstancek, jwyatt, kcarcia, ldoskova, lgoncalv, lzampier, mleitner, mmilgram, mstowell, ndegraef, nmurray, ptalbert, rparrazo, rrobaina, rvrbovsk, scweaver, sukulkar, tglozar, vkumar, wcosta, williams, wmealing, ycote, ykopkova, zhijwang
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: kernel 6.8-rc1 Doc Type: If docs needed, set a value
Doc Text:
If we're given a malformed entity in drm_sched_entity_init()--shouldn't happen, but we verify--with out-of-bounds priority value, we set it to an allowed value. Fix the expression which sets this limit.
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: 2265808    
Bug Blocks: 2265790    

Description Patrick Del Bello 2024-02-24 11:20:09 UTC
If we're given a malformed entity in drm_sched_entity_init()--shouldn't happen, but we verify--with out-of-bounds priority value, we set it to an
allowed value. Fix the expression which sets this limit.

Comment 1 Patrick Del Bello 2024-02-24 11:25:20 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 2265808]

Comment 3 Justin M. Forbes 2024-02-27 00:08:10 UTC
	Issue introduced in 6.7 with commit 56e449603f0ac5 and fixed in 6.7.2 with commit 1470d173925d
	Issue introduced in 6.7 with commit 56e449603f0ac5 and fixed in 6.8-rc1 with commit 2bbe6ab2be53

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