CVE-2009-1388: Race Condition

Published Jun 5, 2009
·
Updated

Description of problem: OpenVZ linux kernel team has found deadlock between ptrace and coredump code, no root privileges required.

2.6.18-128.1.10.el5 affected, exploit in attach.

--- SysRq-T trace:

explzap3 R ffff81003fa6cd70 0 8645 10409 8646 (NOTLB) 0000000000000068 ffffffff8006358b ffff81007e13f980 0000000000000000 ffff81003fa6cd70 ffff81003fa6cd70 0000013e867d5d52 0000027bcf133f75 ffff81003fa6cf80 ffffffff8046b780 ffffffff802fa680 ffff81003d0f1ec8 Call Trace: [<ffffffff8006358b>] schedtextstart+0x11b/0xfcb [<ffffffff800863c2>] taskrqlock+0x26/0x45 [<ffffffff80088be2>] sysschedyield+0xb1/0xb8 [<ffffffff800c8fa8>] ptracestart+0x3bd/0x465 [<ffffffff80029223>] dowait+0xafd/0xb99 [<ffffffff800c9cfb>] sysptrace+0x48/0x1f7 [<ffffffff80060477>] ptregscallcommon+0x67/0xac [<ffffffff80060166>] systemcall+0x7e/0x83

explzap3 D ffff81007ff395c0 0 8647 8645 8646 (NOTLB) ffff81007f6abc58 0000000000000086 0000000000000006 ffff81007b944c30 ffff81007ff395c0 ffff81007ff33500 0000004ed2555339 0000009d55ffa665 ffff81007ff397c8 ffffffff8046b780 0000004ed2554f5e ffff81007ff33500 Call Trace: [<ffffffff80086900>] activatetask+0x92/0x157 [<ffffffff800492ac>] trytowakeup+0x3ce/0x3e0 [<ffffffff80064691>] waitforcompletion+0x79/0xa2 [<ffffffff80088417>] defaultwakefunction+0x0/0xe [<ffffffff800ecbb5>] docoredump+0x341/0x8a1 [<ffffffff800a32e5>] ubslabuncharge+0xd0/0xdb [<ffffffff800a3493>] doubsiginfouncharge+0x42/0x55 [<ffffffff80096391>] recalcsigpending+0xe/0x25 [<ffffffff8002c00a>] getsignaltodeliver+0x434/0x46b [<ffffffff8005d8f6>] donotifyresume+0xd0/0x7e3 [<ffffffff80096f63>] groupsendsiginfo+0x89/0x94 [<ffffffff8005d26a>] groupsendsiginfo+0x76/0x83 [<ffffffff80088a0d>] vcpuput+0x8e/0x16e [<ffffffff8004ea1d>] syskill+0x19f/0x1b2 [<ffffffff80088a0d>] vcpuput+0x8e/0x16e [<ffffffff800601ef>] sysretsignal+0x1c/0x27 [<ffffffff80060477>] ptregscallcommon+0x67/0xac

Other sources

The ptracestart function in kernel/ptrace.c in the Linux kernel 2.6.18 does not properly handle simultaneous execution of the docoredump function, which allows local users to cause a denial of service (deadlock) via vectors involving the ptrace system call and a coredumping thread.

— MITRE

Affected Software

8 affected components
Linux Linux kernel=2.6.18-rc3
Linux Linux kernel=2.6.18-rc2
Linux Linux kernel=2.6.18-rc5
Linux Linux kernel=2.6.18-rc4
Linux Linux kernel=2.6.18-rc7
Linux Linux kernel=2.6.18-rc6
Linux Linux kernel=2.6.18
Linux Linux kernel=2.6.18-rc1

Event History

Jun 5, 2009
Data Sourced
via Red Hat·08:30 AM
DescriptionSeverityAffected Software
Jul 5, 2009
CVE Published
via MITRE·04:00 PM
Data Sourced
via MITRE·04:00 PM
Description

Frequently Asked Questions

1

What is the severity of CVE-2009-1388?

CVE-2009-1388 is rated as a medium severity vulnerability due to the potential for deadlocks leading to denial of service.

2

How do I fix CVE-2009-1388?

To resolve CVE-2009-1388, it is recommended to update the Linux kernel to a patched version that addresses the deadlock issue.

3

What versions of Linux are affected by CVE-2009-1388?

CVE-2009-1388 affects the Linux kernel version 2.6.18 and its release candidates.

4

Can CVE-2009-1388 be exploited without root privileges?

Yes, CVE-2009-1388 can be exploited without requiring root privileges, making it a significant threat.

5

What impact does CVE-2009-1388 have on system performance?

CVE-2009-1388 can lead to system crashes or hangs due to the deadlock situation between ptrace and coredump code.

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