Bug 1991722 (CVE-2021-38160)

Summary: CVE-2021-38160 kernel: data corruption or loss can be triggered by an untrusted device that supplies a buf->len value exceeding the buffer size in drivers/char/virtio_console.c
Product: [Other] Security Response Reporter: Guilherme de Almeida Suckevicz <gsuckevi>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED NOTABUG QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: acaringi, adscvr, airlied, alciregi, allarkin, bhu, blc, brdeoliv, bskeggs, chwhite, crwood, dhoward, dvlasenk, eshatokhin, fhrbata, fpacheco, hdegoede, hkrzesin, jarod, jarodwilson, jeremy, jforbes, jglisse, jlelli, jonathan, josef, jshortt, jstancek, jwboyer, kcarcia, kernel-maint, kernel-mgr, lgoncalv, linville, masami256, mchehab, mlangsdo, nmurray, pmatouse, ptalbert, qzhao, rvrbovsk, steved, walters, williams
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
This CVE is being DISPUTED (*) by Red Hat with a note that the cited data corruption is not a vulnerability in any existing use case; the length validation was added solely for robustness in the face of anomalous host OS behavior. (*) https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-38160
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-09-03 10:59:45 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: 1991723, 1991947, 1991948, 1991949, 1991950, 1991951    
Bug Blocks: 1991724    

Description Guilherme de Almeida Suckevicz 2021-08-09 19:46:30 UTC
This CVE is being DISPUTED (*) by Red Hat with a note that the cited data corruption is not a vulnerability in any existing use case; the length validation was added solely for robustness in the face of anomalous host OS behavior. 

(*) https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-38160

Reference and upstream patch:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=d00d8da5869a2608e97cfede094dfc5e11462a46

Comment 1 Guilherme de Almeida Suckevicz 2021-08-09 19:47:15 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 1991723]

Comment 5 Justin M. Forbes 2021-08-10 18:36:32 UTC
This was fixed for Fedora with the 5.13.4 stable kernel updates.