====================================== | [ 94.441116] ------------[ cut here ]------------ | [ 94.441981] refcount_t: underflow; use-after-free. | [ 94.442850] WARNING: CPU: 1 PID: 68 at lib/refcount.c:28 refcount_warn_saturate (lib/refcount.c:28 (discriminator 3)) | [ 94.444283] Modules linked in: xt_length nft_compat nf_tables act_ct nf_flow_table nf_nat nf_conntrack libcrc32c nf_defrag_ipv6 nf_defrag_ipv4 cls_flower cls_bpf sch_ingress [ 94.446364] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 94.447600] Workqueue: netns cleanup_net [ 94.447917] RIP: 0010:refcount_warn_saturate (lib/refcount.c:28 (discriminator 3)) [ 94.448452] 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 e8 37 b3 a6 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 e8 37 b3 a6 mov $0xffffffffa6b337e8,%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 [ 94.450743] RSP: 0000:ffffb46200263d78 EFLAGS: 00010286 [ 94.451374] RAX: 0000000000000000 RBX: ffff8f8943828000 RCX: 00000000ffffdfff [ 94.452273] RDX: 0000000000000000 RSI: 00000000ffffffea RDI: 0000000000000001 [ 94.453156] RBP: ffff8f8943828610 R08: ffffffffa6f78508 R09: 00000000ffffdfff [ 94.453982] R10: ffffffffa6e98520 R11: ffffffffa6f48520 R12: ffff8f8943828000 [ 94.454871] R13: ffffb46200263e08 R14: ffff8f8943828b80 R15: ffffffffa8478f90 [ 94.455793] FS: 0000000000000000(0000) GS:ffff8f897ec80000(0000) knlGS:0000000000000000 [ 94.456897] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 94.457594] CR2: 00007f2fa3970980 CR3: 000000000cc60001 CR4: 0000000000770ef0 [ 94.458488] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 94.459464] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 94.460294] PKRU: 55555554 [ 94.460652] Call Trace: [ 94.460982] [ 94.461294] ? __warn (kernel/panic.c:677) [ 94.461626] ? refcount_warn_saturate (lib/refcount.c:28 (discriminator 3)) [ 94.462036] ? report_bug (lib/bug.c:201 lib/bug.c:219) [ 94.462380] ? handle_bug (arch/x86/kernel/traps.c:238) [ 94.462740] ? exc_invalid_op (arch/x86/kernel/traps.c:259 (discriminator 1)) [ 94.463180] ? asm_exc_invalid_op (./arch/x86/include/asm/idtentry.h:568) [ 94.463526] ? refcount_warn_saturate (lib/refcount.c:28 (discriminator 3)) [ 94.463941] ? refcount_warn_saturate (lib/refcount.c:28 (discriminator 3)) [ 94.464524] br_sysfs_delbr (net/bridge/br_sysfs_br.c:1086) [ 94.464837] br_dev_delete (net/bridge/br_if.c:396) [ 94.465255] br_net_exit_batch_rtnl (net/bridge/br.c:369) [ 94.465894] cleanup_net (net/core/net_namespace.c:630) [ 94.466411] ? process_one_work (kernel/workqueue.c:2606) [ 94.466999] process_one_work (kernel/workqueue.c:2633) [ 94.467538] worker_thread (kernel/workqueue.c:2700 kernel/workqueue.c:2787) [ 94.468099] ? __pfx_worker_thread (kernel/workqueue.c:2733) [ 94.468767] kthread (kernel/kthread.c:388) [ 94.469270] ? __pfx_kthread (kernel/kthread.c:341) [ 94.469824] ret_from_fork (arch/x86/kernel/process.c:147) [ 94.470404] ? __pfx_kthread (kernel/kthread.c:341) [ 94.470934] ret_from_fork_asm (arch/x86/entry/entry_64.S:250) | [ 94.476167] ------------[ cut here ]------------ | [ 94.476434] sysfs group 'bridge' not found for kobject 'br0' | [ 94.476889] WARNING: CPU: 3 PID: 68 at fs/sysfs/group.c:282 sysfs_remove_group (fs/sysfs/group.c:282 (discriminator 1)) | [ 94.477694] Modules linked in: xt_length nft_compat nf_tables act_ct nf_flow_table nf_nat nf_conntrack libcrc32c nf_defrag_ipv6 nf_defrag_ipv4 cls_flower cls_bpf sch_ingress [ 94.480576] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 94.482015] Workqueue: netns cleanup_net [ 94.482552] RIP: 0010:sysfs_remove_group (fs/sysfs/group.c:282 (discriminator 1)) [ 94.483249] 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 d0 cd b2 a6 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 d0 cd b2 a6 mov $0xffffffffa6b2cdd0,%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) ... [ 94.485777] RSP: 0018:ffffb46200263d70 EFLAGS: 00010286 [ 94.486510] RAX: 0000000000000000 RBX: ffffffffa67472c0 RCX: 00000000ffffdfff [ 94.487277] RDX: 0000000000000000 RSI: 00000000ffffffea RDI: 0000000000000001 [ 94.487992] RBP: 0000000000000000 R08: ffffffffa6f78508 R09: 00000000ffffdfff [ 94.488623] R10: ffffffffa6e98520 R11: ffffffffa6f48520 R12: ffff8f8943828610 [ 94.489283] R13: ffffb46200263e08 R14: ffff8f8943828b80 R15: ffffffffa8478f90 [ 94.489930] FS: 0000000000000000(0000) GS:ffff8f897ed80000(0000) knlGS:0000000000000000 [ 94.490914] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 94.491479] CR2: 00007ffd182e7c48 CR3: 000000000cc60002 CR4: 0000000000770ef0 [ 94.492414] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 94.493315] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 94.494266] PKRU: 55555554 [ 94.494647] Call Trace: [ 94.495028] [ 94.495308] ? __warn (kernel/panic.c:677) [ 94.495759] ? sysfs_remove_group (fs/sysfs/group.c:282 (discriminator 1)) [ 94.496323] ? report_bug (lib/bug.c:201 lib/bug.c:219) [ 94.496831] ? handle_bug (arch/x86/kernel/traps.c:238) [ 94.497274] ? exc_invalid_op (arch/x86/kernel/traps.c:259 (discriminator 1)) [ 94.497768] ? asm_exc_invalid_op (./arch/x86/include/asm/idtentry.h:568) [ 94.498376] ? sysfs_remove_group (fs/sysfs/group.c:282 (discriminator 1)) [ 94.498911] br_dev_delete (net/bridge/br_if.c:396) [ 94.499373] br_net_exit_batch_rtnl (net/bridge/br.c:369) [ 94.499917] cleanup_net (net/core/net_namespace.c:630) [ 94.500361] ? process_one_work (kernel/workqueue.c:2606) [ 94.500889] process_one_work (kernel/workqueue.c:2633) [ 94.501420] worker_thread (kernel/workqueue.c:2700 kernel/workqueue.c:2787) [ 94.501865] ? __pfx_worker_thread (kernel/workqueue.c:2733) [ 94.502429] kthread (kernel/kthread.c:388) [ 94.502846] ? __pfx_kthread (kernel/kthread.c:341) [ 94.503191] ret_from_fork (arch/x86/kernel/process.c:147) [ 94.503547] ? __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