====================================== | [ 29.147506] ------------[ cut here ]------------ | [ 29.147804] refcount_t: underflow; use-after-free. | [ 29.148104] WARNING: CPU: 0 PID: 68 at lib/refcount.c:28 refcount_warn_saturate (lib/refcount.c:28 (discriminator 3)) | [ 29.148543] Modules linked in: vxlan act_tunnel_key cls_flower bareudp ip6_udp_tunnel udp_tunnel mpls_iptunnel mpls_router xfrm_interface sha1_generic xfrm_user act_mirred cls_matchall ip6_gre gre sch_ingress [ 29.149963] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 29.150568] Workqueue: netns cleanup_net [ 29.150804] RIP: 0010:refcount_warn_saturate (lib/refcount.c:28 (discriminator 3)) [ 29.151116] Code: 0b 90 90 c3 cc cc cc cc 80 3d 69 d4 67 01 00 0f 85 75 ff ff ff c6 05 5c d4 67 01 01 90 48 c7 c7 b8 37 b3 b8 e8 a1 26 b4 ff 90 <0f> 0b 90 90 c3 cc cc cc cc 80 3d 3c d4 67 01 00 0f 85 4a ff ff ff All code ======== 0: 0b 90 90 c3 cc cc or -0x33333c70(%rax),%edx 6: cc int3 7: cc int3 8: 80 3d 69 d4 67 01 00 cmpb $0x0,0x167d469(%rip) # 0x167d478 f: 0f 85 75 ff ff ff jne 0xffffffffffffff8a 15: c6 05 5c d4 67 01 01 movb $0x1,0x167d45c(%rip) # 0x167d478 1c: 90 nop 1d: 48 c7 c7 b8 37 b3 b8 mov $0xffffffffb8b337b8,%rdi 24: e8 a1 26 b4 ff call 0xffffffffffb426ca 29: 90 nop 2a:* 0f 0b ud2 <-- trapping instruction 2c: 90 nop 2d: 90 nop 2e: c3 ret 2f: cc int3 30: cc int3 31: cc int3 32: cc int3 33: 80 3d 3c d4 67 01 00 cmpb $0x0,0x167d43c(%rip) # 0x167d476 3a: 0f 85 4a ff ff ff jne 0xffffffffffffff8a Code starting with the faulting instruction =========================================== 0: 0f 0b ud2 2: 90 nop 3: 90 nop 4: c3 ret 5: cc int3 6: cc int3 7: cc int3 8: cc int3 9: 80 3d 3c d4 67 01 00 cmpb $0x0,0x167d43c(%rip) # 0x167d44c 10: 0f 85 4a ff ff ff jne 0xffffffffffffff60 [ 29.152089] RSP: 0018:ffff9db040263d78 EFLAGS: 00010286 [ 29.152395] RAX: 0000000000000000 RBX: ffff8ae1420b6000 RCX: 00000000ffffdfff [ 29.152792] RDX: 0000000000000000 RSI: 00000000ffffffea RDI: 0000000000000001 [ 29.153187] RBP: ffff8ae1420b6610 R08: ffffffffb8f78508 R09: 00000000ffffdfff [ 29.153576] R10: ffffffffb8e98520 R11: ffffffffb8f48520 R12: ffff8ae1420b6000 [ 29.153979] R13: ffff9db040263e08 R14: ffff8ae1420b6b80 R15: ffff8ae143bfc550 [ 29.154395] FS: 0000000000000000(0000) GS:ffff8ae17ec00000(0000) knlGS:0000000000000000 [ 29.154843] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 29.155167] CR2: 00007f11d8d05a30 CR3: 0000000006a60005 CR4: 0000000000770ef0 [ 29.155576] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 29.155961] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 29.156383] PKRU: 55555554 [ 29.156527] Call Trace: [ 29.156701] [ 29.156860] ? __warn (kernel/panic.c:677) [ 29.157074] ? refcount_warn_saturate (lib/refcount.c:28 (discriminator 3)) [ 29.157347] ? report_bug (lib/bug.c:201 lib/bug.c:219) [ 29.157585] ? handle_bug (arch/x86/kernel/traps.c:238) [ 29.157800] ? exc_invalid_op (arch/x86/kernel/traps.c:259 (discriminator 1)) [ 29.158048] ? asm_exc_invalid_op (./arch/x86/include/asm/idtentry.h:568) [ 29.158307] ? refcount_warn_saturate (lib/refcount.c:28 (discriminator 3)) [ 29.158585] ? refcount_warn_saturate (lib/refcount.c:28 (discriminator 3)) [ 29.158866] br_sysfs_delbr (net/bridge/br_sysfs_br.c:1086) [ 29.159104] br_dev_delete (net/bridge/br_if.c:396) [ 29.159325] br_net_exit_batch_rtnl (net/bridge/br.c:369) [ 29.159564] cleanup_net (net/core/net_namespace.c:630) [ 29.159798] ? process_one_work (kernel/workqueue.c:2606) [ 29.160064] process_one_work (kernel/workqueue.c:2633) [ 29.160303] worker_thread (kernel/workqueue.c:2700 kernel/workqueue.c:2787) [ 29.160535] ? __pfx_worker_thread (kernel/workqueue.c:2733) [ 29.160786] kthread (kernel/kthread.c:388) [ 29.161014] ? __pfx_kthread (kernel/kthread.c:341) [ 29.161330] ret_from_fork (arch/x86/kernel/process.c:147) [ 29.161613] ? __pfx_kthread (kernel/kthread.c:341) [ 29.161938] ret_from_fork_asm (arch/x86/entry/entry_64.S:250) | [ 29.165942] ------------[ cut here ]------------ | [ 29.166423] sysfs group 'bridge' not found for kobject 'br0' | [ 29.166753] WARNING: CPU: 1 PID: 68 at fs/sysfs/group.c:282 sysfs_remove_group (fs/sysfs/group.c:282 (discriminator 1)) | [ 29.167462] Modules linked in: vxlan act_tunnel_key cls_flower bareudp ip6_udp_tunnel udp_tunnel mpls_iptunnel mpls_router xfrm_interface sha1_generic xfrm_user act_mirred cls_matchall ip6_gre gre sch_ingress [ 29.170239] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 29.171381] Workqueue: netns cleanup_net [ 29.171788] RIP: 0010:sysfs_remove_group (fs/sysfs/group.c:282 (discriminator 1)) [ 29.172317] Code: 48 89 ef 5d 41 5c e9 7a ad ff ff 48 89 ef e8 12 9b ff ff eb d1 90 49 8b 14 24 48 8b 33 48 c7 c7 a0 cd b2 b8 e8 ac 67 c5 ff 90 <0f> 0b 90 90 5b 5d 41 5c c3 cc cc cc cc 66 66 2e 0f 1f 84 00 00 00 All code ======== 0: 48 89 ef mov %rbp,%rdi 3: 5d pop %rbp 4: 41 5c pop %r12 6: e9 7a ad ff ff jmp 0xffffffffffffad85 b: 48 89 ef mov %rbp,%rdi e: e8 12 9b ff ff call 0xffffffffffff9b25 13: eb d1 jmp 0xffffffffffffffe6 15: 90 nop 16: 49 8b 14 24 mov (%r12),%rdx 1a: 48 8b 33 mov (%rbx),%rsi 1d: 48 c7 c7 a0 cd b2 b8 mov $0xffffffffb8b2cda0,%rdi 24: e8 ac 67 c5 ff call 0xffffffffffc567d5 29: 90 nop 2a:* 0f 0b ud2 <-- trapping instruction 2c: 90 nop 2d: 90 nop 2e: 5b pop %rbx 2f: 5d pop %rbp 30: 41 5c pop %r12 32: c3 ret 33: cc int3 34: cc int3 35: cc int3 36: cc int3 37: 66 data16 38: 66 data16 39: 2e cs 3a: 0f .byte 0xf 3b: 1f (bad) 3c: 84 00 test %al,(%rax) ... Code starting with the faulting instruction =========================================== 0: 0f 0b ud2 2: 90 nop 3: 90 nop 4: 5b pop %rbx 5: 5d pop %rbp 6: 41 5c pop %r12 8: c3 ret 9: cc int3 a: cc int3 b: cc int3 c: cc int3 d: 66 data16 e: 66 data16 f: 2e cs 10: 0f .byte 0xf 11: 1f (bad) 12: 84 00 test %al,(%rax) ... [ 29.174125] RSP: 0018:ffff9db040263d70 EFLAGS: 00010286 [ 29.174654] RAX: 0000000000000000 RBX: ffffffffb87472c0 RCX: 00000000ffffdfff [ 29.175356] RDX: 0000000000000000 RSI: 00000000ffffffea RDI: 0000000000000001 [ 29.175997] RBP: 0000000000000000 R08: ffffffffb8f78508 R09: 00000000ffffdfff [ 29.176689] R10: ffffffffb8e98520 R11: ffffffffb8f48520 R12: ffff8ae1420b6610 [ 29.177341] R13: ffff9db040263e08 R14: ffff8ae1420b6b80 R15: ffff8ae143bfc550 [ 29.177987] FS: 0000000000000000(0000) GS:ffff8ae17ec80000(0000) knlGS:0000000000000000 [ 29.178713] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 29.179248] CR2: 00007f11d8d05a30 CR3: 0000000006a60004 CR4: 0000000000770ef0 [ 29.179874] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 29.180250] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 29.180649] PKRU: 55555554 [ 29.180835] Call Trace: [ 29.180971] [ 29.181089] ? __warn (kernel/panic.c:677) [ 29.181266] ? sysfs_remove_group (fs/sysfs/group.c:282 (discriminator 1)) [ 29.181487] ? report_bug (lib/bug.c:201 lib/bug.c:219) [ 29.181686] ? handle_bug (arch/x86/kernel/traps.c:238) [ 29.181885] ? exc_invalid_op (arch/x86/kernel/traps.c:259 (discriminator 1)) [ 29.182087] ? asm_exc_invalid_op (./arch/x86/include/asm/idtentry.h:568) [ 29.182311] ? sysfs_remove_group (fs/sysfs/group.c:282 (discriminator 1)) [ 29.182533] br_dev_delete (net/bridge/br_if.c:396) [ 29.182731] br_net_exit_batch_rtnl (net/bridge/br.c:369) [ 29.182972] cleanup_net (net/core/net_namespace.c:630) [ 29.183167] ? process_one_work (kernel/workqueue.c:2606) [ 29.183388] process_one_work (kernel/workqueue.c:2633) [ 29.183600] worker_thread (kernel/workqueue.c:2700 kernel/workqueue.c:2787) [ 29.183799] ? __pfx_worker_thread (kernel/workqueue.c:2733) [ 29.184031] kthread (kernel/kthread.c:388) [ 29.184217] ? __pfx_kthread (kernel/kthread.c:341) [ 29.184415] ret_from_fork (arch/x86/kernel/process.c:147) [ 29.184609] ? __pfx_kthread (kernel/kthread.c:341) [ 29.184806] ret_from_fork_asm (arch/x86/entry/entry_64.S:250) | [ 29.296371] sysfs group 'bridge' not found for kobject 'br0' | [ 29.296683] WARNING: CPU: 1 PID: 68 at fs/sysfs/group.c:282 sysfs_remove_group (fs/sysfs/group.c:282 (discriminator 1)) | make: Leaving directory '/home/virtme/testing-1/tools/testing/selftests' | [ 29.297111] Modules linked in: vxlan act_tunnel_key cls_flower bareudp ip6_udp_tunnel udp_tunnel mpls_iptunnel mpls_router xfrm_interface sha1_generic xfrm_user act_mirred cls_matchall ip6_gre gre sch_ingress [ 29.299114] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 xx__-> [ 29.299713] Workqueue: netns cleanup_net [ 29.300040] RIP: 0010:sysfs_remove_group (fs/sysfs/group.c:282 (discriminator 1)) [ 29.300291] Code: 48 89 ef 5d 41 5c e9 7a ad ff ff 48 89 ef e8 12 9b ff ff eb d1 90 49 8b 14 24 48 8b 33 48 c7 c7 a0 cd b2 b8 e8 ac 67 c5 ff 90 <0f> 0b 90 90 5b 5d 41 5c c3 cc cc cc cc 66 66 2e 0f 1f 84 00 00 00 All code ======== 0: 48 89 ef mov %rbp,%rdi 3: 5d pop %rbp 4: 41 5c pop %r12 6: e9 7a ad ff ff jmp 0xffffffffffffad85 b: 48 89 ef mov %rbp,%rdi e: e8 12 9b ff ff call 0xffffffffffff9b25 13: eb d1 jmp 0xffffffffffffffe6 15: 90 nop 16: 49 8b 14 24 mov (%r12),%rdx 1a: 48 8b 33 mov (%rbx),%rsi 1d: 48 c7 c7 a0 cd b2 b8 mov $0xffffffffb8b2cda0,%rdi 24: e8 ac 67 c5 ff call 0xffffffffffc567d5 29: 90 nop 2a:* 0f 0b ud2 <-- trapping instruction 2c: 90 nop 2d: 90 nop 2e: 5b pop %rbx 2f: 5d pop %rbp 30: 41 5c pop %r12 32: c3 ret 33: cc int3 34: cc int3 35: cc int3 36: cc int3 37: 66 data16 38: 66 data16 39: 2e cs 3a: 0f .byte 0xf 3b: 1f (bad) 3c: 84 00 test %al,(%rax) ... Code starting with the faulting instruction =========================================== 0: 0f 0b ud2 2: 90 nop 3: 90 nop 4: 5b pop %rbx 5: 5d pop %rbp 6: 41 5c pop %r12 8: c3 ret 9: cc int3 a: cc int3 b: cc int3 c: cc int3 d: 66 data16 e: 66 data16 f: 2e cs 10: 0f .byte 0xf 11: 1f (bad) 12: 84 00 test %al,(%rax) ... [ 29.301262] RSP: 0018:ffff9db040263d70 EFLAGS: 00010286 [ 29.301535] RAX: 0000000000000000 RBX: ffffffffb87472c0 RCX: 00000000ffffdfff [ 29.301918] RDX: 0000000000000000 RSI: 00000000ffffffea RDI: 0000000000000001 [ 29.302287] RBP: 0000000000000000 R08: ffffffffb8f78508 R09: 00000000ffffdfff [ 29.302647] R10: ffffffffb8e98520 R11: ffffffffb8f48520 R12: ffff8ae141c22610 [ 29.303016] R13: ffff9db040263e08 R14: ffff8ae141c22b80 R15: ffff8ae143bf8050 [ 29.303391] FS: 0000000000000000(0000) GS:ffff8ae17ec80000(0000) knlGS:0000000000000000 [ 29.303802] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 29.304104] CR2: 00007fa7c95cca30 CR3: 0000000006a60006 CR4: 0000000000770ef0 [ 29.304469] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 29.304837] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 29.305202] PKRU: 55555554 [ 29.305346] Call Trace: [ 29.305480] [ 29.305604] ? __warn (kernel/panic.c:677) [ 29.305790] ? sysfs_remove_group (fs/sysfs/group.c:282 (discriminator 1)) [ 29.306016] ? report_bug (lib/bug.c:201 lib/bug.c:219) [ 29.306216] ? handle_bug (arch/x86/kernel/traps.c:238) [ 29.306405] ? exc_invalid_op (arch/x86/kernel/traps.c:259 (discriminator 1)) [ 29.306609] ? asm_exc_invalid_op (./arch/x86/include/asm/idtentry.h:568) [ 29.306841] ? sysfs_remove_group (fs/sysfs/group.c:282 (discriminator 1)) [ 29.307063] br_dev_delete (net/bridge/br_if.c:396) [ 29.307257] br_net_exit_batch_rtnl (net/bridge/br.c:369) [ 29.307488] cleanup_net (net/core/net_namespace.c:630) [ 29.307683] ? process_one_work (kernel/workqueue.c:2606) [ 29.307911] process_one_work (kernel/workqueue.c:2633) [ 29.308124] worker_thread (kernel/workqueue.c:2700 kernel/workqueue.c:2787) [ 29.308322] ? __pfx_worker_thread (kernel/workqueue.c:2733) [ 29.308549] kthread (kernel/kthread.c:388) [ 29.308721] ? __pfx_kthread (kernel/kthread.c:341) [ 29.308926] ret_from_fork (arch/x86/kernel/process.c:147) [ 29.309119] ? __pfx_kthread (kernel/kthread.c:341) Finger prints: refcount_warn_saturate:br_sysfs_delbr:br_dev_delete:br_net_exit_batch_rtnl sysfs_remove_group:br_dev_delete:br_net_exit_batch_rtnl:cleanup_net sysfs_remove_group:br_dev_delete:br_net_exit_batch_rtnl:cleanup_net