WARNING in free_netdev ------------[ cut here ]------------ DEBUG_LOCKS_WARN_ON(lock->magic != lock) WARNING: CPU: 1 PID: 5921 at kernel/locking/mutex.c:564 __mutex_lock_common kernel/locking/mutex.c:564 [inline] WARNING: CPU: 1 PID: 5921 at kernel/locking/mutex.c:564 __mutex_lock+0xdac/0xee0 kernel/locking/mutex.c:735 Modules linked in: CPU: 1 UID: 0 PID: 5921 Comm: syz-executor Not tainted 6.13.0-rc7-syzkaller-g2ee738e90e80-dirty #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 RIP: 0010:__mutex_lock_common kernel/locking/mutex.c:564 [inline] RIP: 0010:__mutex_lock+0xdac/0xee0 kernel/locking/mutex.c:735 Code: 0f b6 04 38 84 c0 0f 85 1a 01 00 00 83 3d 6f 40 4c 04 00 75 19 90 48 c7 c7 60 84 0a 8c 48 c7 c6 00 85 0a 8c e8 f5 dc 91 f5 90 <0f> 0b 90 90 90 e9 c7 f3 ff ff 90 0f 0b 90 e9 29 f8 ff ff 90 0f 0b RSP: 0018:ffffc90004167580 EFLAGS: 00010246 RAX: ba901427d25d9000 RBX: ffff888029ab8cb0 RCX: ffff88807d8bda00 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc90004167710 R08: ffffffff81602ac2 R09: 1ffff110170e519a R10: dffffc0000000000 R11: ffffed10170e519b R12: 0000000000000000 R13: 0000000000000000 R14: 1ffff9200082cec4 R15: dffffc0000000000 FS: 00005555934e9500(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005587809e5088 CR3: 000000007d896000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: netdev_lock include/linux/netdevice.h:2691 [inline] __netif_napi_del include/linux/netdevice.h:2829 [inline] netif_napi_del include/linux/netdevice.h:2848 [inline] free_netdev+0x2d9/0x610 net/core/dev.c:11621 netdev_run_todo+0xf21/0x10d0 net/core/dev.c:11189 nsim_destroy+0x3c3/0x620 drivers/net/netdevsim/netdev.c:1028 __nsim_dev_port_del+0x14b/0x1b0 drivers/net/netdevsim/dev.c:1428 nsim_dev_port_del_all drivers/net/netdevsim/dev.c:1440 [inline] nsim_dev_reload_destroy+0x28a/0x490 drivers/net/netdevsim/dev.c:1661 nsim_drv_remove+0x58/0x160 drivers/net/netdevsim/dev.c:1676 device_remove drivers/base/dd.c:567 [inline] __device_release_driver drivers/base/dd.c:1273 [inline] device_release_driver_internal+0x4a9/0x7c0 drivers/base/dd.c:1296 bus_remove_device+0x34f/0x420 drivers/base/bus.c:576 device_del+0x57a/0x9b0 drivers/base/core.c:3854 device_unregister+0x20/0xc0 drivers/base/core.c:3895 nsim_bus_dev_del drivers/net/netdevsim/bus.c:462 [inline] del_device_store+0x363/0x480 drivers/net/netdevsim/bus.c:226 kernfs_fop_write_iter+0x3a0/0x500 fs/kernfs/file.c:334 new_sync_write fs/read_write.c:586 [inline] vfs_write+0xaeb/0xd30 fs/read_write.c:679 ksys_write+0x18f/0x2b0 fs/read_write.c:731 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f63aed847df Code: 89 54 24 18 48 89 74 24 10 89 7c 24 08 e8 f9 92 02 00 48 8b 54 24 18 48 8b 74 24 10 41 89 c0 8b 7c 24 08 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 48 89 44 24 08 e8 4c 93 02 00 48 RSP: 002b:00007ffc85bfda70 EFLAGS: 00000293 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 00007f63aed847df RDX: 0000000000000001 RSI: 00007ffc85bfdac0 RDI: 0000000000000005 RBP: 00007f63aee02cb5 R08: 0000000000000000 R09: 00007ffc85bfd8c7 R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000001 R13: 00007ffc85bfdac0 R14: 00007f63afaa4620 R15: 0000000000000003 DUID 00:04:12:44:dd:5d:ee:af:eb:87:5d:85:78:08:21:b7:8f:ac forked to background, child pid 5497 [ 35.343379][ T5498] 8021q: adding VLAN 0 to HW filter on device bond0 [ 35.358358][ T5498] eql: remember to turn off Van-Jacobson compression on your slave devices Starting sshd: OK syzkaller Warning: Permanently added '10.128.0.119' (ED25519) to the list of known hosts. 2025/01/17 01:02:12 ignoring optional flag "sandboxArg"="0" 2025/01/17 01:02:13 parsed 1 programs syzkaller login: [ 64.497333][ T5827] cgroup: Unknown subsys name 'net' [ 64.688014][ T5827] cgroup: Unknown subsys name 'cpuset' [ 64.695844][ T5827] cgroup: Unknown subsys name 'rlimit' [ 65.986000][ T5827] Adding 124996k swap on ./swap-file. Priority:0 extents:1 across:124996k [ 68.478062][ T5838] Bluetooth: hci0: unexpected cc 0x0c03 length: 249 > 1 [ 68.491822][ T5838] Bluetooth: hci0: unexpected cc 0x1003 length: 249 > 9 [ 68.499702][ T5838] Bluetooth: hci0: unexpected cc 0x1001 length: 249 > 9 [ 68.507716][ T5838] Bluetooth: hci0: unexpected cc 0x0c23 length: 249 > 4 [ 68.515355][ T5838] Bluetooth: hci0: unexpected cc 0x0c25 length: 249 > 3 [ 68.522717][ T5838] Bluetooth: hci0: unexpected cc 0x0c38 length: 249 > 2 [ 68.626803][ T5836] soft_limit_in_bytes is deprecated and will be removed. Please report your usecase to linux-mm@kvack.org if you depend on this functionality. [ 68.949479][ T5849] chnl_net:caif_netlink_parms(): no params data found [ 69.001315][ T5849] bridge0: port 1(bridge_slave_0) entered blocking state [ 69.009157][ T5849] bridge0: port 1(bridge_slave_0) entered disabled state [ 69.017206][ T5849] bridge_slave_0: entered allmulticast mode [ 69.023993][ T5849] bridge_slave_0: entered promiscuous mode [ 69.032937][ T5849] bridge0: port 2(bridge_slave_1) entered blocking state [ 69.040923][ T5849] bridge0: port 2(bridge_slave_1) entered disabled state [ 69.048183][ T5849] bridge_slave_1: entered allmulticast mode [ 69.055186][ T5849] bridge_slave_1: entered promiscuous mode [ 69.099539][ T5849] bond0: (slave bond_slave_0): Enslaving as an active interface with an up link [ 69.110606][ T5849] bond0: (slave bond_slave_1): Enslaving as an active interface with an up link [ 69.149310][ T5849] team0: Port device team_slave_0 added [ 69.157341][ T5849] team0: Port device team_slave_1 added [ 69.181260][ T5849] batman_adv: batadv0: Adding interface: batadv_slave_0 [ 69.188393][ T5849] batman_adv: batadv0: The MTU of interface batadv_slave_0 is too small (1500) to handle the transport of batman-adv packets. Packets going over this interface will be fragmented on layer2 which could impact the performance. Setting the MTU to 1560 would solve the problem. [ 69.214522][ T5849] batman_adv: batadv0: Not using interface batadv_slave_0 (retrying later): interface not active [ 69.227445][ T5849] batman_adv: batadv0: Adding interface: batadv_slave_1 [ 69.234939][ T5849] batman_adv: batadv0: The MTU of interface batadv_slave_1 is too small (1500) to handle the transport of batman-adv packets. Packets going over this interface will be fragmented on layer2 which could impact the performance. Setting the MTU to 1560 would solve the problem. [ 69.260966][ T5849] batman_adv: batadv0: Not using interface batadv_slave_1 (retrying later): interface not active [ 69.292187][ T5849] hsr_slave_0: entered promiscuous mode [ 69.299899][ T5849] hsr_slave_1: entered promiscuous mode [ 69.401687][ T5849] netdevsim netdevsim0 netdevsim0: renamed from eth0 [ 69.412542][ T5849] netdevsim netdevsim0 netdevsim1: renamed from eth1 [ 69.423163][ T5849] netdevsim netdevsim0 netdevsim2: renamed from eth2 [ 69.433444][ T5849] netdevsim netdevsim0 netdevsim3: renamed from eth3 [ 69.457285][ T5849] bridge0: port 2(bridge_slave_1) entered blocking state [ 69.464548][ T5849] bridge0: port 2(bridge_slave_1) entered forwarding state [ 69.472559][ T5849] bridge0: port 1(bridge_slave_0) entered blocking state [ 69.479747][ T5849] bridge0: port 1(bridge_slave_0) entered forwarding state [ 69.525311][ T5849] 8021q: adding VLAN 0 to HW filter on device bond0 [ 69.543944][ T47] bridge0: port 1(bridge_slave_0) entered disabled state [ 69.552962][ T47] bridge0: port 2(bridge_slave_1) entered disabled state [ 69.569916][ T5849] 8021q: adding VLAN 0 to HW filter on device team0 [ 69.583837][ T11] bridge0: port 1(bridge_slave_0) entered blocking state [ 69.591012][ T11] bridge0: port 1(bridge_slave_0) entered forwarding state [ 69.606025][ T11] bridge0: port 2(bridge_slave_1) entered blocking state [ 69.613109][ T11] bridge0: port 2(bridge_slave_1) entered forwarding state [ 69.729904][ T5849] 8021q: adding VLAN 0 to HW filter on device batadv0 [ 69.763826][ T5849] veth0_vlan: entered promiscuous mode [ 69.773911][ T5849] veth1_vlan: entered promiscuous mode [ 69.796217][ T5849] veth0_macvtap: entered promiscuous mode [ 69.805951][ T5849] veth1_macvtap: entered promiscuous mode [ 69.823833][ T5849] batman_adv: batadv0: Interface activated: batadv_slave_0 [ 69.840323][ T5849] batman_adv: batadv0: Interface activated: batadv_slave_1 [ 69.850930][ T5849] netdevsim netdevsim0 netdevsim0: set [1, 0] type 2 family 0 port 6081 - 0 [ 69.860456][ T5849] netdevsim netdevsim0 netdevsim1: set [1, 0] type 2 family 0 port 6081 - 0 [ 69.869321][ T5849] netdevsim netdevsim0 netdevsim2: set [1, 0] type 2 family 0 port 6081 - 0 [ 69.878192][ T5849] netdevsim netdevsim0 netdevsim3: set [1, 0] type 2 family 0 port 6081 - 0 [ 70.015049][ T1115] netdevsim netdevsim0 netdevsim3 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0 [ 70.105665][ T1115] netdevsim netdevsim0 netdevsim2 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0 [ 70.183544][ T1115] netdevsim netdevsim0 netdevsim1 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0 [ 70.226052][ T11] wlan0: Created IBSS using preconfigured BSSID 50:50:50:50:50:50 [ 70.234065][ T11] wlan0: Creating new IBSS network, BSSID 50:50:50:50:50:50 [ 70.264100][ T1115] netdevsim netdevsim0 netdevsim0 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0 [ 70.284175][ T47] wlan1: Created IBSS using preconfigured BSSID 50:50:50:50:50:50 [ 70.292371][ T47] wlan1: Creating new IBSS network, BSSID 50:50:50:50:50:50 [ 71.688573][ T1297] ieee802154 phy0 wpan0: encryption failed: -22 [ 71.695198][ T1297] ieee802154 phy1 wpan1: encryption failed: -22 2025/01/17 01:02:23 executed programs: 0 [ 72.478942][ T5143] Bluetooth: hci0: unexpected cc 0x0c03 length: 249 > 1 [ 72.488530][ T5143] Bluetooth: hci0: unexpected cc 0x1003 length: 249 > 9 [ 72.497369][ T5143] Bluetooth: hci0: unexpected cc 0x1001 length: 249 > 9 [ 72.506003][ T5143] Bluetooth: hci0: unexpected cc 0x0c23 length: 249 > 4 [ 72.513580][ T5143] Bluetooth: hci0: unexpected cc 0x0c25 length: 249 > 3 [ 72.521147][ T5143] Bluetooth: hci0: unexpected cc 0x0c38 length: 249 > 2 [ 72.616532][ T5921] chnl_net:caif_netlink_parms(): no params data found [ 72.659188][ T5921] bridge0: port 1(bridge_slave_0) entered blocking state [ 72.666773][ T5921] bridge0: port 1(bridge_slave_0) entered disabled state [ 72.673950][ T5921] bridge_slave_0: entered allmulticast mode [ 72.680925][ T5921] bridge_slave_0: entered promiscuous mode [ 72.688797][ T5921] bridge0: port 2(bridge_slave_1) entered blocking state [ 72.696074][ T5921] bridge0: port 2(bridge_slave_1) entered disabled state [ 72.703227][ T5921] bridge_slave_1: entered allmulticast mode [ 72.710291][ T5921] bridge_slave_1: entered promiscuous mode [ 72.730652][ T5921] bond0: (slave bond_slave_0): Enslaving as an active interface with an up link [ 72.741845][ T5921] bond0: (slave bond_slave_1): Enslaving as an active interface with an up link [ 72.766414][ T5921] team0: Port device team_slave_0 added [ 72.774107][ T5921] team0: Port device team_slave_1 added [ 72.795379][ T5921] batman_adv: batadv0: Adding interface: batadv_slave_0 [ 72.802365][ T5921] batman_adv: batadv0: The MTU of interface batadv_slave_0 is too small (1500) to handle the transport of batman-adv packets. Packets going over this interface will be fragmented on layer2 which could impact the performance. Setting the MTU to 1560 would solve the problem. [ 72.828476][ T5921] batman_adv: batadv0: Not using interface batadv_slave_0 (retrying later): interface not active [ 72.840179][ T5921] batman_adv: batadv0: Adding interface: batadv_slave_1 [ 72.847236][ T5921] batman_adv: batadv0: The MTU of interface batadv_slave_1 is too small (1500) to handle the transport of batman-adv packets. Packets going over this interface will be fragmented on layer2 which could impact the performance. Setting the MTU to 1560 would solve the problem. [ 72.873611][ T5921] batman_adv: batadv0: Not using interface batadv_slave_1 (retrying later): interface not active [ 72.907693][ T5921] hsr_slave_0: entered promiscuous mode [ 72.913855][ T5921] hsr_slave_1: entered promiscuous mode [ 72.920043][ T5921] debugfs: Directory 'hsr0' with parent 'hsr' already present! [ 72.927874][ T5921] Cannot create hsr debugfs directory [ 73.597776][ T1115] bridge_slave_1: left allmulticast mode [ 73.603686][ T1115] bridge_slave_1: left promiscuous mode [ 73.613750][ T1115] bridge0: port 2(bridge_slave_1) entered disabled state [ 73.630232][ T1115] bridge_slave_0: left allmulticast mode [ 73.636558][ T1115] bridge_slave_0: left promiscuous mode [ 73.642316][ T1115] bridge0: port 1(bridge_slave_0) entered disabled state [ 73.980902][ T1115] bond0 (unregistering): (slave bond_slave_0): Releasing backup interface [ 73.992023][ T1115] bond0 (unregistering): (slave bond_slave_1): Releasing backup interface [ 74.002479][ T1115] bond0 (unregistering): Released all slaves [ 74.136433][ T5921] ------------[ cut here ]------------ [ 74.141948][ T5921] DEBUG_LOCKS_WARN_ON(lock->magic != lock) [ 74.142038][ T5921] WARNING: CPU: 1 PID: 5921 at kernel/locking/mutex.c:564 __mutex_lock+0xdac/0xee0 [ 74.157367][ T5921] Modules linked in: [ 74.161303][ T5921] CPU: 1 UID: 0 PID: 5921 Comm: syz-executor Not tainted 6.13.0-rc7-syzkaller-g2ee738e90e80-dirty #0 [ 74.172300][ T5921] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 [ 74.182530][ T5921] RIP: 0010:__mutex_lock+0xdac/0xee0 [ 74.187897][ T5921] Code: 0f b6 04 38 84 c0 0f 85 1a 01 00 00 83 3d 6f 40 4c 04 00 75 19 90 48 c7 c7 60 84 0a 8c 48 c7 c6 00 85 0a 8c e8 f5 dc 91 f5 90 <0f> 0b 90 90 90 e9 c7 f3 ff ff 90 0f 0b 90 e9 29 f8 ff ff 90 0f 0b [ 74.207611][ T5921] RSP: 0018:ffffc90004167580 EFLAGS: 00010246 [ 74.213712][ T5921] RAX: ba901427d25d9000 RBX: ffff888029ab8cb0 RCX: ffff88807d8bda00 [ 74.222003][ T5921] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 [ 74.230319][ T5921] RBP: ffffc90004167710 R08: ffffffff81602ac2 R09: 1ffff110170e519a [ 74.238419][ T5921] R10: dffffc0000000000 R11: ffffed10170e519b R12: 0000000000000000 [ 74.246481][ T5921] R13: 0000000000000000 R14: 1ffff9200082cec4 R15: dffffc0000000000 [ 74.254567][ T5921] FS: 00005555934e9500(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 [ 74.263529][ T5921] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 74.270198][ T5921] CR2: 00005587809e5088 CR3: 000000007d896000 CR4: 00000000003526f0 [ 74.278238][ T5921] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 74.286271][ T5921] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 74.294261][ T5921] Call Trace: [ 74.297606][ T5921] [ 74.300543][ T5921] ? __warn+0x165/0x4d0 [ 74.304783][ T5921] ? __mutex_lock+0xdac/0xee0 [ 74.309485][ T5921] ? report_bug+0x2b3/0x500 [ 74.314017][ T5921] ? __mutex_lock+0xdac/0xee0 [ 74.318800][ T5921] ? handle_bug+0x60/0x90 [ 74.323160][ T5921] ? exc_invalid_op+0x1a/0x50 [ 74.327987][ T5921] ? asm_exc_invalid_op+0x1a/0x20 [ 74.333046][ T5921] ? __warn_printk+0x292/0x360 [ 74.337887][ T5921] ? __mutex_lock+0xdac/0xee0 [ 74.342599][ T5921] ? free_netdev+0x2d9/0x610 [ 74.347280][ T5921] ? __pfx___mutex_lock+0x10/0x10 [ 74.352332][ T5921] ? __pfx_kvfree_call_rcu+0x10/0x10 [ 74.357727][ T5921] ? dev_addr_check+0x6f/0x240 [ 74.362516][ T5921] ? dev_addr_flush+0x192/0x210 [ 74.367435][ T5921] free_netdev+0x2d9/0x610 [ 74.371870][ T5921] netdev_run_todo+0xf21/0x10d0 [ 74.376752][ T5921] ? __pfx_netdev_run_todo+0x10/0x10 [ 74.382045][ T5921] ? lockdep_hardirqs_on+0x99/0x150 [ 74.387287][ T5921] ? nsim_destroy+0x399/0x620 [ 74.391976][ T5921] ? kfree+0x196/0x430 [ 74.396069][ T5921] ? nsim_destroy+0x399/0x620 [ 74.400749][ T5921] nsim_destroy+0x3c3/0x620 [ 74.405343][ T5921] __nsim_dev_port_del+0x14b/0x1b0 [ 74.410993][ T5921] nsim_dev_reload_destroy+0x28a/0x490 [ 74.416503][ T5921] ? __pfx_nsim_bus_remove+0x10/0x10 [ 74.421790][ T5921] nsim_drv_remove+0x58/0x160 [ 74.426524][ T5921] device_release_driver_internal+0x4a9/0x7c0 [ 74.432600][ T5921] bus_remove_device+0x34f/0x420 [ 74.437622][ T5921] device_del+0x57a/0x9b0 [ 74.441957][ T5921] ? __pfx_device_del+0x10/0x10 [ 74.446978][ T5921] ? kernfs_fop_write_iter+0x1ea/0x500 [ 74.452470][ T5921] device_unregister+0x20/0xc0 [ 74.457288][ T5921] del_device_store+0x363/0x480 [ 74.462159][ T5921] ? __pfx_del_device_store+0x10/0x10 [ 74.467584][ T5921] ? sysfs_kf_write+0x182/0x2a0 [ 74.472441][ T5921] ? bus_attr_store+0x4f/0xb0 [ 74.477156][ T5921] ? __pfx_sysfs_kf_write+0x10/0x10 [ 74.482360][ T5921] kernfs_fop_write_iter+0x3a0/0x500 [ 74.487699][ T5921] vfs_write+0xaeb/0xd30 [ 74.491946][ T5921] ? __pfx_kernfs_fop_write_iter+0x10/0x10 [ 74.497801][ T5921] ? __pfx_vfs_write+0x10/0x10 [ 74.502573][ T5921] ? do_sys_openat2+0x17a/0x1d0 [ 74.507561][ T5921] ? __pfx_do_sys_openat2+0x10/0x10 [ 74.512771][ T5921] ? blkcg_maybe_throttle_current+0x1ab/0xb80 [ 74.518896][ T5921] ksys_write+0x18f/0x2b0 [ 74.523233][ T5921] ? __pfx_ksys_write+0x10/0x10 [ 74.528267][ T5921] ? do_syscall_64+0x100/0x230 [ 74.533068][ T5921] ? do_syscall_64+0xb6/0x230 [ 74.537822][ T5921] do_syscall_64+0xf3/0x230 [ 74.542346][ T5921] ? clear_bhb_loop+0x35/0x90 [ 74.547158][ T5921] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 74.553089][ T5921] RIP: 0033:0x7f63aed847df [ 74.557581][ T5921] Code: 89 54 24 18 48 89 74 24 10 89 7c 24 08 e8 f9 92 02 00 48 8b 54 24 18 48 8b 74 24 10 41 89 c0 8b 7c 24 08 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 48 89 44 24 08 e8 4c 93 02 00 48 [ 74.577303][ T5143] Bluetooth: hci0: command tx timeout [ 74.577305][ T5921] RSP: 002b:00007ffc85bfda70 EFLAGS: 00000293 ORIG_RAX: 0000000000000001 [ 74.591211][ T5921] RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 00007f63aed847df [ 74.599247][ T5921] RDX: 0000000000000001 RSI: 00007ffc85bfdac0 RDI: 0000000000000005 [ 74.607276][ T5921] RBP: 00007f63aee02cb5 R08: 0000000000000000 R09: 00007ffc85bfd8c7 [ 74.615288][ T5921] R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000001 [ 74.623272][ T5921] R13: 00007ffc85bfdac0 R14: 00007f63afaa4620 R15: 0000000000000003 [ 74.631296][ T5921] [ 74.634383][ T5921] Kernel panic - not syncing: kernel: panic_on_warn set ... [ 74.641674][ T5921] CPU: 1 UID: 0 PID: 5921 Comm: syz-executor Not tainted 6.13.0-rc7-syzkaller-g2ee738e90e80-dirty #0 [ 74.652631][ T5921] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 [ 74.662738][ T5921] Call Trace: [ 74.666018][ T5921] [ 74.668951][ T5921] dump_stack_lvl+0x241/0x360 [ 74.673631][ T5921] ? __pfx_dump_stack_lvl+0x10/0x10 [ 74.678827][ T5921] ? __pfx__printk+0x10/0x10 [ 74.683411][ T5921] ? _printk+0xd5/0x120 [ 74.687556][ T5921] ? __init_begin+0x41000/0x41000 [ 74.692577][ T5921] ? vscnprintf+0x5d/0x90 [ 74.696893][ T5921] panic+0x349/0x880 [ 74.700784][ T5921] ? __warn+0x174/0x4d0 [ 74.704933][ T5921] ? __pfx_panic+0x10/0x10 [ 74.709345][ T5921] __warn+0x344/0x4d0 [ 74.713315][ T5921] ? __mutex_lock+0xdac/0xee0 [ 74.717985][ T5921] report_bug+0x2b3/0x500 [ 74.722313][ T5921] ? __mutex_lock+0xdac/0xee0 [ 74.726988][ T5921] handle_bug+0x60/0x90 [ 74.731142][ T5921] exc_invalid_op+0x1a/0x50 [ 74.735644][ T5921] asm_exc_invalid_op+0x1a/0x20 [ 74.740500][ T5921] RIP: 0010:__mutex_lock+0xdac/0xee0 [ 74.745783][ T5921] Code: 0f b6 04 38 84 c0 0f 85 1a 01 00 00 83 3d 6f 40 4c 04 00 75 19 90 48 c7 c7 60 84 0a 8c 48 c7 c6 00 85 0a 8c e8 f5 dc 91 f5 90 <0f> 0b 90 90 90 e9 c7 f3 ff ff 90 0f 0b 90 e9 29 f8 ff ff 90 0f 0b [ 74.765385][ T5921] RSP: 0018:ffffc90004167580 EFLAGS: 00010246 [ 74.771447][ T5921] RAX: ba901427d25d9000 RBX: ffff888029ab8cb0 RCX: ffff88807d8bda00 [ 74.779418][ T5921] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 [ 74.787466][ T5921] RBP: ffffc90004167710 R08: ffffffff81602ac2 R09: 1ffff110170e519a [ 74.795445][ T5921] R10: dffffc0000000000 R11: ffffed10170e519b R12: 0000000000000000 [ 74.803430][ T5921] R13: 0000000000000000 R14: 1ffff9200082cec4 R15: dffffc0000000000 [ 74.811487][ T5921] ? __warn_printk+0x292/0x360 [ 74.816262][ T5921] ? free_netdev+0x2d9/0x610 [ 74.820937][ T5921] ? __pfx___mutex_lock+0x10/0x10 [ 74.825969][ T5921] ? __pfx_kvfree_call_rcu+0x10/0x10 [ 74.831336][ T5921] ? dev_addr_check+0x6f/0x240 [ 74.836097][ T5921] ? dev_addr_flush+0x192/0x210 [ 74.840941][ T5921] free_netdev+0x2d9/0x610 [ 74.845355][ T5921] netdev_run_todo+0xf21/0x10d0 [ 74.850208][ T5921] ? __pfx_netdev_run_todo+0x10/0x10 [ 74.855573][ T5921] ? lockdep_hardirqs_on+0x99/0x150 [ 74.860766][ T5921] ? nsim_destroy+0x399/0x620 [ 74.865436][ T5921] ? kfree+0x196/0x430 [ 74.869499][ T5921] ? nsim_destroy+0x399/0x620 [ 74.874170][ T5921] nsim_destroy+0x3c3/0x620 [ 74.878690][ T5921] __nsim_dev_port_del+0x14b/0x1b0 [ 74.883823][ T5921] nsim_dev_reload_destroy+0x28a/0x490 [ 74.889309][ T5921] ? __pfx_nsim_bus_remove+0x10/0x10 [ 74.894648][ T5921] nsim_drv_remove+0x58/0x160 [ 74.899330][ T5921] device_release_driver_internal+0x4a9/0x7c0 [ 74.905397][ T5921] bus_remove_device+0x34f/0x420 [ 74.910334][ T5921] device_del+0x57a/0x9b0 [ 74.914661][ T5921] ? __pfx_device_del+0x10/0x10 [ 74.919507][ T5921] ? kernfs_fop_write_iter+0x1ea/0x500 [ 74.924963][ T5921] device_unregister+0x20/0xc0 [ 74.929725][ T5921] del_device_store+0x363/0x480 [ 74.934569][ T5921] ? __pfx_del_device_store+0x10/0x10 [ 74.939979][ T5921] ? sysfs_kf_write+0x182/0x2a0 [ 74.944856][ T5921] ? bus_attr_store+0x4f/0xb0 [ 74.949539][ T5921] ? __pfx_sysfs_kf_write+0x10/0x10 [ 74.954747][ T5921] kernfs_fop_write_iter+0x3a0/0x500 [ 74.960039][ T5921] vfs_write+0xaeb/0xd30 [ 74.964278][ T5921] ? __pfx_kernfs_fop_write_iter+0x10/0x10 [ 74.970089][ T5921] ? __pfx_vfs_write+0x10/0x10 [ 74.974846][ T5921] ? do_sys_openat2+0x17a/0x1d0 [ 74.979696][ T5921] ? __pfx_do_sys_openat2+0x10/0x10 [ 74.984925][ T5921] ? blkcg_maybe_throttle_current+0x1ab/0xb80 [ 74.991006][ T5921] ksys_write+0x18f/0x2b0 [ 74.995340][ T5921] ? __pfx_ksys_write+0x10/0x10 [ 75.000181][ T5921] ? do_syscall_64+0x100/0x230 [ 75.004945][ T5921] ? do_syscall_64+0xb6/0x230 [ 75.009620][ T5921] do_syscall_64+0xf3/0x230 [ 75.014121][ T5921] ? clear_bhb_loop+0x35/0x90 [ 75.018792][ T5921] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 75.024708][ T5921] RIP: 0033:0x7f63aed847df [ 75.029146][ T5921] Code: 89 54 24 18 48 89 74 24 10 89 7c 24 08 e8 f9 92 02 00 48 8b 54 24 18 48 8b 74 24 10 41 89 c0 8b 7c 24 08 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 48 89 44 24 08 e8 4c 93 02 00 48 [ 75.048751][ T5921] RSP: 002b:00007ffc85bfda70 EFLAGS: 00000293 ORIG_RAX: 0000000000000001 [ 75.057167][ T5921] RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 00007f63aed847df [ 75.065221][ T5921] RDX: 0000000000000001 RSI: 00007ffc85bfdac0 RDI: 0000000000000005 [ 75.073180][ T5921] RBP: 00007f63aee02cb5 R08: 0000000000000000 R09: 00007ffc85bfd8c7 [ 75.081140][ T5921] R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000001 [ 75.089103][ T5921] R13: 00007ffc85bfdac0 R14: 00007f63afaa4620 R15: 0000000000000003 [ 75.097075][ T5921] [ 75.100357][ T5921] Kernel Offset: disabled [ 75.104699][ T5921] Rebooting in 86400 seconds.. syzkaller build log: go env (err=) GO111MODULE='auto' GOARCH='amd64' GOBIN='' GOCACHE='/syzkaller/.cache/go-build' GOENV='/syzkaller/.config/go/env' GOEXE='' GOEXPERIMENT='' GOFLAGS='' GOHOSTARCH='amd64' GOHOSTOS='linux' GOINSECURE='' GOMODCACHE='/syzkaller/jobs-2/linux/gopath/pkg/mod' GONOPROXY='' GONOSUMDB='' GOOS='linux' GOPATH='/syzkaller/jobs-2/linux/gopath' GOPRIVATE='' GOPROXY='https://proxy.golang.org,direct' GOROOT='/usr/local/go' GOSUMDB='sum.golang.org' GOTMPDIR='' GOTOOLCHAIN='auto' GOTOOLDIR='/usr/local/go/pkg/tool/linux_amd64' GOVCS='' GOVERSION='go1.22.7' GCCGO='gccgo' GOAMD64='v1' AR='ar' CC='gcc' CXX='g++' CGO_ENABLED='1' GOMOD='/syzkaller/jobs-2/linux/gopath/src/github.com/google/syzkaller/go.mod' GOWORK='' CGO_CFLAGS='-O2 -g' CGO_CPPFLAGS='' CGO_CXXFLAGS='-O2 -g' CGO_FFLAGS='-O2 -g' CGO_LDFLAGS='-O2 -g' PKG_CONFIG='pkg-config' GOGCCFLAGS='-fPIC -m64 -pthread -Wl,--no-gc-sections -fmessage-length=0 -ffile-prefix-map=/tmp/go-build486474101=/tmp/go-build -gno-record-gcc-switches' git status (err=) HEAD detached at b4fbdbd43 nothing to commit, working tree clean tput: No value for $TERM and no -T specified tput: No value for $TERM and no -T specified Makefile:31: run command via tools/syz-env for best compatibility, see: Makefile:32: https://github.com/google/syzkaller/blob/master/docs/contributing.md#using-syz-env go list -f '{{.Stale}}' ./sys/syz-sysgen | grep -q false || go install ./sys/syz-sysgen make .descriptions tput: No value for $TERM and no -T specified tput: No value for $TERM and no -T specified Makefile:31: run command via tools/syz-env for best compatibility, see: Makefile:32: https://github.com/google/syzkaller/blob/master/docs/contributing.md#using-syz-env bin/syz-sysgen go fmt ./sys/... >/dev/null touch .descriptions GOOS=linux GOARCH=amd64 go build "-ldflags=-s -w -X github.com/google/syzkaller/prog.GitRevision=b4fbdbd43bfd6a8d0392238f019dc602335346d0 -X 'github.com/google/syzkaller/prog.gitRevisionDate=20241222-073428'" "-tags=syz_target syz_os_linux syz_arch_amd64 " -o ./bin/linux_amd64/syz-execprog github.com/google/syzkaller/tools/syz-execprog mkdir -p ./bin/linux_amd64 g++ -o ./bin/linux_amd64/syz-executor executor/executor.cc \ -m64 -O2 -pthread -Wall -Werror -Wparentheses -Wunused-const-variable -Wframe-larger-than=16384 -Wno-stringop-overflow -Wno-array-bounds -Wno-format-overflow -Wno-unused-but-set-variable -Wno-unused-command-line-argument -static-pie -std=c++17 -I. -Iexecutor/_include -fpermissive -w -DGOOS_linux=1 -DGOARCH_amd64=1 \ -DHOSTGOOS_linux=1 -DGIT_REVISION=\"b4fbdbd43bfd6a8d0392238f019dc602335346d0\" /usr/bin/ld: /tmp/ccXEI1a4.o: in function `Connection::Connect(char const*, char const*)': executor.cc:(.text._ZN10Connection7ConnectEPKcS1_[_ZN10Connection7ConnectEPKcS1_]+0x104): warning: Using 'gethostbyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking