Comment #1 on issue 45636 by da...@adalogics.com: elfutils:fuzz-libdwfl: Crash 
in read_long_names
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=45636#c1

ASAN report
=================================================================
==746==ERROR: AddressSanitizer: unknown-crash on address 0x7f1a9af3d000 at pc 
0x00000048a379 bp 0x7ffeb1d3c230 sp 0x7ffeb1d3b9e8
READ of size 985 at 0x7f1a9af3d000 thread T0
SCARINESS: 16 (multi-byte-read-unknown-crash)
    #0 0x48a378 in __interceptor_atol 
/src/llvm-project/compiler-rt/lib/asan/asan_interceptors.cpp:522:3
    #1 0x5b4615 in read_long_names /src/elfutils/libelf/elf_begin.c:766:13
    #2 0x5b2aa4 in __libelf_next_arhdr_wrlock 
/src/elfutils/libelf/elf_begin.c:912:8
    #3 0x5b6d7d in dup_elf /src/elfutils/libelf/elf_begin.c:1061:10
    #4 0x5b5028 in lock_dup_elf /src/elfutils/libelf/elf_begin.c:1119:10
    #5 0x5b4e36 in elf_begin /src/elfutils/libelf/elf_begin.c:0
    #6 0x4db735 in process_archive /src/elfutils/libdwfl/offline.c:251:17
    #7 0x4db181 in process_file /src/elfutils/libdwfl/offline.c:125:14
    #8 0x4daf3b in __libdwfl_report_offline 
/src/elfutils/libdwfl/offline.c:287:22
    #9 0x4db2a2 in dwfl_report_offline /src/elfutils/libdwfl/offline.c:316:10
    #10 0x4d842f in LLVMFuzzerTestOneInput /src/fuzz-libdwfl.c:47:22
    #11 0x4d8225 in ExecuteFilesOnyByOne 
aflplusplus/utils/aflpp_driver/aflpp_driver.c:191:7
    #12 0x4d8095 in main aflplusplus/utils/aflpp_driver/aflpp_driver.c:0
    #13 0x7f1a9bd060b2 in __libc_start_main 
/build/glibc-eX1tMB/glibc-2.31/csu/libc-start.c:308:16
    #14 0x41e58d in _start
Address 0x7f1a9af3d000 is a wild pointer inside of access range of size 
0x0000000003d9.
SUMMARY: AddressSanitizer: unknown-crash 
(/mnt/scratch0/clusterfuzz/bot/builds/clusterfuzz-builds-afl_elfutils_b7ca3a6bcc40cef461446d759ca780e6ea3657cd/revisions/fuzz-libdwfl+0x48a378)
Shadow bytes around the buggy address:
  0x0fe3d35df9b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  0x0fe3d35df9c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  0x0fe3d35df9d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  0x0fe3d35df9e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  0x0fe3d35df9f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
=>0x0fe3d35dfa00:[fe]fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe
  0x0fe3d35dfa10: fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe
  0x0fe3d35dfa20: fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe
  0x0fe3d35dfa30: fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe
  0x0fe3d35dfa40: fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe
  0x0fe3d35dfa50: fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe
Shadow byte legend (one shadow byte represents 8 application bytes):
  Addressable:           00
  Partially addressable: 01 02 03 04 05 06 07
  Heap left redzone:       fa
  Freed heap region:       fd
  Stack left redzone:      f1
  Stack mid redzone:       f2
  Stack right redzone:     f3
  Stack after return:      f5
  Stack use after scope:   f8
  Global redzone:          f9
  Global init order:       f6
  Poisoned by user:        f7
  Container overflow:      fc
  Array cookie:            ac
  Intra object redzone:    bb
  ASan internal:           fe
  Left alloca redzone:     ca
  Right alloca redzone:    cb
==746==ABORTING

-- 
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