SecurityTracker.com
    Home    |    View Topics    |    Search    |    Contact Us    |   

SecurityTracker
Archives


 


Category:   OS (Linux)  >   Linux Kernel Vendors:   kernel.org
Linux Kernel Buffer Overflow in mac_partition() Lets Physically Local Users Deny Service
SecurityTracker Alert ID:  1025126
SecurityTracker URL:  http://securitytracker.com/id/1025126
CVE Reference:   CVE-2011-1010   (Links to External Site)
Date:  Feb 25 2011
Impact:   Denial of service via local system
Fix Available:  Yes  Vendor Confirmed:  Yes  

Description:   A vulnerability was reported in the Linux Kernel. A local user can cause denial of service conditions.

A physically local user can connect a storage device with a specially crafted MAC partition map to trigger a buffer overflow in the mac_partition() function in 'fs/partitions/mac.c' and cause a kernel panic.

The original advisory is available at:

http://www.pre-cert.de/advisories/PRE-SA-2011-01.txt

Timo Warns (PRESENSE Technologies GmbH) reported this vulnerability.

Impact:   A local user can cause the target system to crash.
Solution:   The vendor has issued a fix, available at:

http://git.kernel.org/linus/fa7ea87a057958a8b7926c1a60a3ca6d696328ed

Vendor URL:  www.kernel.org/ (Links to External Site)
Cause:   Boundary error

Message History:   This archive entry has one or more follow-up message(s) listed below.
Apr 12 2011 (Red Hat Issues Fix) Linux Kernel Buffer Overflow in mac_partition() Lets Physically Local Users Deny Service
Red Hat has issued a fix for Red Hat Enterprise Linux 5.
May 10 2011 (Red Hat Issues Fix) Linux Kernel Buffer Overflow in mac_partition() Lets Physically Local Users Deny Service
Red Hat has issued a fix for Red Hat Enterprise MRG 1.3 for RHEL 5.
May 19 2011 (Red Hat Issues Fix) Linux Kernel Buffer Overflow in mac_partition() Lets Physically Local Users Deny Service
Red Hat has issued a fix for Red Hat Enterprise Linux 6.
Jun 22 2011 (Red Hat Issues Fix) Linux Kernel Buffer Overflow in mac_partition() Lets Physically Local Users Deny Service
Red Hat has issued a fix for Red Hat Enterprise Linux 6.0.



 Source Message Contents

Subject:  [PRE-SA-2011-01] Multiple Linux kernel vulnerabilities in partition handling code of LDM and MAC partition tables

# PRE-CERT Security Advisory #

* Advisory: PRE-SA-2011-01
* Released on: 23 Feb 2011
* Last updated on: 23 Feb 2011
* Affected product: Linux Kernel 2.4 and 2.6
* Impact: - privilege Escalation
          - denial-of-service
          - disclosure of sensitive information
* Origin: storage devices
* CVE Identifier: - CVE-2011-1010

## Summary ##

Timo Warns (PRESENSE Technologies GmbH) reported some vulnerabilities in
the Linux kernel that may lead to privilege escalation,
denial-of-service, or information leakage via corrupted partition
tables. Exploiting these vulnerabilities has been demonstrated by a "USB
Stick of Death" that crashes the Linux kernel upon connecting the stick.

The kernel automatically evaluates partition tables of storage devices.
Note that this happens independently of whether auto-mounting is enabled
or not. The code for evaluating MAC and LDM partition tables contains the
following vulnerabilities:

* CVE-2011-1010
  A buffer overflow bug in mac_partition in fs/partitions/mac.c (for MAC
  partition tables) allows to cause a denial-of-service (kernel panic)
  via a corrupted MAC partition table.

  For a patch, see
  http://git.kernel.org/linus/fa7ea87a057958a8b7926c1a60a3ca6d696328ed

* A division-by-zero bug in ldm_get_vblks in fs/partitions/ldm.c (for
  LDM partition tables) allows to cause a denial-of-service (kernel
  oops) via a corrupted LDM partition table.

  For a patch, see
  http://www.spinics.net/lists/mm-commits/msg82429.html

* A buffer overflow bug in ldm_frag_add in fs/partitions/ldm.c (for LDM
  partition tables) may allow to escalate privileges or to disclose
  sensitive information via a corrupted LDM partition table.

## Workaround ##

Compile and use a kernel that does not evaluate MAC and LDM partition
tables. The corresponding configuration keys are CONFIG_MAC_PARTITION
and CONFIG_LDM_PARTITION.

## References ##

https://bugzilla.redhat.com/show_bug.cgi?id=679282

When further information becomes available, this advisory will be
updated. The most recent version of this advisory is available at:

http://www.pre-cert.de/advisories/PRE-SA-2011-01.txt

## Contact ##

PRE-CERT can be reached under precert@pre-secure.de. For PGP
key information, refer to http://www.pre-cert.de
 
 


Go to the Top of This SecurityTracker Archive Page





Home   |    View Topics   |    Search   |    Contact Us

This web site uses cookies for web analytics. Learn More

Copyright 2020, SecurityGlobal.net LLC