Bug 1947991 (CVE-2020-36312) - CVE-2020-36312 kernel: memory leak upon a kmalloc failure in kvm_io_bus_unregister_dev function in virt/kvm/kvm_main.c
Summary: CVE-2020-36312 kernel: memory leak upon a kmalloc failure in kvm_io_bus_unreg...
Keywords:
Status: NEW
Alias: CVE-2020-36312
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Nobody
QA Contact:
URL:
Whiteboard:
Depends On: 1966160 1966161 1966162 1947992 1956680 1956681
Blocks: 1947993
TreeView+ depends on / blocked
 
Reported: 2021-04-09 17:07 UTC by Guilherme de Almeida Suckevicz
Modified: 2023-09-19 14:13 UTC (History)
34 users (show)

Fixed In Version: kernel 5.9
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description Guilherme de Almeida Suckevicz 2021-04-09 17:07:32 UTC
An issue was discovered in the Linux kernel before 5.8.10. virt/kvm/kvm_main.c has a kvm_io_bus_unregister_dev memory leak upon a kmalloc failure.

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

Comment 1 Guilherme de Almeida Suckevicz 2021-04-09 17:08:00 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 1947992]

Comment 2 Justin M. Forbes 2021-04-12 21:23:04 UTC
This was fixed for Fedora with the 5.8.10 stable kernel updates.

Comment 4 Mauro Matteo Cascella 2021-05-04 08:35:40 UTC
Mitigation:

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.


Note You need to log in before you can comment on or make changes to this bug.