Note: This is an archival copy of Security Sun Alert 259408 as previously published on http://sunsolve.sun.com.
Latest version of this security advisory is available from http://support.oracle.com as Sun Alert 1020487.1.
Article ID : 1020487.1
Article Type : Sun Alerts (SURE)
Last reviewed : 2009-05-20
Audience : PUBLIC
Copyright Notice: Copyright © 2010, Oracle Corporation and/or its affiliates.

A Security Vulnerability in the Solaris Secure Digital Slot Driver (sdhost(7D)) May Allow Corruption of Kernel Memory and Memory Card Contents



Category
Security

Category
Data Loss

Release Phase
Resolved

Bug Id
6797937

Product
OpenSolaris

Date of Resolved Release
21-May-2009

A Security Vulnerability in the Solaris Secure Digital Slot Driver (sdhost(7D)) May Allow Corruption of Kernel Memory and Memory Card Contents

1. Impact

A security vulnerability in the Solaris Secure Digital slot driver (sdhost(7D)) may allow a local user with access to the memory card device to corrupt portions of kernel memory or contents of the memory card (resulting in data loss), or potentially allow code execution in kernel context. Kernel memory corruption may cause a system hang or panic, which is a type of DoS (Denial of Service).

2. Contributing Factors

This issue can occur in the following releases:

x86 Platform
  • OpenSolaris builds snv_105 through snv_108
Notes:

1. Solaris 8, 9 and 10 and the SPARC platform are not impacted by this issue.

2. Only systems with a certain memory card controller utilizing the Solaris Secure Digital slot driver (sdhost(7D)) on laptop motherboards are impacted by this issue.

The Secure Digital Card device affected by this issue can be determined by running the following command as 'root' user:
# /usr/X11/bin/scanpci -v | grep vendor 0x1180 device 0x0822
pci bus 0x0006 cardnum 0x0b function 0x02: vendor 0x1180 device 0x0822
Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter

3. Symptoms

This issue may result in a system hang or panic, and may read in or write out bad data to the memory card.  There are no predictable symptoms that would indicate the above issue resulted in a kernel panic or data loss.

4. Workaround

To work around the described issue, the Secure Digital slot driver (sdhost(7D)) can be disabled by running the following command as root:
# remdrv sdhost

5. Resolution

This issue is addressed in the following release:

x86 Platform
  • OpenSolaris based upon build snv_109 or later
For more information on Security Sun Alerts, see 1009886.1.

This Sun Alert notification is being provided to you on an "AS IS" basis. This Sun Alert notification may contain information provided by third parties. The issues described in this Sun Alert notification may or may not impact your system(s). Sun makes no representations, warranties, or guarantees as to the information contained herein. ANY AND ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT, ARE HEREBY DISCLAIMED. BY ACCESSING THIS DOCUMENT YOU ACKNOWLEDGE THAT SUN SHALL IN NO EVENT BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, PUNITIVE, OR CONSEQUENTIAL DAMAGES THAT ARISE OUT OF YOUR USE OR FAILURE TO USE THE INFORMATION CONTAINED HEREIN. This Sun Alert notification contains Sun proprietary and confidential information. It is being provided to you pursuant to the provisions of your agreement to purchase services from Sun, or, if you do not have such an agreement, the Sun.com Terms of Use. This Sun Alert notification may only be used for the purposes contemplated by these agreements.

Copyright 2000-2009 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, CA 95054 U.S.A. All rights reserved.









Attachments
This solution has no attachment