AddressSanitizer: heap-buffer-overflow [@ __asan_memcpy] with READ of size 8
Categories
(Core :: Graphics, defect)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox118 | --- | affected |
People
(Reporter: truber, Unassigned)
References
(Blocks 1 open bug)
Details
(Keywords: crash, pernosco, testcase, Whiteboard: [fuzzblocker])
Attachments
(3 files)
The attached testcase crashes on mozilla-central revision 20230824-014c9a0ccc44 (build with --enable-fuzzing & moz2d target patch).
For detailed crash information, see attachment.
To reproduce the issue:
- Build an ASan
--enable-fuzzingbuild including gtests with https://phabricator.services.mozilla.com/D186833 applied. - Run
FUZZER=Moz2D objdir/dist/bin/firefox test.bin
| Reporter | ||
Comment 1•2 years ago
|
||
| Reporter | ||
Comment 2•2 years ago
|
||
| Reporter | ||
Comment 3•2 years ago
|
||
Decoded test.bin call.
Updated•2 years ago
|
Comment 4•2 years ago
|
||
A Pernosco session is available here: https://pernos.co/debug/nrXSAewrepw0tfgz7uMvog/index.html
Comment 5•2 years ago
|
||
This issue is triggered within seconds of launching the fuzzer. Marking as fuzzblocker.
Updated•2 years ago
|
Comment 6•2 years ago
|
||
Is this fixed by the patch in bug 1846685?
| Reporter | ||
Comment 7•2 years ago
|
||
(In reply to Bob Owen (:bobowen) from comment #6)
Is this fixed by the patch in bug 1846685?
No, I get the same stack with D186161 applied.
| Reporter | ||
Comment 8•2 years ago
|
||
My mistake, I had not rebuilt gtest to pick up the patch.
It does appear to fix the testcases here and in bug 1850064. In both cases I see the following, but no crash:
[GFX1-]: Replay failure: PathCreation PLAY
[GFX1-]: Replay failure: PathCreation PLAY
Comment 9•2 years ago
|
||
(In reply to Jesse Schwartzentruber (:truber) from comment #8)
My mistake, I had not rebuilt gtest to pick up the patch.
It does appear to fix the testcases here and in bug 1850064. In both cases I see the following, but no crash:
[GFX1-]: Replay failure: PathCreation PLAY [GFX1-]: Replay failure: PathCreation PLAY
Ah, great I was scratching my head as to what might be going wrong.
I'm not too familiar with this use of the Moz2D recording, but that error seems about right as we just return false as a failure of the CheckedStreamToSink.
Updated•2 years ago
|
Updated•2 years ago
|
Updated•1 year ago
|
Description
•