REDHAT-BUG-1501878: Use After Free

Published Oct 13, 2017
·
Updated

A use-after-free vulnerability was found at creating and deleting a port via an ioctl on /dev/snd/seq. The sndseqcreateport() function creates a port object and returns its pointer, but it doesn't take a refcount and can be deleted immediately by another thread.

Meanwhile, sndseqioctlcreateport() still calls the function sndseqsystemclientevportstart() with the created port object that is being deleted, which triggers use-after-free. An attacker can race this use for memory corruption or possibly privilege escalation.

At the time of writing, the permissions on the device file required a local console user to be issue the ioctl to allow for the exploit to work correctly. Remote users accessing the system via a shell were not granted permissions to issue an IOCTL that can trigger this condition.

References:

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

http://mailman.alsa-project.org/pipermail/alsa-devel/2017-October/126292.html

An upstream patch:

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

Affected Software

1 affected component
ALSA ALSA Sound System

Event History

Oct 13, 2017
Data Sourced
via Red Hat·11:59 AM
DescriptionSeverityAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of REDHAT-BUG-1501878?

The severity of REDHAT-BUG-1501878 is considered high due to the potential for a use-after-free vulnerability that could lead to denial of service or execution of arbitrary code.

2

How do I fix REDHAT-BUG-1501878?

To fix REDHAT-BUG-1501878, you should apply the latest patches from the ALSA project or Red Hat that address this vulnerability.

3

Which software is affected by REDHAT-BUG-1501878?

REDHAT-BUG-1501878 affects the ALSA Sound System, particularly involving the port creation functions.

4

Is REDHAT-BUG-1501878 exploitable remotely?

REDHAT-BUG-1501878 is not typically exploitable remotely as it requires local access to the affected ALSA device.

5

What type of vulnerability is REDHAT-BUG-1501878?

REDHAT-BUG-1501878 is a use-after-free vulnerability that arises during the creation and deletion of ports in the ALSA Sound System.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203