Bug 2267779 (CVE-2023-52504)

Summary: CVE-2023-52504 kernel: x86/alternatives: Disable KASAN in apply_alternatives()
Product: [Other] Security Response Reporter: Zack Miele <zmiele>
Component: vulnerabilityAssignee: Product Security <prodsec-ir-bot>
Status: CLOSED NOTABUG 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, jforbes, 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 4.19.297, kernel 5.4.270, kernel 5.10.199, kernel 5.15.136, kernel 6.1.59, kernel 6.5.8, kernel 6.6 Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in the Linux kernel, related to the Kernel Address Sanitizer (KASAN), specifically on systems with 5-level paging. The issue occurs when KASAN triggers an out-of-bounds access in the rcu_is_watching() function, and could lead to memory corruption or crashes.
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-03-04 21:05:28 UTC 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:    
Bug Blocks: 2267815    

Description Zack Miele 2024-03-04 19:19:50 UTC
In the Linux kernel, the following vulnerability has been resolved:

x86/alternatives: Disable KASAN in apply_alternatives()

The Linux kernel CVE team has assigned CVE-2023-52504 to this issue.

Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2024030249-CVE-2023-52504-ebc5@gregkh/T/#u

Comment 1 Alex 2024-06-09 15:02:18 UTC
The result of automatic check (that is developed by Alexander Larkin) for this CVE-2023-52504 is: CHECK	Maybe valid. Check manually. with impact MODERATE (that is approximation based on flags READ KASAN OOB  ; these flags parsed automatically based on patche data). Such automatic check happens only for Low/Moderates (and only when not from reporter, but parsing already existing CVE). Highs always checked manually (I check it myself and then we check it again in Remediation team). In rare cases some of the Moderates could be increased to High later.