robinrheem commited on
Commit
6feb981
·
verified ·
1 Parent(s): 7827ae5

Upload folder using huggingface_hub

Browse files
projects/ghostscript/arvo_43621/crash.log ADDED
@@ -0,0 +1,120 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ INFO: Running with entropic power schedule (0xFF, 100).
2
+ INFO: Seed: 1290156479
3
+ INFO: Loaded 3 modules (182939 inline 8-bit counters): 13708 [0x7f5556fda9e0, 0x7f5556fddf6c), 959 [0x7f555703ba40, 0x7f555703bdff), 168272 [0x2da2170, 0x2dcb2c0),
4
+ INFO: Loaded 3 PC tables (182939 PCs): 13708 [0x7f5556fddf70,0x7f5557013830), 959 [0x7f555703be00,0x7f555703f9f0), 168272 [0x24ccc10,0x275e110),
5
+ /out/gstoraster_fuzzer: Running 1 inputs 1 time(s) each.
6
+ Running: /tmp/poc
7
+ =================================================================
8
+ ==11061==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x62a00010712c at pc 0x000000bfd4d3 bp 0x7ffe83470370 sp 0x7ffe83470368
9
+ READ of size 2 at 0x62a00010712c thread T0
10
+ SCARINESS: 24 (2-byte-read-heap-buffer-overflow-far-from-bounds)
11
+ #0 0xbfd4d2 in mem_mono_copy_mono /src/ghostpdl/./base/gdevm1.c:683:17
12
+ #1 0xc00de6 in mem_mapped4_copy_color /src/ghostpdl/./base/gdevm4.c:229:12
13
+ #2 0x10c090a in tile_clip_copy_color /src/ghostpdl/./base/gxclip2.c:301:24
14
+ #3 0x588502 in tile_colored_fill /src/ghostpdl/./base/gxp1fill.c:269:20
15
+ #4 0x587703 in tile_by_steps /src/ghostpdl/./base/gxp1fill.c:237:24
16
+ #5 0x585c74 in gx_dc_pattern_fill_rectangle /src/ghostpdl/./base/gxp1fill.c:395:20
17
+ #6 0xadcead in gx_dc_default_fill_masked /src/ghostpdl/./base/gxdcolor.c:1109:20
18
+ #7 0xbb6184 in gx_default_fill_mask /src/ghostpdl/./base/gdevdbit.c:584:16
19
+ #8 0xb4d4de in gx_image_fill_masked /src/ghostpdl/./base/gximask.c:115:16
20
+ #9 0x11a51e1 in clist_playback_band /src/ghostpdl/./base/gxclrast.c:2323:28
21
+ #10 0x69071c in clist_playback_file_bands /src/ghostpdl/./base/gxclread.c:1035:16
22
+ #11 0x694d70 in clist_render_rectangle /src/ghostpdl/./base/gxclread.c:969:16
23
+ #12 0x69414a in clist_rasterize_lines /src/ghostpdl/./base/gxclread.c:858:20
24
+ #13 0x69330f in clist_get_bits_rectangle /src/ghostpdl/./base/gxclread.c:747:12
25
+ #14 0x6678ea in gdev_prn_get_bits /src/ghostpdl/./base/gdevprn.c:1636:12
26
+ #15 0x7f0514 in cups_print_chunked /src/ghostpdl/./cups/gdevcups.c:4849:9
27
+ #16 0x7dedfb in cups_print_pages /src/ghostpdl/./cups/gdevcups.c
28
+ #17 0x663779 in gdev_prn_output_page_aux /src/ghostpdl/./base/gdevprn.c:1049:27
29
+ #18 0x662a35 in gdev_prn_output_page /src/ghostpdl/./base/gdevprn.c:1085:12
30
+ #19 0x7efcc9 in cups_output_page /src/ghostpdl/./cups/gdevcups.c:2826:15
31
+ #20 0x8aab2f in gs_output_page /src/ghostpdl/./base/gsdevice.c:207:17
32
+ #21 0xdd08b2 in zoutputpage /src/ghostpdl/./psi/zdevice.c:416:12
33
+ #22 0xcff77c in interp /src/ghostpdl/./psi/interp.c:1351:28
34
+ #23 0xcff77c in gs_call_interp /src/ghostpdl/./psi/interp.c:522:12
35
+ #24 0xcff77c in gs_interpret /src/ghostpdl/./psi/interp.c:479:12
36
+ #25 0x568cba in gs_main_interpret /src/ghostpdl/./psi/imain.c:257:12
37
+ #26 0x568cba in gs_main_run_string_end /src/ghostpdl/./psi/imain.c:945:12
38
+ #27 0x568cba in gs_main_run_string_with_length /src/ghostpdl/./psi/imain.c:889:12
39
+ #28 0x564162 in gs_main_run_string /src/ghostpdl/./psi/imain.c:870:12
40
+ #29 0x1024df1 in run_string /src/ghostpdl/./psi/imainarg.c:1166:12
41
+ #30 0x1020e29 in swproc /src/ghostpdl/./psi/imainarg.c:367:20
42
+ #31 0x101dd0e in gs_main_init_with_args01 /src/ghostpdl/./psi/imainarg.c:224:24
43
+ #32 0x1024b79 in gs_main_init_with_args /src/ghostpdl/./psi/imainarg.c:289:16
44
+ #33 0xceb264 in psapi_init_with_args /src/ghostpdl/./psi/psapi.c:281:12
45
+ #34 0x560670 in gsapi_init_with_args /src/ghostpdl/./psi/iapi.c:247:12
46
+ #35 0x55f840 in gs_to_raster_fuzz /src/gstoraster_fuzzer.cc:97:8
47
+ #36 0x55f840 in LLVMFuzzerTestOneInput /src/gstoraster_fuzzer.cc:114:2
48
+ #37 0x456603 in fuzzer::Fuzzer::ExecuteCallback(unsigned char const*, unsigned long) cxa_noexception.cpp
49
+ #38 0x442242 in fuzzer::RunOneTest(fuzzer::Fuzzer*, char const*, unsigned long) /src/llvm-project/compiler-rt/lib/fuzzer/FuzzerDriver.cpp:324:6
50
+ #39 0x447a9c in fuzzer::FuzzerDriver(int*, char***, int (*)(unsigned char const*, unsigned long)) cxa_noexception.cpp
51
+ #40 0x4708a2 in main /src/llvm-project/compiler-rt/lib/fuzzer/FuzzerMain.cpp:20:10
52
+ #41 0x7f55569d4082 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x24082)
53
+ #42 0x4209fd in _start (/out/gstoraster_fuzzer+0x4209fd)
54
+
55
+ DEDUP_TOKEN: mem_mono_copy_mono--mem_mapped4_copy_color--tile_clip_copy_color
56
+ 0x62a00010712c is located 220 bytes to the right of 20048-byte region [0x62a000102200,0x62a000107050)
57
+ allocated by thread T0 here:
58
+ #0 0x52648d in __interceptor_malloc /src/llvm-project/compiler-rt/lib/asan/asan_malloc_linux.cpp:129:3
59
+ #1 0x8ea241 in gs_heap_alloc_bytes /src/ghostpdl/./base/gsmalloc.c:192:34
60
+ #2 0x12c2564 in alloc_acquire_clump /src/ghostpdl/./base/gsalloc.c:2488:13
61
+ #3 0x12c1412 in alloc_add_clump /src/ghostpdl/./base/gsalloc.c:2438:19
62
+ #4 0x12c1412 in alloc_obj /src/ghostpdl/./base/gsalloc.c:2046:17
63
+ #5 0x12ba6e1 in i_alloc_struct_array /src/ghostpdl/./base/gsalloc.c:1365:11
64
+ #6 0xdeb822 in gs_alloc_ref_array /src/ghostpdl/./psi/ialloc.c:226:15
65
+ #7 0xd6c560 in make_packed_array /src/ghostpdl/./psi/zpacked.c:157:12
66
+ #8 0xd1e5c5 in gs_scan_token /src/ghostpdl/./psi/iscan.c:715:31
67
+ #9 0xd01225 in interp /src/ghostpdl/./psi/interp.c:1502:24
68
+ #10 0xd01225 in gs_call_interp /src/ghostpdl/./psi/interp.c:522:12
69
+ #11 0xd01225 in gs_interpret /src/ghostpdl/./psi/interp.c:479:12
70
+ #12 0x563e0f in gs_main_interpret /src/ghostpdl/./psi/imain.c:257:12
71
+ #13 0x563e0f in gs_run_init_file /src/ghostpdl/./psi/imain.c:861:12
72
+ #14 0x563e0f in gs_main_init2aux /src/ghostpdl/./psi/imain.c:305:16
73
+ #15 0x5656cb in gs_main_init2 /src/ghostpdl/./psi/imain.c:491:12
74
+ #16 0x1020ddf in swproc /src/ghostpdl/./psi/imainarg.c:363:20
75
+ #17 0x101dd0e in gs_main_init_with_args01 /src/ghostpdl/./psi/imainarg.c:224:24
76
+ #18 0x1024b79 in gs_main_init_with_args /src/ghostpdl/./psi/imainarg.c:289:16
77
+ #19 0xceb264 in psapi_init_with_args /src/ghostpdl/./psi/psapi.c:281:12
78
+ #20 0x560670 in gsapi_init_with_args /src/ghostpdl/./psi/iapi.c:247:12
79
+ #21 0x55f840 in gs_to_raster_fuzz /src/gstoraster_fuzzer.cc:97:8
80
+ #22 0x55f840 in LLVMFuzzerTestOneInput /src/gstoraster_fuzzer.cc:114:2
81
+ #23 0x456603 in fuzzer::Fuzzer::ExecuteCallback(unsigned char const*, unsigned long) cxa_noexception.cpp
82
+ #24 0x442242 in fuzzer::RunOneTest(fuzzer::Fuzzer*, char const*, unsigned long) /src/llvm-project/compiler-rt/lib/fuzzer/FuzzerDriver.cpp:324:6
83
+ #25 0x447a9c in fuzzer::FuzzerDriver(int*, char***, int (*)(unsigned char const*, unsigned long)) cxa_noexception.cpp
84
+ #26 0x4708a2 in main /src/llvm-project/compiler-rt/lib/fuzzer/FuzzerMain.cpp:20:10
85
+ #27 0x7f55569d4082 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x24082)
86
+
87
+ DEDUP_TOKEN: __interceptor_malloc--gs_heap_alloc_bytes--alloc_acquire_clump
88
+ SUMMARY: AddressSanitizer: heap-buffer-overflow /src/ghostpdl/./base/gdevm1.c:683:17 in mem_mono_copy_mono
89
+ Shadow bytes around the buggy address:
90
+ 0x0c5480018dd0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
91
+ 0x0c5480018de0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
92
+ 0x0c5480018df0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
93
+ 0x0c5480018e00: 00 00 00 00 00 00 00 00 00 00 fa fa fa fa fa fa
94
+ 0x0c5480018e10: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
95
+ =>0x0c5480018e20: fa fa fa fa fa[fa]fa fa fa fa fa fa fa fa fa fa
96
+ 0x0c5480018e30: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
97
+ 0x0c5480018e40: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
98
+ 0x0c5480018e50: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
99
+ 0x0c5480018e60: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
100
+ 0x0c5480018e70: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
101
+ Shadow byte legend (one shadow byte represents 8 application bytes):
102
+ Addressable: 00
103
+ Partially addressable: 01 02 03 04 05 06 07
104
+ Heap left redzone: fa
105
+ Freed heap region: fd
106
+ Stack left redzone: f1
107
+ Stack mid redzone: f2
108
+ Stack right redzone: f3
109
+ Stack after return: f5
110
+ Stack use after scope: f8
111
+ Global redzone: f9
112
+ Global init order: f6
113
+ Poisoned by user: f7
114
+ Container overflow: fc
115
+ Array cookie: ac
116
+ Intra object redzone: bb
117
+ ASan internal: fe
118
+ Left alloca redzone: ca
119
+ Right alloca redzone: cb
120
+ ==11061==ABORTING
projects/ghostscript/arvo_43621/poc.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:db975bdbe3df98e8f235b1736c1ffc8b52353f56feca7e6e3828367931845225
3
+ size 2705
projects/ghostscript/arvo_43621/src.tgz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9085ec23b256e11a7c69caae052dcbd891ef7cba2533b7a37769560bf8b7dda2
3
+ size 86392600