Bug 1401544 (CVE-2016-9804)

Summary: CVE-2016-9804 bluez: buffer overflow in commands_dump()
Product: [Other] Security Response Reporter: Martin Prpič <mprpic>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED WONTFIX QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedKeywords: Security
Target Milestone: ---   
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: 2019-06-08 03:03:19 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: 1401548    
Bug Blocks:    

Description Martin Prpič 2016-12-05 14:33:40 UTC
A buffer overflow was found in the commands_dump() function in tools/parser/csr.c source file of bluez. The issue exists because "commands" array is overflowed by supplied parameter due to lack of boundary checks on size of the buffer from frame "frm->ptr" parameter. This issue can be triggered by processing a corrupted dump file and will result in hcidump crash.

Original report:

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

Comment 1 Martin Prpič 2016-12-05 14:41:56 UTC
Created bluez tracking bugs for this issue:

Affects: fedora-all [bug 1401548]