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 [ 21.865935][ T273] eth0: renamed from r1h1 [ 21.885977][ T273] ip (273) used greatest stack depth: 23880 bytes left [ 22.001837][ T274] ip (274) used greatest stack depth: 23120 bytes left [ 22.100788][ T275] eth0: renamed from r2h1 [ 22.447309][ T278] eth2: renamed from r2h2 [ 22.805379][ T281] eth1: renamed from r2r1 [ 23.325675][ T286] br0: port 1(eth0) entered blocking state [ 23.326113][ T286] br0: port 1(eth0) entered disabled state [ 23.326457][ T286] eth0: entered allmulticast mode [ 23.328232][ T286] eth0: entered promiscuous mode [ 23.331954][ T49] br0: port 1(eth0) entered blocking state [ 23.332333][ T49] br0: port 1(eth0) entered forwarding state [ 23.440009][ T287] br0: port 2(eth1) entered blocking state [ 23.440371][ T287] br0: port 2(eth1) entered disabled state [ 23.440801][ T287] eth1: entered allmulticast mode [ 23.442381][ T287] eth1: entered promiscuous mode [ 23.444455][ T50] br0: port 2(eth1) entered blocking state [ 23.444806][ T50] 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.453759][ T69] eth1: left allmulticast mode [ 41.454099][ T69] eth1: left promiscuous mode [ 41.454497][ T69] br0: port 2(eth1) entered disabled state [ 41.467895][ T69] eth0: left allmulticast mode [ 41.468181][ T69] eth0: left promiscuous mode [ 41.468542][ T69] br0: port 1(eth0) entered disabled state [ 41.480692][ T69] ================================================================== [ 41.481131][ T69] BUG: KASAN: slab-use-after-free in kobject_put+0xc7/0xe0 [ 41.481523][ T69] Read of size 1 at addr ffff8880031486bc by task kworker/u8:1/69 [ 41.481937][ T69] [ 41.482065][ T69] CPU: 3 PID: 69 Comm: kworker/u8:1 Not tainted 6.8.0-rc2-virtme #1 [ 41.482524][ T69] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 41.483157][ T69] Workqueue: netns cleanup_net [ 41.483413][ T69] Call Trace: [ 41.483596][ T69] [ 41.483752][ T69] dump_stack_lvl+0x64/0xb0 [ 41.483994][ T69] print_address_description.constprop.0+0x2c/0x3b0 [ 41.484381][ T69] ? kobject_put+0xc7/0xe0 [ 41.484639][ T69] print_report+0xb5/0x270 [ 41.484905][ T69] ? kasan_addr_to_slab+0x4e/0x90 [ 41.485171][ T69] kasan_report+0xbe/0xf0 [ 41.485409][ T69] ? kobject_put+0xc7/0xe0 [ 41.485668][ T69] kobject_put+0xc7/0xe0 [ 41.485977][ T69] br_sysfs_delbr+0x3f/0x70 [ 41.486256][ T69] br_dev_delete+0x10d/0x190 [ 41.486503][ T69] br_net_exit_batch_rtnl+0xd6/0x190 [ 41.486826][ T69] cleanup_net+0x499/0xb50 [ 41.487104][ T69] ? __pfx_lock_acquire.part.0+0x10/0x10 [ 41.487401][ T69] ? __pfx_cleanup_net+0x10/0x10 [ 41.487667][ T69] ? lock_acquire+0x1c1/0x220 [ 41.487913][ T69] ? process_one_work+0x714/0x1310 [ 41.488217][ T69] process_one_work+0x78f/0x1310 [ 41.488547][ T69] ? hlock_class+0x4e/0x130 [ 41.488793][ T69] ? __pfx_process_one_work+0x10/0x10 [ 41.489082][ T69] ? assign_work+0x16c/0x240 [ 41.489329][ T69] worker_thread+0x73d/0x1010 [ 41.489575][ T69] ? lockdep_hardirqs_on_prepare.part.0+0x1b1/0x370 [ 41.489919][ T69] ? __pfx_worker_thread+0x10/0x10 [ 41.490189][ T69] ? __pfx_worker_thread+0x10/0x10 [ 41.490462][ T69] kthread+0x292/0x360 [ 41.490681][ T69] ? __pfx_kthread+0x10/0x10 [ 41.490927][ T69] ret_from_fork+0x34/0x70 [ 41.491161][ T69] ? __pfx_kthread+0x10/0x10 [ 41.491472][ T69] ret_from_fork_asm+0x1b/0x30 [ 41.491746][ T69] [ 41.491911][ T69] [ 41.492062][ T69] Allocated by task 282: [ 41.492294][ T69] kasan_save_stack+0x24/0x50 [ 41.492583][ T69] kasan_save_track+0x14/0x30 [ 41.492859][ T69] __kasan_kmalloc+0x7f/0x90 [ 41.493121][ T69] kobject_create_and_add+0x44/0xc0 [ 41.493423][ T69] br_sysfs_addbr+0x57/0x160 [ 41.493682][ T69] br_device_event+0x1ff/0x740 [ 41.493955][ T69] notifier_call_chain+0x9d/0x290 [ 41.494248][ T69] register_netdevice+0x116d/0x17a0 [ 41.494533][ T69] br_dev_newlink+0x2b/0x100 [ 41.494823][ T69] rtnl_newlink_create+0x344/0x850 [ 41.495120][ T69] __rtnl_newlink+0xad2/0xd60 [ 41.495397][ T69] rtnl_newlink+0x63/0xa0 [ 41.495659][ T69] rtnetlink_rcv_msg+0x2fe/0xb80 [ 41.495931][ T69] netlink_rcv_skb+0x133/0x360 [ 41.496211][ T69] netlink_unicast+0x44c/0x710 [ 41.496525][ T69] netlink_sendmsg+0x726/0xbe0 [ 41.496798][ T69] ____sys_sendmsg+0x7b5/0xa10 [ 41.497091][ T69] ___sys_sendmsg+0xee/0x170 [ 41.497337][ T69] __sys_sendmsg+0xcd/0x170 [ 41.497612][ T69] do_syscall_64+0xcc/0x1e0 [ 41.497895][ T69] entry_SYSCALL_64_after_hwframe+0x6f/0x77 [ 41.498240][ T69] [ 41.498365][ T69] Freed by task 69: [ 41.498591][ T69] kasan_save_stack+0x24/0x50 [ 41.498845][ T69] kasan_save_track+0x14/0x30 [ 41.499119][ T69] kasan_save_free_info+0x3f/0x60 [ 41.499428][ T69] __kasan_slab_free+0xfc/0x1c0 [ 41.499713][ T69] kfree+0xf2/0x2d0 [ 41.499929][ T69] kobject_cleanup+0xe2/0x280 [ 41.500214][ T69] br_sysfs_delbr+0x3f/0x70 [ 41.500465][ T69] br_dev_delete+0x10d/0x190 [ 41.500771][ T69] default_device_exit_batch_rtnl+0x112/0x210 [ 41.501129][ T69] cleanup_net+0x499/0xb50 [ 41.501375][ T69] process_one_work+0x78f/0x1310 [ 41.501665][ T69] worker_thread+0x73d/0x1010 [ 41.501925][ T69] kthread+0x292/0x360 [ 41.502159][ T69] ret_from_fork+0x34/0x70 [ 41.502437][ T69] ret_from_fork_asm+0x1b/0x30 [ 41.502711][ T69] [ 41.502838][ T69] The buggy address belongs to the object at ffff888003148680 [ 41.502838][ T69] which belongs to the cache kmalloc-64 of size 64 [ 41.503651][ T69] The buggy address is located 60 bytes inside of [ 41.503651][ T69] freed 64-byte region [ffff888003148680, ffff8880031486c0) [ 41.504397][ T69] [ 41.504557][ T69] The buggy address belongs to the physical page: [ 41.504930][ T69] page:ffffea00000c5200 refcount:1 mapcount:0 mapping:0000000000000000 index:0xffff888003149300 pfn:0x3148 [ 41.505569][ T69] head:ffffea00000c5200 order:1 entire_mapcount:0 nr_pages_mapped:0 pincount:0 [ 41.506083][ T69] flags: 0x80000000000a40(workingset|slab|head|node=0|zone=1) [ 41.506469][ T69] page_type: 0xffffffff() [ 41.506696][ T69] raw: 0080000000000a40 ffff888001042900 ffffea0000125710 ffffea000014e710 [ 41.507140][ T69] raw: ffff888003149300 0000000000190010 00000001ffffffff 0000000000000000 [ 41.507587][ T69] page dumped because: kasan: bad access detected [ 41.507918][ T69] [ 41.508042][ T69] Memory state around the buggy address: [ 41.508346][ T69] ffff888003148580: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 41.508798][ T69] ffff888003148600: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 41.509258][ T69] >ffff888003148680: fa fb fb fb fb fb fb fb fc fc fc fc fc fc fc fc [ 41.509744][ T69] ^ [ 41.510090][ T69] ffff888003148700: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 41.510539][ T69] ffff888003148780: fc fc fc fc fc fc fc fc fb fb fb fb fb fb fb fb [ 41.511005][ T69] ================================================================== [ 41.511480][ T69] Disabling lock debugging due to kernel taint [ 41.511841][ T69] ------------[ cut here ]------------ [ 41.512162][ T69] refcount_t: underflow; use-after-free. [ 41.512533][ T69] WARNING: CPU: 3 PID: 69 at lib/refcount.c:28 refcount_warn_saturate+0x173/0x1b0 [ 41.513069][ T69] Modules linked in: [ 41.513315][ T69] CPU: 3 PID: 69 Comm: kworker/u8:1 Tainted: G B 6.8.0-rc2-virtme #1 [ 41.513880][ T69] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 41.514597][ T69] Workqueue: netns cleanup_net [ 41.514895][ T69] RIP: 0010:refcount_warn_saturate+0x173/0x1b0 [ 41.515258][ T69] 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 42 87 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.516425][ T69] RSP: 0018:ffffc900004ffb98 EFLAGS: 00010282 [ 41.516791][ T69] RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffffff8471056f [ 41.517266][ T69] RDX: 0000000000000000 RSI: 0000000000000008 RDI: 0000000000000001 [ 41.517750][ T69] RBP: 0000000000000003 R08: 0000000000000000 R09: fffff5200009ff18 [ 41.518213][ T69] R10: ffffc900004ff8c7 R11: 205d393654202020 R12: ffff888005e72000 [ 41.518668][ T69] R13: ffff888005e72df8 R14: ffffc900004ffc98 R15: ffff888005e72bc0 [ 41.519200][ T69] FS: 0000000000000000(0000) GS:ffff888035e00000(0000) knlGS:0000000000000000 [ 41.519693][ T69] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 41.520042][ T69] CR2: 00007f7b272cd270 CR3: 000000001ed34005 CR4: 00000000001706f0 [ 41.520479][ T69] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 41.520899][ T69] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 41.521357][ T69] Call Trace: [ 41.521561][ T69] [ 41.521722][ T69] ? __warn+0xcd/0x2d0 [ 41.521949][ T69] ? refcount_warn_saturate+0x173/0x1b0 [ 41.522274][ T69] ? report_bug+0x291/0x2e0 [ 41.522543][ T69] ? vprintk_emit+0xff/0x1d0 [ 41.522818][ T69] ? handle_bug+0x3d/0x80 [ 41.523079][ T69] ? exc_invalid_op+0x18/0x50 [ 41.523336][ T69] ? asm_exc_invalid_op+0x1a/0x20 [ 41.523633][ T69] ? desc_read+0x2af/0x440 [ 41.523872][ T69] ? refcount_warn_saturate+0x173/0x1b0 [ 41.524163][ T69] ? refcount_warn_saturate+0x172/0x1b0 [ 41.524451][ T69] br_sysfs_delbr+0x3f/0x70 [ 41.524696][ T69] br_dev_delete+0x10d/0x190 [ 41.524946][ T69] br_net_exit_batch_rtnl+0xd6/0x190 [ 41.525228][ T69] cleanup_net+0x499/0xb50 [ 41.525489][ T69] ? __pfx_lock_acquire.part.0+0x10/0x10 [ 41.525814][ T69] ? __pfx_cleanup_net+0x10/0x10 [ 41.526120][ T69] ? lock_acquire+0x1c1/0x220 [ 41.526418][ T69] ? process_one_work+0x714/0x1310 [ 41.526713][ T69] process_one_work+0x78f/0x1310 [ 41.527020][ T69] ? hlock_class+0x4e/0x130 [ 41.527289][ T69] ? __pfx_process_one_work+0x10/0x10 [ 41.527589][ T69] ? assign_work+0x16c/0x240 [ 41.527878][ T69] worker_thread+0x73d/0x1010 [ 41.528162][ T69] ? lockdep_hardirqs_on_prepare.part.0+0x1b1/0x370 [ 41.528642][ T69] ? __pfx_worker_thread+0x10/0x10 [ 41.528938][ T69] ? __pfx_worker_thread+0x10/0x10 [ 41.529231][ T69] kthread+0x292/0x360 [ 41.529468][ T69] ? __pfx_kthread+0x10/0x10 [ 41.529720][ T69] ret_from_fork+0x34/0x70 [ 41.529955][ T69] ? __pfx_kthread+0x10/0x10 [ 41.530197][ T69] ret_from_fork_asm+0x1b/0x30 [ 41.530485][ T69] [ 41.530668][ T69] irq event stamp: 12133 [ 41.530904][ T69] hardirqs last enabled at (12133): [] irqentry_exit+0x3b/0x90 [ 41.531440][ T69] hardirqs last disabled at (12132): [] __do_softirq+0x670/0x7ff [ 41.531932][ T69] softirqs last enabled at (12120): [] br_dev_delete+0xd8/0x190 [ 41.532419][ T69] softirqs last disabled at (12118): [] br_fdb_delete_by_port+0x36/0x260 [ 41.532951][ T69] ---[ end trace 0000000000000000 ]--- [ 41.533240][ T69] ------------[ cut here ]------------ [ 41.533533][ T69] sysfs group 'bridge' not found for kobject 'br0' [ 41.533904][ T69] WARNING: CPU: 3 PID: 69 at fs/sysfs/group.c:282 sysfs_remove_group+0x101/0x160 [ 41.534418][ T69] Modules linked in: [ 41.534666][ T69] CPU: 3 PID: 69 Comm: kworker/u8:1 Tainted: G B W 6.8.0-rc2-virtme #1 [ 41.535212][ T69] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 41.535940][ T69] Workqueue: netns cleanup_net [ 41.536210][ T69] RIP: 0010:sysfs_remove_group+0x101/0x160 [ 41.536558][ T69] 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 3c 87 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.537634][ T69] RSP: 0018:ffffc900004ffba0 EFLAGS: 00010282 [ 41.537958][ T69] RAX: 0000000000000000 RBX: ffffffff877be220 RCX: ffffffff8471056f [ 41.538375][ T69] RDX: 0000000000000000 RSI: 0000000000000008 RDI: 0000000000000001 [ 41.538798][ T69] RBP: 0000000000000000 R08: 0000000000000000 R09: fffff5200009ff19 [ 41.539218][ T69] R10: ffffc900004ff8cf R11: 205d393654202020 R12: ffff888005e72628 [ 41.539643][ T69] R13: ffff888005e72df8 R14: ffffc900004ffc98 R15: ffff888005e72bc0 [ 41.540065][ T69] FS: 0000000000000000(0000) GS:ffff888035e00000(0000) knlGS:0000000000000000 [ 41.540585][ T69] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 41.541000][ T69] CR2: 00007f7b272cd270 CR3: 000000001ed34005 CR4: 00000000001706f0 [ 41.541458][ T69] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 41.541881][ T69] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 41.542302][ T69] Call Trace: [ 41.542488][ T69] [ 41.542653][ T69] ? __warn+0xcd/0x2d0 [ 41.542871][ T69] ? console_trylock+0x61/0xf0 [ 41.543129][ T69] ? sysfs_remove_group+0x101/0x160 [ 41.543403][ T69] ? report_bug+0x291/0x2e0 [ 41.543651][ T69] ? handle_bug+0x3d/0x80 [ 41.543881][ T69] ? exc_invalid_op+0x18/0x50 [ 41.544129][ T69] ? asm_exc_invalid_op+0x1a/0x20 [ 41.544394][ T69] ? desc_read+0x2af/0x440 [ 41.544684][ T69] ? sysfs_remove_group+0x101/0x160 [ 41.545019][ T69] br_dev_delete+0x10d/0x190 [ 41.545299][ T69] br_net_exit_batch_rtnl+0xd6/0x190 [ 41.545632][ T69] cleanup_net+0x499/0xb50 [ 41.545886][ T69] ? __pfx_lock_acquire.part.0+0x10/0x10 [ 41.546239][ T69] ? __pfx_cleanup_net+0x10/0x10 [ 41.546499][ T69] ? lock_acquire+0x1c1/0x220 [ 41.546754][ T69] ? process_one_work+0x714/0x1310 [ 41.547088][ T69] process_one_work+0x78f/0x1310 [ 41.547386][ T69] ? hlock_class+0x4e/0x130 [ 41.547650][ T69] ? __pfx_process_one_work+0x10/0x10 [ 41.547981][ T69] ? assign_work+0x16c/0x240 [ 41.548270][ T69] worker_thread+0x73d/0x1010 [ 41.548561][ T69] ? lockdep_hardirqs_on_prepare.part.0+0x1b1/0x370 [ 41.548930][ T69] ? __pfx_worker_thread+0x10/0x10 [ 41.549243][ T69] ? __pfx_worker_thread+0x10/0x10 [ 41.549556][ T69] kthread+0x292/0x360 [ 41.549790][ T69] ? __pfx_kthread+0x10/0x10 [ 41.550077][ T69] ret_from_fork+0x34/0x70 [ 41.550343][ T69] ? __pfx_kthread+0x10/0x10 [ 41.550638][ T69] ret_from_fork_asm+0x1b/0x30 [ 41.550928][ T69] [ 41.551104][ T69] irq event stamp: 12133 [ 41.551346][ T69] hardirqs last enabled at (12133): [] irqentry_exit+0x3b/0x90 [ 41.551908][ T69] hardirqs last disabled at (12132): [] __do_softirq+0x670/0x7ff [ 41.552469][ T69] softirqs last enabled at (12120): [] br_dev_delete+0xd8/0x190 [ 41.553124][ T69] softirqs last disabled at (12118): [] br_fdb_delete_by_port+0x36/0x260 [ 41.553726][ T69] ---[ end trace 0000000000000000 ]--- # # ########################################################################### # Legacy routing with VRF # ########################################################################### # [ 46.287294][ T473] eth0: renamed from r1h1 [ 46.471835][ T475] eth0: renamed from r2h1 [ 46.722092][ T478] eth2: renamed from r2h2 [ 46.977815][ T481] eth1: renamed from r2r1 [ 48.071185][ T496] br0: port 1(eth0) entered blocking state [ 48.071549][ T496] br0: port 1(eth0) entered disabled state [ 48.071876][ T496] eth0: entered allmulticast mode [ 48.072847][ T496] eth0: entered promiscuous mode [ 48.075856][ T50] br0: port 1(eth0) entered blocking state [ 48.076181][ T50] br0: port 1(eth0) entered forwarding state [ 48.144624][ T497] br0: port 2(eth1) entered blocking state [ 48.144968][ T497] br0: port 2(eth1) entered disabled state [ 48.145302][ T497] eth1: entered allmulticast mode [ 48.146274][ T497] eth1: entered promiscuous mode [ 48.149686][ T8] br0: port 2(eth1) entered blocking state [ 48.150117][ T8] 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 ] [ 63.947052][ T69] eth1: left allmulticast mode [ 63.947408][ T69] eth1: left promiscuous mode [ 63.947786][ T69] br0: port 2(eth1) entered disabled state [ 63.959270][ T69] eth0: left allmulticast mode [ 63.959570][ T69] eth0: left promiscuous mode [ 63.959919][ T69] br0: port 1(eth0) entered disabled state [ 63.974491][ T69] ------------[ cut here ]------------ [ 63.974827][ T69] sysfs group 'bridge' not found for kobject 'br0' [ 63.975219][ T69] WARNING: CPU: 1 PID: 69 at fs/sysfs/group.c:282 sysfs_remove_group+0x101/0x160 [ 63.975733][ T69] Modules linked in: [ 63.975947][ T69] CPU: 1 PID: 69 Comm: kworker/u8:1 Tainted: G B W 6.8.0-rc2-virtme #1 [ 63.976444][ T69] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 63.977246][ T69] Workqueue: netns cleanup_net [ 63.977511][ T69] RIP: 0010:sysfs_remove_group+0x101/0x160 [ 63.977840][ T69] 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 3c 87 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 [ 63.978943][ T69] RSP: 0018:ffffc900004ffba0 EFLAGS: 00010282 [ 63.979302][ T69] RAX: 0000000000000000 RBX: ffffffff877be220 RCX: ffffffff8471056f [ 63.979766][ T69] RDX: 0000000000000000 RSI: 0000000000000008 RDI: 0000000000000001 [ 63.980215][ T69] RBP: 0000000000000000 R08: 0000000000000000 R09: fffff5200009ff19 [ 63.980675][ T69] R10: ffffc900004ff8cf R11: 205d393654202020 R12: ffff888009082628 [ 63.981109][ T69] R13: ffff888009082df8 R14: ffffc900004ffc98 R15: ffff888009082bc0 [ 63.981588][ T69] FS: 0000000000000000(0000) GS:ffff888035600000(0000) knlGS:0000000000000000 [ 63.982082][ T69] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 63.982458][ T69] CR2: 000055e2f929303c CR3: 000000001ed34002 CR4: 00000000001706f0 [ 63.982943][ T69] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 63.983400][ T69] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 63.983888][ T69] Call Trace: [ 63.984065][ T69] [ 63.984243][ T69] ? __warn+0xcd/0x2d0 [ 63.984473][ T69] ? console_trylock+0x61/0xf0 [ 63.984748][ T69] ? sysfs_remove_group+0x101/0x160 [ 63.985034][ T69] ? report_bug+0x291/0x2e0 [ 63.985295][ T69] ? handle_bug+0x3d/0x80 [ 63.985538][ T69] ? exc_invalid_op+0x18/0x50 [ 63.985807][ T69] ? asm_exc_invalid_op+0x1a/0x20 [ 63.986083][ T69] ? desc_read+0x2af/0x440 [ 63.986341][ T69] ? sysfs_remove_group+0x101/0x160 [ 63.986654][ T69] br_dev_delete+0x10d/0x190 [ 63.986944][ T69] br_net_exit_batch_rtnl+0xd6/0x190 [ 63.987239][ T69] cleanup_net+0x499/0xb50 [ 63.987497][ T69] ? lock_acquire+0x1c1/0x220 [ 63.987754][ T69] ? __pfx_cleanup_net+0x10/0x10 [ 63.988040][ T69] ? lock_acquire+0x1c1/0x220 [ 63.988309][ T69] ? process_one_work+0x714/0x1310 [ 63.988597][ T69] process_one_work+0x78f/0x1310 [ 63.988877][ T69] ? hlock_class+0x4e/0x130 [ 63.989122][ T69] ? __pfx_process_one_work+0x10/0x10 [ 63.989440][ T69] ? assign_work+0x16c/0x240 [ 63.989718][ T69] worker_thread+0x73d/0x1010 [ 63.989972][ T69] ? lockdep_hardirqs_on_prepare.part.0+0x1b1/0x370 [ 63.990341][ T69] ? __pfx_worker_thread+0x10/0x10 [ 63.990639][ T69] ? __pfx_worker_thread+0x10/0x10 [ 63.990927][ T69] kthread+0x292/0x360 [ 63.991144][ T69] ? __pfx_kthread+0x10/0x10 [ 63.991399][ T69] ret_from_fork+0x34/0x70 [ 63.991663][ T69] ? __pfx_kthread+0x10/0x10 [ 63.991920][ T69] ret_from_fork_asm+0x1b/0x30 [ 63.992186][ T69] [ 63.992376][ T69] irq event stamp: 12133 [ 63.992605][ T69] hardirqs last enabled at (12133): [] irqentry_exit+0x3b/0x90 [ 63.993110][ T69] hardirqs last disabled at (12132): [] __do_softirq+0x670/0x7ff [ 63.993625][ T69] softirqs last enabled at (12120): [] br_dev_delete+0xd8/0x190 [ 63.994110][ T69] softirqs last disabled at (12118): [] br_fdb_delete_by_port+0x36/0x260 [ 63.994631][ T69] ---[ end trace 0000000000000000 ]--- # # ########################################################################### # Routing with nexthop objects # ########################################################################### # [ 68.806900][ T685] eth0: renamed from r1h1 [ 68.984827][ T687] eth0: renamed from r2h1 [ 69.251796][ T690] eth2: renamed from r2h2 [ 69.503028][ T693] eth1: renamed from r2r1 [ 69.881776][ T698] br0: port 1(eth0) entered blocking state [ 69.882120][ T698] br0: port 1(eth0) entered disabled state [ 69.882458][ T698] eth0: entered allmulticast mode [ 69.884081][ T698] eth0: entered promiscuous mode [ 69.885485][ T50] br0: port 1(eth0) entered blocking state [ 69.885818][ T50] br0: port 1(eth0) entered forwarding state [ 69.962258][ T699] br0: port 2(eth1) entered blocking state [ 69.963219][ T699] br0: port 2(eth1) entered disabled state [ 69.964196][ T699] eth1: entered allmulticast mode [ 69.965207][ T699] eth1: entered promiscuous mode [ 69.966235][ T49] br0: port 2(eth1) entered blocking state [ 69.966564][ 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 ] [ 86.408640][ T69] eth1: left allmulticast mode [ 86.408940][ T69] eth1: left promiscuous mode [ 86.409275][ T69] br0: port 2(eth1) entered disabled state [ 86.431445][ T69] eth0: left allmulticast mode [ 86.431783][ T69] eth0: left promiscuous mode [ 86.432143][ T69] br0: port 1(eth0) entered disabled state [ 86.443046][ T69] ------------[ cut here ]------------ [ 86.443353][ T69] sysfs group 'bridge' not found for kobject 'br0' [ 86.443735][ T69] WARNING: CPU: 0 PID: 69 at fs/sysfs/group.c:282 sysfs_remove_group+0x101/0x160 [ 86.444215][ T69] Modules linked in: [ 86.444427][ T69] CPU: 0 PID: 69 Comm: kworker/u8:1 Tainted: G B W 6.8.0-rc2-virtme #1 [ 86.445052][ T69] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 86.445765][ T69] Workqueue: netns cleanup_net [ 86.446030][ T69] RIP: 0010:sysfs_remove_group+0x101/0x160 [ 86.446392][ T69] 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 3c 87 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.447460][ T69] RSP: 0018:ffffc900004ffba0 EFLAGS: 00010282 [ 86.447833][ T69] RAX: 0000000000000000 RBX: ffffffff877be220 RCX: ffffffff8471056f [ 86.448306][ T69] RDX: 0000000000000000 RSI: 0000000000000008 RDI: 0000000000000001 [ 86.448775][ T69] RBP: 0000000000000000 R08: 0000000000000000 R09: fffff5200009ff19 [ 86.449216][ T69] R10: ffffc900004ff8cf R11: 205d393654202020 R12: ffff8880035d2628 [ 86.449680][ T69] R13: ffff8880035d2df8 R14: ffffc900004ffc98 R15: ffff8880035d2bc0 [ 86.450149][ T69] FS: 0000000000000000(0000) GS:ffff888035200000(0000) knlGS:0000000000000000 [ 86.450653][ T69] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 86.451029][ T69] CR2: 00007fbbe53610e0 CR3: 000000001ed34006 CR4: 00000000001706f0 [ 86.451489][ T69] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 86.451955][ T69] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 86.452435][ T69] Call Trace: [ 86.452651][ T69] [ 86.452814][ T69] ? __warn+0xcd/0x2d0 [ 86.453078][ T69] ? console_trylock+0x61/0xf0 [ 86.453377][ T69] ? sysfs_remove_group+0x101/0x160 [ 86.453712][ T69] ? report_bug+0x291/0x2e0 [ 86.453984][ T69] ? handle_bug+0x3d/0x80 [ 86.454257][ T69] ? exc_invalid_op+0x18/0x50 [ 86.454526][ T69] ? asm_exc_invalid_op+0x1a/0x20 [ 86.454826][ T69] ? desc_read+0x2af/0x440 [ 86.455112][ T69] ? sysfs_remove_group+0x101/0x160 [ 86.455419][ T69] br_dev_delete+0x10d/0x190 [ 86.455715][ T69] br_net_exit_batch_rtnl+0xd6/0x190 [ 86.456046][ T69] cleanup_net+0x499/0xb50 [ 86.456324][ T69] ? lock_acquire+0x1c1/0x220 [ 86.456585][ T69] ? __pfx_cleanup_net+0x10/0x10 [ 86.456849][ T69] ? lock_acquire+0x1c1/0x220 [ 86.457094][ T69] ? process_one_work+0x714/0x1310 [ 86.457366][ T69] process_one_work+0x78f/0x1310 [ 86.457637][ T69] ? __pfx_process_one_work+0x10/0x10 [ 86.457922][ T69] ? assign_work+0x16c/0x240 [ 86.458169][ T69] worker_thread+0x73d/0x1010 [ 86.458466][ T69] ? lockdep_hardirqs_on_prepare.part.0+0x1b1/0x370 [ 86.458876][ T69] ? __pfx_worker_thread+0x10/0x10 [ 86.459174][ T69] ? __pfx_worker_thread+0x10/0x10 [ 86.459491][ T69] kthread+0x292/0x360 [ 86.459753][ T69] ? __pfx_kthread+0x10/0x10 [ 86.460028][ T69] ret_from_fork+0x34/0x70 [ 86.460297][ T69] ? __pfx_kthread+0x10/0x10 [ 86.460585][ T69] ret_from_fork_asm+0x1b/0x30 [ 86.460860][ T69] [ 86.461044][ T69] irq event stamp: 12133 [ 86.461276][ T69] hardirqs last enabled at (12133): [] irqentry_exit+0x3b/0x90 [ 86.461797][ T69] hardirqs last disabled at (12132): [] __do_softirq+0x670/0x7ff [ 86.462291][ T69] softirqs last enabled at (12120): [] br_dev_delete+0xd8/0x190 [ 86.462782][ T69] softirqs last disabled at (12118): [] br_fdb_delete_by_port+0x36/0x260 [ 86.463305][ T69] ---[ end trace 0000000000000000 ]--- # # ########################################################################### # Routing with nexthop objects and VRF # ########################################################################### # [ 91.103930][ T896] eth0: renamed from r1h1 [ 91.270850][ T898] eth0: renamed from r2h1 [ 91.514908][ T901] eth2: renamed from r2h2 [ 91.750815][ T904] eth1: renamed from r2r1 [ 92.783661][ T919] br0: port 1(eth0) entered blocking state [ 92.784011][ T919] br0: port 1(eth0) entered disabled state [ 92.784339][ T919] eth0: entered allmulticast mode [ 92.785311][ T919] eth0: entered promiscuous mode [ 92.787267][ T28] br0: port 1(eth0) entered blocking state [ 92.787610][ T28] br0: port 1(eth0) entered forwarding state [ 92.856461][ T920] br0: port 2(eth1) entered blocking state [ 92.857396][ T920] br0: port 2(eth1) entered disabled state [ 92.857807][ T920] eth1: entered allmulticast mode [ 92.858768][ T920] eth1: entered promiscuous mode [ 92.859739][ T8] br0: port 2(eth1) entered blocking state [ 92.860065][ T8] 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 [ 109.096784][ T69] eth1: left allmulticast mode [ 109.097125][ T69] eth1: left promiscuous mode [ 109.097500][ T69] br0: port 2(eth1) entered disabled state [ 109.104463][ T69] eth0: left allmulticast mode [ 109.104744][ T69] eth0: left promiscuous mode [ 109.105056][ T69] br0: port 1(eth0) entered disabled state [ 109.120488][ T69] ------------[ cut here ]------------ [ 109.120817][ T69] sysfs group 'bridge' not found for kobject 'br0' [ 109.121192][ T69] WARNING: CPU: 0 PID: 69 at fs/sysfs/group.c:282 sysfs_remove_group+0x101/0x160 [ 109.121742][ T69] Modules linked in: [ 109.121950][ T69] CPU: 0 PID: 69 Comm: kworker/u8:1 Tainted: G B W 6.8.0-rc2-virtme #1 [ 109.122450][ T69] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 109.123254][ T69] Workqueue: netns cleanup_net [ 109.123527][ T69] RIP: 0010:sysfs_remove_group+0x101/0x160 [ 109.123837][ T69] 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 3c 87 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 [ 109.124973][ T69] RSP: 0018:ffffc900004ffba0 EFLAGS: 00010282 [ 109.125379][ T69] RAX: 0000000000000000 RBX: ffffffff877be220 RCX: ffffffff8471056f [ 109.125873][ T69] RDX: 0000000000000000 RSI: 0000000000000008 RDI: 0000000000000001 [ 109.126365][ T69] RBP: 0000000000000000 R08: 0000000000000000 R09: fffff5200009ff19 [ 109.126827][ T69] R10: ffffc900004ff8cf R11: 205d393654202020 R12: ffff888008172628 [ 109.127335][ T69] R13: ffff888008172df8 R14: ffffc900004ffc98 R15: ffff888008172bc0 [ 109.127855][ T69] FS: 0000000000000000(0000) GS:ffff888035200000(0000) knlGS:0000000000000000 [ 109.128396][ T69] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 109.128836][ T69] CR2: 00007f9f79900270 CR3: 000000001ed34002 CR4: 00000000001706f0 [ 109.129344][ T69] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 109.129848][ T69] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 109.130331][ T69] Call Trace: [ 109.130620][ T69] [ 109.130934][ T69] ? __warn+0xcd/0x2d0 [ 109.131243][ T69] ? console_trylock+0x61/0xf0 [ 109.131615][ T69] ? sysfs_remove_group+0x101/0x160 [ 109.132023][ T69] ? report_bug+0x291/0x2e0 [ 109.132398][ T69] ? handle_bug+0x3d/0x80 [ 109.132761][ T69] ? exc_invalid_op+0x18/0x50 [ 109.133049][ T69] ? asm_exc_invalid_op+0x1a/0x20 [ 109.133356][ T69] ? desc_read+0x2af/0x440 [ 109.133643][ T69] ? sysfs_remove_group+0x101/0x160 [ 109.133936][ T69] br_dev_delete+0x10d/0x190 [ 109.134214][ T69] br_net_exit_batch_rtnl+0xd6/0x190 [ 109.134523][ T69] cleanup_net+0x499/0xb50 [ 109.134797][ T69] ? lock_acquire+0x1c1/0x220 [ 109.135093][ T69] ? __pfx_cleanup_net+0x10/0x10 [ 109.135372][ T69] ? lock_acquire+0x1c1/0x220 [ 109.135664][ T69] ? process_one_work+0x714/0x1310 [ 109.135960][ T69] process_one_work+0x78f/0x1310 [ 109.136261][ T69] ? __pfx_process_one_work+0x10/0x10 [ 109.136601][ T69] ? assign_work+0x16c/0x240 [ 109.136859][ T69] worker_thread+0x73d/0x1010 [ 109.137127][ T69] ? lockdep_hardirqs_on_prepare.part.0+0x1b1/0x370 [ 109.137492][ T69] ? __pfx_worker_thread+0x10/0x10 [ 109.137808][ T69] ? __pfx_worker_thread+0x10/0x10 [ 109.138129][ T69] kthread+0x292/0x360 [ 109.138344][ T69] ? __pfx_kthread+0x10/0x10 [ 109.138628][ T69] ret_from_fork+0x34/0x70 [ 109.138888][ T69] ? __pfx_kthread+0x10/0x10 [ 109.139167][ T69] ret_from_fork_asm+0x1b/0x30 [ 109.139484][ T69] [ 109.139656][ T69] irq event stamp: 12133 [ 109.139877][ T69] hardirqs last enabled at (12133): [] irqentry_exit+0x3b/0x90 [ 109.140358][ T69] hardirqs last disabled at (12132): [] __do_softirq+0x670/0x7ff [ 109.140847][ T69] softirqs last enabled at (12120): [] br_dev_delete+0xd8/0x190 [ 109.141325][ T69] softirqs last disabled at (12118): [] br_fdb_delete_by_port+0x36/0x260 [ 109.141846][ T69] ---[ 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__->