Bug 218602 - CVE-2006-6106 Multiple problems in net/bluetooth/cmtp/capi.c
CVE-2006-6106 Multiple problems in net/bluetooth/cmtp/capi.c
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: kernel (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Marcel Holtmann
Brian Brock
: Security
Depends On:
  Show dependency treegraph
Reported: 2006-12-06 08:18 EST by Marcel Holtmann
Modified: 2007-11-30 17:07 EST (History)
3 users (show)

See Also:
Fixed In Version: RHSA-2007-0014
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2007-01-30 09:44:43 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
Proposed patch from Marcel Holtmann (3.63 KB, patch)
2006-12-11 09:19 EST, Marcel Holtmann
no flags Details | Diff

  None (edit)
Description Marcel Holtmann 2006-12-06 08:18:08 EST
From Al Viro:

Handling of incoming packet in net/bluetooth/cmtp/capi.c:

                controller = CAPIMSG_U32(skb->data, CAPI_MSG_BASELEN + 12);
                if (!info && ctrl) {
                        memset(ctrl->serial, 0, CAPI_SERIAL_LEN);
                                skb->data + CAPI_MSG_BASELEN + 17,
                                skb->data[CAPI_MSG_BASELEN + 16]);

The "->serial" is "unsigned char[8]" and no checks are done on
"skb->data[CAPI_MSG_BASELEN + 16]" incoming packet.

This could mess with "struct capi_ctr" from include/linux/isdn/capilli.h and
give a posibility to overwrite "struct proc_dir_entry *procent;".

The "case CAPI_FUNCTION_GET_MANUFACTURER:" in the same place is dealing with
same problem.
Comment 4 Jason Baron 2006-12-18 16:55:46 EST
committed in stream E5 build 42.0.4
Comment 6 Jason Baron 2006-12-20 14:01:23 EST
committed in stream U5 build 42.33. A test kernel with this patch is available
from http://people.redhat.com/~jbaron/rhel4/
Comment 7 Mike Gahagan 2007-01-24 15:55:35 EST
verified that the patch is in the 42.0.8 kernel.
Comment 9 Red Hat Bugzilla 2007-01-30 09:44:43 EST
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.


Note You need to log in before you can comment on or make changes to this bug.