-
Notifications
You must be signed in to change notification settings - Fork 364
Description
Hi
i am using pf_ring 8.8.0 with suricata
Linux version 3.10.0-1160.62.1.el7.x86_64
got kernel panic randomly as below:
[2685596.677234] [PF_RING] failure creating lo in /proc [net=0000000000000000]
[2685596.677240] ------------[ cut here ]------------
[2685596.677242] WARNING: CPU: 7 PID: 13189 at fs/proc/generic.c:399 proc_register+0x8e/0xb0
[2685596.677243] proc_dir_entry '/proc/eth0' already registered
[2685596.677244] Modules linked in: pf_ring(OE+) xt_REDIRECT nf_nat_redirect xt_owner veth vxlan ip6_udp_tunnel udp_tunnel xt_recent xt_nat xt_statistic ipt_REJECT nf_reject_ipv4 ip_vs_sh ip_vs_wrr ip_vs_rr ip_vs xt_comment xt_mark xt_conntrack ipt_MASQUERADE nf_nat_masquerade_ipv4 nf_conntrack_netlink xt_addrtype iptable_filter iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack libcrc32c br_netfilter bridge stp llc overlay(T) iptable_mangle AliSecGuard(OE) udp_diag nfsv3 nfs_acl nfs lockd grace fscache tcp_diag inet_diag sunrpc nfit libnvdimm intel_powerclamp ppdev iosf_mbi crc32_pclmul ghash_clmulni_intel aesni_intel parport_pc parport lrw virtio_balloon gf128mul glue_helper i2c_piix4 ablk_helper cryptd pcspkr ip_tables ext4 mbcache jbd2 virtio_net net_failover virtio_console
[2685596.677269] virtio_blk failover cirrus drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops ttm drm crct10dif_pclmul crct10dif_common virtio_pci crc32c_intel virtio_ring serio_raw virtio drm_panel_orientation_quirks floppy [last unloaded: pf_ring]
[2685596.677278] CPU: 7 PID: 13189 Comm: insmod Kdump: loaded Tainted: G W OE ------------ T 3.10.0-1160.62.1.el7.x86_64 #1
[2685596.677279] Hardware name: Alibaba Cloud Alibaba Cloud ECS, BIOS 2221b89 04/01/2014
[2685596.677280] Call Trace:
[2685596.677282] [] dump_stack+0x19/0x1b
[2685596.677285] [] __warn+0xd8/0x100
[2685596.677287] [] warn_slowpath_fmt+0x5f/0x80
[2685596.677290] [] ? pde_subdir_insert+0x58/0xb0
[2685596.677292] [] proc_register+0x8e/0xb0
[2685596.677294] [] proc_mkdir_data+0x66/0xa0
[2685596.677296] [] proc_mkdir+0x15/0x20
[2685596.677299] [] add_device_to_proc+0x28/0x110 [pf_ring]
[2685596.677302] [] add_device_to_ring_list+0xfa/0x2e0 [pf_ring]
[2685596.677305] [] ? schedule+0x29/0x70
[2685596.677307] [] ? schedule_timeout+0x221/0x2d0
[2685596.677309] [] ? ida_get_new_above+0x230/0x2a0
[2685596.677312] [] ring_notifier+0x298/0x71a [pf_ring]
[2685596.677314] [] ? wait_for_completion+0x11d/0x140
[2685596.677317] [] ? _rcu_barrier+0x259/0x370
[2685596.677319] [] ? kfree+0x127/0x140
[2685596.677322] [] ? add_device_to_ring_list+0x2e0/0x2e0 [pf_ring]
[2685596.677323] [] __register_netdevice_notifier+0xa8/0x200
[2685596.677326] [] ? 0xffffffffc0771fff
[2685596.677328] [] register_netdevice_notifier+0x13/0x20
[2685596.677331] [] ring_init+0x287/0x1000 [pf_ring]
[2685596.677334] [] ? 0xffffffffc0771fff
[2685596.677336] [] ? 0xffffffffc0771fff
[2685596.677338] [] do_one_initcall+0xba/0x240
[2685596.677340] [] load_module+0x271a/0x2bb0
[2685596.677342] [] ? ddebug_proc_write+0x100/0x100
[2685596.677344] [] ? fput+0x13/0x20
[2685596.677346] [] ? copy_module_from_fd.isra.44+0x53/0x150
[2685596.677349] [] SyS_finit_module+0xa6/0xd0
[2685596.677351] [] system_call_fastpath+0x25/0x2a
[2685596.677353] ---[ end trace 23bb2a1e5d21259d ]---
[2685596.677354] [PF_RING] failure creating eth0 in /proc [net=0000000000000000]
[2685596.677365] general protection fault: 0000 [#1] SMP
[2685596.677502] Modules linked in: pf_ring(OE+) xt_REDIRECT nf_nat_redirect xt_owner veth vxlan ip6_udp_tunnel udp_tunnel xt_recent xt_nat xt_statistic ipt_REJECT nf_reject_ipv4 ip_vs_sh ip_vs_wrr ip_vs_rr ip_vs xt_comment xt_mark xt_conntrack ipt_MASQUERADE nf_nat_masquerade_ipv4 nf_conntrack_netlink xt_addrtype iptable_filter iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack libcrc32c br_netfilter bridge stp llc overlay(T) iptable_mangle AliSecGuard(OE) udp_diag nfsv3 nfs_acl nfs lockd grace fscache tcp_diag inet_diag sunrpc nfit libnvdimm intel_powerclamp ppdev iosf_mbi crc32_pclmul ghash_clmulni_intel aesni_intel parport_pc parport lrw virtio_balloon gf128mul glue_helper i2c_piix4 ablk_helper cryptd pcspkr ip_tables ext4 mbcache jbd2 virtio_net net_failover virtio_console
[2685596.679393] virtio_blk failover cirrus drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops ttm drm crct10dif_pclmul crct10dif_common virtio_pci crc32c_intel virtio_ring serio_raw virtio drm_panel_orientation_quirks floppy [last unloaded: pf_ring]
[2685596.679943] CPU: 7 PID: 13189 Comm: insmod Kdump: loaded Tainted: G W OE ------------ T 3.10.0-1160.62.1.el7.x86_64 #1
[2685596.680187] Hardware name: Alibaba Cloud Alibaba Cloud ECS, BIOS 2221b89 04/01/2014
[2685596.680362] task: ffff9aa94df8d280 ti: ffff9a9eeca10000 task.ti: ffff9a9eeca10000
[2685596.680516] RIP: 0010:[] [] pde_subdir_insert+0x3f/0xb0
[2685596.680678] RSP: 0018:ffff9a9eeca13a10 EFLAGS: 00010206
[2685596.680788] RAX: ffff9aabd0300048 RBX: 61613937ffffffff RCX: 0000000000000000
[2685596.680918] RDX: 0000000000000002 RSI: ffff9ab3b64c7840 RDI: ffff9aabd0300010
[2685596.681049] RBP: ffff9a9eeca13a30 R08: 000000000001f380 R09: ffffffff9a5888e0
[2685596.681186] R10: ffff9ab5c0bdf380 R11: fffff3735806da00 R12: ffff9ab3b64c78c5
[2685596.681316] R13: ffff9aabd0300048 R14: ffff9ab3b64c7840 R15: ffff9aabd0300000
[2685596.681448] FS: 00007f3954850740(0000) GS:ffff9ab5c0bc0000(0000) knlGS:0000000000000000
[2685596.681595] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[2685596.681704] CR2: 00007fba9c34fd70 CR3: 00000000757a4000 CR4: 00000000007606e0
[2685596.681838] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[2685596.681973] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[2685596.682104] PKRU: 55555554
[2685596.682158] Call Trace:
[2685596.682209] [] proc_register+0x4c/0xb0
[2685596.682311] [] proc_mkdir_data+0x66/0xa0
[2685596.682414] [] proc_mkdir+0x15/0x20
[2685596.682514] [] add_device_to_proc+0x28/0x110 [pf_ring]
[2685596.682643] [] add_device_to_ring_list+0xfa/0x2e0 [pf_ring]
[2685596.682790] [] ? schedule+0x29/0x70
[2685596.682887] [] ? schedule_timeout+0x221/0x2d0
[2685596.682987] [] ? ida_get_new_above+0x230/0x2a0
[2685596.683082] [] ring_notifier+0x298/0x71a [pf_ring]
[2685596.683182] [] ? wait_for_completion+0x11d/0x140
[2685596.683281] [] ? _rcu_barrier+0x259/0x370
[2685596.683370] [] ? kfree+0x127/0x140
[2685596.683926] [] ? add_device_to_ring_list+0x2e0/0x2e0 [pf_ring]
[2685596.684502] [] __register_netdevice_notifier+0xa8/0x200
[2685596.684984] [] ? 0xffffffffc0771fff
[2685596.685414] [] register_netdevice_notifier+0x13/0x20
[2685596.685862] [] ring_init+0x287/0x1000 [pf_ring]
[2685596.686320] [] ? 0xffffffffc0771fff
[2685596.686861] [] ? 0xffffffffc0771fff
[2685596.687324] [] do_one_initcall+0xba/0x240
[2685596.687745] [] load_module+0x271a/0x2bb0
[2685596.688159] [] ? ddebug_proc_write+0x100/0x100
[2685596.688594] [] ? fput+0x13/0x20
[2685596.688963] [] ? copy_module_from_fd.isra.44+0x53/0x150
[2685596.689358] [] SyS_finit_module+0xa6/0xd0
[2685596.689731] [] system_call_fastpath+0x25/0x2a
[2685596.690096] Code: 6f 38 41 54 4c 89 e8 4c 8d a6 85 00 00 00 53 eb 0a 0f 1f 00 48 8d 43 10 48 89 da 48 8b 18 48 85 db 74 31 41 0f b6 96 84 00 00 00 <0f> b6 43 44 0f b6 ca 39 c1 72 de 77 12 48 8d 73 45 4c 89 e7 e8
[2685596.691111] RIP [] pde_subdir_insert+0x3f/0xb0
[2685596.691472] RSP
crash> bt
PID: 13189 TASK: ffff9aa94df8d280 CPU: 7 COMMAND: "insmod"
#0 [ffff9a9eeca13788] machine_kexec at ffffffff9a2662f4
#1 [ffff9a9eeca137e8] __crash_kexec at ffffffff9a322b82
#2 [ffff9a9eeca138b8] crash_kexec at ffffffff9a322c70
#3 [ffff9a9eeca138d0] oops_end at ffffffff9a991798
#4 [ffff9a9eeca138f8] die at ffffffff9a230a7b
#5 [ffff9a9eeca13928] do_general_protection at ffffffff9a991092
#6 [ffff9a9eeca13960] general_protection at ffffffff9a990718
[exception RIP: pde_subdir_insert+63]
RIP: ffffffff9a4cd79f RSP: ffff9a9eeca13a10 RFLAGS: 00010206
RAX: ffff9aabd0300048 RBX: 61613937ffffffff RCX: 0000000000000000
RDX: 0000000000000002 RSI: ffff9ab3b64c7840 RDI: ffff9aabd0300010
RBP: ffff9a9eeca13a30 R8: 000000000001f380 R9: ffffffff9a5888e0
R10: ffff9ab5c0bdf380 R11: fffff3735806da00 R12: ffff9ab3b64c78c5
R13: ffff9aabd0300048 R14: ffff9ab3b64c7840 R15: ffff9aabd0300000
ORIG_RAX: ffffffffffffffff CS: 0010 SS: 0018
#7 [ffff9a9eeca13a38] proc_register at ffffffff9a4cd99c
#8 [ffff9a9eeca13a60] proc_mkdir_data at ffffffff9a4cdb26
#9 [ffff9a9eeca13a88] proc_mkdir at ffffffff9a4cdb95
#10 [ffff9a9eeca13a98] add_device_to_proc at ffffffffc0874b18 [pf_ring]
#11 [ffff9a9eeca13ac8] add_device_to_ring_list at ffffffffc0874cfa [pf_ring]
#12 [ffff9a9eeca13bc8] ring_notifier at ffffffffc0875178 [pf_ring]
#13 [ffff9a9eeca13c90] __register_netdevice_notifier at ffffffff9a8533c8
#14 [ffff9a9eeca13ce0] register_netdevice_notifier at ffffffff9a853533
#15 [ffff9a9eeca13cf0] init_module at ffffffffc0772287 [pf_ring]
#16 [ffff9a9eeca13d38] do_one_initcall at ffffffff9a20210a
#17 [ffff9a9eeca13d68] load_module at ffffffff9a31ea7a
#18 [ffff9a9eeca13eb8] sys_finit_module at ffffffff9a31f0f6
#19 [ffff9a9eeca13f50] system_call_fastpath at ffffffff9a999f92
RIP: 00007f3953d12e29 RSP: 00007ffc2e831e18 RFLAGS: 00010207
RAX: 0000000000000139 RBX: 0000000001bee2c0 RCX: 00007f3953d84f90
RDX: 0000000000000000 RSI: 000000000041a96e RDI: 0000000000000005
RBP: 000000000041a96e R8: 0000000000000000 R9: 00007ffc2e832028
R10: 0000000000000005 R11: 0000000000000206 R12: 0000000000000000
R13: 0000000001bee280 R14: 0000000000000000 R15: 0000000000000000
ORIG_RAX: 0000000000000139 CS: 0033 SS: 002b
crash>