CWE
400
Advisory Published
CVE Published
Updated

CVE-2010-4249

First published: Wed Nov 24 2010(Updated: )

<a href="http://lkml.org/lkml/2010/11/23/395">http://lkml.org/lkml/2010/11/23/395</a> Reported by Vegard Nossum: "I found this program lying around on my laptop. It kills my box (2.6.35) instantly by consuming a lot of memory (allocated by the kernel, so the process doesn't get killed by the OOM killer). As far as I can tell, the memory isn't being freed when the program exits either. Maybe it will eventually get cleaned up the UNIX socket garbage collector thing, but in that case it doesn't get called quickly enough to save my machine at least." Reproducer: <a href="http://lkml.org/lkml/2010/11/23/395">http://lkml.org/lkml/2010/11/23/395</a> Partial fix: <a href="http://lkml.org/lkml/2010/11/23/450">http://lkml.org/lkml/2010/11/23/450</a> Remaining fix: <a href="http://marc.info/?l=linux-netdev&amp;m=129059035929046&amp;w=2">http://marc.info/?l=linux-netdev&amp;m=129059035929046&amp;w=2</a> From Eric Dumazet: "we can eat all LOWMEM memory before unix_gc() being called from unix_release_sock(). Moreover, the thread blocked in unix_gc() can consume huge amount of time to perform cleanup because of huge working set. One way to handle this is to have a sensible limit on unix_tot_inflight, tested from wait_for_unix_gc() and to force a call to unix_gc() if this limit is hit. This solves the OOM and also reduce overall latencies, and should not slowdown normal workloads." Acknowledgements: Red Hat would like to thank Vegard Nossum for reporting this issue.

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

Affected SoftwareAffected VersionHow to fix
Linux Linux kernel=2.6.37-rc2
Linux Linux kernel=2.6.37-rc1
Linux Linux kernel<2.6.37
Linux Linux kernel=2.6.37
Fedoraproject Fedora=13
debian/linux-2.6
debian/user-mode-linux

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.

Reference Links

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