possible deadlock in lapbeth_device_event
============================================
WARNING: possible recursive locking detected
6.14.0-syzkaller-10514-g7f2ff7b62617 #0 Not tainted
--------------------------------------------
dhcpcd/5499 is trying to acquire lock:
ffff888032308d30 (&dev->lock){+.+.}-{4:4}, at: netdev_lock include/linux/netdevice.h:2751 [inline]
ffff888032308d30 (&dev->lock){+.+.}-{4:4}, at: netif_napi_add_weight include/linux/netdevice.h:2783 [inline]
ffff888032308d30 (&dev->lock){+.+.}-{4:4}, at: lapbeth_new_device drivers/net/wan/lapbether.c:415 [inline]
ffff888032308d30 (&dev->lock){+.+.}-{4:4}, at: lapbeth_device_event+0x586/0xbe0 drivers/net/wan/lapbether.c:460
but task is already holding lock:
ffff8880741e4d30 (&dev->lock){+.+.}-{4:4}, at: netdev_lock include/linux/netdevice.h:2751 [inline]
ffff8880741e4d30 (&dev->lock){+.+.}-{4:4}, at: netdev_lock_ops include/net/netdev_lock.h:42 [inline]
ffff8880741e4d30 (&dev->lock){+.+.}-{4:4}, at: netdev_lock_ops include/net/netdev_lock.h:39 [inline]
ffff8880741e4d30 (&dev->lock){+.+.}-{4:4}, at: dev_change_flags+0xa7/0x250 net/core/dev_api.c:67
other info that might help us debug this:
Possible unsafe locking scenario:
CPU0
----
lock(&dev->lock);
lock(&dev->lock);
*** DEADLOCK ***
May be due to missing lock nesting notation
2 locks held by dhcpcd/5499:
#0: ffffffff901200a8 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_net_lock include/linux/rtnetlink.h:130 [inline]
#0: ffffffff901200a8 (rtnl_mutex){+.+.}-{4:4}, at: devinet_ioctl+0x26d/0x1f50 net/ipv4/devinet.c:1121
#1: ffff8880741e4d30 (&dev->lock){+.+.}-{4:4}, at: netdev_lock include/linux/netdevice.h:2751 [inline]
#1: ffff8880741e4d30 (&dev->lock){+.+.}-{4:4}, at: netdev_lock_ops include/net/netdev_lock.h:42 [inline]
#1: ffff8880741e4d30 (&dev->lock){+.+.}-{4:4}, at: netdev_lock_ops include/net/netdev_lock.h:39 [inline]
#1: ffff8880741e4d30 (&dev->lock){+.+.}-{4:4}, at: dev_change_flags+0xa7/0x250 net/core/dev_api.c:67
stack backtrace:
CPU: 0 UID: 0 PID: 5499 Comm: dhcpcd Not tainted 6.14.0-syzkaller-10514-g7f2ff7b62617 #0 PREEMPT(full)
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025
Call Trace:
__dump_stack lib/dump_stack.c:94 [inline]
dump_stack_lvl+0x116/0x1f0 lib/dump_stack.c:120
print_deadlock_bug+0x1e9/0x240 kernel/locking/lockdep.c:3042
check_deadlock kernel/locking/lockdep.c:3094 [inline]
validate_chain kernel/locking/lockdep.c:3896 [inline]
__lock_acquire+0xff7/0x1ba0 kernel/locking/lockdep.c:5235
lock_acquire kernel/locking/lockdep.c:5866 [inline]
lock_acquire+0x179/0x350 kernel/locking/lockdep.c:5823
__mutex_lock_common kernel/locking/mutex.c:587 [inline]
__mutex_lock+0x199/0xb90 kernel/locking/mutex.c:732
netdev_lock include/linux/netdevice.h:2751 [inline]
netif_napi_add_weight include/linux/netdevice.h:2783 [inline]
lapbeth_new_device drivers/net/wan/lapbether.c:415 [inline]
lapbeth_device_event+0x586/0xbe0 drivers/net/wan/lapbether.c:460
notifier_call_chain+0xbc/0x410 kernel/notifier.c:85
call_netdevice_notifiers_info+0xbe/0x140 net/core/dev.c:2180
call_netdevice_notifiers_extack net/core/dev.c:2218 [inline]
call_netdevice_notifiers net/core/dev.c:2232 [inline]
__dev_notify_flags+0x12c/0x2e0 net/core/dev.c:9409
netif_change_flags+0x108/0x160 net/core/dev.c:9438
dev_change_flags+0xba/0x250 net/core/dev_api.c:68
devinet_ioctl+0x11d5/0x1f50 net/ipv4/devinet.c:1200
inet_ioctl+0x3a7/0x3f0 net/ipv4/af_inet.c:1001
sock_do_ioctl+0x118/0x280 net/socket.c:1190
sock_ioctl+0x227/0x6b0 net/socket.c:1311
vfs_ioctl fs/ioctl.c:51 [inline]
__do_sys_ioctl fs/ioctl.c:906 [inline]
__se_sys_ioctl fs/ioctl.c:892 [inline]
__x64_sys_ioctl+0x193/0x200 fs/ioctl.c:892
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xcd/0x260 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f7a648efd49
Code: 5c c3 48 8d 44 24 08 48 89 54 24 e0 48 89 44 24 c0 48 8d 44 24 d0 48 89 44 24 c8 b8 10 00 00 00 c7 44 24 b8 10 00 00 00 0f 05 <41> 89 c0 3d 00 f0 ff ff 76 10 48 8b 15 ae 60 0d 00 f7 d8 41 83 c8
RSP: 002b:00007ffdf85fe168 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f7a648216c0 RCX: 00007f7a648efd49
RDX: 00007ffdf860e358 RSI: 0000000000008914 RDI: 000000000000000e
RBP: 00007ffdf861e518 R08: 00007ffdf860e318 R09: 00007ffdf860e2c8
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffdf860e358 R14: 0000000000000028 R15: 0000000000008914
Warning: Permanently added '10.128.1.85' (ED25519) to the list of known hosts.
2025/03/30 15:00:54 ignoring optional flag "sandboxArg"="0"
2025/03/30 15:00:54 parsed 1 programs
[ 85.852440][ T5832] cgroup: Unknown subsys name 'net'
[ 85.999698][ T5832] cgroup: Unknown subsys name 'cpuset'
[ 86.008767][ T5832] cgroup: Unknown subsys name 'rlimit'
[ 87.460167][ T5832] Adding 124996k swap on ./swap-file. Priority:0 extents:1 across:124996k
[ 90.005671][ T5840] 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.
[ 90.411561][ T55] Bluetooth: hci0: unexpected cc 0x0c03 length: 249 > 1
[ 90.420708][ T55] Bluetooth: hci0: unexpected cc 0x1003 length: 249 > 9
[ 90.428749][ T55] Bluetooth: hci0: unexpected cc 0x1001 length: 249 > 9
[ 90.440174][ T55] Bluetooth: hci0: unexpected cc 0x0c23 length: 249 > 4
[ 90.448431][ T55] Bluetooth: hci0: unexpected cc 0x0c38 length: 249 > 2
[ 92.237130][ T13] wlan0: Created IBSS using preconfigured BSSID 50:50:50:50:50:50
[ 92.245030][ T13] wlan0: Creating new IBSS network, BSSID 50:50:50:50:50:50
[ 92.273796][ T12] wlan1: Created IBSS using preconfigured BSSID 50:50:50:50:50:50
[ 92.281793][ T12] wlan1: Creating new IBSS network, BSSID 50:50:50:50:50:50
[ 93.425441][ T5920] chnl_net:caif_netlink_parms(): no params data found
[ 93.507678][ T5920] bridge0: port 1(bridge_slave_0) entered blocking state
[ 93.514965][ T5920] bridge0: port 1(bridge_slave_0) entered disabled state
[ 93.523820][ T5920] bridge_slave_0: entered allmulticast mode
[ 93.531317][ T5920] bridge_slave_0: entered promiscuous mode
[ 93.540537][ T5920] bridge0: port 2(bridge_slave_1) entered blocking state
[ 93.548481][ T5920] bridge0: port 2(bridge_slave_1) entered disabled state
[ 93.555617][ T5920] bridge_slave_1: entered allmulticast mode
[ 93.562710][ T5920] bridge_slave_1: entered promiscuous mode
[ 93.588805][ T5920] bond0: (slave bond_slave_0): Enslaving as an active interface with an up link
[ 93.600485][ T5920] bond0: (slave bond_slave_1): Enslaving as an active interface with an up link
[ 93.629356][ T5920] team0: Port device team_slave_0 added
[ 93.656312][ T5920] team0: Port device team_slave_1 added
[ 93.680439][ T5920] batman_adv: batadv0: Adding interface: batadv_slave_0
[ 93.688554][ T5920] 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.
[ 93.715191][ T5920] batman_adv: batadv0: Not using interface batadv_slave_0 (retrying later): interface not active
[ 93.728649][ T5920] batman_adv: batadv0: Adding interface: batadv_slave_1
[ 93.735635][ T5920] 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.
[ 93.761736][ T5920] batman_adv: batadv0: Not using interface batadv_slave_1 (retrying later): interface not active
[ 93.802539][ T5920] hsr_slave_0: entered promiscuous mode
[ 93.808868][ T5920] hsr_slave_1: entered promiscuous mode
[ 93.932056][ T5920] netdevsim netdevsim0 netdevsim0: renamed from eth0
[ 93.944706][ T5920] netdevsim netdevsim0 netdevsim1: renamed from eth1
[ 93.956484][ T5920] netdevsim netdevsim0 netdevsim2: renamed from eth2
[ 93.966184][ T5920] netdevsim netdevsim0 netdevsim3: renamed from eth3
[ 93.988614][ T5920] bridge0: port 2(bridge_slave_1) entered blocking state
[ 93.995757][ T5920] bridge0: port 2(bridge_slave_1) entered forwarding state
[ 94.003667][ T5920] bridge0: port 1(bridge_slave_0) entered blocking state
[ 94.010786][ T5920] bridge0: port 1(bridge_slave_0) entered forwarding state
[ 94.060708][ T5920] 8021q: adding VLAN 0 to HW filter on device bond0
[ 94.080581][ T5920] 8021q: adding VLAN 0 to HW filter on device team0
[ 94.092078][ T1324] bridge0: port 1(bridge_slave_0) entered disabled state
[ 94.102061][ T1324] bridge0: port 2(bridge_slave_1) entered disabled state
[ 94.119837][ T1324] bridge0: port 1(bridge_slave_0) entered blocking state
[ 94.126997][ T1324] bridge0: port 1(bridge_slave_0) entered forwarding state
[ 94.140927][ T12] bridge0: port 2(bridge_slave_1) entered blocking state
[ 94.148066][ T12] bridge0: port 2(bridge_slave_1) entered forwarding state
[ 94.303586][ T5920] 8021q: adding VLAN 0 to HW filter on device batadv0
[ 94.334956][ T5920] veth0_vlan: entered promiscuous mode
[ 94.349511][ T5920] veth1_vlan: entered promiscuous mode
[ 94.373510][ T5920] veth0_macvtap: entered promiscuous mode
[ 94.382449][ T5920] veth1_macvtap: entered promiscuous mode
[ 94.398734][ T5920] batman_adv: batadv0: Interface activated: batadv_slave_0
[ 94.413492][ T5920] batman_adv: batadv0: Interface activated: batadv_slave_1
[ 94.425814][ T5920] netdevsim netdevsim0 netdevsim0: set [1, 0] type 2 family 0 port 6081 - 0
[ 94.435659][ T5920] netdevsim netdevsim0 netdevsim1: set [1, 0] type 2 family 0 port 6081 - 0
[ 94.444942][ T5920] netdevsim netdevsim0 netdevsim2: set [1, 0] type 2 family 0 port 6081 - 0
[ 94.454054][ T5920] netdevsim netdevsim0 netdevsim3: set [1, 0] type 2 family 0 port 6081 - 0
[ 94.595949][ T13] netdevsim netdevsim0 netdevsim3 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0
[ 94.705183][ T13] netdevsim netdevsim0 netdevsim2 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0
[ 94.767469][ T13] netdevsim netdevsim0 netdevsim1 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0
[ 94.834970][ T13] netdevsim netdevsim0 netdevsim0 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0
2025/03/30 15:01:08 executed programs: 0
[ 95.115363][ T5146] Bluetooth: hci0: unexpected cc 0x0c03 length: 249 > 1
[ 95.123192][ T5146] Bluetooth: hci0: unexpected cc 0x1003 length: 249 > 9
[ 95.132596][ T5146] Bluetooth: hci0: unexpected cc 0x1001 length: 249 > 9
[ 95.141701][ T5146] Bluetooth: hci0: unexpected cc 0x0c23 length: 249 > 4
[ 95.150285][ T5146] Bluetooth: hci0: unexpected cc 0x0c38 length: 249 > 2
[ 95.276977][ T5942] chnl_net:caif_netlink_parms(): no params data found
[ 95.337085][ T5942] bridge0: port 1(bridge_slave_0) entered blocking state
[ 95.345633][ T5942] bridge0: port 1(bridge_slave_0) entered disabled state
[ 95.353551][ T5942] bridge_slave_0: entered allmulticast mode
[ 95.360513][ T5942] bridge_slave_0: entered promiscuous mode
[ 95.368963][ T5942] bridge0: port 2(bridge_slave_1) entered blocking state
[ 95.376634][ T5942] bridge0: port 2(bridge_slave_1) entered disabled state
[ 95.384629][ T5942] bridge_slave_1: entered allmulticast mode
[ 95.393424][ T5942] bridge_slave_1: entered promiscuous mode
[ 95.420209][ T5942] bond0: (slave bond_slave_0): Enslaving as an active interface with an up link
[ 95.431586][ T5942] bond0: (slave bond_slave_1): Enslaving as an active interface with an up link
[ 95.460275][ T5942] team0: Port device team_slave_0 added
[ 95.469117][ T5942] team0: Port device team_slave_1 added
[ 95.493044][ T5942] batman_adv: batadv0: Adding interface: batadv_slave_0
[ 95.500482][ T5942] 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.
[ 95.526833][ T5942] batman_adv: batadv0: Not using interface batadv_slave_0 (retrying later): interface not active
[ 95.539492][ T5942] batman_adv: batadv0: Adding interface: batadv_slave_1
[ 95.547270][ T5942] 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.
[ 95.573769][ T5942] batman_adv: batadv0: Not using interface batadv_slave_1 (retrying later): interface not active
[ 95.613471][ T5942] hsr_slave_0: entered promiscuous mode
[ 95.619744][ T5942] hsr_slave_1: entered promiscuous mode
[ 95.625715][ T5942] debugfs: Directory 'hsr0' with parent 'hsr' already present!
[ 95.633916][ T5942] Cannot create hsr debugfs directory
[ 96.337855][ T24] cfg80211: failed to load regulatory.db
[ 97.226620][ T5146] Bluetooth: hci0: command tx timeout
[ 98.030641][ T13] bridge_slave_1: left allmulticast mode
[ 98.040282][ T13] bridge_slave_1: left promiscuous mode
[ 98.047640][ T13] bridge0: port 2(bridge_slave_1) entered disabled state
[ 98.058980][ T13] bridge_slave_0: left allmulticast mode
[ 98.064648][ T13] bridge_slave_0: left promiscuous mode
[ 98.070604][ T13] bridge0: port 1(bridge_slave_0) entered disabled state
[ 98.263163][ T13] bond0 (unregistering): (slave bond_slave_0): Releasing backup interface
[ 98.273956][ T13] bond0 (unregistering): (slave bond_slave_1): Releasing backup interface
[ 98.283999][ T13] bond0 (unregistering): Released all slaves
[ 98.369005][ T13] hsr_slave_0: left promiscuous mode
[ 98.375073][ T13] hsr_slave_1: left promiscuous mode
[ 98.381483][ T13] batman_adv: batadv0: Interface deactivated: batadv_slave_0
[ 98.391740][ T13] batman_adv: batadv0: Removing interface: batadv_slave_0
[ 98.400549][ T13] batman_adv: batadv0: Interface deactivated: batadv_slave_1
[ 98.410295][ T13] batman_adv: batadv0: Removing interface: batadv_slave_1
[ 98.428805][ T13] veth1_macvtap: left promiscuous mode
[ 98.434863][ T13] veth0_macvtap: left promiscuous mode
[ 98.440532][ T13] veth1_vlan: left promiscuous mode
[ 98.446042][ T13] veth0_vlan: left promiscuous mode
[ 98.751543][ T13] team0 (unregistering): Port device team_slave_1 removed
[ 98.778900][ T13] team0 (unregistering): Port device team_slave_0 removed
[ 98.949620][ T5499]
[ 98.951989][ T5499] ============================================
[ 98.958147][ T5499] WARNING: possible recursive locking detected
[ 98.964286][ T5499] 6.14.0-syzkaller-10514-g7f2ff7b62617 #0 Not tainted
[ 98.971058][ T5499] --------------------------------------------
[ 98.977195][ T5499] dhcpcd/5499 is trying to acquire lock:
[ 98.982827][ T5499] ffff888032308d30 (&dev->lock){+.+.}-{4:4}, at: lapbeth_device_event+0x586/0xbe0
[ 98.992088][ T5499]
[ 98.992088][ T5499] but task is already holding lock:
[ 98.999445][ T5499] ffff8880741e4d30 (&dev->lock){+.+.}-{4:4}, at: dev_change_flags+0xa7/0x250
[ 99.008284][ T5499]
[ 99.008284][ T5499] other info that might help us debug this:
[ 99.016360][ T5499] Possible unsafe locking scenario:
[ 99.016360][ T5499]
[ 99.023819][ T5499] CPU0
[ 99.027090][ T5499] ----
[ 99.030356][ T5499] lock(&dev->lock);
[ 99.034336][ T5499] lock(&dev->lock);
[ 99.038318][ T5499]
[ 99.038318][ T5499] *** DEADLOCK ***
[ 99.038318][ T5499]
[ 99.046455][ T5499] May be due to missing lock nesting notation
[ 99.046455][ T5499]
[ 99.054759][ T5499] 2 locks held by dhcpcd/5499:
[ 99.059526][ T5499] #0: ffffffff901200a8 (rtnl_mutex){+.+.}-{4:4}, at: devinet_ioctl+0x26d/0x1f50
[ 99.068704][ T5499] #1: ffff8880741e4d30 (&dev->lock){+.+.}-{4:4}, at: dev_change_flags+0xa7/0x250
[ 99.077981][ T5499]
[ 99.077981][ T5499] stack backtrace:
[ 99.083872][ T5499] CPU: 0 UID: 0 PID: 5499 Comm: dhcpcd Not tainted 6.14.0-syzkaller-10514-g7f2ff7b62617 #0 PREEMPT(full)
[ 99.083913][ T5499] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025
[ 99.083928][ T5499] Call Trace:
[ 99.083938][ T5499]
[ 99.083948][ T5499] dump_stack_lvl+0x116/0x1f0
[ 99.083984][ T5499] print_deadlock_bug+0x1e9/0x240
[ 99.084035][ T5499] __lock_acquire+0xff7/0x1ba0
[ 99.084084][ T5499] lock_acquire+0x179/0x350
[ 99.084107][ T5499] ? lapbeth_device_event+0x586/0xbe0
[ 99.084146][ T5499] ? __pfx___might_resched+0x10/0x10
[ 99.084188][ T5499] __mutex_lock+0x199/0xb90
[ 99.084222][ T5499] ? lapbeth_device_event+0x586/0xbe0
[ 99.084260][ T5499] ? srso_alias_return_thunk+0x5/0xfbef5
[ 99.084292][ T5499] ? lapbeth_device_event+0x586/0xbe0
[ 99.084330][ T5499] ? __pfx___mutex_lock+0x10/0x10
[ 99.084368][ T5499] ? srso_alias_return_thunk+0x5/0xfbef5
[ 99.084400][ T5499] ? alloc_netdev_mqs+0xe7e/0x1570
[ 99.084433][ T5499] ? srso_alias_return_thunk+0x5/0xfbef5
[ 99.084467][ T5499] ? lapbeth_device_event+0x586/0xbe0
[ 99.084504][ T5499] ? srso_alias_return_thunk+0x5/0xfbef5
[ 99.084535][ T5499] lapbeth_device_event+0x586/0xbe0
[ 99.084573][ T5499] notifier_call_chain+0xbc/0x410
[ 99.084615][ T5499] ? __pfx_lapbeth_device_event+0x10/0x10
[ 99.084656][ T5499] call_netdevice_notifiers_info+0xbe/0x140
[ 99.084699][ T5499] __dev_notify_flags+0x12c/0x2e0
[ 99.084730][ T5499] ? __pfx___dev_notify_flags+0x10/0x10
[ 99.084759][ T5499] ? __dev_change_flags+0x3d5/0x720
[ 99.084791][ T5499] ? __pfx___dev_change_flags+0x10/0x10
[ 99.084821][ T5499] ? srso_alias_return_thunk+0x5/0xfbef5
[ 99.084857][ T5499] netif_change_flags+0x108/0x160
[ 99.084889][ T5499] dev_change_flags+0xba/0x250
[ 99.084934][ T5499] devinet_ioctl+0x11d5/0x1f50
[ 99.084971][ T5499] ? __pfx_devinet_ioctl+0x10/0x10
[ 99.085005][ T5499] ? srso_alias_return_thunk+0x5/0xfbef5
[ 99.085040][ T5499] ? _copy_from_user+0x59/0xd0
[ 99.085072][ T5499] inet_ioctl+0x3a7/0x3f0
[ 99.085108][ T5499] ? __pfx_inet_ioctl+0x10/0x10
[ 99.085146][ T5499] ? srso_alias_return_thunk+0x5/0xfbef5
[ 99.085183][ T5499] ? tomoyo_path_number_perm+0x18d/0x580
[ 99.085212][ T5499] ? __pfx_tomoyo_path_number_perm+0x10/0x10
[ 99.085241][ T5499] ? __sanitizer_cov_trace_switch+0x54/0x90
[ 99.085270][ T5499] sock_do_ioctl+0x118/0x280
[ 99.085310][ T5499] ? __pfx_sock_do_ioctl+0x10/0x10
[ 99.085354][ T5499] ? srso_alias_return_thunk+0x5/0xfbef5
[ 99.085387][ T5499] sock_ioctl+0x227/0x6b0
[ 99.085428][ T5499] ? __pfx_sock_ioctl+0x10/0x10
[ 99.085468][ T5499] ? hook_file_ioctl_common+0x145/0x410
[ 99.085496][ T5499] ? __pfx___rseq_handle_notify_resume+0x10/0x10
[ 99.085544][ T5499] ? __pfx_mem_cgroup_handle_over_high+0x10/0x10
[ 99.085577][ T5499] ? __pfx_sock_ioctl+0x10/0x10
[ 99.085618][ T5499] __x64_sys_ioctl+0x193/0x200
[ 99.085655][ T5499] do_syscall_64+0xcd/0x260
[ 99.085691][ T5499] entry_SYSCALL_64_after_hwframe+0x77/0x7f
[ 99.085717][ T5499] RIP: 0033:0x7f7a648efd49
[ 99.085738][ T5499] Code: 5c c3 48 8d 44 24 08 48 89 54 24 e0 48 89 44 24 c0 48 8d 44 24 d0 48 89 44 24 c8 b8 10 00 00 00 c7 44 24 b8 10 00 00 00 0f 05 <41> 89 c0 3d 00 f0 ff ff 76 10 48 8b 15 ae 60 0d 00 f7 d8 41 83 c8
[ 99.085764][ T5499] RSP: 002b:00007ffdf85fe168 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
[ 99.085787][ T5499] RAX: ffffffffffffffda RBX: 00007f7a648216c0 RCX: 00007f7a648efd49
[ 99.085805][ T5499] RDX: 00007ffdf860e358 RSI: 0000000000008914 RDI: 000000000000000e
[ 99.085821][ T5499] RBP: 00007ffdf861e518 R08: 00007ffdf860e318 R09: 00007ffdf860e2c8
[ 99.085838][ T5499] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
[ 99.085854][ T5499] R13: 00007ffdf860e358 R14: 0000000000000028 R15: 0000000000008914
[ 99.085877][ T5499]
[ 99.449674][ T5146] Bluetooth: hci0: command tx timeout
[ 99.707937][ T5942] netdevsim netdevsim0 netdevsim0: renamed from eth0
[ 99.727462][ T5942] netdevsim netdevsim0 netdevsim1: renamed from eth1
[ 99.737925][ T5942] netdevsim netdevsim0 netdevsim2: renamed from eth2
[ 99.747722][ T5942] netdevsim netdevsim0 netdevsim3: renamed from eth3
[ 99.803489][ T5942] 8021q: adding VLAN 0 to HW filter on device bond0
[ 99.820527][ T5942] 8021q: adding VLAN 0 to HW filter on device team0
[ 99.835817][ T12] bridge0: port 1(bridge_slave_0) entered blocking state
[ 99.842930][ T12] bridge0: port 1(bridge_slave_0) entered forwarding state
[ 99.856168][ T1142] bridge0: port 2(bridge_slave_1) entered blocking state
[ 99.863441][ T1142] bridge0: port 2(bridge_slave_1) entered forwarding state
[ 100.006944][ T5942] 8021q: adding VLAN 0 to HW filter on device batadv0
[ 100.045028][ T5942] veth0_vlan: entered promiscuous mode
[ 100.055504][ T5942] veth1_vlan: entered promiscuous mode
[ 100.083356][ T5942] veth0_macvtap: entered promiscuous mode
[ 100.092633][ T5942] veth1_macvtap: entered promiscuous mode
[ 100.110060][ T5942] batman_adv: batadv0: Interface activated: batadv_slave_0
[ 100.123231][ T5942] batman_adv: batadv0: Interface activated: batadv_slave_1
[ 100.134802][ T5942] netdevsim netdevsim0 netdevsim0: set [1, 0] type 2 family 0 port 6081 - 0
[ 100.145074][ T5942] netdevsim netdevsim0 netdevsim1: set [1, 0] type 2 family 0 port 6081 - 0
[ 100.155494][ T5942] netdevsim netdevsim0 netdevsim2: set [1, 0] type 2 family 0 port 6081 - 0
[ 100.165908][ T5942] netdevsim netdevsim0 netdevsim3: set [1, 0] type 2 family 0 port 6081 - 0
[ 100.202611][ T5942] ieee80211 phy5: Selected rate control algorithm 'minstrel_ht'
[ 100.225964][ T3666] wlan0: Created IBSS using preconfigured BSSID 50:50:50:50:50:50
[ 100.231943][ T5942] ieee80211 phy6: Selected rate control algorithm 'minstrel_ht'
[ 100.234184][ T3666] wlan0: Creating new IBSS network, BSSID 50:50:50:50:50:50
[ 100.264238][ T12] wlan1: Created IBSS using preconfigured BSSID 50:50:50:50:50:50
[ 100.273064][ T12] wlan1: Creating new IBSS network, BSSID 50:50:50:50:50:50
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-build465330856=/tmp/go-build -gno-record-gcc-switches'
git status (err=)
HEAD detached at f3558dbf03
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=f3558dbf032eab2b77c1cb11b9ce2baffe7838d3 -X 'github.com/google/syzkaller/prog.gitRevisionDate=20250103-110009'" "-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=\"f3558dbf032eab2b77c1cb11b9ce2baffe7838d3\"
/usr/bin/ld: /tmp/ccN6OZVc.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