====================================== | [ 1152.624318] ------------[ cut here ]------------ | [ 1152.624655] refcount_t: underflow; use-after-free. | [ 1152.625087] WARNING: CPU: 1 PID: 68 at lib/refcount.c:28 refcount_warn_saturate (lib/refcount.c:28 (discriminator 3)) | [ 1152.625727] Modules linked in: vxlan ip6_udp_tunnel udp_tunnel act_mirred cls_flower 8021q bridge stp llc ip6_gre ip6_tunnel tunnel6 act_gact cls_matchall ip_gre gre sch_ingress vrf veth [ 1152.627602] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 1152.628492] Workqueue: netns cleanup_net [ 1152.628815] RIP: 0010:refcount_warn_saturate (lib/refcount.c:28 (discriminator 3)) [ 1152.629234] Code: 0b 90 90 c3 cc cc cc cc 80 3d a1 b9 66 01 00 0f 85 75 ff ff ff c6 05 94 b9 66 01 01 90 48 c7 c7 c8 70 0f 83 e8 71 92 b4 ff 90 <0f> 0b 90 90 c3 cc cc cc cc 80 3d 74 b9 66 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 a1 b9 66 01 00 cmpb $0x0,0x166b9a1(%rip) # 0x166b9b0 f: 0f 85 75 ff ff ff jne 0xffffffffffffff8a 15: c6 05 94 b9 66 01 01 movb $0x1,0x166b994(%rip) # 0x166b9b0 1c: 90 nop 1d: 48 c7 c7 c8 70 0f 83 mov $0xffffffff830f70c8,%rdi 24: e8 71 92 b4 ff call 0xffffffffffb4929a 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 74 b9 66 01 00 cmpb $0x0,0x166b974(%rip) # 0x166b9ae 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 74 b9 66 01 00 cmpb $0x0,0x166b974(%rip) # 0x166b984 10: 0f 85 4a ff ff ff jne 0xffffffffffffff60 [ 1152.630558] RSP: 0018:ffffa1cec0263d78 EFLAGS: 00010286 [ 1152.630852] RAX: 0000000000000000 RBX: ffff919542838000 RCX: 00000000ffffdfff [ 1152.631284] RDX: 0000000000000000 RSI: 00000000ffffffea RDI: 0000000000000001 [ 1152.631824] RBP: ffff9195428385f8 R08: ffffffff83564508 R09: 00000000ffffdfff [ 1152.632331] R10: ffffffff83484520 R11: ffffffff83534520 R12: ffff919542838000 [ 1152.632866] R13: ffffa1cec0263e08 R14: ffff919542838b60 R15: ffff919545e20050 [ 1152.633372] FS: 0000000000000000(0000) GS:ffff91957ec80000(0000) knlGS:0000000000000000 [ 1152.633904] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 1152.634357] CR2: 00005645c8bea008 CR3: 00000000026bc006 CR4: 00000000001706f0 [ 1152.634923] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 1152.635473] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 1152.636031] Call Trace: [ 1152.636237] [ 1152.636416] ? __warn (kernel/panic.c:677) [ 1152.636690] ? refcount_warn_saturate (lib/refcount.c:28 (discriminator 3)) [ 1152.637068] ? report_bug (lib/bug.c:201 lib/bug.c:219) [ 1152.637373] ? handle_bug (arch/x86/kernel/traps.c:238) [ 1152.637633] ? exc_invalid_op (arch/x86/kernel/traps.c:259 (discriminator 1)) [ 1152.637956] ? asm_exc_invalid_op (./arch/x86/include/asm/idtentry.h:568) [ 1152.638300] ? refcount_warn_saturate (lib/refcount.c:28 (discriminator 3)) [ 1152.638668] ? refcount_warn_saturate (lib/refcount.c:28 (discriminator 3)) [ 1152.639038] br_sysfs_delbr (net/bridge/br_sysfs_br.c:1086) bridge [ 1152.639466] br_dev_delete (net/bridge/br_if.c:396) bridge [ 1152.639840] br_net_exit_batch_rtnl (net/bridge/br.c:369) bridge [ 1152.640273] cleanup_net (net/core/net_namespace.c:628 (discriminator 2)) [ 1152.640572] ? process_one_work (kernel/workqueue.c:2606) [ 1152.640859] process_one_work (kernel/workqueue.c:2638) [ 1152.641108] worker_thread (kernel/workqueue.c:2700 kernel/workqueue.c:2787) [ 1152.641319] ? __pfx_worker_thread (kernel/workqueue.c:2733) [ 1152.641554] kthread (kernel/kthread.c:388) [ 1152.641744] ? __pfx_kthread (kernel/kthread.c:341) [ 1152.641974] ret_from_fork (arch/x86/kernel/process.c:153) [ 1152.642176] ? __pfx_kthread (kernel/kthread.c:341) [ 1152.642389] ret_from_fork_asm (arch/x86/entry/entry_64.S:250) | [ 1152.645058] ------------[ cut here ]------------ | [ 1152.645308] sysfs group 'bridge' not found for kobject 'br2' | [ 1152.645632] WARNING: CPU: 1 PID: 68 at fs/sysfs/group.c:282 sysfs_remove_group (fs/sysfs/group.c:282 (discriminator 1)) | [ 1152.646092] Modules linked in: vxlan ip6_udp_tunnel udp_tunnel act_mirred cls_flower 8021q bridge stp llc ip6_gre ip6_tunnel tunnel6 act_gact cls_matchall ip_gre gre sch_ingress vrf veth [ 1152.647458] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 1152.648084] Workqueue: netns cleanup_net [ 1152.648309] RIP: 0010:sysfs_remove_group (fs/sysfs/group.c:282 (discriminator 1)) [ 1152.648581] Code: 48 89 ef 5d 41 5c e9 0a ae ff ff 48 89 ef e8 a2 9b ff ff eb d1 90 49 8b 14 24 48 8b 33 48 c7 c7 b0 06 0f 83 e8 fc b0 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 0a ae ff ff jmp 0xffffffffffffae15 b: 48 89 ef mov %rbp,%rdi e: e8 a2 9b ff ff call 0xffffffffffff9bb5 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 b0 06 0f 83 mov $0xffffffff830f06b0,%rdi 24: e8 fc b0 c5 ff call 0xffffffffffc5b125 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) ... [ 1152.649561] RSP: 0018:ffffa1cec0263d70 EFLAGS: 00010286 [ 1152.649856] RAX: 0000000000000000 RBX: ffffffffc0515c60 RCX: 00000000ffffdfff [ 1152.650241] RDX: 0000000000000000 RSI: 00000000ffffffea RDI: 0000000000000001 [ 1152.650620] RBP: 0000000000000000 R08: ffffffff83564508 R09: 00000000ffffdfff [ 1152.651014] R10: ffffffff83484520 R11: ffffffff83534520 R12: ffff9195428385f8 [ 1152.651415] R13: ffffa1cec0263e08 R14: ffff919542838b60 R15: ffff919545e20050 [ 1152.651800] FS: 0000000000000000(0000) GS:ffff91957ec80000(0000) knlGS:0000000000000000 [ 1152.652247] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 1152.652560] CR2: 00005645c8bea008 CR3: 00000000026bc006 CR4: 00000000001706f0 [ 1152.652945] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 1152.653327] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 1152.653721] Call Trace: [ 1152.653863] [ 1152.653996] ? __warn (kernel/panic.c:677) [ 1152.654178] ? sysfs_remove_group (fs/sysfs/group.c:282 (discriminator 1)) [ 1152.654407] ? report_bug (lib/bug.c:201 lib/bug.c:219) [ 1152.654611] ? handle_bug (arch/x86/kernel/traps.c:238) [ 1152.654803] ? exc_invalid_op (arch/x86/kernel/traps.c:259 (discriminator 1)) [ 1152.655023] ? asm_exc_invalid_op (./arch/x86/include/asm/idtentry.h:568) [ 1152.655257] ? sysfs_remove_group (fs/sysfs/group.c:282 (discriminator 1)) [ 1152.655486] br_dev_delete (net/bridge/br_if.c:396) bridge [ 1152.655747] br_net_exit_batch_rtnl (net/bridge/br.c:369) bridge [ 1152.656051] cleanup_net (net/core/net_namespace.c:628 (discriminator 2)) [ 1152.656254] ? process_one_work (kernel/workqueue.c:2606) [ 1152.656486] process_one_work (kernel/workqueue.c:2638) [ 1152.656709] worker_thread (kernel/workqueue.c:2700 kernel/workqueue.c:2787) [ 1152.656930] ? __pfx_worker_thread (kernel/workqueue.c:2733) [ 1152.657163] kthread (kernel/kthread.c:388) [ 1152.657338] ? __pfx_kthread (kernel/kthread.c:341) [ 1152.657545] ret_from_fork (arch/x86/kernel/process.c:153) [ 1152.657742] ? __pfx_kthread (kernel/kthread.c:341) [ 1152.657955] ret_from_fork_asm (arch/x86/entry/entry_64.S:250) | [ 1152.782073] ------------[ cut here ]------------ | [ 1152.782347] sysfs group 'bridge' not found for kobject 'br2' | [ 1152.782687] WARNING: CPU: 1 PID: 68 at fs/sysfs/group.c:282 sysfs_remove_group (fs/sysfs/group.c:282 (discriminator 1)) | [ 1152.783162] Modules linked in: vxlan ip6_udp_tunnel udp_tunnel act_mirred cls_flower 8021q bridge stp llc ip6_gre ip6_tunnel tunnel6 act_gact cls_matchall ip_gre gre sch_ingress vrf veth [ 1152.784541] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 1152.785176] Workqueue: netns cleanup_net [ 1152.785395] RIP: 0010:sysfs_remove_group (fs/sysfs/group.c:282 (discriminator 1)) [ 1152.785664] Code: 48 89 ef 5d 41 5c e9 0a ae ff ff 48 89 ef e8 a2 9b ff ff eb d1 90 49 8b 14 24 48 8b 33 48 c7 c7 b0 06 0f 83 e8 fc b0 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 0a ae ff ff jmp 0xffffffffffffae15 b: 48 89 ef mov %rbp,%rdi e: e8 a2 9b ff ff call 0xffffffffffff9bb5 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 b0 06 0f 83 mov $0xffffffff830f06b0,%rdi 24: e8 fc b0 c5 ff call 0xffffffffffc5b125 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) ... [ 1152.786659] RSP: 0018:ffffa1cec0263d70 EFLAGS: 00010286 [ 1152.786961] RAX: 0000000000000000 RBX: ffffffffc0515c60 RCX: 00000000ffffdfff [ 1152.787340] RDX: 0000000000000000 RSI: 00000000ffffffea RDI: 0000000000000001 [ 1152.787733] RBP: 0000000000000000 R08: ffffffff83564508 R09: 00000000ffffdfff [ 1152.788130] R10: ffffffff83484520 R11: ffffffff83534520 R12: ffff91954283e5f8 [ 1152.788515] R13: ffffa1cec0263e08 R14: ffff91954283eb60 R15: ffffffff84a13dd0 [ 1152.788920] FS: 0000000000000000(0000) GS:ffff91957ec80000(0000) knlGS:0000000000000000 [ 1152.789347] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 1152.789665] CR2: 00005645c8bcc320 CR3: 00000000026bc006 CR4: 00000000001706f0 [ 1152.790065] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 1152.790442] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 1152.790824] Call Trace: [ 1152.790979] [ 1152.791117] ? __warn (kernel/panic.c:677) [ 1152.791303] ? sysfs_remove_group (fs/sysfs/group.c:282 (discriminator 1)) [ 1152.791534] ? report_bug (lib/bug.c:201 lib/bug.c:219) [ 1152.791743] ? handle_bug (arch/x86/kernel/traps.c:238) [ 1152.791990] ? exc_invalid_op (arch/x86/kernel/traps.c:259 (discriminator 1)) [ 1152.792200] ? asm_exc_invalid_op (./arch/x86/include/asm/idtentry.h:568) [ 1152.792434] ? sysfs_remove_group (fs/sysfs/group.c:282 (discriminator 1)) [ 1152.792670] br_dev_delete (net/bridge/br_if.c:396) bridge [ 1152.792950] br_net_exit_batch_rtnl (net/bridge/br.c:369) bridge [ 1152.793241] cleanup_net (net/core/net_namespace.c:628 (discriminator 2)) [ 1152.793444] ? process_one_work (kernel/workqueue.c:2606) [ 1152.793681] process_one_work (kernel/workqueue.c:2638) [ 1152.793920] worker_thread (kernel/workqueue.c:2700 kernel/workqueue.c:2787) [ 1152.794126] ? __pfx_worker_thread (kernel/workqueue.c:2733) [ 1152.794365] kthread (kernel/kthread.c:388) [ 1152.794541] ? __pfx_kthread (kernel/kthread.c:341) [ 1152.794745] ret_from_fork (arch/x86/kernel/process.c:153) [ 1152.794981] ? __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