CVE-2011-1082: Medium severity linux kernel vulnerability

Published Mar 2, 2011
·
Updated

Description of problem: In several places, an epoll fd can call another file's ->fop->poll() method with ep->mtx held. This is in general unsafe, because that other file could itself be an epoll fd that contains the original epoll fd.

The code defends against this possibility in its own ->poll() method using epcallnested, but there are several other unsafe calls to ->poll elsewhere that can be made to deadlock. For example, the following simple program causes the call in epinsert recursively call the original fd's ->poll, leading to deadlock

References: https://lkml.org/lkml/2011/2/5/220 http://seclists.org/oss-sec/2011/q1/337

Upstream commit: http://git.kernel.org/linus/22bacca48a1755f79b7e0f192ddb9fbb7fc6e64e

Acknowledgements:

Red Hat would like to thank Nelson Elhage for reporting this issue.

Other sources

fs/eventpoll.c in the Linux kernel before 2.6.38 places epoll file descriptors within other epoll data structures without properly checking for (1) closed loops or (2) deep chains, which allows local users to cause a denial of service (deadlock or stack memory consumption) via a crafted application that makes epollcreate and epollctl system calls.

Launchpad

Affected Software

2 affected components
debian/linux-2.6
Linux Linux kernel<2.6.38

Event History

Mar 2, 2011
Data Sourced
via Red Hat·04:06 PM
DescriptionSeverityAffected Software
Apr 3, 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-1082?

CVE-2011-1082 is classified as a medium severity vulnerability due to the risks it poses to system stability and potential denial-of-service scenarios.

2

How do I fix CVE-2011-1082?

To fix CVE-2011-1082, upgrade to a kernel version later than 2.6.38 that addresses this vulnerability.

3

What are the potential impacts of CVE-2011-1082?

The potential impacts of CVE-2011-1082 include system crashes and instability due to unsafe polling operations involving epoll file descriptors.

4

Which systems are affected by CVE-2011-1082?

CVE-2011-1082 affects versions of the Linux kernel prior to 2.6.38.

5

Is CVE-2011-1082 easy to exploit?

Exploitation of CVE-2011-1082 requires specific conditions and knowledge of the system's file descriptor operations, making it moderately difficult to exploit.

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