Bug 2274567 (CVE-2021-47219)

Summary: CVE-2021-47219 kernel: scsi: scsi_debug: Fix out-of-bound read in resp_report_tgtpgs()
Product: [Other] Security Response Reporter: Marco Benatto <mbenatto>
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, emilne, 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 5.10.82, kernel 5.15.5, kernel 5.16 Doc Type: If docs needed, set a value
Doc Text:
A vulnerability was found in the Linux kernel, related to the Small Computer System Interface (SCSI) subsystem. This issue involves an out-of-bounds read in the scsi_debug driver, which could allow an attacker to trigger a denial of service (DoS). This issue occurs during the handling of certain SCSI commands, leading to a system crash when invalid input lengths are passed. This vulnerability was patched in later kernel updates​.
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: 2274606    

Description Marco Benatto 2024-04-11 19:11:32 UTC
In the Linux kernel, the following vulnerability has been resolved:

scsi: scsi_debug: Fix out-of-bound read in resp_report_tgtpgs()

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

Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2024041006-CVE-2021-47219-c09e@gregkh/T

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