Bug 2281734 (CVE-2024-35873)

Summary: CVE-2024-35873 kernel: riscv: Fix vector state restore in rt_sigreturn()
Product: [Other] Security Response Reporter: ybuenos
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.8.5, kernel 6.9 Doc Type: If docs needed, set a value
Doc Text:
A vulnerability was found in the Linux kernel, affecting the RISC-V architecture. It arises during the restoration of the vector state in the `rt_sigreturn()` syscall after a signal handler is executed. The bug occurs when the live vector state is discarded and marked as "dirty," leading to corruption of the vector state (vstate) when it is restored, which can cause application crashes.
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: 2326184, 2281735    
Bug Blocks: 2281792    

Description ybuenos 2024-05-20 13:12:23 UTC
In the Linux kernel, the following vulnerability has been resolved:

riscv: Fix vector state restore in rt_sigreturn()

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

Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2024051942-CVE-2024-35873-40f1@gregkh/T

Comment 1 ybuenos 2024-05-20 13:13:09 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 2281735]

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