make -C tools/testing/selftests TARGETS=net TEST_PROGS=icmp_redirect.sh TEEST_GEN_PROGS="" run_tests make: Entering directory '/home/virtme/testing-3/tools/testing/selftests' make[1]: Entering directory '/home/virtme/testing-3/tools/testing/selftests/net' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/home/virtme/testing-3/tools/testing/selftests/net' make[1]: Entering directory '/home/virtme/testing-3/tools/testing/selftests/net' TAP version 13 1..1 # timeout set to 6000 # selftests: net: icmp_redirect.sh [ 22.221570][ T272] eth0: renamed from r1h1 [ 22.358385][ T273] ip (273) used greatest stack depth: 23840 bytes left [ 22.454935][ T274] eth0: renamed from r2h1 [ 22.766827][ T277] eth2: renamed from r2h2 [ 23.092462][ T280] eth1: renamed from r2r1 [ 23.591667][ T285] br0: port 1(eth0) entered blocking state [ 23.592133][ T285] br0: port 1(eth0) entered disabled state [ 23.592721][ T285] eth0: entered allmulticast mode [ 23.594083][ T285] eth0: entered promiscuous mode [ 23.596605][ T50] br0: port 1(eth0) entered blocking state [ 23.597024][ T50] br0: port 1(eth0) entered forwarding state [ 23.688982][ T286] br0: port 2(eth1) entered blocking state [ 23.689353][ T286] br0: port 2(eth1) entered disabled state [ 23.689700][ T286] eth1: entered allmulticast mode [ 23.690927][ T286] eth1: entered promiscuous mode [ 23.693623][ T47] br0: port 2(eth1) entered blocking state [ 23.693978][ T47] br0: port 2(eth1) entered forwarding state # # ########################################################################### # Legacy routing # ########################################################################### # # TEST: IPv4: redirect exception [ OK ] # TEST: IPv6: redirect exception [ OK ] # TEST: IPv4: redirect exception plus mtu [ OK ] # TEST: IPv6: redirect exception plus mtu [ OK ] # TEST: IPv4: routing reset [ OK ] # TEST: IPv6: routing reset [ OK ] # TEST: IPv4: mtu exception [ OK ] # TEST: IPv6: mtu exception [ OK ] # TEST: IPv4: mtu exception plus redirect [ OK ] # TEST: IPv6: mtu exception plus redirect [ OK ] [ 41.870371][ T11] eth1: left allmulticast mode [ 41.870727][ T11] eth1: left promiscuous mode [ 41.871157][ T11] br0: port 2(eth1) entered disabled state [ 41.883404][ T11] eth0: left allmulticast mode [ 41.883698][ T11] eth0: left promiscuous mode [ 41.884043][ T11] br0: port 1(eth0) entered disabled state [ 41.898293][ T11] ================================================================== [ 41.898820][ T11] BUG: KASAN: slab-use-after-free in kobject_put+0xc7/0xe0 [ 41.899255][ T11] Read of size 1 at addr ffff8880059ee6bc by task kworker/u8:0/11 [ 41.899726][ T11] [ 41.899893][ T11] CPU: 1 PID: 11 Comm: kworker/u8:0 Not tainted 6.8.0-rc2-virtme #1 [ 41.900338][ T11] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 41.901016][ T11] Workqueue: netns cleanup_net [ 41.901273][ T11] Call Trace: [ 41.901452][ T11] <TASK> [ 41.901608][ T11] dump_stack_lvl+0x64/0xb0 [ 41.901850][ T11] print_address_description.constprop.0+0x2c/0x3b0 [ 41.902197][ T11] ? kobject_put+0xc7/0xe0 [ 41.902430][ T11] print_report+0xb5/0x270 [ 41.902686][ T11] ? kasan_addr_to_slab+0x4e/0x90 [ 41.902956][ T11] kasan_report+0xbe/0xf0 [ 41.903189][ T11] ? kobject_put+0xc7/0xe0 [ 41.903426][ T11] kobject_put+0xc7/0xe0 [ 41.903650][ T11] br_sysfs_delbr+0x3f/0x70 [ 41.903894][ T11] br_dev_delete+0x10d/0x190 [ 41.904146][ T11] br_net_exit_batch_rtnl+0xd6/0x190 [ 41.904428][ T11] cleanup_net+0x499/0xb50 [ 41.904759][ T11] ? __pfx_lock_acquire.part.0+0x10/0x10 [ 41.905090][ T11] ? __pfx_cleanup_net+0x10/0x10 [ 41.905354][ T11] ? lock_acquire+0x1c1/0x220 [ 41.905656][ T11] ? process_one_work+0x714/0x1310 [ 41.905933][ T11] process_one_work+0x78f/0x1310 [ 41.906196][ T11] ? hlock_class+0x4e/0x130 [ 41.906441][ T11] ? __pfx_process_one_work+0x10/0x10 [ 41.906730][ T11] ? assign_work+0x16c/0x240 [ 41.906978][ T11] worker_thread+0x73d/0x1010 [ 41.907231][ T11] ? __pfx_worker_thread+0x10/0x10 [ 41.907501][ T11] kthread+0x292/0x360 [ 41.907723][ T11] ? __pfx_kthread+0x10/0x10 [ 41.907970][ T11] ret_from_fork+0x34/0x70 [ 41.908210][ T11] ? __pfx_kthread+0x10/0x10 [ 41.908451][ T11] ret_from_fork_asm+0x1b/0x30 [ 41.908734][ T11] </TASK> [ 41.908924][ T11] [ 41.909049][ T11] Allocated by task 281: [ 41.909275][ T11] kasan_save_stack+0x24/0x50 [ 41.909524][ T11] kasan_save_track+0x14/0x30 [ 41.909772][ T11] __kasan_kmalloc+0x7f/0x90 [ 41.910016][ T11] kobject_create_and_add+0x44/0xc0 [ 41.910330][ T11] br_sysfs_addbr+0x57/0x160 [ 41.910600][ T11] br_device_event+0x1ff/0x740 [ 41.910853][ T11] notifier_call_chain+0x9d/0x290 [ 41.911123][ T11] register_netdevice+0x116d/0x17a0 [ 41.911475][ T11] br_dev_newlink+0x2b/0x100 [ 41.911724][ T11] rtnl_newlink_create+0x344/0x850 [ 41.912010][ T11] __rtnl_newlink+0xad2/0xd60 [ 41.912279][ T11] rtnl_newlink+0x63/0xa0 [ 41.912556][ T11] rtnetlink_rcv_msg+0x2fe/0xb80 [ 41.912818][ T11] netlink_rcv_skb+0x133/0x360 [ 41.913076][ T11] netlink_unicast+0x44c/0x710 [ 41.913345][ T11] netlink_sendmsg+0x726/0xbe0 [ 41.913608][ T11] ____sys_sendmsg+0x7b5/0xa10 [ 41.913906][ T11] ___sys_sendmsg+0xee/0x170 [ 41.914173][ T11] __sys_sendmsg+0xcd/0x170 [ 41.914422][ T11] do_syscall_64+0xcc/0x1e0 [ 41.914694][ T11] entry_SYSCALL_64_after_hwframe+0x6f/0x77 [ 41.915043][ T11] [ 41.915187][ T11] Freed by task 11: [ 41.915387][ T11] kasan_save_stack+0x24/0x50 [ 41.915640][ T11] kasan_save_track+0x14/0x30 [ 41.915913][ T11] kasan_save_free_info+0x3f/0x60 [ 41.916209][ T11] __kasan_slab_free+0xfc/0x1c0 [ 41.916489][ T11] kfree+0xf2/0x2d0 [ 41.916703][ T11] kobject_cleanup+0xe2/0x280 [ 41.916978][ T11] br_sysfs_delbr+0x3f/0x70 [ 41.917251][ T11] br_dev_delete+0x10d/0x190 [ 41.917511][ T11] default_device_exit_batch_rtnl+0x112/0x210 [ 41.917851][ T11] cleanup_net+0x499/0xb50 [ 41.918101][ T11] process_one_work+0x78f/0x1310 [ 41.918374][ T11] worker_thread+0x73d/0x1010 [ 41.918654][ T11] kthread+0x292/0x360 [ 41.918898][ T11] ret_from_fork+0x34/0x70 [ 41.919142][ T11] ret_from_fork_asm+0x1b/0x30 [ 41.919441][ T11] [ 41.919566][ T11] The buggy address belongs to the object at ffff8880059ee680 [ 41.919566][ T11] which belongs to the cache kmalloc-64 of size 64 [ 41.920355][ T11] The buggy address is located 60 bytes inside of [ 41.920355][ T11] freed 64-byte region [ffff8880059ee680, ffff8880059ee6c0) [ 41.921146][ T11] [ 41.921273][ T11] The buggy address belongs to the physical page: [ 41.921615][ T11] page:ffffea0000167b80 refcount:1 mapcount:0 mapping:0000000000000000 index:0xffff8880059eea40 pfn:0x59ee [ 41.922265][ T11] head:ffffea0000167b80 order:1 entire_mapcount:0 nr_pages_mapped:0 pincount:0 [ 41.922775][ T11] flags: 0x80000000000a40(workingset|slab|head|node=0|zone=1) [ 41.923168][ T11] page_type: 0xffffffff() [ 41.923396][ T11] raw: 0080000000000a40 ffff888001042900 ffffea000016a990 ffff888001040ad0 [ 41.923841][ T11] raw: ffff8880059efd00 0000000000190018 00000001ffffffff 0000000000000000 [ 41.924292][ T11] page dumped because: kasan: bad access detected [ 41.924626][ T11] [ 41.924794][ T11] Memory state around the buggy address: [ 41.925136][ T11] ffff8880059ee580: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 41.925591][ T11] ffff8880059ee600: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 41.926044][ T11] >ffff8880059ee680: fa fb fb fb fb fb fb fb fc fc fc fc fc fc fc fc [ 41.926517][ T11] ^ [ 41.926835][ T11] ffff8880059ee700: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 41.927292][ T11] ffff8880059ee780: fc fc fc fc fc fc fc fc fa fb fb fb fb fb fb fb [ 41.927744][ T11] ================================================================== [ 41.928249][ T11] Disabling lock debugging due to kernel taint [ 41.928606][ T11] ------------[ cut here ]------------ [ 41.928939][ T11] refcount_t: underflow; use-after-free. [ 41.929301][ T11] WARNING: CPU: 1 PID: 11 at lib/refcount.c:28 refcount_warn_saturate+0x173/0x1b0 [ 41.929844][ T11] Modules linked in: [ 41.930097][ T11] CPU: 1 PID: 11 Comm: kworker/u8:0 Tainted: G B 6.8.0-rc2-virtme #1 [ 41.930627][ T11] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 41.931345][ T11] Workqueue: netns cleanup_net [ 41.931633][ T11] RIP: 0010:refcount_warn_saturate+0x173/0x1b0 [ 41.932038][ T11] Code: f9 82 03 80 fb 01 0f 87 ee 02 b1 01 83 e3 01 0f 85 4d ff ff ff c6 05 9a f9 82 03 01 90 48 c7 c7 20 7a c2 85 e8 3e 05 2a ff 90 <0f> 0b 90 90 e9 2f ff ff ff 48 89 df e8 8c 68 a6 ff e9 b6 fe ff ff [ 41.933241][ T11] RSP: 0018:ffffc900000bfb98 EFLAGS: 00010282 [ 41.933582][ T11] RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffffff82f1056f [ 41.934132][ T11] RDX: 0000000000000000 RSI: 0000000000000008 RDI: 0000000000000001 [ 41.934613][ T11] RBP: 0000000000000003 R08: 0000000000000000 R09: fffff52000017f18 [ 41.935137][ T11] R10: ffffc900000bf8c7 R11: 205d313154202020 R12: ffff888008132000 [ 41.935601][ T11] R13: ffff888008132df8 R14: ffffc900000bfc98 R15: ffff888008132bc0 [ 41.936130][ T11] FS: 0000000000000000(0000) GS:ffff888035600000(0000) knlGS:0000000000000000 [ 41.936676][ T11] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 41.937103][ T11] CR2: 00007ffebdb3d578 CR3: 000000000717c004 CR4: 00000000001706f0 [ 41.937528][ T11] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 41.937948][ T11] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 41.938371][ T11] Call Trace: [ 41.938551][ T11] <TASK> [ 41.938709][ T11] ? __warn+0xcd/0x2d0 [ 41.938950][ T11] ? refcount_warn_saturate+0x173/0x1b0 [ 41.939295][ T11] ? report_bug+0x291/0x2e0 [ 41.939570][ T11] ? vprintk_emit+0xff/0x1d0 [ 41.939853][ T11] ? handle_bug+0x3d/0x80 [ 41.940121][ T11] ? exc_invalid_op+0x18/0x50 [ 41.940426][ T11] ? asm_exc_invalid_op+0x1a/0x20 [ 41.940728][ T11] ? desc_read+0x2af/0x440 [ 41.940967][ T11] ? refcount_warn_saturate+0x173/0x1b0 [ 41.941266][ T11] ? refcount_warn_saturate+0x172/0x1b0 [ 41.941605][ T11] br_sysfs_delbr+0x3f/0x70 [ 41.941847][ T11] br_dev_delete+0x10d/0x190 [ 41.942131][ T11] br_net_exit_batch_rtnl+0xd6/0x190 [ 41.942462][ T11] cleanup_net+0x499/0xb50 [ 41.942710][ T11] ? __pfx_lock_acquire.part.0+0x10/0x10 [ 41.943040][ T11] ? __pfx_cleanup_net+0x10/0x10 [ 41.943339][ T11] ? lock_acquire+0x1c1/0x220 [ 41.943621][ T11] ? process_one_work+0x714/0x1310 [ 41.943927][ T11] process_one_work+0x78f/0x1310 [ 41.944238][ T11] ? hlock_class+0x4e/0x130 [ 41.944502][ T11] ? __pfx_process_one_work+0x10/0x10 [ 41.944839][ T11] ? assign_work+0x16c/0x240 [ 41.945200][ T11] worker_thread+0x73d/0x1010 [ 41.945484][ T11] ? __pfx_worker_thread+0x10/0x10 [ 41.945798][ T11] kthread+0x292/0x360 [ 41.946090][ T11] ? __pfx_kthread+0x10/0x10 [ 41.946337][ T11] ret_from_fork+0x34/0x70 [ 41.946628][ T11] ? __pfx_kthread+0x10/0x10 [ 41.946925][ T11] ret_from_fork_asm+0x1b/0x30 [ 41.947219][ T11] </TASK> [ 41.947415][ T11] irq event stamp: 14703 [ 41.947673][ T11] hardirqs last enabled at (14703): [<ffffffff8565edfb>] irqentry_exit+0x3b/0x90 [ 41.948165][ T11] hardirqs last disabled at (14702): [<ffffffff85693870>] __do_softirq+0x670/0x7ff [ 41.948655][ T11] softirqs last enabled at (14634): [<ffffffff853c3fa8>] br_dev_delete+0xd8/0x190 [ 41.949205][ T11] softirqs last disabled at (14632): [<ffffffff853bba86>] br_fdb_delete_by_port+0x36/0x260 [ 41.949825][ T11] ---[ end trace 0000000000000000 ]--- [ 41.950124][ T11] ------------[ cut here ]------------ [ 41.950415][ T11] sysfs group 'bridge' not found for kobject 'br0' [ 41.950785][ T11] WARNING: CPU: 1 PID: 11 at fs/sysfs/group.c:282 sysfs_remove_group+0x101/0x160 [ 41.951278][ T11] Modules linked in: [ 41.951487][ T11] CPU: 1 PID: 11 Comm: kworker/u8:0 Tainted: G B W 6.8.0-rc2-virtme #1 [ 41.951983][ T11] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 41.952657][ T11] Workqueue: netns cleanup_net [ 41.952921][ T11] RIP: 0010:sysfs_remove_group+0x101/0x160 [ 41.953436][ T11] Code: 89 d9 49 8b 14 24 48 b8 00 00 00 00 00 fc ff df 48 c1 e9 03 80 3c 01 00 75 45 48 8b 33 48 c7 c7 a0 a7 bc 85 e8 60 65 5e ff 90 <0f> 0b 90 90 48 83 c4 08 5b 5d 41 5c c3 cc cc cc cc e8 e9 c7 da ff [ 41.954646][ T11] RSP: 0018:ffffc900000bfba0 EFLAGS: 00010282 [ 41.955025][ T11] RAX: 0000000000000000 RBX: ffffffff85fbe220 RCX: ffffffff82f1056f [ 41.955539][ T11] RDX: 0000000000000000 RSI: 0000000000000008 RDI: 0000000000000001 [ 41.956081][ T11] RBP: 0000000000000000 R08: 0000000000000000 R09: fffff52000017f19 [ 41.956552][ T11] R10: ffffc900000bf8cf R11: 205d313154202020 R12: ffff888008132628 [ 41.957077][ T11] R13: ffff888008132df8 R14: ffffc900000bfc98 R15: ffff888008132bc0 [ 41.957525][ T11] FS: 0000000000000000(0000) GS:ffff888035600000(0000) knlGS:0000000000000000 [ 41.957988][ T11] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 41.958343][ T11] CR2: 00007ffebdb3d578 CR3: 000000002d734003 CR4: 00000000001706f0 [ 41.958764][ T11] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 41.959192][ T11] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 41.959616][ T11] Call Trace: [ 41.959798][ T11] <TASK> [ 41.959958][ T11] ? __warn+0xcd/0x2d0 [ 41.960213][ T11] ? console_trylock+0x61/0xf0 [ 41.960571][ T11] ? sysfs_remove_group+0x101/0x160 [ 41.960871][ T11] ? report_bug+0x291/0x2e0 [ 41.961162][ T11] ? handle_bug+0x3d/0x80 [ 41.961458][ T11] ? exc_invalid_op+0x18/0x50 [ 41.961723][ T11] ? asm_exc_invalid_op+0x1a/0x20 [ 41.961990][ T11] ? desc_read+0x2af/0x440 [ 41.962273][ T11] ? sysfs_remove_group+0x101/0x160 [ 41.962608][ T11] br_dev_delete+0x10d/0x190 [ 41.962909][ T11] br_net_exit_batch_rtnl+0xd6/0x190 [ 41.963264][ T11] cleanup_net+0x499/0xb50 [ 41.963553][ T11] ? __pfx_lock_acquire.part.0+0x10/0x10 [ 41.963898][ T11] ? __pfx_cleanup_net+0x10/0x10 [ 41.964182][ T11] ? lock_acquire+0x1c1/0x220 [ 41.964474][ T11] ? process_one_work+0x714/0x1310 [ 41.964842][ T11] process_one_work+0x78f/0x1310 [ 41.965157][ T11] ? hlock_class+0x4e/0x130 [ 41.965429][ T11] ? __pfx_process_one_work+0x10/0x10 [ 41.965753][ T11] ? assign_work+0x16c/0x240 [ 41.966073][ T11] worker_thread+0x73d/0x1010 [ 41.966357][ T11] ? __pfx_worker_thread+0x10/0x10 [ 41.966648][ T11] kthread+0x292/0x360 [ 41.966900][ T11] ? __pfx_kthread+0x10/0x10 [ 41.967221][ T11] ret_from_fork+0x34/0x70 [ 41.967519][ T11] ? __pfx_kthread+0x10/0x10 [ 41.967799][ T11] ret_from_fork_asm+0x1b/0x30 [ 41.968120][ T11] </TASK> [ 41.968325][ T11] irq event stamp: 14703 [ 41.968573][ T11] hardirqs last enabled at (14703): [<ffffffff8565edfb>] irqentry_exit+0x3b/0x90 [ 41.969066][ T11] hardirqs last disabled at (14702): [<ffffffff85693870>] __do_softirq+0x670/0x7ff [ 41.969552][ T11] softirqs last enabled at (14634): [<ffffffff853c3fa8>] br_dev_delete+0xd8/0x190 [ 41.970043][ T11] softirqs last disabled at (14632): [<ffffffff853bba86>] br_fdb_delete_by_port+0x36/0x260 [ 41.970566][ T11] ---[ end trace 0000000000000000 ]--- # # ########################################################################### # Legacy routing with VRF # ########################################################################### # [ 46.509462][ T474] eth0: renamed from r1h1 [ 46.691541][ T476] eth0: renamed from r2h1 [ 46.996783][ T479] eth2: renamed from r2h2 [ 47.245416][ T482] eth1: renamed from r2r1 [ 48.387696][ T497] br0: port 1(eth0) entered blocking state [ 48.388055][ T497] br0: port 1(eth0) entered disabled state [ 48.388402][ T497] eth0: entered allmulticast mode [ 48.389384][ T497] eth0: entered promiscuous mode [ 48.392935][ T47] br0: port 1(eth0) entered blocking state [ 48.393279][ T47] br0: port 1(eth0) entered forwarding state [ 48.458230][ T498] br0: port 2(eth1) entered blocking state [ 48.458586][ T498] br0: port 2(eth1) entered disabled state [ 48.458921][ T498] eth1: entered allmulticast mode [ 48.460304][ T498] eth1: entered promiscuous mode [ 48.461459][ T49] br0: port 2(eth1) entered blocking state [ 48.461780][ T49] br0: port 2(eth1) entered forwarding state # TEST: IPv4: redirect exception [ OK ] # TEST: IPv6: redirect exception [ OK ] # TEST: IPv4: redirect exception plus mtu [ OK ] # TEST: IPv6: redirect exception plus mtu [ OK ] # TEST: IPv4: routing reset [ OK ] # TEST: IPv6: routing reset [ OK ] # TEST: IPv4: mtu exception [ OK ] # TEST: IPv6: mtu exception [ OK ] # TEST: IPv4: mtu exception plus redirect [ OK ] # TEST: IPv6: mtu exception plus redirect [ OK ] [ 64.113138][ T11] eth1: left allmulticast mode [ 64.113459][ T11] eth1: left promiscuous mode [ 64.113858][ T11] br0: port 2(eth1) entered disabled state [ 64.128083][ T11] eth0: left allmulticast mode [ 64.128357][ T11] eth0: left promiscuous mode [ 64.128681][ T11] br0: port 1(eth0) entered disabled state [ 64.144184][ T11] ------------[ cut here ]------------ [ 64.144493][ T11] sysfs group 'bridge' not found for kobject 'br0' [ 64.144908][ T11] WARNING: CPU: 2 PID: 11 at fs/sysfs/group.c:282 sysfs_remove_group+0x101/0x160 [ 64.145482][ T11] Modules linked in: [ 64.145703][ T11] CPU: 2 PID: 11 Comm: kworker/u8:0 Tainted: G B W 6.8.0-rc2-virtme #1 [ 64.146433][ T11] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 64.147169][ T11] Workqueue: netns cleanup_net [ 64.147440][ T11] RIP: 0010:sysfs_remove_group+0x101/0x160 [ 64.147806][ T11] Code: 89 d9 49 8b 14 24 48 b8 00 00 00 00 00 fc ff df 48 c1 e9 03 80 3c 01 00 75 45 48 8b 33 48 c7 c7 a0 a7 bc 85 e8 60 65 5e ff 90 <0f> 0b 90 90 48 83 c4 08 5b 5d 41 5c c3 cc cc cc cc e8 e9 c7 da ff [ 64.148928][ T11] RSP: 0018:ffffc900000bfba0 EFLAGS: 00010282 [ 64.149288][ T11] RAX: 0000000000000000 RBX: ffffffff85fbe220 RCX: ffffffff82f1056f [ 64.149740][ T11] RDX: 0000000000000000 RSI: 0000000000000008 RDI: 0000000000000001 [ 64.150209][ T11] RBP: 0000000000000000 R08: 0000000000000000 R09: fffff52000017f19 [ 64.150687][ T11] R10: ffffc900000bf8cf R11: 205d313154202020 R12: ffff888006b12628 [ 64.151136][ T11] R13: ffff888006b12df8 R14: ffffc900000bfc98 R15: ffff888006b12bc0 [ 64.151602][ T11] FS: 0000000000000000(0000) GS:ffff888035a00000(0000) knlGS:0000000000000000 [ 64.152084][ T11] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 64.152448][ T11] CR2: 00007ff20fc64c08 CR3: 000000002d734001 CR4: 00000000001706f0 [ 64.152871][ T11] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 64.153296][ T11] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 64.153770][ T11] Call Trace: [ 64.153962][ T11] <TASK> [ 64.154150][ T11] ? __warn+0xcd/0x2d0 [ 64.154380][ T11] ? console_trylock+0x61/0xf0 [ 64.154661][ T11] ? sysfs_remove_group+0x101/0x160 [ 64.154974][ T11] ? report_bug+0x291/0x2e0 [ 64.155245][ T11] ? handle_bug+0x3d/0x80 [ 64.155501][ T11] ? exc_invalid_op+0x18/0x50 [ 64.155781][ T11] ? asm_exc_invalid_op+0x1a/0x20 [ 64.156099][ T11] ? desc_read+0x2af/0x440 [ 64.156366][ T11] ? sysfs_remove_group+0x101/0x160 [ 64.156699][ T11] br_dev_delete+0x10d/0x190 [ 64.156973][ T11] br_net_exit_batch_rtnl+0xd6/0x190 [ 64.157286][ T11] cleanup_net+0x499/0xb50 [ 64.157541][ T11] ? lock_acquire+0x1c1/0x220 [ 64.157821][ T11] ? __pfx_cleanup_net+0x10/0x10 [ 64.158104][ T11] ? lock_acquire+0x1c1/0x220 [ 64.158359][ T11] ? process_one_work+0x714/0x1310 [ 64.158636][ T11] process_one_work+0x78f/0x1310 [ 64.158901][ T11] ? hlock_class+0x4e/0x130 [ 64.159153][ T11] ? __pfx_process_one_work+0x10/0x10 [ 64.159443][ T11] ? assign_work+0x16c/0x240 [ 64.159694][ T11] worker_thread+0x73d/0x1010 [ 64.159946][ T11] ? __pfx_worker_thread+0x10/0x10 [ 64.160223][ T11] kthread+0x292/0x360 [ 64.160448][ T11] ? __pfx_kthread+0x10/0x10 [ 64.160737][ T11] ret_from_fork+0x34/0x70 [ 64.160996][ T11] ? __pfx_kthread+0x10/0x10 [ 64.161349][ T11] ret_from_fork_asm+0x1b/0x30 [ 64.161613][ T11] </TASK> [ 64.161778][ T11] irq event stamp: 14703 [ 64.162004][ T11] hardirqs last enabled at (14703): [<ffffffff8565edfb>] irqentry_exit+0x3b/0x90 [ 64.162506][ T11] hardirqs last disabled at (14702): [<ffffffff85693870>] __do_softirq+0x670/0x7ff [ 64.162997][ T11] softirqs last enabled at (14634): [<ffffffff853c3fa8>] br_dev_delete+0xd8/0x190 [ 64.163494][ T11] softirqs last disabled at (14632): [<ffffffff853bba86>] br_fdb_delete_by_port+0x36/0x260 [ 64.164024][ T11] ---[ end trace 0000000000000000 ]--- # # ########################################################################### # Routing with nexthop objects # ########################################################################### # [ 68.847678][ T685] eth0: renamed from r1h1 [ 69.015576][ T687] eth0: renamed from r2h1 [ 69.256564][ T690] eth2: renamed from r2h2 [ 69.497765][ T693] eth1: renamed from r2r1 [ 69.858186][ T698] br0: port 1(eth0) entered blocking state [ 69.858548][ T698] br0: port 1(eth0) entered disabled state [ 69.858879][ T698] eth0: entered allmulticast mode [ 69.859878][ T698] eth0: entered promiscuous mode [ 69.862647][ T416] br0: port 1(eth0) entered blocking state [ 69.862979][ T416] br0: port 1(eth0) entered forwarding state [ 69.970991][ T699] br0: port 2(eth1) entered blocking state [ 69.971810][ T699] br0: port 2(eth1) entered disabled state [ 69.972338][ T699] eth1: entered allmulticast mode [ 69.974271][ T699] eth1: entered promiscuous mode [ 69.976785][ T413] br0: port 2(eth1) entered blocking state [ 69.977277][ T413] br0: port 2(eth1) entered forwarding state # TEST: IPv4: redirect exception [ OK ] # TEST: IPv6: redirect exception [ OK ] # TEST: IPv4: redirect exception plus mtu [ OK ] # TEST: IPv6: redirect exception plus mtu [ OK ] # TEST: IPv4: routing reset [ OK ] # TEST: IPv6: routing reset [ OK ] # TEST: IPv4: mtu exception [ OK ] # TEST: IPv6: mtu exception [ OK ] # TEST: IPv4: mtu exception plus redirect [ OK ] # TEST: IPv6: mtu exception plus redirect [ OK ] [ 86.212440][ T11] eth1: left allmulticast mode [ 86.212871][ T11] eth1: left promiscuous mode [ 86.213481][ T11] br0: port 2(eth1) entered disabled state [ 86.229174][ T11] eth0: left allmulticast mode [ 86.229697][ T11] eth0: left promiscuous mode [ 86.230264][ T11] br0: port 1(eth0) entered disabled state [ 86.239233][ T11] ------------[ cut here ]------------ [ 86.239681][ T11] sysfs group 'bridge' not found for kobject 'br0' [ 86.240109][ T11] WARNING: CPU: 2 PID: 11 at fs/sysfs/group.c:282 sysfs_remove_group+0x101/0x160 [ 86.240765][ T11] Modules linked in: [ 86.241010][ T11] CPU: 2 PID: 11 Comm: kworker/u8:0 Tainted: G B W 6.8.0-rc2-virtme #1 [ 86.241642][ T11] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 86.242524][ T11] Workqueue: netns cleanup_net [ 86.242964][ T11] RIP: 0010:sysfs_remove_group+0x101/0x160 [ 86.243502][ T11] Code: 89 d9 49 8b 14 24 48 b8 00 00 00 00 00 fc ff df 48 c1 e9 03 80 3c 01 00 75 45 48 8b 33 48 c7 c7 a0 a7 bc 85 e8 60 65 5e ff 90 <0f> 0b 90 90 48 83 c4 08 5b 5d 41 5c c3 cc cc cc cc e8 e9 c7 da ff [ 86.244858][ T11] RSP: 0018:ffffc900000bfba0 EFLAGS: 00010282 [ 86.245206][ T11] RAX: 0000000000000000 RBX: ffffffff85fbe220 RCX: ffffffff82f1056f [ 86.245659][ T11] RDX: 0000000000000000 RSI: 0000000000000008 RDI: 0000000000000001 [ 86.246083][ T11] RBP: 0000000000000000 R08: 0000000000000000 R09: fffff52000017f19 [ 86.246511][ T11] R10: ffffc900000bf8cf R11: 205d313154202020 R12: ffff88802f06a628 [ 86.247025][ T11] R13: ffff88802f06adf8 R14: ffffc900000bfc98 R15: ffff88802f06abc0 [ 86.247562][ T11] FS: 0000000000000000(0000) GS:ffff888035a00000(0000) knlGS:0000000000000000 [ 86.248133][ T11] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 86.248598][ T11] CR2: 00007ffebdb3ce88 CR3: 000000000717c006 CR4: 00000000001706f0 [ 86.249113][ T11] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 86.249595][ T11] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 86.250102][ T11] Call Trace: [ 86.250347][ T11] <TASK> [ 86.250539][ T11] ? __warn+0xcd/0x2d0 [ 86.250794][ T11] ? console_trylock+0x61/0xf0 [ 86.251118][ T11] ? sysfs_remove_group+0x101/0x160 [ 86.251458][ T11] ? report_bug+0x291/0x2e0 [ 86.251765][ T11] ? handle_bug+0x3d/0x80 [ 86.252037][ T11] ? exc_invalid_op+0x18/0x50 [ 86.252388][ T11] ? asm_exc_invalid_op+0x1a/0x20 [ 86.252721][ T11] ? desc_read+0x2af/0x440 [ 86.253025][ T11] ? sysfs_remove_group+0x101/0x160 [ 86.253385][ T11] br_dev_delete+0x10d/0x190 [ 86.253672][ T11] br_net_exit_batch_rtnl+0xd6/0x190 [ 86.253998][ T11] cleanup_net+0x499/0xb50 [ 86.254276][ T11] ? lock_acquire+0x1c1/0x220 [ 86.254573][ T11] ? __pfx_cleanup_net+0x10/0x10 [ 86.254872][ T11] ? lock_acquire+0x1c1/0x220 [ 86.255131][ T11] ? process_one_work+0x714/0x1310 [ 86.255503][ T11] process_one_work+0x78f/0x1310 [ 86.255795][ T11] ? hlock_class+0x4e/0x130 [ 86.256036][ T11] ? __pfx_process_one_work+0x10/0x10 [ 86.256420][ T11] ? assign_work+0x16c/0x240 [ 86.256673][ T11] worker_thread+0x73d/0x1010 [ 86.256926][ T11] ? __pfx_worker_thread+0x10/0x10 [ 86.257203][ T11] kthread+0x292/0x360 [ 86.257492][ T11] ? __pfx_kthread+0x10/0x10 [ 86.257793][ T11] ret_from_fork+0x34/0x70 [ 86.258065][ T11] ? __pfx_kthread+0x10/0x10 [ 86.258421][ T11] ret_from_fork_asm+0x1b/0x30 [ 86.258806][ T11] </TASK> [ 86.258971][ T11] irq event stamp: 14703 [ 86.259206][ T11] hardirqs last enabled at (14703): [<ffffffff8565edfb>] irqentry_exit+0x3b/0x90 [ 86.259699][ T11] hardirqs last disabled at (14702): [<ffffffff85693870>] __do_softirq+0x670/0x7ff [ 86.260195][ T11] softirqs last enabled at (14634): [<ffffffff853c3fa8>] br_dev_delete+0xd8/0x190 [ 86.260695][ T11] softirqs last disabled at (14632): [<ffffffff853bba86>] br_fdb_delete_by_port+0x36/0x260 [ 86.261272][ T11] ---[ end trace 0000000000000000 ]--- # # ########################################################################### # Routing with nexthop objects and VRF # ########################################################################### # [ 90.724390][ T896] eth0: renamed from r1h1 [ 90.899656][ T898] eth0: renamed from r2h1 [ 91.136634][ T901] eth2: renamed from r2h2 [ 91.373482][ T904] eth1: renamed from r2r1 [ 92.396158][ T919] br0: port 1(eth0) entered blocking state [ 92.396512][ T919] br0: port 1(eth0) entered disabled state [ 92.396842][ T919] eth0: entered allmulticast mode [ 92.397830][ T919] eth0: entered promiscuous mode [ 92.400133][ T8] br0: port 1(eth0) entered blocking state [ 92.400456][ T8] br0: port 1(eth0) entered forwarding state [ 92.468862][ T920] br0: port 2(eth1) entered blocking state [ 92.469232][ T920] br0: port 2(eth1) entered disabled state [ 92.469565][ T920] eth1: entered allmulticast mode [ 92.470549][ T920] eth1: entered promiscuous mode [ 92.472412][ T287] br0: port 2(eth1) entered blocking state [ 92.472740][ T287] br0: port 2(eth1) entered forwarding state # TEST: IPv4: redirect exception [ OK ] # TEST: IPv6: redirect exception [ OK ] # TEST: IPv4: redirect exception plus mtu [ OK ] # TEST: IPv6: redirect exception plus mtu [ OK ] # TEST: IPv4: routing reset [ OK ] # TEST: IPv6: routing reset [ OK ] # TEST: IPv4: mtu exception [ OK ] # TEST: IPv6: mtu exception [ OK ] # TEST: IPv4: mtu exception plus redirect [ OK ] # TEST: IPv6: mtu exception plus redirect [ OK ] # # Tests passed: 40 # Tests failed: 0 # Tests xfailed: 0 [ 108.666181][ T11] eth1: left allmulticast mode [ 108.666471][ T11] eth1: left promiscuous mode [ 108.666821][ T11] br0: port 2(eth1) entered disabled state [ 108.681837][ T11] eth0: left allmulticast mode [ 108.682140][ T11] eth0: left promiscuous mode [ 108.682475][ T11] br0: port 1(eth0) entered disabled state [ 108.696487][ T11] ------------[ cut here ]------------ [ 108.696816][ T11] sysfs group 'bridge' not found for kobject 'br0' [ 108.697284][ T11] WARNING: CPU: 0 PID: 11 at fs/sysfs/group.c:282 sysfs_remove_group+0x101/0x160 [ 108.697813][ T11] Modules linked in: [ 108.698256][ T11] CPU: 0 PID: 11 Comm: kworker/u8:0 Tainted: G B W 6.8.0-rc2-virtme #1 [ 108.698797][ T11] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 108.699534][ T11] Workqueue: netns cleanup_net [ 108.699845][ T11] RIP: 0010:sysfs_remove_group+0x101/0x160 [ 108.700221][ T11] Code: 89 d9 49 8b 14 24 48 b8 00 00 00 00 00 fc ff df 48 c1 e9 03 80 3c 01 00 75 45 48 8b 33 48 c7 c7 a0 a7 bc 85 e8 60 65 5e ff 90 <0f> 0b 90 90 48 83 c4 08 5b 5d 41 5c c3 cc cc cc cc e8 e9 c7 da ff [ 108.701342][ T11] RSP: 0018:ffffc900000bfba0 EFLAGS: 00010282 [ 108.701707][ T11] RAX: 0000000000000000 RBX: ffffffff85fbe220 RCX: ffffffff82f1056f [ 108.702176][ T11] RDX: 0000000000000000 RSI: 0000000000000008 RDI: 0000000000000001 [ 108.702632][ T11] RBP: 0000000000000000 R08: 0000000000000000 R09: fffff52000017f19 [ 108.703132][ T11] R10: ffffc900000bf8cf R11: 205d313154202020 R12: ffff88802ef92628 [ 108.703609][ T11] R13: ffff88802ef92df8 R14: ffffc900000bfc98 R15: ffff88802ef92bc0 [ 108.704077][ T11] FS: 0000000000000000(0000) GS:ffff888035200000(0000) knlGS:0000000000000000 [ 108.704590][ T11] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 108.705008][ T11] CR2: 00007f8c979edc08 CR3: 000000002d734002 CR4: 00000000001706f0 [ 108.705506][ T11] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 108.705972][ T11] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 108.706462][ T11] Call Trace: [ 108.706658][ T11] <TASK> [ 108.706841][ T11] ? __warn+0xcd/0x2d0 [ 108.707144][ T11] ? console_trylock+0x61/0xf0 [ 108.707405][ T11] ? sysfs_remove_group+0x101/0x160 [ 108.707678][ T11] ? report_bug+0x291/0x2e0 [ 108.707922][ T11] ? handle_bug+0x3d/0x80 [ 108.708178][ T11] ? exc_invalid_op+0x18/0x50 [ 108.708441][ T11] ? asm_exc_invalid_op+0x1a/0x20 [ 108.708720][ T11] ? desc_read+0x2af/0x440 [ 108.709002][ T11] ? sysfs_remove_group+0x101/0x160 [ 108.709343][ T11] br_dev_delete+0x10d/0x190 [ 108.709656][ T11] br_net_exit_batch_rtnl+0xd6/0x190 [ 108.709985][ T11] cleanup_net+0x499/0xb50 [ 108.710271][ T11] ? lock_acquire+0x1c1/0x220 [ 108.710558][ T11] ? __pfx_cleanup_net+0x10/0x10 [ 108.710881][ T11] ? lock_acquire+0x1c1/0x220 [ 108.711196][ T11] ? process_one_work+0x714/0x1310 [ 108.711516][ T11] process_one_work+0x78f/0x1310 [ 108.711804][ T11] ? hlock_class+0x4e/0x130 [ 108.712103][ T11] ? __pfx_process_one_work+0x10/0x10 [ 108.712449][ T11] ? assign_work+0x16c/0x240 [ 108.712732][ T11] worker_thread+0x73d/0x1010 [ 108.713005][ T11] ? __pfx_worker_thread+0x10/0x10 [ 108.713327][ T11] kthread+0x292/0x360 [ 108.713610][ T11] ? __pfx_kthread+0x10/0x10 [ 108.713892][ T11] ret_from_fork+0x34/0x70 [ 108.714179][ T11] ? __pfx_kthread+0x10/0x10 [ 108.714472][ T11] ret_from_fork_asm+0x1b/0x30 [ 108.714776][ T11] </TASK> [ 108.714952][ T11] irq event stamp: 14703 [ 108.715213][ T11] hardirqs last enabled at (14703): [<ffffffff8565edfb>] irqentry_exit+0x3b/0x90 [ 108.715727][ T11] hardirqs last disabled at (14702): [<ffffffff85693870>] __do_softirq+0x670/0x7ff [ 108.716266][ T11] softirqs last enabled at (14634): [<ffffffff853c3fa8>] br_dev_delete+0xd8/0x190 [ 108.716803][ T11] softirqs last disabled at (14632): [<ffffffff853bba86>] br_fdb_delete_by_port+0x36/0x260 [ 108.717373][ T11] ---[ end trace 0000000000000000 ]--- ok 1 selftests: net: icmp_redirect.sh make[1]: Leaving directory '/home/virtme/testing-3/tools/testing/selftests/net' make: Leaving directory '/home/virtme/testing-3/tools/testing/selftests' xx__-> echo $? 0 xx__->