Kernel panic with "BUG: unable to handle kernel paging request" in the code path of module 'tmhook' and 'twnotify'.
Issue
- Kernel panic with log "BUG: unable to handle kernel paging request at fffffffc84794060" in the code path of third party module
tmhookandtwnotify.
[...]
BUG: unable to handle kernel paging request at fffffffc84794060
IP: [<ffffffff81069dac>] update_curr+0x14c/0x200
Kernel PGD 1a91067 PUD 0
User PGD 83ff62067 PUD 0
Thread overran stack, or stack corrupted
Oops: 0000 [#1] SMP
last sysfs file: /sys/devices/system/cpu/online
CPU 1
Modules linked in: des_generic ecb md4 nls_utf8 cifs twnotify(U) gsch(U) redirfs(U) bmhook(U) acdc(P)(U) tmhook(U) dsa_filter(P)(U) dsa_filter_hook(U) nfs lockd fscache auth_rpcgss nfs_acl sunrpc ipv6 microcode vmware_balloon sg i2c_piix4 shpchp ext4 jbd2 mbcache sd_mod crc_t10dif sr_mod cdrom vmxnet3 vmw_pvscsi pata_acpi ata_generic ata_piix vmwgfx ttm drm_kms_helper drm i2c_core dm_mirror dm_region_hash dm_log dm_mod [last unloaded: speedstep_lib]
Pid: 17257, comm: ld-linux.so.2 Tainted: P -- ------------ 2.6.32-754.31.1.el6.x86_64 #1 VMware, Inc. VMware Virtual Platform/440BX Desktop Reference Platform
RIP: 0010:[<ffffffff81069dac>] [<ffffffff81069dac>] update_curr+0x14c/0x200
RSP: 0000:ffff880531e3be40 EFLAGS: 00010082
RAX: ffff880822492ab0 RBX: ffffffffa0570070 RCX: ffff8808349d3a40
RDX: 000000000001b888 RSI: 0000000000000000 RDI: ffff880822492ae8
RBP: ffff880531e3be70 R08: 00000000000567da R09: 0000000000000001
R10: 0000000000000000 R11: 0000000000000002 R12: ffff880028298c68
R13: 0000000000023c2d R14: 00004c8f603a9353 R15: 00000000ffffffff
FS: 0000000000000000(0000) GS:ffff880028280000(0000) knlGS:0000000000000000
CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033
CR2: fffffffc84794060 CR3: 0000000531e4e000 CR4: 00000000001607e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
Process ld-linux.so.2 (pid: 17257, threadinfo ffff880531e38000, task ffff880822492ab0)
Stack:
ffff880531e3be50 ffffffff810134e9 ffff880822492ae8 ffff880028298c68
<d> 0000000000000001 00000000ffffffff ffff880531e3be90 ffffffff810797c8
<d> ffff880028298c00 0000000000000001 ffff880531e3bf70 ffffffff8155a534
Call Trace:
[<ffffffff810134e9>] ? sched_clock+0x9/0x10
[<ffffffff810797c8>] put_prev_task_fair+0x118/0x150
[<ffffffff8155a534>] schedule+0x174/0xcb0
[<ffffffffa06322ff>] ? twnotify_sys_close+0xf/0x20 [twnotify]
[<ffffffff815666ca>] int_careful+0x14/0x22
Code: a4 00 45 85 c9 74 38 48 8b 50 08 8b 5a 18 48 8b 90 10 09 00 00 48 8b 4a 50 48 85 c9 74 21 48 63 db 66 0f 1f 44 00 00 48 8b 51 20 <48> 03 14 dd e0 3c c1 81 4c 01 2a 48 8b 49 78 48 85 c9 75 e8 48
RIP [<ffffffff81069dac>] update_curr+0x14c/0x200
RSP <ffff880531e3be40>
CR2: fffffffc84794060
- Another pattern of crash
[23934.533438] IP: [<ffffffff810b5cf3>] task_curr+0x13/0x30
[23934.533462] PGD 1007c5a067 PUD 0
[23934.533475] Thread overran stack, or stack corrupted
[23934.533492] Oops: 0000 [#1] SMP
[23934.533832] CPU: 24 PID: 120048 Comm: tior Tainted: P OE ------------ 3.10.0-327.el7.x86_64 #1
[23934.533860] Hardware name: Dell Inc. PowerEdge R730/0WCJNT, BIOS 2.5.5 08/16/2017
[23934.533883] task: ffff881cdd948000 ti: ffff881cbdb74000 task.ti: ffff881cbdb74000
[23934.533905] RIP: 0010:[<ffffffff810b5cf3>] [<ffffffff810b5cf3>] task_curr+0x13/0x30
[23934.533930] RSP: 0018:ffff881cbdb77d70 EFLAGS: 00010046
[23934.533946] RAX: 0000000000014780 RBX: ffff881cdd948000 RCX: 0000000000000004
[23934.533968] RDX: 00000000a05ab3dc RSI: ffff881cdd948000 RDI: ffff881cdd948000
[23934.533988] RBP: ffff881cbdb77db8 R08: ffff881cdd948790 R09: ffff881dc917ec80
[23934.534009] R10: 0000000000000004 R11: ffffffffa09361ff R12: ffff881cdd948000
[23934.534030] R13: ffff881e181b3a80 R14: 0000000000000005 R15: 0000000000000000
[23934.534051] FS: 0000000000000000(0000) GS:ffff88103f380000(0063) knlGS:00000000084d7840
[23934.534075] CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033
[23934.534092] CR2: 00000004847b57c0 CR3: 0000000d87b6a000 CR4: 00000000003407e0
[23934.534113] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[23934.534134] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[23934.534155] Stack:
[23934.534162] ffffffff81090606 0000000400000000 ffff881cbdb77e88 000000008c78910d
[23934.534189] ffff881cdd948000 0000000000000005 ffff881cbdb77e88 0000000000000000
[23934.534216] 0000000000000000 ffff881cbdb77e10 ffffffff81090b84 ffff881cbdb77e40
[23934.534244] Call Trace:
[23934.534255] [<ffffffff81090606>] ? complete_signal+0x166/0x250
[23934.534274] [<ffffffff81090b84>] __send_signal+0x194/0x490
[23934.534292] [<ffffffff81090ebe>] send_signal+0x3e/0x80
[23934.534309] [<ffffffff810917e3>] force_sig_info+0xb3/0xe0
[23934.535088] [<ffffffff810220a6>] tracehook_report_syscall_exit+0xa6/0xe0
[23934.535927] [<ffffffff81022417>] syscall_trace_leave+0x77/0x110
[23934.536720] [<ffffffff81645ba2>] int_check_syscall_exit_work+0x34/0x3d
[23934.537467] Code: 0d 48 83 c4 10 5b 41 5c 41 5d 41 5e 5d c3 e8 15 53 fc ff 0f 1f 44 00 00 48 8b 57 08 55 48 c7 c0 80 47 01 00 48 89 e5 8b 52 18 5d <48> 8b 14 d5 e0 b8 a5 81 48 39 bc 10 90 08 00 00 0f 94 c0 0f b6
[23934.539123] RIP [<ffffffff810b5cf3>] task_curr+0x13/0x30
Environment
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- 3rd party module :
tmhook&twnotify
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.