CWE
400
Advisory Published
CVE Published
Updated

CVE-2011-1082

First published: Wed Mar 02 2011(Updated: )

Description of problem: In several places, an epoll fd can call another file's -&gt;f_op-&gt;poll() method with ep-&gt;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 -&gt;poll() method using ep_call_nested, but there are several other unsafe calls to -&gt;poll elsewhere that can be made to deadlock. For example, the following simple program causes the call in ep_insert recursively call the original fd's -&gt;poll, leading to deadlock References: <a href="https://lkml.org/lkml/2011/2/5/220">https://lkml.org/lkml/2011/2/5/220</a> <a href="http://seclists.org/oss-sec/2011/q1/337">http://seclists.org/oss-sec/2011/q1/337</a> Upstream commit: <a href="http://git.kernel.org/linus/22bacca48a1755f79b7e0f192ddb9fbb7fc6e64e">http://git.kernel.org/linus/22bacca48a1755f79b7e0f192ddb9fbb7fc6e64e</a> Acknowledgements: Red Hat would like to thank Nelson Elhage for reporting this issue.

Credit: secalert@redhat.com secalert@redhat.com

Affected SoftwareAffected VersionHow to fix
Linux Linux kernel<2.6.38
debian/linux-2.6

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

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.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203