[ 2.076177] netconsole: network logging started
[ 4.242332] netconsole selftest: netcons_eqhac
[ 4.356605] netpoll: netconsole: nsim804 is a slave device, aborting
[ 4.402965] ------------[ cut here ]------------
[ 4.403142] refcount_t: underflow; use-after-free.
[ 4.403231] WARNING: CPU: 2 PID: 351 at lib/refcount.c:28 refcount_warn_saturate+0xbc/0x110
[ 4.403334] Modules linked in: netconsole netdevsim
[ 4.403412] CPU: 2 UID: 0 PID: 351 Comm: ip Not tainted 6.18.0-rc4-virtme #1 PREEMPT(voluntary)
[ 4.403517] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011
[ 4.403599] RIP: 0010:refcount_warn_saturate+0xbc/0x110
[ 4.403675] Code: b0 e8 88 98 ba ff 90 0f 0b 90 90 c3 80 3d 69 b4 eb 00 00 75 89 c6 05 60 b4 eb 00 01 90 48 c7 c7 98 6e 54 b0 e8 65 98 ba ff 90 <0f> 0b 90 90 c3 80 3d 44 b4 eb 00 00 0f 85 62 ff ff ff c6 05 37 b4
[ 4.403897] RSP: 0018:ffff9985c06cf730 EFLAGS: 00010282
[ 4.403975] RAX: 0000000000000000 RBX: ffff9985c06cf740 RCX: 00000000ffffdfff
[ 4.404076] RDX: 0000000000000000 RSI: 00000000ffffffea RDI: 0000000000000001
[ 4.404176] RBP: ffff9985c06cf258 R08: ffffffffb0956a28 R09: 00000000ffffdfff
[ 4.404277] R10: ffffffffb0876a40 R11: ffffffffb0926a40 R12: dead000000000122
[ 4.404371] R13: 00000000fffb7cd0 R14: 0000000000000001 R15: ffff8d7282036000
[ 4.404470] FS: 00007fbedcacb800(0000) GS:ffff8d730dcb7000(0000) knlGS:0000000000000000
[ 4.404566] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 4.404648] CR2: 00000000004a1778 CR3: 000000000889c006 CR4: 0000000000772ef0
[ 4.404746] PKRU: 55555554
[ 4.404795] Call Trace:
[ 4.404849]
[ 4.404897] netdev_run_todo+0x21a/0x550
[ 4.404965] rtnl_dellink+0x15b/0x350
[ 4.405036] ? rtnl_bridge_getlink+0x1a0/0x1a0
[ 4.405109] rtnetlink_rcv_msg+0x358/0x400
[ 4.405177] ? get_page_from_freelist+0x15b4/0x1770
[ 4.405259] ? rtnl_calcit.isra.0+0x110/0x110
[ 4.405342] netlink_rcv_skb+0x57/0x100
[ 4.405417] netlink_unicast+0x252/0x380
[ 4.405499] ? __alloc_skb+0xdb/0x190
[ 4.405620] netlink_sendmsg+0x1be/0x3e0
[ 4.405678] ____sys_sendmsg+0x132/0x260
[ 4.405755] ? copy_msghdr_from_user+0x6c/0xa0
[ 4.405830] ___sys_sendmsg+0x87/0xd0
[ 4.405922] ? do_wp_page+0x369/0xe90
[ 4.405998] ? __handle_mm_fault+0x4e6/0xe50
[ 4.406078] __sys_sendmsg+0x71/0xd0
[ 4.406149] do_syscall_64+0xa4/0xfd0
[ 4.406219] entry_SYSCALL_64_after_hwframe+0x4b/0x53
[ 4.406298] RIP: 0033:0x7fbedcc991d7
[ 4.406366] Code: 0e 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b9 0f 1f 00 f3 0f 1e fa 64 8b 04 25 18 00 00 00 85 c0 75 10 b8 2e 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 51 c3 48 83 ec 28 89 54 24 1c 48 89 74 24 10
[ 4.406603] RSP: 002b:00007ffc9c022c18 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
[ 4.406704] RAX: ffffffffffffffda RBX: 00007ffc9c023350 RCX: 00007fbedcc991d7
[ 4.406796] RDX: 0000000000000000 RSI: 00007ffc9c022c80 RDI: 0000000000000005
[ 4.406901] RBP: 0000000000000000 R08: 000000000000002c R09: 0000000000000008
[ 4.406997] R10: 0000000000403668 R11: 0000000000000246 R12: 00007ffc9c023368
[ 4.407098] R13: 00000000690de5bc R14: 0000000000499600 R15: 0000000000000000
[ 4.407202]
[ 4.407254] ---[ end trace 0000000000000000 ]---
[ 4.777912] ------------[ cut here ]------------
[ 4.778063] kernel BUG at net/core/net-sysfs.c:2246!
[ 4.778134] Oops: invalid opcode: 0000 [#1] SMP
[ 4.778193] CPU: 2 UID: 0 PID: 228 Comm: bash Tainted: G W 6.18.0-rc4-virtme #1 PREEMPT(voluntary)
[ 4.778283] Tainted: [W]=WARN
[ 4.778312] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011
[ 4.778356] RIP: 0010:netdev_release+0x2d/0x30
[ 4.778404] Code: fa 0f 1f 44 00 00 80 7f e0 04 75 1d 55 48 8d af d0 fa ff ff 48 8b bf 00 fc ff ff e8 cd ff a3 ff 48 89 ef 5d e9 84 06 a4 ff 90 <0f> 0b 90 f3 0f 1e fa 0f 1f 44 00 00 55 48 89 f5 48 8d 97 e8 fb ff
[ 4.778514] RSP: 0018:ffff9985c05c7bf0 EFLAGS: 00010297
[ 4.778550] RAX: ffffffffaff5a5d0 RBX: 00000000ffffffff RCX: 0000000000000002
[ 4.778601] RDX: 0000000000000006 RSI: ffffffffafd53ba4 RDI: ffff8d7282cf6530
[ 4.778651] RBP: ffff8d7282cf6530 R08: 000000000000010c R09: 00000000000000a8
[ 4.778702] R10: 00000000000000c0 R11: 00000000000000b0 R12: ffff8d7288a26500
[ 4.778756] R13: ffffffffb02b1d20 R14: ffff8d72810507f0 R15: ffff8d7282cf6000
[ 4.778809] FS: 00007f5672ee7000(0000) GS:ffff8d730dcb7000(0000) knlGS:0000000000000000
[ 4.778863] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 4.778905] CR2: 00007f5672f47610 CR3: 000000000818e003 CR4: 0000000000772ef0
[ 4.778957] PKRU: 55555554
[ 4.778976] Call Trace:
[ 4.779000]
[ 4.779021] device_release+0x35/0x90
[ 4.779059] kobject_put+0x64/0xc0
[ 4.779094] netdev_run_todo+0x21a/0x550
[ 4.779139] nsim_destroy+0x95/0x180 [netdevsim]
[ 4.779192] __nsim_dev_port_del+0x47/0x70 [netdevsim]
[ 4.779249] nsim_dev_reload_destroy+0x5b/0x110 [netdevsim]
[ 4.779306] nsim_drv_remove+0x2f/0xb0 [netdevsim]
[ 4.779412] device_release_driver_internal+0x193/0x200
[ 4.779461] bus_remove_device+0xc1/0x100
[ 4.779500] device_del+0x15f/0x480
[ 4.779539] device_unregister+0x12/0x30
[ 4.779586] del_device_store+0x117/0x1a0 [netdevsim]
[ 4.779644] kernfs_fop_write_iter+0x12b/0x1c0
[ 4.779702] vfs_write+0x33a/0x470
[ 4.779749] ksys_write+0x65/0xe0
[ 4.779791] do_syscall_64+0xa4/0xfd0
[ 4.779840] entry_SYSCALL_64_after_hwframe+0x4b/0x53
[ 4.779896] RIP: 0033:0x7f5672fe7257
[ 4.779938] Code: 0f 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 f3 0f 1e fa 64 8b 04 25 18 00 00 00 85 c0 75 10 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 51 c3 48 83 ec 28 48 89 54 24 18 48 89 74 24
[ 4.780100] RSP: 002b:00007ffc8655d1b8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
[ 4.780176] RAX: ffffffffffffffda RBX: 00007f56730e3780 RCX: 00007f5672fe7257
[ 4.780256] RDX: 0000000000000004 RSI: 00005620207a6470 RDI: 0000000000000001
[ 4.780331] RBP: 0000000000000004 R08: 0000000000000000 R09: 00007f5673099d20
[ 4.780398] R10: 00007f5673099c20 R11: 0000000000000246 R12: 0000000000000004
[ 4.780465] R13: 00005620207a6470 R14: 0000000000000004 R15: 00007f56730de9c0
[ 4.780540]
[ 4.780568] Modules linked in: netconsole netdevsim
[ 4.780667] ---[ end trace 0000000000000000 ]---
[ 4.780751] RIP: 0010:netdev_release+0x2d/0x30
[ 4.780835] Code: fa 0f 1f 44 00 00 80 7f e0 04 75 1d 55 48 8d af d0 fa ff ff 48 8b bf 00 fc ff ff e8 cd ff a3 ff 48 89 ef 5d e9 84 06 a4 ff 90 <0f> 0b 90 f3 0f 1e fa 0f 1f 44 00 00 55 48 89 f5 48 8d 97 e8 fb ff
[ 4.781024] RSP: 0018:ffff9985c05c7bf0 EFLAGS: 00010297
[ 4.781101] RAX: ffffffffaff5a5d0 RBX: 00000000ffffffff RCX: 0000000000000002
[ 4.781200] RDX: 0000000000000006 RSI: ffffffffafd53ba4 RDI: ffff8d7282cf6530
[ 4.781300] RBP: ffff8d7282cf6530 R08: 000000000000010c R09: 00000000000000a8
[ 4.781398] R10: 00000000000000c0 R11: 00000000000000b0 R12: ffff8d7288a26500
[ 4.781496] R13: ffffffffb02b1d20 R14: ffff8d72810507f0 R15: ffff8d7282cf6000
[ 4.781594] FS: 00007f5672ee7000(0000) GS:ffff8d730dcb7000(0000) knlGS:0000000000000000
[ 4.781693] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 4.781780] CR2: 00007f5672f47610 CR3: 000000000818e003 CR4: 0000000000772ef0
[ 4.781889] PKRU: 55555554