possible deadlock in register_netdevice
============================================
WARNING: possible recursive locking detected
6.14.0-rc5-syzkaller-g865eddcf0afb #0 Not tainted
--------------------------------------------
dhcpcd/5506 is trying to acquire lock:
ffff88807f04cd28 (&dev->lock){+.+.}-{4:4}, at: netdev_lock include/linux/netdevice.h:2765 [inline]
ffff88807f04cd28 (&dev->lock){+.+.}-{4:4}, at: register_netdevice+0x12d8/0x1b70 net/core/dev.c:11008
but task is already holding lock:
ffff88807b41cd28 (&dev->lock){+.+.}-{4:4}, at: netdev_lock include/linux/netdevice.h:2765 [inline]
ffff88807b41cd28 (&dev->lock){+.+.}-{4:4}, at: netdev_lock_ops include/linux/netdevice.h:2804 [inline]
ffff88807b41cd28 (&dev->lock){+.+.}-{4:4}, at: dev_change_flags+0x120/0x270 net/core/dev_api.c:65
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/5506:
#0: ffffffff8fed6848 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_net_lock include/linux/rtnetlink.h:130 [inline]
#0: ffffffff8fed6848 (rtnl_mutex){+.+.}-{4:4}, at: devinet_ioctl+0x34c/0x1d80 net/ipv4/devinet.c:1121
#1: ffff88807b41cd28 (&dev->lock){+.+.}-{4:4}, at: netdev_lock include/linux/netdevice.h:2765 [inline]
#1: ffff88807b41cd28 (&dev->lock){+.+.}-{4:4}, at: netdev_lock_ops include/linux/netdevice.h:2804 [inline]
#1: ffff88807b41cd28 (&dev->lock){+.+.}-{4:4}, at: dev_change_flags+0x120/0x270 net/core/dev_api.c:65
stack backtrace:
CPU: 1 UID: 0 PID: 5506 Comm: dhcpcd Not tainted 6.14.0-rc5-syzkaller-g865eddcf0afb #0
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+0x483/0x620 kernel/locking/lockdep.c:3039
check_deadlock kernel/locking/lockdep.c:3091 [inline]
validate_chain+0x15e2/0x5920 kernel/locking/lockdep.c:3893
__lock_acquire+0x1397/0x2100 kernel/locking/lockdep.c:5228
lock_acquire+0x1ed/0x550 kernel/locking/lockdep.c:5851
__mutex_lock_common kernel/locking/mutex.c:585 [inline]
__mutex_lock+0x19c/0x1010 kernel/locking/mutex.c:730
netdev_lock include/linux/netdevice.h:2765 [inline]
register_netdevice+0x12d8/0x1b70 net/core/dev.c:11008
bpq_new_device drivers/net/hamradio/bpqether.c:499 [inline]
bpq_device_event+0x4b1/0x8d0 drivers/net/hamradio/bpqether.c:542
notifier_call_chain+0x1a5/0x3f0 kernel/notifier.c:85
__dev_notify_flags+0x207/0x400
netif_change_flags+0xf0/0x1a0 net/core/dev.c:9442
dev_change_flags+0x146/0x270 net/core/dev_api.c:66
devinet_ioctl+0xea2/0x1d80 net/ipv4/devinet.c:1200
inet_ioctl+0x3d7/0x4f0 net/ipv4/af_inet.c:1001
sock_do_ioctl+0x158/0x460 net/socket.c:1190
sock_ioctl+0x626/0x8e0 net/socket.c:1309
vfs_ioctl fs/ioctl.c:51 [inline]
__do_sys_ioctl fs/ioctl.c:906 [inline]
__se_sys_ioctl+0xf5/0x170 fs/ioctl.c:892
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:0x7f03e3a09d49
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:00007ffd6a534568 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f03e393b6c0 RCX: 00007f03e3a09d49
RDX: 00007ffd6a544758 RSI: 0000000000008914 RDI: 000000000000000e
RBP: 00007ffd6a554918 R08: 00007ffd6a544718 R09: 00007ffd6a5446c8
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffd6a544758 R14: 0000000000000028 R15: 0000000000008914
Warning: Permanently added '10.128.0.31' (ED25519) to the list of known hosts.
2025/03/07 14:47:05 ignoring optional flag "sandboxArg"="0"
2025/03/07 14:47:06 parsed 1 programs
[ 65.260218][ T5835] cgroup: Unknown subsys name 'net'
[ 65.386283][ T5835] cgroup: Unknown subsys name 'cpuset'
[ 65.394708][ T5835] cgroup: Unknown subsys name 'rlimit'
[ 66.697530][ T5835] Adding 124996k swap on ./swap-file. Priority:0 extents:1 across:124996k
[ 69.218022][ T5844] 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.
[ 69.927666][ T5871] Bluetooth: hci0: unexpected cc 0x0c03 length: 249 > 1
[ 69.936130][ T5871] Bluetooth: hci0: unexpected cc 0x1003 length: 249 > 9
[ 69.944254][ T5871] Bluetooth: hci0: unexpected cc 0x1001 length: 249 > 9
[ 69.953239][ T5871] Bluetooth: hci0: unexpected cc 0x0c23 length: 249 > 4
[ 69.962216][ T5871] Bluetooth: hci0: unexpected cc 0x0c25 length: 249 > 3
[ 69.970547][ T5871] Bluetooth: hci0: unexpected cc 0x0c38 length: 249 > 2
[ 70.303012][ T54] wlan0: Created IBSS using preconfigured BSSID 50:50:50:50:50:50
[ 70.310923][ T54] wlan0: Creating new IBSS network, BSSID 50:50:50:50:50:50
[ 70.338534][ T54] wlan1: Created IBSS using preconfigured BSSID 50:50:50:50:50:50
[ 70.346871][ T54] wlan1: Creating new IBSS network, BSSID 50:50:50:50:50:50
[ 70.852492][ T5891] chnl_net:caif_netlink_parms(): no params data found
[ 70.929447][ T5891] bridge0: port 1(bridge_slave_0) entered blocking state
[ 70.937820][ T5891] bridge0: port 1(bridge_slave_0) entered disabled state
[ 70.946147][ T5891] bridge_slave_0: entered allmulticast mode
[ 70.953354][ T5891] bridge_slave_0: entered promiscuous mode
[ 70.968486][ T5891] bridge0: port 2(bridge_slave_1) entered blocking state
[ 70.976024][ T5891] bridge0: port 2(bridge_slave_1) entered disabled state
[ 70.983480][ T5891] bridge_slave_1: entered allmulticast mode
[ 70.990027][ T5891] bridge_slave_1: entered promiscuous mode
[ 71.014464][ T5891] bond0: (slave bond_slave_0): Enslaving as an active interface with an up link
[ 71.025609][ T5891] bond0: (slave bond_slave_1): Enslaving as an active interface with an up link
[ 71.048355][ T5891] team0: Port device team_slave_0 added
[ 71.057461][ T5891] team0: Port device team_slave_1 added
[ 71.078513][ T5891] batman_adv: batadv0: Adding interface: batadv_slave_0
[ 71.086122][ T5891] 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.
[ 71.112979][ T5891] batman_adv: batadv0: Not using interface batadv_slave_0 (retrying later): interface not active
[ 71.126613][ T5891] batman_adv: batadv0: Adding interface: batadv_slave_1
[ 71.133947][ T5891] 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.
[ 71.160428][ T5891] batman_adv: batadv0: Not using interface batadv_slave_1 (retrying later): interface not active
[ 71.192847][ T5891] hsr_slave_0: entered promiscuous mode
[ 71.199020][ T5891] hsr_slave_1: entered promiscuous mode
[ 71.321934][ T5891] netdevsim netdevsim0 netdevsim0: renamed from eth0
[ 71.340151][ T5891] netdevsim netdevsim0 netdevsim1: renamed from eth1
[ 71.355173][ T5891] netdevsim netdevsim0 netdevsim2: renamed from eth2
[ 71.367961][ T5891] netdevsim netdevsim0 netdevsim3: renamed from eth3
[ 71.428661][ T5891] 8021q: adding VLAN 0 to HW filter on device bond0
[ 71.450758][ T5891] 8021q: adding VLAN 0 to HW filter on device team0
[ 71.466218][ T54] bridge0: port 1(bridge_slave_0) entered blocking state
[ 71.473766][ T54] bridge0: port 1(bridge_slave_0) entered forwarding state
[ 71.500234][ T54] bridge0: port 2(bridge_slave_1) entered blocking state
[ 71.507501][ T54] bridge0: port 2(bridge_slave_1) entered forwarding state
[ 71.627241][ T5891] 8021q: adding VLAN 0 to HW filter on device batadv0
[ 71.660384][ T5891] veth0_vlan: entered promiscuous mode
[ 71.674101][ T5891] veth1_vlan: entered promiscuous mode
[ 71.696370][ T5891] veth0_macvtap: entered promiscuous mode
[ 71.705927][ T5891] veth1_macvtap: entered promiscuous mode
[ 71.721217][ T5891] batman_adv: batadv0: Interface activated: batadv_slave_0
[ 71.737901][ T5891] batman_adv: batadv0: Interface activated: batadv_slave_1
[ 71.749972][ T5891] netdevsim netdevsim0 netdevsim0: set [1, 0] type 2 family 0 port 6081 - 0
[ 71.759570][ T1297] ieee802154 phy0 wpan0: encryption failed: -22
[ 71.766452][ T1297] ieee802154 phy1 wpan1: encryption failed: -22
[ 71.773432][ T5891] netdevsim netdevsim0 netdevsim1: set [1, 0] type 2 family 0 port 6081 - 0
[ 71.782177][ T5891] netdevsim netdevsim0 netdevsim2: set [1, 0] type 2 family 0 port 6081 - 0
[ 71.791454][ T5891] netdevsim netdevsim0 netdevsim3: set [1, 0] type 2 family 0 port 6081 - 0
[ 71.920630][ T54] netdevsim netdevsim0 netdevsim3 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0
[ 71.977881][ T54] netdevsim netdevsim0 netdevsim2 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0
[ 72.037450][ T54] netdevsim netdevsim0 netdevsim1 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0
[ 72.113135][ T54] netdevsim netdevsim0 netdevsim0 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0
2025/03/07 14:47:16 executed programs: 0
[ 72.913315][ T5871] Bluetooth: hci0: unexpected cc 0x0c03 length: 249 > 1
[ 72.924348][ T5871] Bluetooth: hci0: unexpected cc 0x1003 length: 249 > 9
[ 72.933148][ T5871] Bluetooth: hci0: unexpected cc 0x1001 length: 249 > 9
[ 72.941288][ T5871] Bluetooth: hci0: unexpected cc 0x0c23 length: 249 > 4
[ 72.949994][ T5871] Bluetooth: hci0: unexpected cc 0x0c25 length: 249 > 3
[ 72.963349][ T5871] Bluetooth: hci0: unexpected cc 0x0c38 length: 249 > 2
[ 73.078837][ T5941] chnl_net:caif_netlink_parms(): no params data found
[ 73.130670][ T5941] bridge0: port 1(bridge_slave_0) entered blocking state
[ 73.138116][ T5941] bridge0: port 1(bridge_slave_0) entered disabled state
[ 73.145573][ T5941] bridge_slave_0: entered allmulticast mode
[ 73.152169][ T5941] bridge_slave_0: entered promiscuous mode
[ 73.160531][ T5941] bridge0: port 2(bridge_slave_1) entered blocking state
[ 73.167814][ T5941] bridge0: port 2(bridge_slave_1) entered disabled state
[ 73.175615][ T5941] bridge_slave_1: entered allmulticast mode
[ 73.182172][ T5941] bridge_slave_1: entered promiscuous mode
[ 73.206694][ T5941] bond0: (slave bond_slave_0): Enslaving as an active interface with an up link
[ 73.218720][ T5941] bond0: (slave bond_slave_1): Enslaving as an active interface with an up link
[ 73.246987][ T5941] team0: Port device team_slave_0 added
[ 73.256312][ T5941] team0: Port device team_slave_1 added
[ 73.278181][ T5941] batman_adv: batadv0: Adding interface: batadv_slave_0
[ 73.286592][ T5941] 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.
[ 73.313297][ T5941] batman_adv: batadv0: Not using interface batadv_slave_0 (retrying later): interface not active
[ 73.327541][ T5941] batman_adv: batadv0: Adding interface: batadv_slave_1
[ 73.334885][ T5941] 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.
[ 73.361381][ T5941] batman_adv: batadv0: Not using interface batadv_slave_1 (retrying later): interface not active
[ 73.400770][ T5941] hsr_slave_0: entered promiscuous mode
[ 73.407344][ T5941] hsr_slave_1: entered promiscuous mode
[ 73.413608][ T5941] debugfs: Directory 'hsr0' with parent 'hsr' already present!
[ 73.421393][ T5941] Cannot create hsr debugfs directory
[ 75.033815][ T5151] Bluetooth: hci0: command tx timeout
[ 75.388167][ T54] bridge_slave_1: left allmulticast mode
[ 75.396049][ T54] bridge_slave_1: left promiscuous mode
[ 75.402976][ T54] bridge0: port 2(bridge_slave_1) entered disabled state
[ 75.417773][ T54] bridge_slave_0: left allmulticast mode
[ 75.423857][ T54] bridge_slave_0: left promiscuous mode
[ 75.430021][ T54] bridge0: port 1(bridge_slave_0) entered disabled state
[ 75.777079][ T54] bond0 (unregistering): (slave bond_slave_0): Releasing backup interface
[ 75.788471][ T54] bond0 (unregistering): (slave bond_slave_1): Releasing backup interface
[ 75.798843][ T54] bond0 (unregistering): Released all slaves
[ 75.826202][ T5506]
[ 75.828576][ T5506] ============================================
[ 75.834727][ T5506] WARNING: possible recursive locking detected
[ 75.840921][ T5506] 6.14.0-rc5-syzkaller-g865eddcf0afb #0 Not tainted
[ 75.847483][ T5506] --------------------------------------------
[ 75.853621][ T5506] dhcpcd/5506 is trying to acquire lock:
[ 75.859227][ T5506] ffff88807f04cd28 (&dev->lock){+.+.}-{4:4}, at: register_netdevice+0x12d8/0x1b70
[ 75.868441][ T5506]
[ 75.868441][ T5506] but task is already holding lock:
[ 75.875878][ T5506] ffff88807b41cd28 (&dev->lock){+.+.}-{4:4}, at: dev_change_flags+0x120/0x270
[ 75.884820][ T5506]
[ 75.884820][ T5506] other info that might help us debug this:
[ 75.892881][ T5506] Possible unsafe locking scenario:
[ 75.892881][ T5506]
[ 75.900308][ T5506] CPU0
[ 75.903741][ T5506] ----
[ 75.906997][ T5506] lock(&dev->lock);
[ 75.910959][ T5506] lock(&dev->lock);
[ 75.914923][ T5506]
[ 75.914923][ T5506] *** DEADLOCK ***
[ 75.914923][ T5506]
[ 75.923046][ T5506] May be due to missing lock nesting notation
[ 75.923046][ T5506]
[ 75.931428][ T5506] 2 locks held by dhcpcd/5506:
[ 75.936170][ T5506] #0: ffffffff8fed6848 (rtnl_mutex){+.+.}-{4:4}, at: devinet_ioctl+0x34c/0x1d80
[ 75.945380][ T5506] #1: ffff88807b41cd28 (&dev->lock){+.+.}-{4:4}, at: dev_change_flags+0x120/0x270
[ 75.954673][ T5506]
[ 75.954673][ T5506] stack backtrace:
[ 75.960575][ T5506] CPU: 1 UID: 0 PID: 5506 Comm: dhcpcd Not tainted 6.14.0-rc5-syzkaller-g865eddcf0afb #0
[ 75.960594][ T5506] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025
[ 75.960603][ T5506] Call Trace:
[ 75.960608][ T5506]
[ 75.960613][ T5506] dump_stack_lvl+0x241/0x360
[ 75.960628][ T5506] ? __pfx_dump_stack_lvl+0x10/0x10
[ 75.960637][ T5506] ? __pfx__printk+0x10/0x10
[ 75.960645][ T5506] ? lockdep_unlock+0x16a/0x300
[ 75.960661][ T5506] print_deadlock_bug+0x483/0x620
[ 75.960670][ T5506] ? lockdep_unlock+0x16a/0x300
[ 75.960683][ T5506] validate_chain+0x15e2/0x5920
[ 75.960696][ T5506] ? __pfx_validate_chain+0x10/0x10
[ 75.960707][ T5506] ? __pfx_validate_chain+0x10/0x10
[ 75.960718][ T5506] ? look_up_lock_class+0x77/0x170
[ 75.960729][ T5506] ? register_lock_class+0x102/0x980
[ 75.960743][ T5506] ? __pfx_register_lock_class+0x10/0x10
[ 75.960757][ T5506] ? mark_lock+0x9a/0x360
[ 75.960765][ T5506] __lock_acquire+0x1397/0x2100
[ 75.960782][ T5506] lock_acquire+0x1ed/0x550
[ 75.960795][ T5506] ? register_netdevice+0x12d8/0x1b70
[ 75.960807][ T5506] ? __pfx_lock_acquire+0x10/0x10
[ 75.960820][ T5506] ? __pfx___might_resched+0x10/0x10
[ 75.960832][ T5506] ? __pfx_lock_release+0x10/0x10
[ 75.960847][ T5506] __mutex_lock+0x19c/0x1010
[ 75.960858][ T5506] ? register_netdevice+0x12d8/0x1b70
[ 75.960867][ T5506] ? __mutex_unlock_slowpath+0x227/0x800
[ 75.960878][ T5506] ? _raw_spin_lock_irq+0xdf/0x120
[ 75.960887][ T5506] ? register_netdevice+0x12d8/0x1b70
[ 75.960896][ T5506] ? __pfx___mutex_unlock_slowpath+0x10/0x10
[ 75.960907][ T5506] ? __pfx___mutex_lock+0x10/0x10
[ 75.960916][ T5506] ? _raw_spin_unlock_irq+0x23/0x50
[ 75.960927][ T5506] ? netdev_register_kobject+0x2b0/0x2f0
[ 75.960937][ T5506] register_netdevice+0x12d8/0x1b70
[ 75.960950][ T5506] ? __pfx_register_netdevice+0x10/0x10
[ 75.960962][ T5506] bpq_device_event+0x4b1/0x8d0
[ 75.960976][ T5506] ? lockdep_rtnl_is_held+0x26/0x40
[ 75.960987][ T5506] notifier_call_chain+0x1a5/0x3f0
[ 75.961001][ T5506] __dev_notify_flags+0x207/0x400
[ 75.961009][ T5506] ? dev_set_rx_mode+0xb8/0x2e0
[ 75.961024][ T5506] ? __pfx___dev_notify_flags+0x10/0x10
[ 75.961038][ T5506] ? __dev_change_flags+0x515/0x6f0
[ 75.961047][ T5506] ? __pfx___mutex_lock+0x10/0x10
[ 75.961057][ T5506] ? __pfx___dev_change_flags+0x10/0x10
[ 75.961066][ T5506] ? __pfx___mutex_lock+0x10/0x10
[ 75.961076][ T5506] netif_change_flags+0xf0/0x1a0
[ 75.961086][ T5506] dev_change_flags+0x146/0x270
[ 75.961100][ T5506] devinet_ioctl+0xea2/0x1d80
[ 75.961116][ T5506] ? __pfx_devinet_ioctl+0x10/0x10
[ 75.961129][ T5506] ? get_user_ifreq+0x1bb/0x200
[ 75.961140][ T5506] inet_ioctl+0x3d7/0x4f0
[ 75.961149][ T5506] ? __pfx_inet_ioctl+0x10/0x10
[ 75.961159][ T5506] ? tomoyo_path_number_perm+0x5dd/0x770
[ 75.961176][ T5506] sock_do_ioctl+0x158/0x460
[ 75.961189][ T5506] ? __pfx_sock_do_ioctl+0x10/0x10
[ 75.961201][ T5506] ? __pfx_lock_release+0x10/0x10
[ 75.961216][ T5506] sock_ioctl+0x626/0x8e0
[ 75.961227][ T5506] ? __pfx_sock_ioctl+0x10/0x10
[ 75.961238][ T5506] ? lockdep_hardirqs_on_prepare+0x43d/0x780
[ 75.961252][ T5506] ? __pfx_lockdep_hardirqs_on_prepare+0x10/0x10
[ 75.961266][ T5506] ? __pfx_sock_ioctl+0x10/0x10
[ 75.961276][ T5506] __se_sys_ioctl+0xf5/0x170
[ 75.961287][ T5506] do_syscall_64+0xf3/0x230
[ 75.961298][ T5506] ? clear_bhb_loop+0x35/0x90
[ 75.961312][ T5506] entry_SYSCALL_64_after_hwframe+0x77/0x7f
[ 75.961328][ T5506] RIP: 0033:0x7f03e3a09d49
[ 75.961339][ T5506] 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
[ 75.961347][ T5506] RSP: 002b:00007ffd6a534568 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
[ 75.961357][ T5506] RAX: ffffffffffffffda RBX: 00007f03e393b6c0 RCX: 00007f03e3a09d49
[ 75.961364][ T5506] RDX: 00007ffd6a544758 RSI: 0000000000008914 RDI: 000000000000000e
[ 75.961370][ T5506] RBP: 00007ffd6a554918 R08: 00007ffd6a544718 R09: 00007ffd6a5446c8
[ 75.961376][ T5506] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
[ 75.961381][ T5506] R13: 00007ffd6a544758 R14: 0000000000000028 R15: 0000000000008914
[ 75.961390][ T5506]
[ 76.406391][ T54] hsr_slave_0: left promiscuous mode
[ 76.413681][ T54] hsr_slave_1: left promiscuous mode
[ 76.419660][ T54] batman_adv: batadv0: Interface deactivated: batadv_slave_0
[ 76.428134][ T54] batman_adv: batadv0: Removing interface: batadv_slave_0
[ 76.436042][ T54] batman_adv: batadv0: Interface deactivated: batadv_slave_1
[ 76.445167][ T54] batman_adv: batadv0: Removing interface: batadv_slave_1
[ 76.454822][ T54] veth1_macvtap: left promiscuous mode
[ 76.460356][ T54] veth0_macvtap: left promiscuous mode
[ 76.466058][ T54] veth1_vlan: left promiscuous mode
[ 76.471632][ T54] veth0_vlan: left promiscuous mode
[ 76.627958][ T54] team0 (unregistering): Port device team_slave_1 removed
[ 76.646824][ T54] team0 (unregistering): Port device team_slave_0 removed
[ 77.023260][ T5941] netdevsim netdevsim0 netdevsim0: renamed from eth0
[ 77.056534][ T5941] netdevsim netdevsim0 netdevsim1: renamed from eth1
[ 77.075331][ T5941] netdevsim netdevsim0 netdevsim2: renamed from eth2
[ 77.102744][ T5941] netdevsim netdevsim0 netdevsim3: renamed from eth3
[ 77.112887][ T5151] Bluetooth: hci0: command tx timeout
[ 77.168334][ T5941] 8021q: adding VLAN 0 to HW filter on device bond0
[ 77.181838][ T5941] 8021q: adding VLAN 0 to HW filter on device team0
[ 77.305313][ T3531] bridge0: port 1(bridge_slave_0) entered blocking state
[ 77.312447][ T3531] bridge0: port 1(bridge_slave_0) entered forwarding state
[ 77.325724][ T3531] bridge0: port 2(bridge_slave_1) entered blocking state
[ 77.332877][ T3531] bridge0: port 2(bridge_slave_1) entered forwarding state
[ 77.495559][ T5941] 8021q: adding VLAN 0 to HW filter on device batadv0
[ 77.545005][ T5941] veth0_vlan: entered promiscuous mode
[ 77.555048][ T5941] veth1_vlan: entered promiscuous mode
[ 77.579074][ T5941] veth0_macvtap: entered promiscuous mode
[ 77.588401][ T5941] veth1_macvtap: entered promiscuous mode
[ 77.605913][ T5941] batman_adv: batadv0: Interface activated: batadv_slave_0
[ 77.618456][ T5941] batman_adv: batadv0: Interface activated: batadv_slave_1
[ 77.631117][ T5941] netdevsim netdevsim0 netdevsim0: set [1, 0] type 2 family 0 port 6081 - 0
[ 77.640150][ T5941] netdevsim netdevsim0 netdevsim1: set [1, 0] type 2 family 0 port 6081 - 0
[ 77.651004][ T5941] netdevsim netdevsim0 netdevsim2: set [1, 0] type 2 family 0 port 6081 - 0
[ 77.660475][ T5941] netdevsim netdevsim0 netdevsim3: set [1, 0] type 2 family 0 port 6081 - 0
[ 77.694452][ T5941] ieee80211 phy5: Selected rate control algorithm 'minstrel_ht'
[ 77.716134][ T54] wlan0: Created IBSS using preconfigured BSSID 50:50:50:50:50:50
[ 77.725709][ T5941] ieee80211 phy6: Selected rate control algorithm 'minstrel_ht'
[ 77.734825][ T54] wlan0: Creating new IBSS network, BSSID 50:50:50:50:50:50
[ 77.756383][ T3558] wlan1: Created IBSS using preconfigured BSSID 50:50:50:50:50:50
[ 77.764695][ T3558] 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-build1139692949=/tmp/go-build -gno-record-gcc-switches'
git status (err=)
HEAD detached at f00eed24f2
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=f00eed24f2a1332b07fef1a353a439133978d97b -X 'github.com/google/syzkaller/prog.gitRevisionDate=20241101-132521'" "-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=\"f00eed24f2a1332b07fef1a353a439133978d97b\"
/usr/bin/ld: /tmp/cc8ChOvO.o: in function `test_cover_filter()':
executor.cc:(.text+0x1426b): warning: the use of `tempnam' is dangerous, better use `mkstemp'
/usr/bin/ld: /tmp/cc8ChOvO.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