RHEL6: Kernel crash in cgroup_task_migrate when using zombie PID and cgroup - kernel BUG at kernel/cgroup.c:1637!
Issue
- System crashed with following panic message
kernel BUG at kernel/cgroup.c:1637!
invalid opcode: 0000 [#1] SMP
last sysfs file: /sys/devices/virtual/block/dm-15/uevent
CPU 0
...
Pid: 20758, comm: docker Not tainted 2.6.32-431.el6.x86_64 #1 HP ProLiant DL360p Gen8
RIP: 0010:[<ffffffff810ce335>] [<ffffffff810ce335>] cgroup_task_migrate+0x165/0x190
...
Process docker (pid: 20758, threadinfo ffff885feb9b4000, task ffff885fde6ec080)
..
Call Trace:
[<ffffffff810ce826>] cgroup_attach_proc+0x4c6/0x680
[<ffffffff810cec1b>] attach_task_by_pid+0x8b/0x170
[<ffffffff810ced28>] cgroup_procs_write+0x28/0x40
[<ffffffff810cabaa>] cgroup_file_write+0x2ba/0x320
[<ffffffff8119ab96>] ? sys_mkdirat+0x106/0x1b0
[<ffffffff81188f78>] vfs_write+0xb8/0x1a0
[<ffffffff81189871>] sys_write+0x51/0x90
[<ffffffff8100b072>] system_call_fastpath+0x16/0x1b
Environment
- Red Hat Entreprise Linux 6
- seen on kerne-2.6.32-431.el6
- seen on kernel-2.6.32-504.el6
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
