bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Issue 40330 in oss-fuzz: binutils:fuzz_as: Stack-use-after-return in as_


From: amo… via monorail
Subject: Issue 40330 in oss-fuzz: binutils:fuzz_as: Stack-use-after-return in as_bad_internal
Date: Tue, 26 Oct 2021 03:30:24 -0700


Comment #1 on issue 40330 by amo...@gmail.com: binutils:fuzz_as: Stack-use-after-return in as_bad_internal
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=40330#c1

This is not a exactly a problem with the assembler. This is a fuzzer issue. On the second and subseqent runs of binutils/fuzz_as.c:LLVMFuzzerTestOneInput perform_as_assembly_pass is being run with gas global variables holding info from the previous run, not initialised as they would be when actually running gas.

For this particular fuzzing report, the gas variable in question is
static struct conditional_frame *current_cframe = NULL;
in gas/cond.c, and there are many similar variables.

--
You received this message because:
1. You were specifically CC'd on the issue

You may adjust your notification preferences at:
https://bugs.chromium.org/hosting/settings

Reply to this email to add a comment.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]