Bug 1403879 (CVE-2016-9917)

Summary: CVE-2016-9917 bluez: Heap-based buffer overflow vulnerability in read_n()
Product: [Other] Security Response Reporter: Adam Mariš <amaris>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED WONTFIX QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: dkholia, dwmw2, dwmw2, dzickus, jgrulich, kde-sig, marcel, me, rdieter
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-03-31 07:01:16 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1403883, 1403885, 1403886, 1403887    
Bug Blocks: 1403882    

Description Adam Mariš 2016-12-12 14:33:56 UTC
A heap-based buffer overflow was observed in "read_n" function in "tools/hcidump.c" source file. This issue can be triggered by processing a corrupted dump file and will result in hcidump crash.

PoC can be found in following report:

https://www.spinics.net/lists/linux-bluetooth/msg68892.html

Comment 1 Adam Mariš 2016-12-12 14:43:58 UTC
Created kf5-bluez-qt tracking bugs for this issue:

Affects: fedora-all [bug 1403885]
Affects: epel-7 [bug 1403887]

Comment 2 Adam Mariš 2016-12-12 14:44:07 UTC
Created bluez tracking bugs for this issue:

Affects: fedora-all [bug 1403883]

Comment 3 Adam Mariš 2016-12-12 14:44:14 UTC
Created bluez-hcidump tracking bugs for this issue:

Affects: fedora-all [bug 1403886]