Bug 2282483 (CVE-2021-47300)

Summary: CVE-2021-47300 kernel: bpf: Fix tail_call_reachable rejection for interpreter when jit failed
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, scweaver, sidakwo, sukulkar, tglozar, trathi, vkumar, wcosta, williams, wmealing, ycote, ykopkova, zhijwang
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: kernel 5.10.54, kernel 5.13.6, kernel 5.14 Doc Type: If docs needed, set a value
Doc Text:
A vulnerability was found in the Linux kernel's BPF subsystem, due handling of BPF programs when the JIT compiler fails. If a failure occurs, the system may incorrectly handle tail calls, potentially causing out-of-bounds memory access. This flaw can lead to unpredictable behavior or system crashes if certain conditions are met during program execution.
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:    
Bug Blocks: 2282500    

Description ybuenos 2024-05-22 12:48:14 UTC
In the Linux kernel, the following vulnerability has been resolved:

bpf: Fix tail_call_reachable rejection for interpreter when jit failed

The Linux kernel CVE team has assigned CVE-2021-47300 to this issue.

Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2024052125-CVE-2021-47300-eee0@gregkh/T

Comment 3 Alex 2024-06-09 15:43:29 UTC
The result of automatic check (that is developed by Alexander Larkin) for this CVE-2021-47300 is: CHECK	Maybe valid. Check manually. with impact MODERATE (that is approximation based on flags READ KASAN OOB BPF UAF IMPROVEONLY  ; 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.