New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 600953 link

Starred by 0 users

Issue metadata

Status: Fixed
Owner:
Closed: Jun 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 1
Type: Bug-Security



Sign in to add a comment

Global-buffer-overflow in WebRtcIsacfix_PitchFilterCore

Project Member Reported by ClusterFuzz, Apr 6 2016

Issue description

Detailed report: https://cluster-fuzz.appspot.com/testcase?key=5300886984720384

Fuzzer: libfuzzer_audio_decoder_isacfix_fuzzer
Job Type: libfuzzer_chrome_asan
Platform Id: linux

Crash Type: Global-buffer-overflow READ 2
Crash Address: 0x0000005a89f4
Crash State:
  WebRtcIsacfix_PitchFilterCore
  WebRtcIsacfix_PitchFilter
  WebRtcIsacfix_DecodeImpl
  

Minimized Testcase (0.04 Kb): https://cluster-fuzz.appspot.com/download/AMIfv96HRd108A4nC4ynC1Tg1eKty9coVUOsV1_fiKrD18n1B490UdqSkP58ZiJ0r8uTnv8sdELlyVmzeY5ENo3zUeDwZybEQ4f85Omevd3fGSG-E0DeNqd2mKfP2Suux9rBh7XuqozHycEb11cqDLGXNabct0Uy3w

Filer: mmoroz

See https://dev.chromium.org/Home/chromium-security/bugs/reproducing-clusterfuzz-bugs for more information.
 
Cc: mmoroz@chromium.org kcc@chromium.org aizatsky@chromium.org infe...@chromium.org
Components: Blink>WebRTC>Audio
Labels: Pri-2
Owner: pbos@chromium.org

Comment 2 by pbos@chromium.org, Apr 6 2016

Cc: pbos@chromium.org hlundin@chromium.org
Owner: kwiberg@chromium.org
Project Member

Comment 3 by ClusterFuzz, Apr 6 2016

Labels: -Pri-2 Pri-1 Security_Impact-Head
Status: Assigned (was: Available)

Comment 4 by kenrb@chromium.org, Apr 6 2016

Labels: M-50
Project Member

Comment 5 by sheriffbot@chromium.org, Apr 7 2016

Labels: -Security_Impact-Head Security_Impact-Beta
Project Member

Comment 6 by sheriffbot@chromium.org, Apr 14 2016

Labels: -Security_Impact-Beta Security_Impact-Stable
Project Member

Comment 7 by sheriffbot@chromium.org, Apr 21 2016

kwiberg: Uh oh! This issue still open and hasn't been updated in the last 15 days. This is a serious vulnerability, and we want to ensure that there's progress. Could you please leave an update with the current status and any potential blockers?

If you're not the right owner for this issue, could you please remove yourself as soon as possible or help us find the right one?

If the issue is fixed or you can't reproduce it, please close the bug. If you've started working on a fix, please set the status to Started.

Thanks for your time! To disable nags, add the Disable-Nags label.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Project Member

Comment 8 by sheriffbot@chromium.org, May 6 2016

kwiberg: Uh oh! This issue still open and hasn't been updated in the last 30 days. This is a serious vulnerability, and we want to ensure that there's progress. Could you please leave an update with the current status and any potential blockers?

If you're not the right owner for this issue, could you please remove yourself as soon as possible or help us find the right one?

If the issue is fixed or you can't reproduce it, please close the bug. If you've started working on a fix, please set the status to Started.

Thanks for your time! To disable nags, add the Disable-Nags label.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot

Comment 9 by mea...@chromium.org, May 23 2016

@kwiberg: Ping, can you please take a look at this medium severity bug whenever you have a chance? It's been open for more than 1.5 months now.
Project Member

Comment 10 by sheriffbot@chromium.org, May 26 2016

Labels: -M-50 M-51
Cc: kwiberg@chromium.org
Owner: mbarbe...@chromium.org
Status: Started (was: Assigned)
I have a potential fix for this, but since I don't understand the code too well it might not be an ideal one. Will upload for review once gclient sync finishes on my webrtc checkout.
Cc: tlegrand@chromium.org
Project Member

Comment 13 by bugdroid1@chromium.org, Jun 3 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/external/webrtc.git/+/7bf939c72061b48789304315c857c65a6ad8a1ae

commit 7bf939c72061b48789304315c857c65a6ad8a1ae
Author: mbarbella <mbarbella@chromium.org>
Date: Fri Jun 03 17:05:58 2016

Check for out-of-bounds access on |kIntrpCoef|.

BUG= chromium:600953 

