possible deadlock in lapbeth_device_event
============================================
WARNING: possible recursive locking detected
6.14.0-next-20250401-syzkaller-14258-g7b7d0894c661 #0 Not tainted
--------------------------------------------
dhcpcd/5506 is trying to acquire lock:
ffff8880638fcd30 (&dev->lock){+.+.}-{4:4}, at: netdev_lock include/linux/netdevice.h:2751 [inline]
ffff8880638fcd30 (&dev->lock){+.+.}-{4:4}, at: netif_napi_add_weight include/linux/netdevice.h:2783 [inline]
ffff8880638fcd30 (&dev->lock){+.+.}-{4:4}, at: lapbeth_new_device drivers/net/wan/lapbether.c:415 [inline]
ffff8880638fcd30 (&dev->lock){+.+.}-{4:4}, at: lapbeth_device_event+0x766/0xa20 drivers/net/wan/lapbether.c:460
but task is already holding lock:
ffff88807de74d30 (&dev->lock){+.+.}-{4:4}, at: netdev_lock include/linux/netdevice.h:2751 [inline]
ffff88807de74d30 (&dev->lock){+.+.}-{4:4}, at: netdev_lock_ops include/net/netdev_lock.h:42 [inline]
ffff88807de74d30 (&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/5506:
#0: ffffffff900fdd08 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_net_lock include/linux/rtnetlink.h:130 [inline]
#0: ffffffff900fdd08 (rtnl_mutex){+.+.}-{4:4}, at: devinet_ioctl+0x34e/0x1d80 net/ipv4/devinet.c:1121
#1: ffff88807de74d30 (&dev->lock){+.+.}-{4:4}, at: netdev_lock include/linux/netdevice.h:2751 [inline]
#1: ffff88807de74d30 (&dev->lock){+.+.}-{4:4}, at: netdev_lock_ops include/net/netdev_lock.h:42 [inline]
#1: ffff88807de74d30 (&dev->lock){+.+.}-{4:4}, at: dev_change_flags+0x120/0x270 net/core/dev_api.c:67
stack backtrace:
CPU: 0 UID: 0 PID: 5506 Comm: dhcpcd Not tainted 6.14.0-next-20250401-syzkaller-14258-g7b7d0894c661 #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:601 [inline]
__mutex_lock+0x1a5/0x10c0 kernel/locking/mutex.c:746
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:0x7f1b8fac4d49
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:00007ffc74fcd848 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f1b8f9f66c0 RCX: 00007f1b8fac4d49
RDX: 00007ffc74fdda38 RSI: 0000000000008914 RDI: 000000000000000c
RBP: 00007ffc74fedbf8 R08: 00007ffc74fdd9f8 R09: 00007ffc74fdd9a8
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffc74fdda38 R14: 0000000000000028 R15: 0000000000008914
Warning: Permanently added '10.128.1.115' (ED25519) to the list of known hosts.
2025/04/01 15:26:08 ignoring optional flag "sandboxArg"="0"
2025/04/01 15:26:09 parsed 1 programs
[ 79.759719][ T5835] cgroup: Unknown subsys name 'net'
[ 79.873122][ T5835] cgroup: Unknown subsys name 'cpuset'
[ 79.882057][ T5835] cgroup: Unknown subsys name 'rlimit'
[ 81.286548][ T5835] Adding 124996k swap on ./swap-file. Priority:0 extents:1 across:124996k
[ 84.117055][ T5845] 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.
[ 85.288442][ T5883] chnl_net:caif_netlink_parms(): no params data found
[ 85.408235][ T5883] bridge0: port 1(bridge_slave_0) entered blocking state
[ 85.416213][ T5883] bridge0: port 1(bridge_slave_0) entered disabled state
[ 85.423705][ T5883] bridge_slave_0: entered allmulticast mode
[ 85.432301][ T5883] bridge_slave_0: entered promiscuous mode
[ 85.447090][ T5883] bridge0: port 2(bridge_slave_1) entered blocking state
[ 85.454871][ T5883] bridge0: port 2(bridge_slave_1) entered disabled state
[ 85.462158][ T5883] bridge_slave_1: entered allmulticast mode
[ 85.471491][ T5883] bridge_slave_1: entered promiscuous mode
[ 85.505283][ T5883] bond0: (slave bond_slave_0): Enslaving as an active interface with an up link
[ 85.516950][ T5883] bond0: (slave bond_slave_1): Enslaving as an active interface with an up link
[ 85.548011][ T5883] team0: Port device team_slave_0 added
[ 85.558818][ T5883] team0: Port device team_slave_1 added
[ 85.589308][ T5883] batman_adv: batadv0: Adding interface: batadv_slave_0
[ 85.596740][ T5883] 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.
[ 85.623267][ T5883] batman_adv: batadv0: Not using interface batadv_slave_0 (retrying later): interface not active
[ 85.638130][ T5883] batman_adv: batadv0: Adding interface: batadv_slave_1
[ 85.645174][ T5883] 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.
[ 85.671428][ T5883] batman_adv: batadv0: Not using interface batadv_slave_1 (retrying later): interface not active
[ 85.717576][ T5883] hsr_slave_0: entered promiscuous mode
[ 85.724018][ T5883] hsr_slave_1: entered promiscuous mode
[ 85.854273][ T5883] netdevsim netdevsim0 netdevsim0: renamed from eth0
[ 85.867242][ T5883] netdevsim netdevsim0 netdevsim1: renamed from eth1
[ 85.877576][ T5883] netdevsim netdevsim0 netdevsim2: renamed from eth2
[ 85.888466][ T5883] netdevsim netdevsim0 netdevsim3: renamed from eth3
[ 85.915347][ T5883] bridge0: port 2(bridge_slave_1) entered blocking state
[ 85.922706][ T5883] bridge0: port 2(bridge_slave_1) entered forwarding state
[ 85.930822][ T5883] bridge0: port 1(bridge_slave_0) entered blocking state
[ 85.937951][ T5883] bridge0: port 1(bridge_slave_0) entered forwarding state
[ 85.997203][ T5883] 8021q: adding VLAN 0 to HW filter on device bond0
[ 86.016177][ T36] bridge0: port 1(bridge_slave_0) entered disabled state
[ 86.025330][ T36] bridge0: port 2(bridge_slave_1) entered disabled state
[ 86.041048][ T5883] 8021q: adding VLAN 0 to HW filter on device team0
[ 86.054186][ T54] bridge0: port 1(bridge_slave_0) entered blocking state
[ 86.061382][ T54] bridge0: port 1(bridge_slave_0) entered forwarding state
[ 86.075580][ T54] bridge0: port 2(bridge_slave_1) entered blocking state
[ 86.082726][ T54] bridge0: port 2(bridge_slave_1) entered forwarding state
[ 86.228420][ T5883] 8021q: adding VLAN 0 to HW filter on device batadv0
[ 86.270934][ T5883] veth0_vlan: entered promiscuous mode
[ 86.283069][ T5883] veth1_vlan: entered promiscuous mode
[ 86.312912][ T5883] veth0_macvtap: entered promiscuous mode
[ 86.322575][ T5883] veth1_macvtap: entered promiscuous mode
[ 86.341059][ T5883] batman_adv: batadv0: Interface activated: batadv_slave_0
[ 86.356291][ T5883] batman_adv: batadv0: Interface activated: batadv_slave_1
[ 86.368315][ T5883] netdevsim netdevsim0 netdevsim0: set [1, 0] type 2 family 0 port 6081 - 0
[ 86.377619][ T5883] netdevsim netdevsim0 netdevsim1: set [1, 0] type 2 family 0 port 6081 - 0
[ 86.386866][ T5883] netdevsim netdevsim0 netdevsim2: set [1, 0] type 2 family 0 port 6081 - 0
[ 86.397337][ T5883] netdevsim netdevsim0 netdevsim3: set [1, 0] type 2 family 0 port 6081 - 0
[ 86.565021][ T54] netdevsim netdevsim0 netdevsim3 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0
[ 86.653063][ T1289] wlan0: Created IBSS using preconfigured BSSID 50:50:50:50:50:50
[ 86.661421][ T1289] wlan0: Creating new IBSS network, BSSID 50:50:50:50:50:50
[ 86.676416][ T54] netdevsim netdevsim0 netdevsim2 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0
[ 86.710340][ T1289] wlan1: Created IBSS using preconfigured BSSID 50:50:50:50:50:50
[ 86.718229][ T1289] wlan1: Creating new IBSS network, BSSID 50:50:50:50:50:50
[ 86.758952][ T54] netdevsim netdevsim0 netdevsim1 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0
[ 86.826522][ T54] netdevsim netdevsim0 netdevsim0 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0
[ 86.895150][ T1214] cfg80211: failed to load regulatory.db
[ 88.512097][ T56] Bluetooth: hci0: unexpected cc 0x0c03 length: 249 > 1
[ 88.520804][ T56] Bluetooth: hci0: unexpected cc 0x1003 length: 249 > 9
[ 88.528667][ T56] Bluetooth: hci0: unexpected cc 0x1001 length: 249 > 9
[ 88.538894][ T56] Bluetooth: hci0: unexpected cc 0x0c23 length: 249 > 4
[ 88.548127][ T56] Bluetooth: hci0: unexpected cc 0x0c38 length: 249 > 2
2025/04/01 15:26:20 executed programs: 0
[ 89.191259][ T5152] Bluetooth: hci0: unexpected cc 0x0c03 length: 249 > 1
[ 89.200178][ T5152] Bluetooth: hci0: unexpected cc 0x1003 length: 249 > 9
[ 89.208334][ T5152] Bluetooth: hci0: unexpected cc 0x1001 length: 249 > 9
[ 89.217173][ T5152] Bluetooth: hci0: unexpected cc 0x0c23 length: 249 > 4
[ 89.225591][ T5152] Bluetooth: hci0: unexpected cc 0x0c38 length: 249 > 2
[ 89.402499][ T5947] chnl_net:caif_netlink_parms(): no params data found
[ 89.464544][ T54] bridge_slave_1: left allmulticast mode
[ 89.470947][ T54] bridge_slave_1: left promiscuous mode
[ 89.477247][ T54] bridge0: port 2(bridge_slave_1) entered disabled state
[ 89.488664][ T54] bridge_slave_0: left allmulticast mode
[ 89.495283][ T54] bridge_slave_0: left promiscuous mode
[ 89.501356][ T54] bridge0: port 1(bridge_slave_0) entered disabled state
[ 89.777593][ T54] bond0 (unregistering): (slave bond_slave_0): Releasing backup interface
[ 89.792634][ T54] bond0 (unregistering): (slave bond_slave_1): Releasing backup interface
[ 89.802547][ T54] bond0 (unregistering): Released all slaves
[ 89.889896][ T5947] bridge0: port 1(bridge_slave_0) entered blocking state
[ 89.897116][ T5947] bridge0: port 1(bridge_slave_0) entered disabled state
[ 89.904922][ T5947] bridge_slave_0: entered allmulticast mode
[ 89.914395][ T5947] bridge_slave_0: entered promiscuous mode
[ 89.931167][ T54] hsr_slave_0: left promiscuous mode
[ 89.937313][ T54] hsr_slave_1: left promiscuous mode
[ 89.944361][ T54] batman_adv: batadv0: Interface deactivated: batadv_slave_0
[ 89.952270][ T54] batman_adv: batadv0: Removing interface: batadv_slave_0
[ 89.961736][ T54] batman_adv: batadv0: Interface deactivated: batadv_slave_1
[ 89.979383][ T54] batman_adv: batadv0: Removing interface: batadv_slave_1
[ 89.994833][ T54] veth1_macvtap: left promiscuous mode
[ 90.000750][ T54] veth0_macvtap: left promiscuous mode
[ 90.007003][ T54] veth1_vlan: left promiscuous mode
[ 90.014384][ T54] veth0_vlan: left promiscuous mode
[ 90.449500][ T54] team0 (unregistering): Port device team_slave_1 removed
[ 90.478931][ T54] team0 (unregistering): Port device team_slave_0 removed
[ 90.728015][ T5947] bridge0: port 2(bridge_slave_1) entered blocking state
[ 90.735275][ T5947] bridge0: port 2(bridge_slave_1) entered disabled state
[ 90.742735][ T5947] bridge_slave_1: entered allmulticast mode
[ 90.750470][ T5947] bridge_slave_1: entered promiscuous mode
[ 90.795649][ T5506]
[ 90.798022][ T5506] ============================================
[ 90.804212][ T5506] WARNING: possible recursive locking detected
[ 90.810357][ T5506] 6.14.0-next-20250401-syzkaller-14258-g7b7d0894c661 #0 Not tainted
[ 90.818327][ T5506] --------------------------------------------
[ 90.824466][ T5506] dhcpcd/5506 is trying to acquire lock:
[ 90.830087][ T5506] ffff8880638fcd30 (&dev->lock){+.+.}-{4:4}, at: lapbeth_device_event+0x766/0xa20
[ 90.839358][ T5506]
[ 90.839358][ T5506] but task is already holding lock:
[ 90.846970][ T5506] ffff88807de74d30 (&dev->lock){+.+.}-{4:4}, at: dev_change_flags+0x120/0x270
[ 90.855850][ T5506]
[ 90.855850][ T5506] other info that might help us debug this:
[ 90.863928][ T5506] Possible unsafe locking scenario:
[ 90.863928][ T5506]
[ 90.871360][ T5506] CPU0
[ 90.874618][ T5506] ----
[ 90.877872][ T5506] lock(&dev->lock);
[ 90.881837][ T5506] lock(&dev->lock);
[ 90.885806][ T5506]
[ 90.885806][ T5506] *** DEADLOCK ***
[ 90.885806][ T5506]
[ 90.894028][ T5506] May be due to missing lock nesting notation
[ 90.894028][ T5506]
[ 90.902346][ T5506] 2 locks held by dhcpcd/5506:
[ 90.907130][ T5506] #0: ffffffff900fdd08 (rtnl_mutex){+.+.}-{4:4}, at: devinet_ioctl+0x34e/0x1d80
[ 90.916339][ T5506] #1: ffff88807de74d30 (&dev->lock){+.+.}-{4:4}, at: dev_change_flags+0x120/0x270
[ 90.925632][ T5506]
[ 90.925632][ T5506] stack backtrace:
[ 90.931517][ T5506] CPU: 0 UID: 0 PID: 5506 Comm: dhcpcd Not tainted 6.14.0-next-20250401-syzkaller-14258-g7b7d0894c661 #0 PREEMPT(full)
[ 90.931530][ T5506] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025
[ 90.931538][ T5506] Call Trace:
[ 90.931545][ T5506]
[ 90.931550][ T5506] dump_stack_lvl+0x241/0x360
[ 90.931567][ T5506] ? __pfx_dump_stack_lvl+0x10/0x10
[ 90.931579][ T5506] ? __pfx__printk+0x10/0x10
[ 90.931590][ T5506] ? print_lock+0x171/0x1a0
[ 90.931602][ T5506] print_deadlock_bug+0x2be/0x2d0
[ 90.931614][ T5506] validate_chain+0x928/0x24e0
[ 90.931626][ T5506] ? stack_depot_save_flags+0x44/0x940
[ 90.931639][ T5506] ? stack_depot_save_flags+0x44/0x940
[ 90.931651][ T5506] ? look_up_lock_class+0x7b/0x170
[ 90.931662][ T5506] ? register_lock_class+0x54/0x330
[ 90.931671][ T5506] __lock_acquire+0xad5/0xd80
[ 90.931682][ T5506] lock_acquire+0x116/0x2f0
[ 90.931691][ T5506] ? lapbeth_device_event+0x766/0xa20
[ 90.931702][ T5506] __mutex_lock+0x1a5/0x10c0
[ 90.931713][ T5506] ? lapbeth_device_event+0x766/0xa20
[ 90.931723][ T5506] ? ref_tracker_alloc+0x316/0x4c0
[ 90.931735][ T5506] ? lapbeth_device_event+0x766/0xa20
[ 90.931744][ T5506] ? rcu_is_watching+0x15/0xb0
[ 90.931755][ T5506] ? __pfx___mutex_lock+0x10/0x10
[ 90.931773][ T5506] ? __raw_spin_lock_init+0x45/0x100
[ 90.931785][ T5506] lapbeth_device_event+0x766/0xa20
[ 90.931796][ T5506] notifier_call_chain+0x1a5/0x3f0
[ 90.931809][ T5506] __dev_notify_flags+0x209/0x410
[ 90.931823][ T5506] ? __pfx___dev_notify_flags+0x10/0x10
[ 90.931834][ T5506] ? __dev_change_flags+0x517/0x700
[ 90.931845][ T5506] ? __pfx___mutex_lock+0x10/0x10
[ 90.931855][ T5506] ? __pfx___dev_change_flags+0x10/0x10
[ 90.931867][ T5506] ? __pfx___mutex_lock+0x10/0x10
[ 90.931877][ T5506] netif_change_flags+0xf0/0x1a0
[ 90.931890][ T5506] dev_change_flags+0x146/0x270
[ 90.931901][ T5506] devinet_ioctl+0xea4/0x1d80
[ 90.931915][ T5506] ? __pfx_devinet_ioctl+0x10/0x10
[ 90.931926][ T5506] ? get_user_ifreq+0x1bb/0x200
[ 90.931935][ T5506] inet_ioctl+0x3d9/0x4f0
[ 90.931948][ T5506] ? __pfx_inet_ioctl+0x10/0x10
[ 90.931960][ T5506] ? lockdep_hardirqs_on+0x9d/0x150
[ 90.931973][ T5506] ? tomoyo_path_number_perm+0x215/0x790
[ 90.931988][ T5506] sock_do_ioctl+0x15a/0x490
[ 90.931998][ T5506] ? __pfx_sock_do_ioctl+0x10/0x10
[ 90.932010][ T5506] sock_ioctl+0x644/0x900
[ 90.932019][ T5506] ? __pfx_sock_ioctl+0x10/0x10
[ 90.932027][ T5506] ? __sys_socket+0x209/0x3c0
[ 90.932039][ T5506] ? __pfx_sock_ioctl+0x10/0x10
[ 90.932047][ T5506] __se_sys_ioctl+0xf1/0x160
[ 90.932059][ T5506] do_syscall_64+0xf3/0x230
[ 90.932070][ T5506] ? clear_bhb_loop+0x45/0xa0
[ 90.932080][ T5506] entry_SYSCALL_64_after_hwframe+0x77/0x7f
[ 90.932092][ T5506] RIP: 0033:0x7f1b8fac4d49
[ 90.932105][ 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
[ 90.932112][ T5506] RSP: 002b:00007ffc74fcd848 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
[ 90.932123][ T5506] RAX: ffffffffffffffda RBX: 00007f1b8f9f66c0 RCX: 00007f1b8fac4d49
[ 90.932129][ T5506] RDX: 00007ffc74fdda38 RSI: 0000000000008914 RDI: 000000000000000c
[ 90.932135][ T5506] RBP: 00007ffc74fedbf8 R08: 00007ffc74fdd9f8 R09: 00007ffc74fdd9a8
[ 90.932141][ T5506] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
[ 90.932147][ T5506] R13: 00007ffc74fdda38 R14: 0000000000000028 R15: 0000000000008914
[ 90.932156][ T5506]
[ 91.280161][ T5947] bond0: (slave bond_slave_0): Enslaving as an active interface with an up link
[ 91.289338][ T56] Bluetooth: hci0: command tx timeout
[ 91.297102][ T5947] bond0: (slave bond_slave_1): Enslaving as an active interface with an up link
[ 91.326715][ T5947] team0: Port device team_slave_0 added
[ 91.334329][ T5947] team0: Port device team_slave_1 added
[ 91.363056][ T5947] batman_adv: batadv0: Adding interface: batadv_slave_0
[ 91.370493][ T5947] 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.
[ 91.397784][ T5947] batman_adv: batadv0: Not using interface batadv_slave_0 (retrying later): interface not active
[ 91.409728][ T5947] batman_adv: batadv0: Adding interface: batadv_slave_1
[ 91.416718][ T5947] 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.
[ 91.442973][ T5947] batman_adv: batadv0: Not using interface batadv_slave_1 (retrying later): interface not active
[ 91.492997][ T5947] hsr_slave_0: entered promiscuous mode
[ 91.500669][ T5947] hsr_slave_1: entered promiscuous mode
[ 91.857741][ T5947] netdevsim netdevsim0 netdevsim0: renamed from eth0
[ 91.869477][ T5947] netdevsim netdevsim0 netdevsim1: renamed from eth1
[ 91.880016][ T5947] netdevsim netdevsim0 netdevsim2: renamed from eth2
[ 91.890930][ T5947] netdevsim netdevsim0 netdevsim3: renamed from eth3
[ 91.954330][ T5947] 8021q: adding VLAN 0 to HW filter on device bond0
[ 91.971420][ T5947] 8021q: adding VLAN 0 to HW filter on device team0
[ 91.982627][ T36] bridge0: port 1(bridge_slave_0) entered blocking state
[ 91.989763][ T36] bridge0: port 1(bridge_slave_0) entered forwarding state
[ 92.007127][ T36] bridge0: port 2(bridge_slave_1) entered blocking state
[ 92.014267][ T36] bridge0: port 2(bridge_slave_1) entered forwarding state
[ 92.175339][ T5947] 8021q: adding VLAN 0 to HW filter on device batadv0
[ 92.208053][ T5947] veth0_vlan: entered promiscuous mode
[ 92.223364][ T5947] veth1_vlan: entered promiscuous mode
[ 92.252362][ T5947] veth0_macvtap: entered promiscuous mode
[ 92.263016][ T5947] veth1_macvtap: entered promiscuous mode
[ 92.277319][ T5947] batman_adv: batadv0: Interface activated: batadv_slave_0
[ 92.293618][ T5947] batman_adv: batadv0: Interface activated: batadv_slave_1
[ 92.306127][ T5947] netdevsim netdevsim0 netdevsim0: set [1, 0] type 2 family 0 port 6081 - 0
[ 92.315299][ T5947] netdevsim netdevsim0 netdevsim1: set [1, 0] type 2 family 0 port 6081 - 0
[ 92.325738][ T5947] netdevsim netdevsim0 netdevsim2: set [1, 0] type 2 family 0 port 6081 - 0
[ 92.335365][ T5947] netdevsim netdevsim0 netdevsim3: set [1, 0] type 2 family 0 port 6081 - 0
[ 92.367405][ T5947] ieee80211 phy5: Selected rate control algorithm 'minstrel_ht'
[ 92.396136][ T12] wlan0: Created IBSS using preconfigured BSSID 50:50:50:50:50:50
[ 92.397622][ T5947] ieee80211 phy6: Selected rate control algorithm 'minstrel_ht'
[ 92.415225][ T12] wlan0: Creating new IBSS network, BSSID 50:50:50:50:50:50
[ 92.434862][ T1289] wlan1: Created IBSS using preconfigured BSSID 50:50:50:50:50:50
[ 92.443550][ T1289] 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-build193791919=/tmp/go-build -gno-record-gcc-switches'
git status (err=)
HEAD detached at 1d58202cd9
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=1d58202cd938cd702f9fddff39f2be5d9490988c -X 'github.com/google/syzkaller/prog.gitRevisionDate=20241219-091341'" "-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=\"1d58202cd938cd702f9fddff39f2be5d9490988c\"
/usr/bin/ld: /tmp/ccTBH0N1.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