Closed
Bug 876252
Opened 11 years ago
Closed 11 years ago
Heap-buffer-overflow READ in speex_resampler_process_float
Categories
(Core :: Web Audio, defect)
Tracking
()
RESOLVED
FIXED
mozilla24
Tracking | Status | |
---|---|---|
firefox21 | --- | unaffected |
firefox22 | --- | disabled |
firefox23 | --- | disabled |
firefox24 | --- | fixed |
firefox-esr17 | --- | unaffected |
b2g18 | --- | unaffected |
People
(Reporter: attekett, Assigned: ehsan.akhgari)
References
Details
(4 keywords, Whiteboard: [asan][adv-main24-])
Attachments
(2 files)
(deleted),
text/html
|
Details | |
(deleted),
patch
|
roc
:
review+
|
Details | Diff | Splinter Review |
Tested on:
OS: Ubuntu 12.04
Firefox: ASAN opt-build from https://ftp.mozilla.org/pub/mozilla.org/firefox/tinderbox-builds/mozilla-central-linux64-asan/1369563046/
ASAN-report:
==17611== ERROR: AddressSanitizer: heap-buffer-overflow on address 0x7f48c10ede7c at pc 0x7f48e92350b2 bp 0x7f48bdfd3cb0 sp 0x7f48bdfd3ca8
READ of size 4 at 0x7f48c10ede7c thread T27
#0 0x7f48e92350b1 in speex_resampler_process_float /builds/slave/m-cen-l64-asan-ntly-0000000000/build/media/libspeex_resampler/src/resample.c:867
#1 0x7f48e61bcae5 in mozilla::dom::AudioBufferSourceNodeEngine::CopyFromInputBufferWithResampling(mozilla::AudioNodeStream*, mozilla::AudioChunk*, unsigned int, unsigned long, unsigned long, unsigned int, unsigned int&, unsigned int&) /builds/slave/m-cen-l64-asan-ntly-0000000000/build/content/media/webaudio/AudioBufferSourceNode.cpp:217
#2 0x7f48e61bb240 in mozilla::dom::AudioBufferSourceNodeEngine::CopyFromBuffer(mozilla::AudioNodeStream*, mozilla::AudioChunk*, unsigned int, unsigned int*, long*, unsigned int, unsigned int) /builds/slave/m-cen-l64-asan-ntly-0000000000/build/content/media/webaudio/AudioBufferSourceNode.cpp:294
#3 0x7f48e61b98ab in mozilla::dom::AudioBufferSourceNodeEngine::ProduceAudioBlock(mozilla::AudioNodeStream*, mozilla::AudioChunk const&, mozilla::AudioChunk*, bool*) /builds/slave/m-cen-l64-asan-ntly-0000000000/build/content/media/webaudio/AudioBufferSourceNode.cpp:397
#4 0x7f48e6123d5a in mozilla::AudioNodeStream::ProduceOutput(long, long) /builds/slave/m-cen-l64-asan-ntly-0000000000/build/content/media/AudioNodeStream.cpp:425
.
.
.
The crash stack is identical to the stack from bug 874934
Comment 1•11 years ago
|
||
Same underlying issue as bug 875617?
Severity: normal → critical
Depends on: 875617
Assignee | ||
Updated•11 years ago
|
Attachment #754235 -
Attachment mime type: text/plain → text/html
Assignee | ||
Comment 2•11 years ago
|
||
Sigh....
Assignee | ||
Comment 3•11 years ago
|
||
(In reply to Mats Palmgren [:mats] from comment #1)
> Same underlying issue as bug 875617?
I doubt that.
No longer depends on: 875617
Attachment #754585 -
Flags: review?(roc) → review+
Assignee | ||
Comment 5•11 years ago
|
||
Comment 6•11 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
status-firefox24:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla24
Updated•11 years ago
|
Flags: sec-bounty?
Comment 8•11 years ago
|
||
Does this affect branches or is this trunk only?
I am told that this might be explicitly disabled on 22 and 23 and unaffected for 21. Is that right?
status-firefox21:
--- → ?
status-firefox22:
--- → ?
status-firefox23:
--- → ?
Flags: sec-bounty? → sec-bounty+
Whiteboard: [asan]
Assignee | ||
Comment 9•11 years ago
|
||
(In reply to Al Billings [:abillings] from comment #9)
> Does this affect branches or is this trunk only?
23 and 24.
> I am told that this might be explicitly disabled on 22 and 23 and unaffected
> for 21. Is that right?
It is already disabled on 22, and will be disabled on 23 once it goes to beta. And yes, 21 is unaffected.
Updated•11 years ago
|
Assignee | ||
Comment 10•11 years ago
|
||
Mass moving Web Audio bugs to the Web Audio component. Filter on duckityduck.
Component: Video/Audio → Web Audio
Updated•11 years ago
|
Flags: in-testsuite+
Updated•11 years ago
|
status-firefox-esr17:
--- → unaffected
Updated•11 years ago
|
Attachment #757693 -
Attachment description: Bounty Awarded $3000 → Bounty Awarded $3000 [paid] 6/6/13
Updated•11 years ago
|
Updated•11 years ago
|
Whiteboard: [asan] → [asan][adv-main24-]
Updated•11 years ago
|
status-b2g18:
--- → unaffected
Updated•11 years ago
|
Group: core-security
You need to log in
before you can comment on or make changes to this bug.
Description
•