Closed
Bug 1233651
Opened 10 years ago
Closed 10 years ago
AddressSanitizer: heap-buffer-overflow in mozilla::image::Deinterlacer::PropagatePassToDownscaler(mozilla::image::Downscaler&)
Categories
(Core :: Graphics: ImageLib, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 1229825
| Tracking | Status | |
|---|---|---|
| firefox42 | --- | unaffected |
| firefox43 | + | wontfix |
| firefox44 | + | fixed |
| firefox45 | + | fixed |
| firefox46 | + | fixed |
| firefox-esr38 | --- | unaffected |
| firefox-esr45 | - | fixed |
| b2g-v2.0 | --- | unaffected |
| b2g-v2.0M | --- | unaffected |
| b2g-v2.1 | --- | unaffected |
| b2g-v2.1S | --- | unaffected |
| b2g-v2.2 | --- | unaffected |
| b2g-v2.5 | --- | affected |
| b2g-v2.2r | --- | unaffected |
| b2g-master | --- | affected |
People
(Reporter: cbook, Assigned: eflores)
References
()
Details
(Keywords: csectype-bounds, regression, sec-critical, Whiteboard: [adv-main44-])
Attachments
(3 files)
No idea if we run into the problems from Bug #1223465 again - but it seems we get now similar crashes - or this is maybe bug 1231121 - no idea
Bughunter reports:
memcpy mozilla::image::Deinterlacer::PropagatePassToDownscaler(mozilla::image::Downscaler&) mozilla::image::nsGIFDecoder2::OutputRow() mozilla::image::nsGIFDecoder2::DoLzw(unsigned char const*) mozilla::image::nsGIFDecoder2::WriteInternal(char const*, unsigned int)
and
AddressSanitizer: heap-buffer-overflow on address 0x at pc 0x bp 0x sp 0x
on sites like:
http://www.shortlist.com/entertainment/sport/the-10-new-stadiums-we-cant-wait-to-see-in-2016#gallery-1
bughunter reports this from beta -> trunk and was reproducible on a windows 7 trunk debug build based on current m-c tip
| Reporter | ||
Comment 1•10 years ago
|
||
windbg information from this site - however might be something like bug 1224185 that had also a js stack and turned out image related
Comment 2•10 years ago
|
||
I was able to reproduce both crashes and intermittent image corruption on the URL given. Similar to the other recent DDD crashes filed, it sometimes requires a few force-reloads to crash.
Regression range: https://hg.mozilla.org/integration/mozilla-inbound/pushloghtml?fromchange=bd4a6ddd01a049ebf846a0e4b5a795596e65508e&tochange=649f934c48e639a9d52e8da665b06a733f2e590d
Regression from bug 1207378.
Blocks: 1207378
status-b2g-v2.0:
--- → unaffected
status-b2g-v2.0M:
--- → unaffected
status-b2g-v2.1:
--- → unaffected
status-b2g-v2.1S:
--- → unaffected
status-b2g-v2.2:
--- → unaffected
status-b2g-v2.2r:
--- → unaffected
status-b2g-v2.5:
--- → affected
status-b2g-master:
--- → affected
status-firefox42:
--- → unaffected
status-firefox43:
--- → affected
status-firefox44:
--- → affected
status-firefox45:
--- → affected
status-firefox46:
--- → affected
status-firefox-esr38:
--- → unaffected
status-firefox-esr45:
--- → affected
tracking-firefox43:
--- → ?
tracking-firefox44:
--- → ?
tracking-firefox45:
--- → ?
tracking-firefox46:
--- → ?
tracking-firefox-esr45:
--- → ?
Flags: needinfo?(seth)
Updated•10 years ago
|
Keywords: csectype-bounds
Comment 3•10 years ago
|
||
Similar to other Downscalar crashes we have seen, first
there is a heap overrun in PropagatePassToDownscaler, followed
by crashery in JS-land, presumably because the heap has
been trashed.
Comment 4•10 years ago
|
||
Would it be possible/feasible to get this downscaler fuzzed?
| Assignee | ||
Updated•10 years ago
|
Assignee: nobody → edwin
Comment 6•10 years ago
|
||
This is an invalid write based on the Valgrind logs, so I'm going to mark it sec-critical.
Keywords: sec-critical
Updated•10 years ago
|
Keywords: regression
| Assignee | ||
Updated•10 years ago
|
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
Updated•10 years ago
|
Flags: needinfo?(seth)
Comment 9•10 years ago
|
||
Marking wontfix since we wontfixed bug 1229825.
Comment 10•10 years ago
|
||
Also marking fixed for 44-46 from the flags in bug 1229825.
Updated•10 years ago
|
Whiteboard: [adv-main44-]
Updated•10 years ago
|
Group: core-security
Updated•10 years ago
|
Updated•10 years ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•