GLSA 202003-13: musl: x87 floating-point stack adjustment imbalance

Severity:normal
Title:musl: x87 floating-point stack adjustment imbalance
Date:03/14/2020
Bugs: #711276
ID:202003-13

Synopsis

An x87 stack handling error in musl might allow an attacker to have an application dependent impact.

Background

musl is an implementation of the C standard library built on top of the Linux system call API, including interfaces defined in the base language standard, POSIX, and widely agreed-upon extensions.

Affected packages

Package Vulnerable Unaffected Architecture(s)
sys-libs/musl < 1.1.24 >= 1.1.24 All supported architectures

Description

A flaw in musl libc’s arch-specific math assembly code for i386 was found which can lead to x87 stack overflow in the execution of subsequent math code.

Impact

Impact depends on how the application built against musl libc handles the ABI-violating x87 state.

Workaround

There is no known workaround at this time.

Resolution

All musl users should upgrade to the latest version:

      # emerge --sync
      # emerge --ask --oneshot --verbose ">=sys-libs/musl-1.1.24"
    

References

Availability

This GLSA and any updates to it are available for viewing at the Gentoo Security Website: http://security.gentoo.org/glsa/glsa-202003-13.xml

Concerns?

Security is a primary focus of Gentoo Linux and ensuring the confidentiality and security of our users machines is of utmost importance to us. Any security concerns should be addressed to security@gentoo.org or alternatively, you may file a bug at https://bugs.gentoo.org.

License

Copyright 2010 Gentoo Foundation, Inc; referenced text belongs to its owner(s). The contents of this document are licensed under the Creative Commons - Attribution / Share Alike license.

Thank you!