From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <3Cvw2Yg0bAPUjlkloXfi-molaXmmfa.dlldibrpboZlkqbkq.Zlj@M3KW2WVRGUFZ5GODRSRYTGD7.apphosting.bounces.google.com> Received: from mail-il1-x147.google.com (mail-il1-x147.google.com [IPv6:2607:f8b0:4864:20::147]) by sourceware.org (Postfix) with ESMTPS id 531143858407 for ; Sun, 20 Mar 2022 10:03:55 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 531143858407 Received: by mail-il1-x147.google.com with SMTP id o17-20020a92c691000000b002c2c04aebe7so6279076ilg.8 for ; Sun, 20 Mar 2022 03:03:55 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:date:reply-to:references:message-id :subject:from:to; bh=WQQScLTwI6+59zxVQLpNrYLgPafPhQ1rYC4al6MbHBs=; b=dx/YKe7JMvoz+8zhLhdIzJmO1Cl7NLAFtaVnU2ncbKsSfBIGRxqXAikK/RqyN73seL xImGcHcHVcPKM2a2q85axS1YCa3MW0yQ4bubrn3J8JpTxs47v8XBQFe0ma2V8/xgGCVK LR2wz3x2Vwd9NCx0hSY7CN3XMu4gmP9mgRyBchrPlQj1r7Y/50k6khLG8GvECfOsK96l Pp6tNPgHrpyllAOc5SASDbXrXQFxumN6o+GOFcC/G7tDL3Sk/78V/u5jek1CGwtwZ0Xc 0qHYBaHFOkRC+9vZbf4V+pIrMcTWIiZe/olMoNY3eg20RsTRw1GzPNllbbRK+mypJTZB 0fIQ== X-Gm-Message-State: AOAM532esmaS0D0CPXg7gjYggj2Pi2/LSDYnLpZVCIM4PBC/5vmp0BlG FJtWxTbnZfpI7mlQCm4Khd+FNAGx+DquWHy9ic638/z2+noa X-Google-Smtp-Source: ABdhPJx2wV5gfn8Y4HgbQtGDDPj8Cq4gurFnXcM77YJKyw4qZNSkkjS8fw5CnP4fnG4UKgFhPmzjnBNoeAeYYLmuHT3XU13d7ieq MIME-Version: 1.0 X-Received: by 2002:a6b:7a49:0:b0:645:d134:830f with SMTP id k9-20020a6b7a49000000b00645d134830fmr7675816iop.136.1647770634783; Sun, 20 Mar 2022 03:03:54 -0700 (PDT) Date: Sun, 20 Mar 2022 03:03:54 -0700 Reply-To: oss-fuzz@monorail-prod.appspotmail.com References: <0=71cc74a7ba1af446b7ed6b9a08b414d9=1f7922c08a4ad559eae053cc22756846=oss-fuzz@monorail-prod.appspotmail.com> X-Google-Appengine-App-Id: s~monorail-prod X-Google-Appengine-App-Id-Alias: monorail-prod Message-ID: <0000000000005b8f9005daa37f5e@google.com> Subject: Issue 45646 in oss-fuzz: elfutils:fuzz-libdwfl: Misaligned-address in __libdw_image_header From: =?UTF-8?B?ZGHigKYgdmlhIG1vbm9yYWls?= To: elfutils-devel@sourceware.org X-Spam-Status: No, score=-1.6 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, HEADER_FROM_DIFFERENT_DOMAINS, HTML_MESSAGE, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: elfutils-devel@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Elfutils-devel mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Mar 2022 10:03:57 -0000 Comment #1 on issue 45646 by da...@adalogics.com: elfutils:fuzz-libdwfl: Misaligned-address in __libdw_image_header https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=45646#c1 UBSAN report Running: /mnt/scratch0/clusterfuzz/bot/inputs/fuzzer-testcases/crash-137c106fe516c3a5c4d5fb8deeb45c4e982d59a5 image-header.c:84:7: runtime error: load of misaligned address 0x7f2499144202 for type 'uint32_t' (aka 'unsigned int'), which requires 4 byte alignment 0x7f2499144202: note: pointer points here 55 aa 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ^ #0 0x4c04de in __libdw_image_header /src/elfutils/libdwfl/image-header.c:84:7 #1 0x4bf336 in libdw_open_elf /src/elfutils/libdwfl/open.c:141:15 #2 0x4bf1dc in __libdw_open_file /src/elfutils/libdwfl/open.c:197:10 #3 0x4b5e6d in __libdwfl_report_offline /src/elfutils/libdwfl/offline.c:281:22 #4 0x4b5e6d in dwfl_report_offline /src/elfutils/libdwfl/offline.c:316:10 #5 0x4b2f88 in LLVMFuzzerTestOneInput /src/fuzz-libdwfl.c:47:22 #6 0x43da32 in fuzzer::Fuzzer::ExecuteCallback(unsigned char const*, unsigned long) /src/llvm-project/compiler-rt/lib/fuzzer/FuzzerLoop.cpp:611:15 #7 0x4295e2 in fuzzer::RunOneTest(fuzzer::Fuzzer*, char const*, unsigned long) /src/llvm-project/compiler-rt/lib/fuzzer/FuzzerDriver.cpp:324:6 #8 0x42ee4c in fuzzer::FuzzerDriver(int*, char***, int (*)(unsigned char const*, unsigned long)) /src/llvm-project/compiler-rt/lib/fuzzer/FuzzerDriver.cpp:860:9 #9 0x4577e2 in main /src/llvm-project/compiler-rt/lib/fuzzer/FuzzerMain.cpp:20:10 #10 0x7f2498dd90b2 in __libc_start_main /build/glibc-eX1tMB/glibc-2.31/csu/libc-start.c:308:16 #11 0x407d2d in _start SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior image-header.c:84:7 in -- 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.