First published: Mon Feb 06 2023(Updated: )
In Binutils, the field `file_table` of `struct module *module` is created without being initialized, and then its uninitialized field is used to assign `*file`, which is a pointer to a global variable `filename`. Later on when this variable is used, a segmentation fault occurs. Upstream bug: <a href="https://sourceware.org/bugzilla/show_bug.cgi?id=29892">https://sourceware.org/bugzilla/show_bug.cgi?id=29892</a> Upstream fix: <a href="https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=65cf035b8dc1df5d8020e0b1449514a3c42933e7">https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=65cf035b8dc1df5d8020e0b1449514a3c42933e7</a>
Affected Software | Affected Version | How to fix |
---|---|---|
Ubuntu/binutils |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
The severity of REDHAT-BUG-2167498 is critical due to the segmentation fault it can cause.
REDHAT-BUG-2167498 affects the GNU Binutils software.
To fix REDHAT-BUG-2167498, update to the latest patched version of GNU Binutils.
The issue in REDHAT-BUG-2167498 is caused by the uninitialized `file_table` field in the `struct module`.
There is no official workaround for REDHAT-BUG-2167498; applying the patch is the recommended approach.