CVE-2011-1163: Input Validation

Published Mar 16, 2011
·
Updated

Last updated 24 July 2024

Other sources

The kernel automatically evaluates partition tables of storage devices. The code for evaluating OSF partitions (in fs/partitions/osf.c) contains a bug that leaks data from kernel heap memory to userspace for certain corrupted OSF partitions.

In more detail (from Kernel 2.6.37 fs/partition/osf.c):

(66) for (i = 0 ; i < le16tocpu(label->dnpartitions); i++, partition++) {

iterates from 0 to dnpartitions - 1, where

dnpartitions is read from the partition table without validation and partition is a pointer to an array of at most 8 dpartitions.

(70) putpartition(state, slot, (71) le32tocpu(partition->poffset), (72) le32tocpu(partition->psize));

adds a partition based on data referenced by partition. As partition may point beyond the partition table data structure, poffset and psize are read from kernel heap beyond the partition table.

In some cases, putpartition logs error messages to userspace including the poffset and psize values. Hence, some values from kernel heap are leaked to userspace.

So validate the value of dnpartitions.

Reference: http://www.spinics.net/lists/mm-commits/msg82737.html

Acknowledgements:

Red Hat would like to thank Timo Warns for reporting this issue.

Red Hat

The osfpartition function in fs/partitions/osf.c in the Linux kernel before 2.6.38 does not properly handle an invalid number of partitions, which might allow local users to obtain potentially sensitive information from kernel heap memory via vectors related to partition-table parsing.

Launchpad

Affected Software

11 affected components
debian/linux-2.6
Linux Linux kernel<2.6.38
SUSE Linux Enterprise Server=10-sp4
redhat Enterprise Linux Desktop=5.0
redhat Enterprise Linux Desktop=6.0
redhat Enterprise Linux Eus=5.6
redhat Enterprise Linux Server=5.0
redhat Enterprise Linux Server=6.0
redhat Enterprise Linux Server Aus=5.6
redhat Enterprise Linux Workstation=5.0
redhat Enterprise Linux Workstation=6.0

Event History

Mar 16, 2011
Data Sourced
via Red Hat·03:35 AM
DescriptionSeverityAffected Software
Apr 10, 2011
CVE Published
via MITRE·01:00 AM
Data Sourced
via MITRE·01:00 AM
Description
Jan 15, 2024
Data Sourced
via Launchpad·09:58 PM
Description
Sep 15, 2024
Data Sourced
via Ubuntu·10:43 PM
RemedyDescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2011-1163?

CVE-2011-1163 is classified as a high-severity vulnerability due to its potential to leak sensitive kernel heap memory to userspace.

2

How do I fix CVE-2011-1163?

To mitigate CVE-2011-1163, update your kernel to a version higher than 2.6.38 where the vulnerability is patched.

3

Which systems are affected by CVE-2011-1163?

CVE-2011-1163 affects various Linux kernel versions including those in Debian, Red Hat, and SUSE distributions that are below the patched versions.

4

What type of vulnerability is CVE-2011-1163?

CVE-2011-1163 is a memory disclosure vulnerability caused by improper handling of corrupted OSF partition tables.

5

Can CVE-2011-1163 be exploited remotely?

Exploitation of CVE-2011-1163 typically requires local access to the affected system, as it involves accessing kernel memory.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203