Bug 1510830 (CVE-2017-16528) - CVE-2017-16528 kernel: use-after-free in snd_rawmidi_dev_seq_free
Summary: CVE-2017-16528 kernel: use-after-free in snd_rawmidi_dev_seq_free
Keywords:
Status: CLOSED NEXTRELEASE
Alias: CVE-2017-16528
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: 1463624 1510854 1542422
Blocks: 1510851
TreeView+ depends on / blocked
 
Reported: 2017-11-08 10:11 UTC by Adam Mariš
Modified: 2021-02-17 01:16 UTC (History)
48 users (show)

Fixed In Version: kernel 4.13.4
Doc Type: Bug Fix
Doc Text:
The sound/core/seq_device.c in the Linux kernel, before 4.13.4, allows local users to cause a denial of service (snd_rawmidi_dev_seq_free use-after-free and system crash) or possibly have unspecified other impact via a crafted USB device.
Clone Of:
Environment:
Last Closed: 2018-02-06 10:50:47 UTC
Embargoed:


Attachments (Terms of Use)

Description Adam Mariš 2017-11-08 10:11:40 UTC
sound/core/seq_device.c in the Linux kernel before 4.13.4 allows local users to cause a denial of service (snd_rawmidi_dev_seq_free use-after-free and system crash) or possibly have unspecified other impact via a crafted USB device.

References:

https://groups.google.com/forum/#!msg/syzkaller/kuZzDHGkQu8/5du20rZEAAAJ

http://seclists.org/oss-sec/2017/q4/223

An upstream fix:

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=fc27fe7e8deef2f37cba3f2be2d52b6ca5eb9d57

Comment 1 Adam Mariš 2017-11-08 10:27:45 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 1510854]

Comment 2 Justin M. Forbes 2017-11-08 13:42:20 UTC
This was fixed with the 4.13.4 stable update for Fedora.

Comment 6 Vladis Dronov 2018-02-06 10:49:17 UTC
Statement:

This issue does not affect the Linux kernel packages as shipped with Red Hat Enterprise Linux 5, as a code with the flaw is not present in this product.

This issue affects the versions of the Linux kernel as shipped with Red Hat Enterprise Linux 6, 7, its real-time kernel, Red Hat Enterprise MRG 2, Red Hat Enterprise Linux 7 for ARM 64 and Red Hat Enterprise Linux 7 for Power 9 LE. Future Linux kernel updates for the respective releases may address this issue.

Comment 7 Vladis Dronov 2018-02-06 10:50:47 UTC
What is Red Hat Enterprise Linux 7 for ARM 64,
        Red Hat Enterprise Linux 7 for Power 9 LE

The kernel package as shipped with Red Hat Enterprise Linux 7 for ARM 64 and Red Hat Enterprise Linux 7 for Power 9 LE is an updated kernel intended to support new architectures not available at the time of Red Hat Enterprise Linux 7 original shipping. The new kernel version is based on an upstream Linux kernel version 4.11. The offering is distributed with other updated packages, but most of the userspace is the standard Red Hat Enterprise Linux 7 Server RPM files.

For more information please refer to:

https://access.redhat.com/articles/3158541
https://access.redhat.com/articles/3158511


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