Bug 1743502 (CVE-2018-20961) - CVE-2018-20961 kernel: double free vulnerability in function f_midi_set_alt in drivers/usb/gadget/function/f_midi.c causing denial of service
Summary: CVE-2018-20961 kernel: double free vulnerability in function f_midi_set_alt i...
Keywords:
Status: CLOSED NOTABUG
Alias: CVE-2018-20961
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1743503
Blocks: 1743511
TreeView+ depends on / blocked
 
Reported: 2019-08-20 07:07 UTC by Dhananjay Arunesh
Modified: 2023-09-07 20:25 UTC (History)
45 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
A vulnerability was found in the Linux kernel’s implementation of generic USB MIDI device handling. Some USB gadgets have multiple 'modes' devices that can switch between modes and possibly cause a double-free flaw. An attacker could use this flaw to cause a denial of service and possible memory corruption or privilege escalation.
Clone Of:
Environment:
Last Closed: 2020-02-20 14:09:35 UTC
Embargoed:


Attachments (Terms of Use)

Description Dhananjay Arunesh 2019-08-20 07:07:28 UTC
A vulnerability was found in the Linux kernel, a double free vulnerability in the f_midi_set_alt function of drivers/usb/gadget/function/f_midi.c in the f_midi driver may allow attackers to cause a denial of service or possibly have unspecified other impact.

Reference:
https://cdn.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.16.4

Upstream commit:
https://github.com/torvalds/linux/commit/7fafcfdf6377b18b2a726ea554d6e593ba44349f
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=7fafcfdf6377b18b2a726ea554d6e593ba44349f

Comment 1 Dhananjay Arunesh 2019-08-20 07:07:45 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 1743503]

Comment 2 Justin M. Forbes 2019-08-20 12:37:57 UTC
This was fixed for Fedora in the 4.16.4 stable updates.

Comment 4 Rohit Keshri 2020-02-20 09:50:29 UTC
Mitigation:

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

Comment 5 Rohit Keshri 2020-02-20 09:51:33 UTC
Reproducer: 
No reproducer exists at this time.

Comment 6 Product Security DevOps Team 2020-02-20 14:09:35 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2018-20961


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