[ 9.837835][ T173] ------------[ cut here ]------------ [ 9.838152][ T173] WARNING: net/core/rtnetlink.c:4523 at rtmsg_ifinfo_build_skb+0x1a6/0x250, CPU#0: python3/173 [ 9.838558][ T173] Modules linked in: netdevsim [ 9.838775][ T173] CPU: 0 UID: 0 PID: 173 Comm: python3 Tainted: G W 7.1.0-rc4-virtme #1 PREEMPT(full) [ 9.839161][ T173] Tainted: [W]=WARN [ 9.839293][ T173] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 9.839514][ T173] RIP: 0010:rtmsg_ifinfo_build_skb+0x1a6/0x250 [ 9.839764][ T173] Code: 89 fa 48 c1 ea 03 0f b6 14 02 48 89 f8 83 e0 07 83 c0 03 38 d0 7c 04 84 d2 75 79 48 8b 44 24 58 44 8b 48 08 e9 42 ff ff ff 90 <0f> 0b 90 ba 02 00 00 00 48 89 de 31 ff e8 a8 cb f0 ff b9 a6 ff ff [ 9.840447][ T173] RSP: 0018:ffa0000000847500 EFLAGS: 00010286 [ 9.840678][ T173] RAX: 00000000ffffffa6 RBX: ff11000004f50340 RCX: 1ff4000000108e66 [ 9.840965][ T173] RDX: 0000000000000000 RSI: 0000000000000000 RDI: ff11000004f503f0 [ 9.841235][ T173] RBP: ff11000005882000 R08: 1fe22000009ea07f R09: ff1100000bf72f48 [ 9.841496][ T173] R10: 0000000000000000 R11: 0000000000000001 R12: 00000000ffffffff [ 9.841769][ T173] R13: 0000000000000000 R14: 0000000000000000 R15: ff11000005882000 [ 9.842041][ T173] FS: 00007f8900d71400(0000) GS:ff1100007a579000(0000) knlGS:0000000000000000 [ 9.842346][ T173] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 9.842568][ T173] CR2: 00007f89011720a1 CR3: 000000000d347003 CR4: 0000000000771ef0 [ 9.842856][ T173] PKRU: 55555554 [ 9.843009][ T173] Call Trace: [ 9.843141][ T173] [ 9.843231][ T173] rtmsg_ifinfo_event.part.0+0x2c/0x130 [ 9.843418][ T173] rtmsg_ifinfo+0x5c/0xb0 [ 9.843553][ T173] register_netdevice+0x1526/0x1bc0 [ 9.843739][ T173] ? unregister_netdevice_queue+0x470/0x470 [ 9.843965][ T173] ? __debugfs_create_file+0x2cf/0x3c0 [ 9.844153][ T173] nsim_init_netdevsim+0x80e/0xcb0 [netdevsim] [ 9.844378][ T173] nsim_create+0x45b/0x5b0 [netdevsim] [ 9.844566][ T173] __nsim_dev_port_add+0x30b/0x7a0 [netdevsim] [ 9.844797][ T173] ? add_timer_on+0x580/0x580 [ 9.844977][ T173] ? nsim_dev_get_vfs+0x90/0x90 [netdevsim] [ 9.845197][ T173] ? is_module_address+0x68/0x110 [ 9.845374][ T173] ? static_obj+0x5d/0x90 [ 9.845512][ T173] ? mark_held_locks+0x40/0x70 [ 9.845761][ T173] ? nsim_dev_hwstats_init+0x3a4/0x4d0 [netdevsim] [ 9.845997][ T173] nsim_drv_probe+0x59e/0x8d0 [netdevsim] [ 9.846176][ T173] call_driver_probe+0x61/0x1c0 [ 9.846359][ T173] really_probe+0x199/0x760 [ 9.846537][ T173] ? driver_probe_device+0x130/0x130 [ 9.846719][ T173] __driver_probe_device+0x1dc/0x430 [ 9.846906][ T173] driver_probe_device+0x4a/0x130 [ 9.847082][ T173] __device_attach_driver+0x16d/0x2a0 [ 9.847257][ T173] bus_for_each_drv+0x135/0x1e0 [ 9.847429][ T173] ? bus_find_device_reverse+0x1c0/0x1c0 [ 9.847608][ T173] __device_attach+0x1a6/0x410 [ 9.847796][ T173] ? __rwlock_init+0x150/0x150 [ 9.847978][ T173] ? __driver_attach_async_helper+0x2a0/0x2a0 [ 9.848195][ T173] ? do_raw_spin_unlock+0x59/0x250 [ 9.848367][ T173] ? _raw_spin_unlock+0x2d/0x50 [ 9.848541][ T173] device_initial_probe+0x8b/0xc0 [ 9.848720][ T173] bus_probe_device+0x63/0x160 [ 9.848899][ T173] device_add+0xb16/0x1130 [ 9.849076][ T173] ? __fw_devlink_link_to_consumers.isra.0+0x2d0/0x2d0 [ 9.849289][ T173] ? __init_waitqueue_head+0xcb/0x160 [ 9.849464][ T173] ? pm_runtime_init+0x323/0x3f0 [ 9.849645][ T173] new_device_store+0x3d4/0x730 [netdevsim] [ 9.849879][ T173] ? __lock_release.isra.0+0x6b/0x1a0 [ 9.850059][ T173] ? new_port_store+0x1a0/0x1a0 [netdevsim] [ 9.850287][ T173] ? sysfs_file_kobj+0xb3/0x1e0 [ 9.850467][ T173] ? sysfs_file_kobj+0xbd/0x1e0 [ 9.850643][ T173] ? sysfs_file_ops+0x140/0x140 [ 9.850824][ T173] kernfs_fop_write_iter+0x335/0x510 [ 9.850998][ T173] ? kernfs_ops+0xf0/0xf0 [ 9.851142][ T173] new_sync_write+0x333/0x750 [ 9.851322][ T173] ? __lock_acquire+0x508/0xc10 [ 9.851495][ T173] ? new_sync_read+0x740/0x740 [ 9.851676][ T173] ? lock_acquire.part.0+0xbc/0x260 [ 9.851854][ T173] ? ksys_write+0x116/0x250 [ 9.852036][ T173] vfs_write+0x6a4/0xc10 [ 9.852172][ T173] ksys_write+0x116/0x250 [ 9.852303][ T173] ? __ia32_sys_read+0xc0/0xc0 [ 9.852480][ T173] ? kernfs_fop_llseek+0x160/0x1f0 [ 9.852658][ T173] ? rcu_is_watching+0x15/0xd0 [ 9.852838][ T173] do_syscall_64+0x117/0xfc0 [ 9.853015][ T173] ? trace_hardirqs_off+0xd/0x30 [ 9.853197][ T173] ? exc_page_fault+0xee/0x100 [ 9.853374][ T173] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 9.853596][ T173] RIP: 0033:0x7f8900ef908e [ 9.853782][ T173] Code: 4d 89 d8 e8 94 bd 00 00 4c 8b 5d f8 41 8b 93 08 03 00 00 59 5e 48 83 f8 fc 74 11 c9 c3 0f 1f 80 00 00 00 00 48 8b 45 10 0f 05 c3 83 e2 39 83 fa 08 75 e7 e8 03 ff ff ff 0f 1f 00 f3 0f 1e fa [ 9.854413][ T173] RSP: 002b:00007fff37ccd380 EFLAGS: 00000202 ORIG_RAX: 0000000000000001 [ 9.854683][ T173] RAX: ffffffffffffffda RBX: 0000000000000009 RCX: 00007f8900ef908e [ 9.854945][ T173] RDX: 0000000000000009 RSI: 00005605abe44480 RDI: 0000000000000006 [ 9.855205][ T173] RBP: 00007fff37ccd390 R08: 0000000000000000 R09: 0000000000000000 [ 9.855463][ T173] R10: 0000000000000000 R11: 0000000000000202 R12: 00007f8900d71390 [ 9.855731][ T173] R13: 00005605abe44480 R14: 0000000000000006 R15: 00007f8900cfd0d0 [ 9.856004][ T173] [ 9.856135][ T173] irq event stamp: 337973 [ 9.856266][ T173] hardirqs last enabled at (337981): [] __up_console_sem+0x5a/0x70 [ 9.856585][ T173] hardirqs last disabled at (337988): [] __up_console_sem+0x3f/0x70 [ 9.856895][ T173] softirqs last enabled at (337334): [] handle_softirqs+0x611/0x940 [ 9.857202][ T173] softirqs last disabled at (337309): [] __irq_exit_rcu+0x103/0x1c0 [ 9.857512][ T173] ---[ end trace 0000000000000000 ]---