Bug 2284492 (CVE-2024-36931)

Summary: CVE-2024-36931 kernel: s390/cio: Ensure the copied buf is NUL terminated
Product: [Other] Security Response Reporter: Rohit Keshri <rkeshri>
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, ymittal, zhijwang
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: kernel 5.15.159, kernel 6.1.91, kernel 6.6.31, kernel 6.8.10, kernel 6.9 Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in the Linux kernel’s cio_inject module. Data from the user space is copied to a kernel buffer without making sure it is NULL terminated, causing an out-of-bounds read and resulting in a denial of service.
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: 2284493    
Bug Blocks: 2284466    

Description Rohit Keshri 2024-06-03 12:13:17 UTC
In the Linux kernel, the following vulnerability has been resolved:

s390/cio: Ensure the copied buf is NUL terminated

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

Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2024053041-CVE-2024-36931-3201@gregkh/T

Comment 1 Rohit Keshri 2024-06-03 12:14:01 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 2284493]

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