Kernel caused hang with grsecurity-3.1-4.2.6-201511282239
Posted: Thu Dec 03, 2015 5:44 pm
Kernel caused a hang... my virtual machines kept running, and I could ssh to the host, but the video on the host was unusable (and possibly the keyboard and mouse too). Xorg wasn't responding, and kill -9 wouldn't even work. I'm using the open radeon driver. The hang happened while idling for a long time (almost 1.23 hours if 4429 seconds is correct) on a text tty.
grsecurity-3.1-4.2.6-201511282239
grsecurity-3.1-4.2.6-201511282239
- Code: Select all
[ 0.000000] Linux version 4.2.6-1-grsec-kvm-host (peter@peter) (gcc version 5.2.0 (GCC) ) #30 SMP PREEMPT Wed Dec 2 19:49:05 CET 2015
[ 0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-4.2.6-1-grsec-kvm-host-x86_64 root=UUID=dc395127-6336-448f-a950-137c100420c9 rw pcie_acs_override=downstream apparmor=1 security=apparmor vfio-pci.pci-ids=00:13.0,00:13.2,00:14.2,00:16.0,00:16.2,01:00.1,04:00.0,04:00.1,05:00.0,05:00.1 softlevel=kvm
[...]
[ 4429.146971] PAX: size overflow detected in function set_selection drivers/tty/vt/selection.c:175 cicus.210_438 max, count: 39, decl: sel_end; num: 0; context: vardecl_selection.c;
[ 4429.146974] CPU: 2 PID: 2052 Comm: gpm Not tainted 4.2.6-1-grsec-kvm-host #30
[ 4429.146974] Hardware name: Gigabyte Technology Co., Ltd. GA-990FXA-UD5/GA-990FXA-UD5, BIOS F11 10/26/2012
[ 4429.146978] ffffffff81884883 b571f7587211844e 0000000000000000 ffffffff817ae4be
[ 4429.146979] ffffc900046b3b18 ffffffff815ab32c 0000000000000000 ffffffff817ae4b0
[ 4429.146981] ffffc900046b3b48 ffffffff811a73c4 ffff880457fbb000 ffff880447b60021
[ 4429.146981] Call Trace:
[ 4429.146988] [<ffffffff815ab32c>] dump_stack+0x4c/0x79
[ 4429.146991] [<ffffffff811a73c4>] report_size_overflow+0x34/0x40
[ 4429.146994] [<ffffffff813aeb78>] set_selection+0xa08/0xcc0
[ 4429.146996] [<ffffffff813b7f35>] tioclinux+0x85/0x230
[ 4429.146998] [<ffffffff81072ae9>] ? capable+0x19/0x20
[ 4429.147000] [<ffffffff813aa5ee>] vt_ioctl+0x1be/0x1d60
[ 4429.147003] [<ffffffff8139c81a>] tty_ioctl+0x45a/0xe70
[ 4429.147005] [<ffffffff811b6290>] do_vfs_ioctl+0x3f0/0x770
[ 4429.147007] [<ffffffff811b6687>] SyS_ioctl+0x77/0x90
[ 4429.147009] [<ffffffff815b0beb>] entry_SYSCALL_64_fastpath+0x12/0x85
[ 4490.443568] usb 1-1: USB disconnect, device number 2
[ 4490.620112] usb 1-2: USB disconnect, device number 3
[ 4492.659250] usb 1-2: new low-speed USB device number 4 using xhci_hcd
[ 4492.814560] usb 1-2: ep 0x81 - rounding interval to 64 microframes, ep desc says 80 microframes
[ 4492.814565] usb 1-2: ep 0x82 - rounding interval to 1024 microframes, ep desc says 2040 microframes
[ 4492.842209] input: Logitech USB Keyboard as /devices/pci0000:00/0000:00:09.0/0000:02:00.0/usb1/1-2/1-2:1.0/0003:046D:C31D.0008/input/input10
[ 4492.893096] hid-generic 0003:046D:C31D.0008: input,hidraw0: USB HID v1.10 Keyboard [Logitech USB Keyboard] on usb-0000:02:00.0-2/input0
[ 4492.933734] input: Logitech USB Keyboard as /devices/pci0000:00/0000:00:09.0/0000:02:00.0/usb1/1-2/1-2:1.1/0003:046D:C31D.0009/input/input11
[ 4492.986394] hid-generic 0003:046D:C31D.0009: input,hidraw1: USB HID v1.10 Device [Logitech USB Keyboard] on usb-0000:02:00.0-2/input1
[ 4494.801617] usb 1-1: new low-speed USB device number 5 using xhci_hcd
[ 4494.955010] usb 1-1: ep 0x81 - rounding interval to 64 microframes, ep desc says 80 microframes
[ 4494.970654] input: DELL DELL USB Laser Mouse as /devices/pci0000:00/0000:00:09.0/0000:02:00.0/usb1/1-1/1-1:1.0/0003:046D:C063.000A/input/input12
[ 4494.971265] hid-generic 0003:046D:C063.000A: input,hidraw3: USB HID v1.10 Mouse [DELL DELL USB Laser Mouse] on usb-0000:02:00.0-1/input0
[ 4566.395153] INFO: task kworker/7:1:102 blocked for more than 120 seconds.
[ 4566.395155] Not tainted 4.2.6-1-grsec-kvm-host #30
[ 4566.395155] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 4566.395158] kworker/7:1 D 0000000000010e00 0 102 2 0x00000000
[ 4566.395161] Workqueue: events ffffffff813b81a0
[ 4566.395162] ffffc90001e9bc48 0000000000000046 0000000000000001 ffff88045aa01600
[ 4566.395163] ffffc90001e9bc68 ffff88045aa01d20 ffffffff819c3350 ffff88045aa01600
[ 4566.395164] 0000000000000000 ffff88046fdd0600 ffffc90001e9bc68 ffffffff815acd5d
[ 4566.395165] Call Trace:
[ 4566.395170] [<ffffffff815acd5d>] schedule+0x3d/0x90
[ 4566.395172] [<ffffffff815af800>] schedule_timeout+0x190/0x210
[ 4566.395175] [<ffffffff8109ba97>] ? account_entity_dequeue+0x97/0xd0
[ 4566.395177] [<ffffffff812df054>] ? __pax_list_add+0x24/0x50
[ 4566.395178] [<ffffffff815ae808>] __down+0x68/0xb0
[ 4566.395180] [<ffffffff810a0700>] ? throttle_cfs_rq+0x170/0x170
[ 4566.395182] [<ffffffff810b3b2f>] down+0x3f/0x50
[ 4566.395184] [<ffffffff810b8dd0>] console_lock+0x10/0x30
[ 4566.395186] [<ffffffff813b81bd>] console_callback+0x1d/0x180
[ 4566.395187] [<ffffffff810850c5>] process_one_work+0x125/0x370
[ 4566.395189] [<ffffffff8108535c>] worker_thread+0x4c/0x460
[ 4566.395190] [<ffffffff81085310>] ? process_one_work+0x370/0x370
[ 4566.395191] [<ffffffff81085310>] ? process_one_work+0x370/0x370
[ 4566.395192] [<ffffffff8108b2d7>] kthread+0xd7/0xf0
[ 4566.395193] [<ffffffff8108b200>] ? kthread_worker_fn+0x160/0x160
[ 4566.395195] [<ffffffff815b0ffe>] ret_from_fork+0x3e/0x70
[ 4566.395196] [<ffffffff8108b200>] ? kthread_worker_fn+0x160/0x160
[ 4641.662558] kactivitymanage[2849]: segfault at 71ae3695dd10 ip 000071ae36baf881 sp 000074586efce708 error 4 in libQt5Sql.so.5.5.1[71ae36b99000+41000]
[ 4641.662575] grsec: Segmentation fault occurred at 000071ae3695dd10 in /usr/bin/kactivitymanagerd[kactivitymanage:2849] uid/euid:1000/1000 gid/egid:100/100, parent /usr/bin/init[init:1] uid/euid:0/0 gid/egid:0/0
[ 4646.753066] synergys[6852]: segfault at 0 ip 0000000000455960 sp 0000778b9390cb30 error 4 in synergys[400000+de000]
[ 4646.753078] grsec: Segmentation fault occurred at (nil) in /usr/lib/synergy/synergys[synergys:6852] uid/euid:1000/1000 gid/egid:100/100, parent /usr/bin/bash[bash:6844] uid/euid:1000/1000 gid/egid:100/100
[ 4686.535377] INFO: task kworker/7:1:102 blocked for more than 120 seconds.
[ 4686.535378] Not tainted 4.2.6-1-grsec-kvm-host #30
[ 4686.535378] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 4686.535381] kworker/7:1 D 0000000000010e00 0 102 2 0x00000000
[ 4686.535384] Workqueue: events ffffffff813b81a0
[ 4686.535386] ffffc90001e9bc48 0000000000000046 0000000000000001 ffff88045aa01600
[ 4686.535387] ffffc90001e9bc68 ffff88045aa01d20 ffffffff819c3350 ffff88045aa01600
[ 4686.535388] 0000000000000000 ffff88046fdd0600 ffffc90001e9bc68 ffffffff815acd5d
[ 4686.535388] Call Trace:
[ 4686.535394] [<ffffffff815acd5d>] schedule+0x3d/0x90
[ 4686.535396] [<ffffffff815af800>] schedule_timeout+0x190/0x210
[ 4686.535398] [<ffffffff8109ba97>] ? account_entity_dequeue+0x97/0xd0
[ 4686.535400] [<ffffffff812df054>] ? __pax_list_add+0x24/0x50
[ 4686.535401] [<ffffffff815ae808>] __down+0x68/0xb0
[ 4686.535403] [<ffffffff810a0700>] ? throttle_cfs_rq+0x170/0x170
[ 4686.535405] [<ffffffff810b3b2f>] down+0x3f/0x50
[ 4686.535406] [<ffffffff810b8dd0>] console_lock+0x10/0x30
[ 4686.535408] [<ffffffff813b81bd>] console_callback+0x1d/0x180
[ 4686.535410] [<ffffffff810850c5>] process_one_work+0x125/0x370
[ 4686.535411] [<ffffffff8108535c>] worker_thread+0x4c/0x460
[ 4686.535412] [<ffffffff81085310>] ? process_one_work+0x370/0x370
[ 4686.535413] [<ffffffff81085310>] ? process_one_work+0x370/0x370
[ 4686.535414] [<ffffffff8108b2d7>] kthread+0xd7/0xf0
[ 4686.535415] [<ffffffff8108b200>] ? kthread_worker_fn+0x160/0x160
[ 4686.535417] [<ffffffff815b0ffe>] ret_from_fork+0x3e/0x70
[ 4686.535418] [<ffffffff8108b200>] ? kthread_worker_fn+0x160/0x160
[ 4686.535442] INFO: task kworker/2:2:6031 blocked for more than 120 seconds.
[ 4686.535443] Not tainted 4.2.6-1-grsec-kvm-host #30
[ 4686.535443] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 4686.535444] kworker/2:2 D 0000000000010e00 0 6031 2 0x00000080
[ 4686.535446] Workqueue: events ffffffff813a6340
[ 4686.535447] ffffc9000343bb28 0000000000000046 0000000000000000 ffff880425bed800
[ 4686.535448] 0000000000000000 ffff880425bedf20 ffffffff819c3350 ffff880425bed800
[ 4686.535449] 0000000000000001 0000000000000000 ffffc9000343bb48 ffffffff815acd5d
[ 4686.535449] Call Trace:
[ 4686.535450] [<ffffffff815acd5d>] schedule+0x3d/0x90
[ 4686.535451] [<ffffffff815af800>] schedule_timeout+0x190/0x210
[ 4686.535453] [<ffffffff812df054>] ? __pax_list_add+0x24/0x50
[ 4686.535454] [<ffffffff815ae808>] __down+0x68/0xb0
[ 4686.535455] [<ffffffff810b3b2f>] down+0x3f/0x50
[ 4686.535456] [<ffffffff810b8dd0>] console_lock+0x10/0x30
[ 4686.535457] [<ffffffff813b7336>] con_flush_chars+0x26/0x50
[ 4686.535459] [<ffffffff813a149b>] n_tty_receive_buf_common+0x64b/0xaf0
[ 4686.535460] [<ffffffff8109c94b>] ? set_next_entity+0xab/0x460
[ 4686.535461] [<ffffffff813a196e>] n_tty_receive_buf2+0x2e/0x40
[ 4686.535462] [<ffffffff813a643a>] flush_to_ldisc+0xfa/0x1a0
[ 4686.535463] [<ffffffff810850c5>] process_one_work+0x125/0x370
[ 4686.535465] [<ffffffff8108535c>] worker_thread+0x4c/0x460
[ 4686.535465] [<ffffffff81085310>] ? process_one_work+0x370/0x370
[ 4686.535466] [<ffffffff81085310>] ? process_one_work+0x370/0x370
[ 4686.535467] [<ffffffff8108b2d7>] kthread+0xd7/0xf0
[ 4686.535468] [<ffffffff8108b200>] ? kthread_worker_fn+0x160/0x160
[ 4686.535469] [<ffffffff815b0ffe>] ret_from_fork+0x3e/0x70
[ 4686.535470] [<ffffffff8108b200>] ? kthread_worker_fn+0x160/0x160
[ 4706.863081] synergys[6903]: segfault at 0 ip 0000000000455960 sp 00007e2d1cfc3a70 error 4 in synergys[400000+de000]
[ 4706.863090] grsec: Segmentation fault occurred at (nil) in /usr/lib/synergy/synergys[synergys:6903] uid/euid:1000/1000 gid/egid:100/100, parent /usr/bin/bash[bash:6896] uid/euid:1000/1000 gid/egid:100/100