robinrheem commited on
Commit
1b11901
·
verified ·
1 Parent(s): bc83e70

Upload folder using huggingface_hub

Browse files
projects/harfbuzz/arvo_38355/crash.log ADDED
@@ -0,0 +1,105 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Accepting input from '/tmp/poc'
2
+ Usage for fuzzing: honggfuzz -P [flags] -- /out/hb-shape-fuzzer
3
+ =================================================================
4
+ ==409==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x6030000000ed at pc 0x0000006839bb bp 0x7fff2039ea30 sp 0x7fff2039ea28
5
+ READ of size 2 at 0x6030000000ed thread T0
6
+ SCARINESS: 14 (2-byte-read-heap-buffer-overflow)
7
+ #0 0x6839ba in operator unsigned short /work/build/../../src/harfbuzz/src/hb-algs.hh:117:59
8
+ #1 0x6839ba in operator unsigned int /work/build/../../src/harfbuzz/src/hb-open-type.hh:67:109
9
+ #2 0x6839ba in is_null /work/build/../../src/harfbuzz/src/hb-open-type.hh:222:51
10
+ #3 0x6839ba in operator() /work/build/../../src/harfbuzz/src/hb-open-type.hh:309:9
11
+ #4 0x6839ba in operator+<const OT::Lookup *, nullptr> /work/build/../../src/harfbuzz/src/hb-open-type.hh:320:85
12
+ #5 0x6839ba in get_subtable<OT::PosLookupSubTable> /work/build/../../src/harfbuzz/src/hb-ot-layout-common.hh:1253:16
13
+ #6 0x6839ba in bool OT::Lookup::sanitize<OT::PosLookupSubTable>(hb_sanitize_context_t*) const /work/build/../../src/harfbuzz/src/hb-ot-layout-common.hh:1372:27
14
+ #7 0x682871 in sanitize /work/build/../../src/harfbuzz/src/hb-ot-layout-gpos-table.hh:2809:20
15
+ #8 0x682871 in _dispatch<OT::PosLookup> /work/build/../../src/harfbuzz/src/hb-sanitize.hh:148:56
16
+ #9 0x682871 in dispatch<OT::PosLookup> /work/build/../../src/harfbuzz/src/hb-sanitize.hh:155:39
17
+ #10 0x682871 in sanitize<> /work/build/../../src/harfbuzz/src/hb-open-type.hh:411:5
18
+ #11 0x682871 in _dispatch<OT::OffsetTo<OT::PosLookup, OT::IntType<unsigned short, 2U>, true>, const OT::List16OfOffset16To<OT::PosLookup> *> /work/build/../../src/harfbuzz/src/hb-sanitize.hh:148:56
19
+ #12 0x682871 in dispatch<OT::OffsetTo<OT::PosLookup, OT::IntType<unsigned short, 2U>, true>, const OT::List16OfOffset16To<OT::PosLookup> *> /work/build/../../src/harfbuzz/src/hb-sanitize.hh:155:39
20
+ #13 0x682871 in bool OT::ArrayOf<OT::OffsetTo<OT::PosLookup, OT::IntType<unsigned short, 2u>, true>, OT::IntType<unsigned short, 2u> >::sanitize<OT::List16OfOffset16To<OT::PosLookup> const*>(hb_sanitize_context_t*, OT::List16OfOffset16To<OT::PosLookup> const*&&) const /work/build/../../src/harfbuzz/src/hb-open-type.hh:713:11
21
+ #14 0x681ec7 in sanitize<> /work/build/../../src/harfbuzz/src/hb-open-type.hh:771:5
22
+ #15 0x681ec7 in _dispatch<OT::List16OfOffset16To<OT::PosLookup> > /work/build/../../src/harfbuzz/src/hb-sanitize.hh:148:56
23
+ #16 0x681ec7 in dispatch<OT::List16OfOffset16To<OT::PosLookup> > /work/build/../../src/harfbuzz/src/hb-sanitize.hh:155:39
24
+ #17 0x681ec7 in sanitize<> /work/build/../../src/harfbuzz/src/hb-open-type.hh:411:5
25
+ #18 0x681ec7 in bool OT::GSUBGPOS::sanitize<OT::PosLookup>(hb_sanitize_context_t*) const /work/build/../../src/harfbuzz/src/hb-ot-layout-gsubgpos.hh:3808:9
26
+ #19 0x6811b2 in sanitize /work/build/../../src/harfbuzz/src/hb-ot-layout-gpos-table.hh:2835:22
27
+ #20 0x6811b2 in hb_blob_t* hb_sanitize_context_t::sanitize_blob<OT::GPOS>(hb_blob_t*) /work/build/../../src/harfbuzz/src/hb-sanitize.hh:357:12
28
+ #21 0x67fffd in reference_table<OT::GPOS> /work/build/../../src/harfbuzz/src/hb-sanitize.hh:400:12
29
+ #22 0x67fffd in OT::GSUBGPOS::accelerator_t<OT::GPOS>::init(hb_face_t*) /work/build/../../src/harfbuzz/src/hb-ot-layout-gsubgpos.hh:3828:46
30
+ #23 0x5ed5c1 in create /work/build/../../src/harfbuzz/src/hb-machinery.hh:247:10
31
+ #24 0x5ed5c1 in call_create<OT::GPOS_accelerator_t, hb_face_lazy_loader_t<OT::GPOS_accelerator_t, 23U> > /work/build/../../src/harfbuzz/src/hb-machinery.hh:152:42
32
+ #25 0x5ed5c1 in get_stored /work/build/../../src/harfbuzz/src/hb-machinery.hh:211:26
33
+ #26 0x5ed5c1 in get /work/build/../../src/harfbuzz/src/hb-machinery.hh:234:58
34
+ #27 0x5ed5c1 in hb_lazy_loader_t<OT::GPOS_accelerator_t, hb_face_lazy_loader_t<OT::GPOS_accelerator_t, 23u>, hb_face_t, 23u, OT::GPOS_accelerator_t>::operator->() const /work/build/../../src/harfbuzz/src/hb-machinery.hh:196:50
35
+ #28 0x5f9ac1 in get_gsubgpos_table /work/build/../../src/harfbuzz/src/hb-ot-layout.cc:410:34
36
+ #29 0x5f9ac1 in hb_ot_layout_table_find_feature_variations /work/build/../../src/harfbuzz/src/hb-ot-layout.cc:1318:27
37
+ #30 0x6eccdf in init /work/build/../../src/harfbuzz/src/hb-ot-shape.hh:45:7
38
+ #31 0x6eccdf in hb_shape_plan_key_t::init(bool, hb_face_t*, hb_segment_properties_t const*, hb_feature_t const*, unsigned int, int const*, unsigned int, char const* const*) /work/build/../../src/harfbuzz/src/hb-shape-plan.cc:90:12
39
+ #32 0x6ef273 in hb_shape_plan_create_cached2 /work/build/../../src/harfbuzz/src/hb-shape-plan.cc:537:14
40
+ #33 0x6efeae in hb_shape_full /work/build/../../src/harfbuzz/src/hb-shape.cc:129:33
41
+ #34 0x6efeae in hb_shape /work/build/../../src/harfbuzz/src/hb-shape.cc:161:3
42
+ #35 0x4d7e2a in LLVMFuzzerTestOneInput /work/build/../../src/harfbuzz/test/fuzzing/hb-shape-fuzzer.cc:38:5
43
+ #36 0x81405b in main (/out/hb-shape-fuzzer+0x81405b)
44
+ #37 0x7fb0cb8e2082 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x24082)
45
+ #38 0x41d54d in _start (/out/hb-shape-fuzzer+0x41d54d)
46
+
47
+ DEDUP_TOKEN: operator unsigned short--operator unsigned int--is_null
48
+ 0x6030000000ed is located 0 bytes to the right of 29-byte region [0x6030000000d0,0x6030000000ed)
49
+ allocated by thread T0 here:
50
+ #0 0x49e7cd in __interceptor_malloc /src/llvm-project/compiler-rt/lib/asan/asan_malloc_linux.cpp:129:3
51
+ #1 0x6f2f17 in hb_malloc_impl /work/build/../../src/harfbuzz/src/failing-alloc.c:41:31
52
+ #2 0x53a838 in try_make_writable /work/build/../../src/harfbuzz/src/hb-blob.cc:494:23
53
+ #3 0x53a838 in hb_blob_get_data_writable /work/build/../../src/harfbuzz/src/hb-blob.cc:405:13
54
+ #4 0x6812bb in hb_blob_t* hb_sanitize_context_t::sanitize_blob<OT::GPOS>(hb_blob_t*) /work/build/../../src/harfbuzz/src/hb-sanitize.hh:367:10
55
+ #5 0x67fffd in reference_table<OT::GPOS> /work/build/../../src/harfbuzz/src/hb-sanitize.hh:400:12
56
+ #6 0x67fffd in OT::GSUBGPOS::accelerator_t<OT::GPOS>::init(hb_face_t*) /work/build/../../src/harfbuzz/src/hb-ot-layout-gsubgpos.hh:3828:46
57
+ #7 0x5ed5c1 in create /work/build/../../src/harfbuzz/src/hb-machinery.hh:247:10
58
+ #8 0x5ed5c1 in call_create<OT::GPOS_accelerator_t, hb_face_lazy_loader_t<OT::GPOS_accelerator_t, 23U> > /work/build/../../src/harfbuzz/src/hb-machinery.hh:152:42
59
+ #9 0x5ed5c1 in get_stored /work/build/../../src/harfbuzz/src/hb-machinery.hh:211:26
60
+ #10 0x5ed5c1 in get /work/build/../../src/harfbuzz/src/hb-machinery.hh:234:58
61
+ #11 0x5ed5c1 in hb_lazy_loader_t<OT::GPOS_accelerator_t, hb_face_lazy_loader_t<OT::GPOS_accelerator_t, 23u>, hb_face_t, 23u, OT::GPOS_accelerator_t>::operator->() const /work/build/../../src/harfbuzz/src/hb-machinery.hh:196:50
62
+ #12 0x5f9ac1 in get_gsubgpos_table /work/build/../../src/harfbuzz/src/hb-ot-layout.cc:410:34
63
+ #13 0x5f9ac1 in hb_ot_layout_table_find_feature_variations /work/build/../../src/harfbuzz/src/hb-ot-layout.cc:1318:27
64
+ #14 0x6eccdf in init /work/build/../../src/harfbuzz/src/hb-ot-shape.hh:45:7
65
+ #15 0x6eccdf in hb_shape_plan_key_t::init(bool, hb_face_t*, hb_segment_properties_t const*, hb_feature_t const*, unsigned int, int const*, unsigned int, char const* const*) /work/build/../../src/harfbuzz/src/hb-shape-plan.cc:90:12
66
+ #16 0x6ef273 in hb_shape_plan_create_cached2 /work/build/../../src/harfbuzz/src/hb-shape-plan.cc:537:14
67
+ #17 0x6efeae in hb_shape_full /work/build/../../src/harfbuzz/src/hb-shape.cc:129:33
68
+ #18 0x6efeae in hb_shape /work/build/../../src/harfbuzz/src/hb-shape.cc:161:3
69
+ #19 0x4d7e2a in LLVMFuzzerTestOneInput /work/build/../../src/harfbuzz/test/fuzzing/hb-shape-fuzzer.cc:38:5
70
+ #20 0x81405b in main (/out/hb-shape-fuzzer+0x81405b)
71
+
72
+ DEDUP_TOKEN: __interceptor_malloc--hb_malloc_impl--try_make_writable
73
+ SUMMARY: AddressSanitizer: heap-buffer-overflow /work/build/../../src/harfbuzz/src/hb-algs.hh:117:59 in operator unsigned short
74
+ Shadow bytes around the buggy address:
75
+ 0x0c067fff7fc0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
76
+ 0x0c067fff7fd0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
77
+ 0x0c067fff7fe0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
78
+ 0x0c067fff7ff0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
79
+ 0x0c067fff8000: fa fa 00 00 01 fa fa fa 00 00 04 fa fa fa 00 00
80
+ =>0x0c067fff8010: 00 fa fa fa 00 00 00 fa fa fa 00 00 00[05]fa fa
81
+ 0x0c067fff8020: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
82
+ 0x0c067fff8030: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
83
+ 0x0c067fff8040: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
84
+ 0x0c067fff8050: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
85
+ 0x0c067fff8060: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
86
+ Shadow byte legend (one shadow byte represents 8 application bytes):
87
+ Addressable: 00
88
+ Partially addressable: 01 02 03 04 05 06 07
89
+ Heap left redzone: fa
90
+ Freed heap region: fd
91
+ Stack left redzone: f1
92
+ Stack mid redzone: f2
93
+ Stack right redzone: f3
94
+ Stack after return: f5
95
+ Stack use after scope: f8
96
+ Global redzone: f9
97
+ Global init order: f6
98
+ Poisoned by user: f7
99
+ Container overflow: fc
100
+ Array cookie: ac
101
+ Intra object redzone: bb
102
+ ASan internal: fe
103
+ Left alloca redzone: ca
104
+ Right alloca redzone: cb
105
+ ==409==ABORTING
projects/harfbuzz/arvo_38355/poc.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7f0e879a3979b1cbc0b1ffd7fd37e45375ec1f18887789260ed109440322f1f1
3
+ size 29
projects/harfbuzz/arvo_38355/src.tgz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fe2a1ded9aafdebfbf88992d458c8fadabf2e3fc89277838c5e0eeac2dabed8d
3
+ size 24998743