Review-Url: https://codereview.webrtc.org/2025493002
Cr-Commit-Position: refs/heads/master@{#13039}

[modify] https://crrev.com/7bf939c72061b48789304315c857c65a6ad8a1ae/webrtc/modules/audio_coding/codecs/isac/fix/source/pitch_filter.c

Status: Fixed (was: Started)
Project Member

Comment 15 by ClusterFuzz, Jun 4 2016

Labels: Merge-Triage M-52
Adding Merge-Triage label for tracking purposes.

Once your fix had sufficient bake time (on canary, dev as appropriate), please nominate your fix for merge by adding the Merge-Request-XX label, where XX is the Chrome milestone.

When your merge is approved by the release manager, please start merging with higher milestone label first. Make sure to re-request merge for every milestone in the label list. You can get branch information on omahaproxy.appspot.com.

- Your friendly ClusterFuzz
Project Member

Comment 16 by sheriffbot@chromium.org, Jun 4 2016

Labels: -Restrict-View-SecurityTeam Restrict-View-SecurityNotify
Project Member

Comment 17 by ClusterFuzz, Jun 10 2016

ClusterFuzz has detected this issue as fixed in range 398366:399171.

Detailed report: https://cluster-fuzz.appspot.com/testcase?key=5300886984720384

Fuzzer: libfuzzer_audio_decoder_isacfix_fuzzer
Job Type: libfuzzer_chrome_asan
Platform Id: linux

Crash Type: Global-buffer-overflow READ 2
Crash Address: 0x0000005a89f4
Crash State:
  WebRtcIsacfix_PitchFilterCore
  WebRtcIsacfix_PitchFilter
  WebRtcIsacfix_DecodeImpl
  
Regressed: https://cluster-fuzz.appspot.com/revisions?job=libfuzzer_chrome_asan&range=381907:381934
Fixed: https://cluster-fuzz.appspot.com/revisions?job=libfuzzer_chrome_asan&range=398366:399171

Minimized Testcase (0.04 Kb): https://cluster-fuzz.appspot.com/download/AMIfv95N9yHnhha7VRloueni5rIMzbAMXGSC3jAk9hOqoRC4SYPsQbTDeyBeFdfCLG5h4NEn612ZcYmXfDG6HOI8gnwOWtEhqcFbfHCpIZtm7uK1SfMlJjmIXxi-OC2ZXud4V_--G1QhlgYsNow8GbaR8BLo3Avyjw

See https://chromium.googlesource.com/chromium/src/+/master/testing/libfuzzer/reproducing.md for more information.

If you suspect that the result above is incorrect, try re-doing that job on the test case report page.
Labels: Merge-Request-52
Regressed in 381907, initially in 51.0.2683.0
Fixed     in 398366, initially in 53.0.2763.0
Labels: -Merge-Triage

Comment 20 by dimu@chromium.org, Jul 11 2016

Labels: -Merge-Request-52 Merge-Approved-52
Approving merge to M52.
Hello!  Please merge to M52 by 5pm PDT Today (Tuesday 12th) if at all possible.  Cheers!
Sorry for the delay here, I totally missed this. Is anyone from the WebRTC team able to help with the merge on this one or able to point me to any docs related to the process? Not sure how we normally handle these.
Please merge your change to M52 branch 2743 before 5:00 PM PST Friday (07/15/16) as we are very close to M52 stable candidate cut. 
Cc: tommi@chromium.org
+ tommi@, could you ptal comment #22 & #23. Thank you.

Comment 25 by pbos@chromium.org, Jul 14 2016

Re #22: Normally you check out a release branch (like branch-heads/52), see: https://webrtc.org/native-code/development/#working-with-release-branches

I'll take care of the merge. Sorry for dropping the ball on this, I misremembered that ISAC wasn't part of the Chromium build, but I think it's iLBC that's being excluded. Either way, I'll make sure it lands. Thanks for fixing it.

Comment 26 by pbos@chromium.org, Jul 14 2016

Then git cherry-pick -x 7bf939c72061b48789304315c857c65a6ad8a1ae, and git cl upload like normal.

git cl upload takes care of it and https://codereview.webrtc.org/2144733007/ shows:

Base URL:
https://chromium.googlesource.com/external/webrtc.git@52
Target Ref:
refs/pending/branch-heads/52

Both indicating that it's targeting the tagged M52 WebRTC branch.
Project Member

Comment 27 by bugdroid1@chromium.org, Jul 14 2016

Labels: merge-merged-52
The following revision refers to this bug:
  https://chromium.googlesource.com/external/webrtc.git/+/ca7fe7ea0257ae5e4318549abbe7c0f79063865e

commit ca7fe7ea0257ae5e4318549abbe7c0f79063865e
Author: Peter Boström <pbos@webrtc.org>
Date: Thu Jul 14 07:11:36 2016

Check for out-of-bounds access on |kIntrpCoef|.

BUG= chromium:600953 

Review-Url: https://codereview.webrtc.org/2025493002
Cr-Commit-Position: refs/heads/master@{#13039}
(cherry picked from commit 7bf939c72061b48789304315c857c65a6ad8a1ae)

BUG= chromium:600953 
R=tommi@webrtc.org

Review URL: https://codereview.webrtc.org/2144733007 .

Cr-Commit-Position: refs/branch-heads/52@{#10}
Cr-Branched-From: a376e70cf9d0df3c35d53533b454da542661775b-refs/heads/master@{#12798}

[modify] https://crrev.com/ca7fe7ea0257ae5e4318549abbe7c0f79063865e/webrtc/modules/audio_coding/codecs/isac/fix/source/pitch_filter.c

Comment 28 by pbos@chromium.org, Jul 14 2016

Labels: -Merge-Approved-52
Thanks, Peter!
Labels: Release-0-M52
Project Member

Comment 31 by sheriffbot@chromium.org, Sep 10 2016

Labels: -Restrict-View-SecurityNotify
This bug has been closed for more than 14 weeks. Removing security view restrictions.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Project Member

Comment 32 by sheriffbot@chromium.org, Oct 1 2016

This bug has been closed for more than 14 weeks. Removing security view restrictions.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Project Member

Comment 33 by sheriffbot@chromium.org, Oct 2 2016

This bug has been closed for more than 14 weeks. Removing security view restrictions.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Labels: allpublic

Sign in to add a comment