possible deadlock in lapbeth_device_event
============================================
WARNING: possible recursive locking detected
6.14.0-syzkaller-07486-g15cb9a2b66fc #0 Not tainted
--------------------------------------------
dhcpcd/5503 is trying to acquire lock:
ffff888029548d28 (&dev->lock){+.+.}-{4:4}, at: netdev_lock include/linux/netdevice.h:2751 [inline]
ffff888029548d28 (&dev->lock){+.+.}-{4:4}, at: netif_napi_add_weight include/linux/netdevice.h:2783 [inline]
ffff888029548d28 (&dev->lock){+.+.}-{4:4}, at: lapbeth_new_device drivers/net/wan/lapbether.c:415 [inline]
ffff888029548d28 (&dev->lock){+.+.}-{4:4}, at: lapbeth_device_event+0x766/0xa20 drivers/net/wan/lapbether.c:460
but task is already holding lock:
ffff888078404d28 (&dev->lock){+.+.}-{4:4}, at: netdev_lock include/linux/netdevice.h:2751 [inline]
ffff888078404d28 (&dev->lock){+.+.}-{4:4}, at: netdev_lock_ops include/net/netdev_lock.h:42 [inline]
ffff888078404d28 (&dev->lock){+.+.}-{4:4}, at: dev_change_flags+0x120/0x270 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/5503:
#0: ffffffff900e2408 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_net_lock include/linux/rtnetlink.h:130 [inline]
#0: ffffffff900e2408 (rtnl_mutex){+.+.}-{4:4}, at: devinet_ioctl+0x34e/0x1d80 net/ipv4/devinet.c:1121
#1: ffff888078404d28 (&dev->lock){+.+.}-{4:4}, at: netdev_lock include/linux/netdevice.h:2751 [inline]
#1: ffff888078404d28 (&dev->lock){+.+.}-{4:4}, at: netdev_lock_ops include/net/netdev_lock.h:42 [inline]
#1: ffff888078404d28 (&dev->lock){+.+.}-{4:4}, at: dev_change_flags+0x120/0x270 net/core/dev_api.c:67
stack backtrace:
CPU: 1 UID: 0 PID: 5503 Comm: dhcpcd Not tainted 6.14.0-syzkaller-07486-g15cb9a2b66fc #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+0x241/0x360 lib/dump_stack.c:120
print_deadlock_bug+0x2be/0x2d0 kernel/locking/lockdep.c:3042
check_deadlock kernel/locking/lockdep.c:3094 [inline]
validate_chain+0x928/0x24e0 kernel/locking/lockdep.c:3896
__lock_acquire+0xad5/0xd80 kernel/locking/lockdep.c:5235
lock_acquire+0x116/0x2f0 kernel/locking/lockdep.c:5866
__mutex_lock_common kernel/locking/mutex.c:587 [inline]
__mutex_lock+0x1a5/0x10c0 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+0x766/0xa20 drivers/net/wan/lapbether.c:460
notifier_call_chain+0x1a5/0x3f0 kernel/notifier.c:85
__dev_notify_flags+0x209/0x410 net/core/dev.c:-1
netif_change_flags+0xf0/0x1a0 net/core/dev.c:9438
dev_change_flags+0x146/0x270 net/core/dev_api.c:68
devinet_ioctl+0xea4/0x1d80 net/ipv4/devinet.c:1200
inet_ioctl+0x3d9/0x4f0 net/ipv4/af_inet.c:1001
sock_do_ioctl+0x15a/0x490 net/socket.c:1190
sock_ioctl+0x644/0x900 net/socket.c:1311
vfs_ioctl fs/ioctl.c:51 [inline]
__do_sys_ioctl fs/ioctl.c:906 [inline]
__se_sys_ioctl+0xf1/0x160 fs/ioctl.c:892
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xf3/0x230 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f16854e8d49
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:00007fff6d776298 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f168541a6c0 RCX: 00007f16854e8d49
RDX: 00007fff6d786488 RSI: 0000000000008914 RDI: 000000000000000c
RBP: 00007fff6d796648 R08: 00007fff6d786448 R09: 00007fff6d7863f8
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fff6d786488 R14: 0000000000000028 R15: 0000000000008914
Warning: Permanently added '10.128.1.117' (ED25519) to the list of known hosts.
2025/03/28 22:10:50 ignoring optional flag "sandboxArg"="0"
2025/03/28 22:10:50 parsed 1 programs
[ 63.508743][ T5832] cgroup: Unknown subsys name 'net'
[ 63.652298][ T5832] cgroup: Unknown subsys name 'cpuset'
[ 63.660256][ T5832] cgroup: Unknown subsys name 'rlimit'
[ 64.896591][ T5832] Adding 124996k swap on ./swap-file. Priority:0 extents:1 across:124996k
[ 67.377330][ T5842] 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.
[ 67.501005][ T54] Bluetooth: hci0: unexpected cc 0x0c03 length: 249 > 1
[ 67.509081][ T54] Bluetooth: hci0: unexpected cc 0x1003 length: 249 > 9
[ 67.517120][ T54] Bluetooth: hci0: unexpected cc 0x1001 length: 249 > 9
[ 67.526162][ T54] Bluetooth: hci0: unexpected cc 0x0c23 length: 249 > 4
[ 67.537113][ T54] Bluetooth: hci0: unexpected cc 0x0c38 length: 249 > 2
[ 68.854963][ T5899] chnl_net:caif_netlink_parms(): no params data found
[ 68.916084][ T5899] bridge0: port 1(bridge_slave_0) entered blocking state
[ 68.924855][ T5899] bridge0: port 1(bridge_slave_0) entered disabled state
[ 68.932601][ T5899] bridge_slave_0: entered allmulticast mode
[ 68.939268][ T5899] bridge_slave_0: entered promiscuous mode
[ 68.963321][ T5899] bridge0: port 2(bridge_slave_1) entered blocking state
[ 68.970865][ T5899] bridge0: port 2(bridge_slave_1) entered disabled state
[ 68.978030][ T5899] bridge_slave_1: entered allmulticast mode
[ 68.985291][ T5899] bridge_slave_1: entered promiscuous mode
[ 69.015616][ T5899] bond0: (slave bond_slave_0): Enslaving as an active interface with an up link
[ 69.027366][ T5899] bond0: (slave bond_slave_1): Enslaving as an active interface with an up link
[ 69.054930][ T5899] team0: Port device team_slave_0 added
[ 69.062748][ T5899] team0: Port device team_slave_1 added
[ 69.084430][ T5899] batman_adv: batadv0: Adding interface: batadv_slave_0
[ 69.091621][ T5899] 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.118290][ T5899] batman_adv: batadv0: Not using interface batadv_slave_0 (retrying later): interface not active
[ 69.132607][ T5899] batman_adv: batadv0: Adding interface: batadv_slave_1
[ 69.140428][ T5899] 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.168979][ T5899] batman_adv: batadv0: Not using interface batadv_slave_1 (retrying later): interface not active
[ 69.201855][ T5899] hsr_slave_0: entered promiscuous mode
[ 69.208146][ T5899] hsr_slave_1: entered promiscuous mode
[ 69.294167][ T5899] netdevsim netdevsim0 netdevsim0: renamed from eth0
[ 69.305076][ T5899] netdevsim netdevsim0 netdevsim1: renamed from eth1
[ 69.315125][ T5899] netdevsim netdevsim0 netdevsim2: renamed from eth2
[ 69.324371][ T5899] netdevsim netdevsim0 netdevsim3: renamed from eth3
[ 69.377374][ T5899] 8021q: adding VLAN 0 to HW filter on device bond0
[ 69.400142][ T5899] 8021q: adding VLAN 0 to HW filter on device team0
[ 69.412087][ T13] bridge0: port 1(bridge_slave_0) entered blocking state
[ 69.419872][ T13] bridge0: port 1(bridge_slave_0) entered forwarding state
[ 69.433366][ T797] bridge0: port 2(bridge_slave_1) entered blocking state
[ 69.440606][ T797] bridge0: port 2(bridge_slave_1) entered forwarding state
[ 69.547265][ T5899] 8021q: adding VLAN 0 to HW filter on device batadv0
[ 69.577300][ T5899] veth0_vlan: entered promiscuous mode
[ 69.588236][ T5899] veth1_vlan: entered promiscuous mode
[ 69.609102][ T5899] veth0_macvtap: entered promiscuous mode
[ 69.617396][ T5899] veth1_macvtap: entered promiscuous mode
[ 69.632506][ T5899] batman_adv: batadv0: Interface activated: batadv_slave_0
[ 69.645045][ T5899] batman_adv: batadv0: Interface activated: batadv_slave_1
[ 69.656463][ T5899] netdevsim netdevsim0 netdevsim0: set [1, 0] type 2 family 0 port 6081 - 0
[ 69.666190][ T5899] netdevsim netdevsim0 netdevsim1: set [1, 0] type 2 family 0 port 6081 - 0
[ 69.675404][ T5899] netdevsim netdevsim0 netdevsim2: set [1, 0] type 2 family 0 port 6081 - 0
[ 69.685363][ T5899] netdevsim netdevsim0 netdevsim3: set [1, 0] type 2 family 0 port 6081 - 0
[ 69.766809][ T5899] syz-executor (5899) used greatest stack depth: 19552 bytes left
[ 69.788670][ T13] netdevsim netdevsim0 netdevsim3 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0
[ 69.849601][ T13] netdevsim netdevsim0 netdevsim2 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0
[ 69.962325][ T13] netdevsim netdevsim0 netdevsim1 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0
[ 70.014916][ T13] netdevsim netdevsim0 netdevsim0 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0
[ 70.046027][ T1057] wlan0: Created IBSS using preconfigured BSSID 50:50:50:50:50:50
[ 70.061002][ T1057] wlan0: Creating new IBSS network, BSSID 50:50:50:50:50:50
[ 70.082089][ T797] wlan1: Created IBSS using preconfigured BSSID 50:50:50:50:50:50
[ 70.091084][ T797] wlan1: Creating new IBSS network, BSSID 50:50:50:50:50:50
2025/03/28 22:10:59 executed programs: 0
[ 70.350813][ T5149] Bluetooth: hci0: unexpected cc 0x0c03 length: 249 > 1
[ 70.360268][ T5149] Bluetooth: hci0: unexpected cc 0x1003 length: 249 > 9
[ 70.368196][ T5149] Bluetooth: hci0: unexpected cc 0x1001 length: 249 > 9
[ 70.376211][ T5149] Bluetooth: hci0: unexpected cc 0x0c23 length: 249 > 4
[ 70.384069][ T5149] Bluetooth: hci0: unexpected cc 0x0c38 length: 249 > 2
[ 70.487969][ T5938] chnl_net:caif_netlink_parms(): no params data found
[ 70.534981][ T5938] bridge0: port 1(bridge_slave_0) entered blocking state
[ 70.543057][ T5938] bridge0: port 1(bridge_slave_0) entered disabled state
[ 70.551027][ T5938] bridge_slave_0: entered allmulticast mode
[ 70.557650][ T5938] bridge_slave_0: entered promiscuous mode
[ 70.565776][ T5938] bridge0: port 2(bridge_slave_1) entered blocking state
[ 70.573342][ T5938] bridge0: port 2(bridge_slave_1) entered disabled state
[ 70.580797][ T5938] bridge_slave_1: entered allmulticast mode
[ 70.587571][ T5938] bridge_slave_1: entered promiscuous mode
[ 70.610832][ T5938] bond0: (slave bond_slave_0): Enslaving as an active interface with an up link
[ 70.622581][ T5938] bond0: (slave bond_slave_1): Enslaving as an active interface with an up link
[ 70.648781][ T5938] team0: Port device team_slave_0 added
[ 70.657343][ T5938] team0: Port device team_slave_1 added
[ 70.683149][ T5938] batman_adv: batadv0: Adding interface: batadv_slave_0
[ 70.690266][ T5938] 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.
[ 70.716523][ T5938] batman_adv: batadv0: Not using interface batadv_slave_0 (retrying later): interface not active
[ 70.730308][ T5938] batman_adv: batadv0: Adding interface: batadv_slave_1
[ 70.737336][ T5938] 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.
[ 70.766197][ T5938] batman_adv: batadv0: Not using interface batadv_slave_1 (retrying later): interface not active
[ 70.801638][ T5938] hsr_slave_0: entered promiscuous mode
[ 70.807854][ T5938] hsr_slave_1: entered promiscuous mode
[ 70.814495][ T5938] debugfs: Directory 'hsr0' with parent 'hsr' already present!
[ 70.822583][ T5938] Cannot create hsr debugfs directory
[ 71.541956][ T1297] ieee802154 phy0 wpan0: encryption failed: -22
[ 71.548585][ T1297] ieee802154 phy1 wpan1: encryption failed: -22
[ 72.420198][ T5149] Bluetooth: hci0: command tx timeout
[ 73.243175][ T13] bridge_slave_1: left allmulticast mode
[ 73.249230][ T13] bridge_slave_1: left promiscuous mode
[ 73.257051][ T13] bridge0: port 2(bridge_slave_1) entered disabled state
[ 73.269288][ T13] bridge_slave_0: left allmulticast mode
[ 73.276590][ T13] bridge_slave_0: left promiscuous mode
[ 73.283113][ T13] bridge0: port 1(bridge_slave_0) entered disabled state
[ 73.597857][ T13] bond0 (unregistering): (slave bond_slave_0): Releasing backup interface
[ 73.608651][ T13] bond0 (unregistering): (slave bond_slave_1): Releasing backup interface
[ 73.618915][ T13] bond0 (unregistering): Released all slaves
[ 73.643223][ T5503]
[ 73.645717][ T5503] ============================================
[ 73.651959][ T5503] WARNING: possible recursive locking detected
[ 73.658261][ T5503] 6.14.0-syzkaller-07486-g15cb9a2b66fc #0 Not tainted
[ 73.665114][ T5503] --------------------------------------------
[ 73.671342][ T5503] dhcpcd/5503 is trying to acquire lock:
[ 73.676990][ T5503] ffff888029548d28 (&dev->lock){+.+.}-{4:4}, at: lapbeth_device_event+0x766/0xa20
[ 73.686401][ T5503]
[ 73.686401][ T5503] but task is already holding lock:
[ 73.694108][ T5503] ffff888078404d28 (&dev->lock){+.+.}-{4:4}, at: dev_change_flags+0x120/0x270
[ 73.703161][ T5503]
[ 73.703161][ T5503] other info that might help us debug this:
[ 73.711381][ T5503] Possible unsafe locking scenario:
[ 73.711381][ T5503]
[ 73.718810][ T5503] CPU0
[ 73.722340][ T5503] ----
[ 73.725701][ T5503] lock(&dev->lock);
[ 73.729667][ T5503] lock(&dev->lock);
[ 73.733647][ T5503]
[ 73.733647][ T5503] *** DEADLOCK ***
[ 73.733647][ T5503]
[ 73.741866][ T5503] May be due to missing lock nesting notation
[ 73.741866][ T5503]
[ 73.750173][ T5503] 2 locks held by dhcpcd/5503:
[ 73.755023][ T5503] #0: ffffffff900e2408 (rtnl_mutex){+.+.}-{4:4}, at: devinet_ioctl+0x34e/0x1d80
[ 73.764343][ T5503] #1: ffff888078404d28 (&dev->lock){+.+.}-{4:4}, at: dev_change_flags+0x120/0x270
[ 73.774265][ T5503]
[ 73.774265][ T5503] stack backtrace:
[ 73.780264][ T5503] CPU: 1 UID: 0 PID: 5503 Comm: dhcpcd Not tainted 6.14.0-syzkaller-07486-g15cb9a2b66fc #0 PREEMPT(full)
[ 73.780284][ T5503] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025
[ 73.780295][ T5503] Call Trace:
[ 73.780303][ T5503]
[ 73.780310][ T5503] dump_stack_lvl+0x241/0x360
[ 73.780331][ T5503] ? __pfx_dump_stack_lvl+0x10/0x10
[ 73.780346][ T5503] ? __pfx__printk+0x10/0x10
[ 73.780361][ T5503] ? print_lock+0x171/0x1a0
[ 73.780374][ T5503] print_deadlock_bug+0x2be/0x2d0
[ 73.780387][ T5503] validate_chain+0x928/0x24e0
[ 73.780401][ T5503] ? stack_depot_save_flags+0x3a/0x970
[ 73.780418][ T5503] ? look_up_lock_class+0x7b/0x170
[ 73.780434][ T5503] ? register_lock_class+0x54/0x330
[ 73.780452][ T5503] __lock_acquire+0xad5/0xd80
[ 73.780471][ T5503] lock_acquire+0x116/0x2f0
[ 73.780487][ T5503] ? lapbeth_device_event+0x766/0xa20
[ 73.780507][ T5503] __mutex_lock+0x1a5/0x10c0
[ 73.780523][ T5503] ? lapbeth_device_event+0x766/0xa20
[ 73.780540][ T5503] ? ref_tracker_alloc+0x316/0x4c0
[ 73.780555][ T5503] ? lapbeth_device_event+0x766/0xa20
[ 73.780571][ T5503] ? rcu_is_watching+0x15/0xb0
[ 73.780584][ T5503] ? __pfx___mutex_lock+0x10/0x10
[ 73.780603][ T5503] ? __raw_spin_lock_init+0x45/0x100
[ 73.780617][ T5503] lapbeth_device_event+0x766/0xa20
[ 73.780635][ T5503] notifier_call_chain+0x1a5/0x3f0
[ 73.780649][ T5503] __dev_notify_flags+0x209/0x410
[ 73.780670][ T5503] ? __pfx___dev_notify_flags+0x10/0x10
[ 73.780682][ T5503] ? __dev_change_flags+0x517/0x700
[ 73.780693][ T5503] ? __pfx___mutex_lock+0x10/0x10
[ 73.780709][ T5503] ? __pfx___dev_change_flags+0x10/0x10
[ 73.780721][ T5503] ? __pfx___mutex_lock+0x10/0x10
[ 73.780737][ T5503] netif_change_flags+0xf0/0x1a0
[ 73.780750][ T5503] dev_change_flags+0x146/0x270
[ 73.780763][ T5503] devinet_ioctl+0xea4/0x1d80
[ 73.780783][ T5503] ? __pfx_devinet_ioctl+0x10/0x10
[ 73.780800][ T5503] ? get_user_ifreq+0x1bb/0x200
[ 73.780816][ T5503] inet_ioctl+0x3d9/0x4f0
[ 73.780830][ T5503] ? __pfx_inet_ioctl+0x10/0x10
[ 73.780842][ T5503] ? lockdep_hardirqs_on+0x9d/0x150
[ 73.780862][ T5503] ? tomoyo_path_number_perm+0x215/0x790
[ 73.780875][ T5503] sock_do_ioctl+0x15a/0x490
[ 73.780892][ T5503] ? __pfx_sock_do_ioctl+0x10/0x10
[ 73.780911][ T5503] sock_ioctl+0x644/0x900
[ 73.780925][ T5503] ? __pfx_sock_ioctl+0x10/0x10
[ 73.780942][ T5503] ? __pfx_sock_ioctl+0x10/0x10
[ 73.780956][ T5503] __se_sys_ioctl+0xf1/0x160
[ 73.780971][ T5503] do_syscall_64+0xf3/0x230
[ 73.780988][ T5503] ? clear_bhb_loop+0x45/0xa0
[ 73.781001][ T5503] entry_SYSCALL_64_after_hwframe+0x77/0x7f
[ 73.781016][ T5503] RIP: 0033:0x7f16854e8d49
[ 73.781035][ T5503] 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
[ 73.781046][ T5503] RSP: 002b:00007fff6d776298 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
[ 73.781060][ T5503] RAX: ffffffffffffffda RBX: 00007f168541a6c0 RCX: 00007f16854e8d49
[ 73.781069][ T5503] RDX: 00007fff6d786488 RSI: 0000000000008914 RDI: 000000000000000c
[ 73.781077][ T5503] RBP: 00007fff6d796648 R08: 00007fff6d786448 R09: 00007fff6d7863f8
[ 73.781085][ T5503] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
[ 73.781093][ T5503] R13: 00007fff6d786488 R14: 0000000000000028 R15: 0000000000008914
[ 73.781104][ T5503]
[ 74.193649][ T13] hsr_slave_0: left promiscuous mode
[ 74.201104][ T13] hsr_slave_1: left promiscuous mode
[ 74.207339][ T13] batman_adv: batadv0: Interface deactivated: batadv_slave_0
[ 74.214961][ T13] batman_adv: batadv0: Removing interface: batadv_slave_0
[ 74.224018][ T13] batman_adv: batadv0: Interface deactivated: batadv_slave_1
[ 74.231507][ T13] batman_adv: batadv0: Removing interface: batadv_slave_1
[ 74.242049][ T13] veth1_macvtap: left promiscuous mode
[ 74.247614][ T13] veth0_macvtap: left promiscuous mode
[ 74.253905][ T13] veth1_vlan: left promiscuous mode
[ 74.259297][ T13] veth0_vlan: left promiscuous mode
[ 74.377645][ T13] team0 (unregistering): Port device team_slave_1 removed
[ 74.399814][ T13] team0 (unregistering): Port device team_slave_0 removed
[ 74.499456][ T5149] Bluetooth: hci0: command tx timeout
[ 74.683501][ T5938] netdevsim netdevsim0 netdevsim0: renamed from eth0
[ 74.698306][ T5938] netdevsim netdevsim0 netdevsim1: renamed from eth1
[ 74.712263][ T5938] netdevsim netdevsim0 netdevsim2: renamed from eth2
[ 74.729755][ T5938] netdevsim netdevsim0 netdevsim3: renamed from eth3
[ 74.783274][ T5938] 8021q: adding VLAN 0 to HW filter on device bond0
[ 74.798894][ T5938] 8021q: adding VLAN 0 to HW filter on device team0
[ 74.811040][ T1057] bridge0: port 1(bridge_slave_0) entered blocking state
[ 74.818142][ T1057] bridge0: port 1(bridge_slave_0) entered forwarding state
[ 74.834252][ T797] bridge0: port 2(bridge_slave_1) entered blocking state
[ 74.841427][ T797] bridge0: port 2(bridge_slave_1) entered forwarding state
[ 74.872061][ T5938] hsr0: Slave A (hsr_slave_0) is not up; please bring it up to get a fully working HSR network
[ 74.884328][ T5938] hsr0: Slave B (hsr_slave_1) is not up; please bring it up to get a fully working HSR network
[ 74.986211][ T5938] 8021q: adding VLAN 0 to HW filter on device batadv0
[ 75.019025][ T5938] veth0_vlan: entered promiscuous mode
[ 75.032361][ T5938] veth1_vlan: entered promiscuous mode
[ 75.056438][ T5938] veth0_macvtap: entered promiscuous mode
[ 75.067161][ T5938] veth1_macvtap: entered promiscuous mode
[ 75.084816][ T5938] batman_adv: batadv0: Interface activated: batadv_slave_0
[ 75.098004][ T5938] batman_adv: batadv0: Interface activated: batadv_slave_1
[ 75.109019][ T5938] netdevsim netdevsim0 netdevsim0: set [1, 0] type 2 family 0 port 6081 - 0
[ 75.118446][ T5938] netdevsim netdevsim0 netdevsim1: set [1, 0] type 2 family 0 port 6081 - 0
[ 75.127678][ T5938] netdevsim netdevsim0 netdevsim2: set [1, 0] type 2 family 0 port 6081 - 0
[ 75.137289][ T5938] netdevsim netdevsim0 netdevsim3: set [1, 0] type 2 family 0 port 6081 - 0
[ 75.166244][ T5938] ieee80211 phy5: Selected rate control algorithm 'minstrel_ht'
[ 75.191280][ T797] wlan0: Created IBSS using preconfigured BSSID 50:50:50:50:50:50
[ 75.195874][ T5938] ieee80211 phy6: Selected rate control algorithm 'minstrel_ht'
[ 75.199121][ T797] wlan0: Creating new IBSS network, BSSID 50:50:50:50:50:50
[ 75.224029][ T52] wlan1: Created IBSS using preconfigured BSSID 50:50:50:50:50:50
[ 75.232785][ T52] 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-build1702250388=/tmp/go-build -gno-record-gcc-switches'
git status (err=)
HEAD detached at c79b8ca5e7
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=c79b8ca5e7c93bda29628ad40e676555303f4812 -X 'github.com/google/syzkaller/prog.gitRevisionDate=20241024-150915'" "-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=\"c79b8ca5e7c93bda29628ad40e676555303f4812\"
/usr/bin/ld: /tmp/ccb1OxnZ.o: in function `test_cover_filter()':
executor.cc:(.text+0x1426b): warning: the use of `tempnam' is dangerous, better use `mkstemp'
/usr/bin/ld: /tmp/ccb1OxnZ.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