robinrheem commited on
Commit
2dcbd43
·
verified ·
1 Parent(s): 8a001cc

Upload folder using huggingface_hub

Browse files
projects/ghostscript/arvo_44160/crash.log ADDED
@@ -0,0 +1,88 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ INFO: Running with entropic power schedule (0xFF, 100).
2
+ INFO: Seed: 1598151567
3
+ INFO: Loaded 3 modules (183063 inline 8-bit counters): 13708 [0x7f80e68a49e0, 0x7f80e68a7f6c), 959 [0x7f80e6905a40, 0x7f80e6905dff), 168396 [0x2da30f0, 0x2dcc2bc),
4
+ INFO: Loaded 3 PC tables (183063 PCs): 13708 [0x7f80e68a7f70,0x7f80e68dd830), 959 [0x7f80e6905e00,0x7f80e69099f0), 168396 [0x24cecb0,0x2760970),
5
+ /out/gstoraster_fuzzer: Running 1 inputs 1 time(s) each.
6
+ Running: /tmp/poc
7
+ =================================================================
8
+ ==11060==ERROR: AddressSanitizer: stack-buffer-overflow on address 0x7f80e5e38554 at pc 0x0000004be68c bp 0x7ffde6c37af0 sp 0x7ffde6c372b0
9
+ WRITE of size 1 at 0x7f80e5e38554 thread T0
10
+ SCARINESS: 46 (1-byte-write-stack-buffer-overflow)
11
+ #0 0x4be68b in __interceptor_memmove /src/llvm-project/compiler-rt/lib/asan/../sanitizer_common/sanitizer_common_interceptors.inc:810:3
12
+ #1 0x6beb30 in stream_move /src/ghostpdl/./base/stream.c:999:5
13
+ #2 0x6beb30 in sgets /src/ghostpdl/./base/stream.c:547:13
14
+ #3 0xee6319 in pdfi_read_bytes /src/ghostpdl/./pdf/pdf_file.c:1482:16
15
+ #4 0xecbf7f in read_digits /src/ghostpdl/./pdf/pdf_xref.c:554:17
16
+ #5 0xecbf7f in read_xref_entry_slow /src/ghostpdl/./pdf/pdf_xref.c:595:12
17
+ #6 0xec8fdc in read_xref_section /src/ghostpdl/./pdf/pdf_xref.c:772:24
18
+ #7 0xec8fdc in read_xref /src/ghostpdl/./pdf/pdf_xref.c:821:16
19
+ #8 0xec77e1 in pdfi_read_xref /src/ghostpdl/./pdf/pdf_xref.c:1059:20
20
+ #9 0xeae5c6 in pdfi_init_file /src/ghostpdl/./pdf/ghostpdf.c:1051:12
21
+ #10 0xeae5c6 in pdfi_set_input_stream /src/ghostpdl/./pdf/ghostpdf.c:1323:12
22
+ #11 0xe9acab in zPDFstream /src/ghostpdl/./psi/zpdfops.c:526:16
23
+ #12 0xd022bb in interp /src/ghostpdl/./psi/interp.c:1725:40
24
+ #13 0xd022bb in gs_call_interp /src/ghostpdl/./psi/interp.c:522:12
25
+ #14 0xd022bb in gs_interpret /src/ghostpdl/./psi/interp.c:479:12
26
+ #15 0x56793a in gs_main_interpret /src/ghostpdl/./psi/imain.c:257:12
27
+ #16 0x56793a in gs_main_run_string_end /src/ghostpdl/./psi/imain.c:945:12
28
+ #17 0x56793a in gs_main_run_string_with_length /src/ghostpdl/./psi/imain.c:889:12
29
+ #18 0x562de2 in gs_main_run_string /src/ghostpdl/./psi/imain.c:870:12
30
+ #19 0x1025bf1 in run_string /src/ghostpdl/./psi/imainarg.c:1169:12
31
+ #20 0x1021bf9 in swproc /src/ghostpdl/./psi/imainarg.c:367:20
32
+ #21 0x101eade in gs_main_init_with_args01 /src/ghostpdl/./psi/imainarg.c:224:24
33
+ #22 0x1025979 in gs_main_init_with_args /src/ghostpdl/./psi/imainarg.c:289:16
34
+ #23 0xcea934 in psapi_init_with_args /src/ghostpdl/./psi/psapi.c:281:12
35
+ #24 0x55f23c in gsapi_init_with_args /src/ghostpdl/./psi/iapi.c:253:12
36
+ #25 0x55e3d0 in gs_to_raster_fuzz /src/gstoraster_fuzzer.cc:97:8
37
+ #26 0x55e3d0 in LLVMFuzzerTestOneInput /src/gstoraster_fuzzer.cc:114:2
38
+ #27 0x456543 in fuzzer::Fuzzer::ExecuteCallback(unsigned char const*, unsigned long) /src/llvm-project/compiler-rt/lib/fuzzer/FuzzerLoop.cpp:611:15
39
+ #28 0x4421d2 in fuzzer::RunOneTest(fuzzer::Fuzzer*, char const*, unsigned long) /src/llvm-project/compiler-rt/lib/fuzzer/FuzzerDriver.cpp:324:6
40
+ #29 0x447a1c in fuzzer::FuzzerDriver(int*, char***, int (*)(unsigned char const*, unsigned long)) /src/llvm-project/compiler-rt/lib/fuzzer/FuzzerDriver.cpp:860:9
41
+ #30 0x470612 in main /src/llvm-project/compiler-rt/lib/fuzzer/FuzzerMain.cpp:20:10
42
+ #31 0x7f80e629e082 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x24082)
43
+ #32 0x4209fd in _start (/out/gstoraster_fuzzer+0x4209fd)
44
+
45
+ DEDUP_TOKEN: __interceptor_memmove--stream_move--sgets
46
+ Address 0x7f80e5e38554 is located in stack of thread T0 at offset 84 in frame
47
+ #0 0xecba0f in read_xref_entry_slow /src/ghostpdl/./pdf/pdf_xref.c:568
48
+
49
+ DEDUP_TOKEN: read_xref_entry_slow
50
+ This frame has 3 object(s):
51
+ [32, 33) 'c.i146' (line 533)
52
+ [48, 49) 'c.i' (line 533)
53
+ [64, 84) 'Buffer' (line 569) <== Memory access at offset 84 overflows this variable
54
+ HINT: this may be a false positive if your program uses some custom stack unwind mechanism, swapcontext or vfork
55
+ (longjmp and C++ exceptions *are* supported)
56
+ SUMMARY: AddressSanitizer: stack-buffer-overflow /src/llvm-project/compiler-rt/lib/asan/../sanitizer_common/sanitizer_common_interceptors.inc:810:3 in __interceptor_memmove
57
+ Shadow bytes around the buggy address:
58
+ 0x0ff09cbbf050: f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5
59
+ 0x0ff09cbbf060: f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5
60
+ 0x0ff09cbbf070: f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5
61
+ 0x0ff09cbbf080: f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5
62
+ 0x0ff09cbbf090: f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5
63
+ =>0x0ff09cbbf0a0: f1 f1 f1 f1 f8 f2 f8 f2 00 00[04]f3 f3 f3 f3 f3
64
+ 0x0ff09cbbf0b0: f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5
65
+ 0x0ff09cbbf0c0: f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5
66
+ 0x0ff09cbbf0d0: f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5
67
+ 0x0ff09cbbf0e0: f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5
68
+ 0x0ff09cbbf0f0: f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5 f5
69
+ Shadow byte legend (one shadow byte represents 8 application bytes):
70
+ Addressable: 00
71
+ Partially addressable: 01 02 03 04 05 06 07
72
+ Heap left redzone: fa
73
+ Freed heap region: fd
74
+ Stack left redzone: f1
75
+ Stack mid redzone: f2
76
+ Stack right redzone: f3
77
+ Stack after return: f5
78
+ Stack use after scope: f8
79
+ Global redzone: f9
80
+ Global init order: f6
81
+ Poisoned by user: f7
82
+ Container overflow: fc
83
+ Array cookie: ac
84
+ Intra object redzone: bb
85
+ ASan internal: fe
86
+ Left alloca redzone: ca
87
+ Right alloca redzone: cb
88
+ ==11060==ABORTING
projects/ghostscript/arvo_44160/poc.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b1fd74c6168dae6b952d7452c20293f1995ce861b50dad23c82a280c279777c4
3
+ size 2523
projects/ghostscript/arvo_44160/src.tgz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0926e3f1a1f10c881dc5ecd747010d54006de81c7841a4fdc7833985310e7251
3
+ size 87383572