possible deadlock in lapbeth_device_event
============================================
WARNING: possible recursive locking detected
6.14.0-syzkaller-gacb4f33713b9 #0 Not tainted
--------------------------------------------
dhcpcd/5025 is trying to acquire lock:
ffff888043f64d28 (&dev->lock){+.+.}-{4:4}, at: netdev_lock include/linux/netdevice.h:2751 [inline]
ffff888043f64d28 (&dev->lock){+.+.}-{4:4}, at: netif_napi_add_weight include/linux/netdevice.h:2783 [inline]
ffff888043f64d28 (&dev->lock){+.+.}-{4:4}, at: lapbeth_new_device drivers/net/wan/lapbether.c:415 [inline]
ffff888043f64d28 (&dev->lock){+.+.}-{4:4}, at: lapbeth_device_event+0x766/0xa20 drivers/net/wan/lapbether.c:460
but task is already holding lock:
ffff88804f2f0d28 (&dev->lock){+.+.}-{4:4}, at: netdev_lock include/linux/netdevice.h:2751 [inline]
ffff88804f2f0d28 (&dev->lock){+.+.}-{4:4}, at: netdev_lock_ops include/net/netdev_lock.h:42 [inline]
ffff88804f2f0d28 (&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/5025:
#0: ffffffff900e1888 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_net_lock include/linux/rtnetlink.h:130 [inline]
#0: ffffffff900e1888 (rtnl_mutex){+.+.}-{4:4}, at: devinet_ioctl+0x34e/0x1d80 net/ipv4/devinet.c:1121
#1: ffff88804f2f0d28 (&dev->lock){+.+.}-{4:4}, at: netdev_lock include/linux/netdevice.h:2751 [inline]
#1: ffff88804f2f0d28 (&dev->lock){+.+.}-{4:4}, at: netdev_lock_ops include/net/netdev_lock.h:42 [inline]
#1: ffff88804f2f0d28 (&dev->lock){+.+.}-{4:4}, at: dev_change_flags+0x120/0x270 net/core/dev_api.c:67
stack backtrace:
CPU: 0 UID: 0 PID: 5025 Comm: dhcpcd Not tainted 6.14.0-syzkaller-gacb4f33713b9 #0 PREEMPT(full)
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014
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:0x7fae6d762d49
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:00007ffc40632c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007fae6d6946c0 RCX: 00007fae6d762d49
RDX: 00007ffc40642e68 RSI: 0000000000008914 RDI: 0000000000000012
RBP: 00007ffc40653028 R08: 00007ffc40642e28 R09: 00007ffc40642dd8
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffc40642e68 R14: 0000000000000028 R15: 0000000000008914
Warning: Permanently added '[localhost]:43176' (ED25519) to the list of known hosts.
2025/03/28 13:38:45 ignoring optional flag "sandboxArg"="0"
2025/03/28 13:38:47 parsed 1 programs
[ 70.469322][ T5313] cgroup: Unknown subsys name 'net'
[ 70.554798][ T5313] cgroup: Unknown subsys name 'cpuset'
[ 70.558511][ T5313] cgroup: Unknown subsys name 'rlimit'
[ 72.061161][ T5313] Adding 124996k swap on ./swap-file. Priority:0 extents:1 across:124996k
[ 75.342930][ T1088] wlan0: Created IBSS using preconfigured BSSID 50:50:50:50:50:50
[ 75.346071][ T1088] wlan0: Creating new IBSS network, BSSID 50:50:50:50:50:50
[ 75.381866][ T1088] wlan1: Created IBSS using preconfigured BSSID 50:50:50:50:50:50
[ 75.390530][ T1088] wlan1: Creating new IBSS network, BSSID 50:50:50:50:50:50
[ 75.487634][ T5322] 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.
[ 76.345973][ T1311] ieee802154 phy0 wpan0: encryption failed: -22
[ 76.348738][ T1311] ieee802154 phy1 wpan1: encryption failed: -22
[ 76.588862][ T5355] Bluetooth: hci0: unexpected cc 0x0c03 length: 249 > 1
[ 76.595154][ T49] Bluetooth: hci0: unexpected cc 0x1003 length: 249 > 9
[ 76.600136][ T49] Bluetooth: hci0: unexpected cc 0x1001 length: 249 > 9
[ 76.603975][ T49] Bluetooth: hci0: unexpected cc 0x0c23 length: 249 > 4
[ 76.607374][ T49] Bluetooth: hci0: unexpected cc 0x0c38 length: 249 > 2
[ 78.449691][ T5396] chnl_net:caif_netlink_parms(): no params data found
[ 78.498782][ T5396] bridge0: port 1(bridge_slave_0) entered blocking state
[ 78.502932][ T5396] bridge0: port 1(bridge_slave_0) entered disabled state
[ 78.505811][ T5396] bridge_slave_0: entered allmulticast mode
[ 78.508925][ T5396] bridge_slave_0: entered promiscuous mode
[ 78.515045][ T5396] bridge0: port 2(bridge_slave_1) entered blocking state
[ 78.517932][ T5396] bridge0: port 2(bridge_slave_1) entered disabled state
[ 78.520859][ T5396] bridge_slave_1: entered allmulticast mode
[ 78.524559][ T5396] bridge_slave_1: entered promiscuous mode
[ 78.540199][ T5396] bond0: (slave bond_slave_0): Enslaving as an active interface with an up link
[ 78.545489][ T5396] bond0: (slave bond_slave_1): Enslaving as an active interface with an up link
[ 78.561134][ T5396] team0: Port device team_slave_0 added
[ 78.565715][ T5396] team0: Port device team_slave_1 added
[ 78.578909][ T5396] batman_adv: batadv0: Adding interface: batadv_slave_0
[ 78.581736][ T5396] 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.
[ 78.593411][ T5396] batman_adv: batadv0: Not using interface batadv_slave_0 (retrying later): interface not active
[ 78.599316][ T5396] batman_adv: batadv0: Adding interface: batadv_slave_1
[ 78.602017][ T5396] 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.
[ 78.613681][ T5396] batman_adv: batadv0: Not using interface batadv_slave_1 (retrying later): interface not active
[ 78.636524][ T5396] hsr_slave_0: entered promiscuous mode
[ 78.639384][ T5396] hsr_slave_1: entered promiscuous mode
[ 78.721283][ T5396] netdevsim netdevsim0 netdevsim0: renamed from eth0
[ 78.728759][ T5396] netdevsim netdevsim0 netdevsim1: renamed from eth1
[ 78.735054][ T5396] netdevsim netdevsim0 netdevsim2: renamed from eth2
[ 78.741086][ T5396] netdevsim netdevsim0 netdevsim3: renamed from eth3
[ 78.761163][ T5396] bridge0: port 2(bridge_slave_1) entered blocking state
[ 78.764236][ T5396] bridge0: port 2(bridge_slave_1) entered forwarding state
[ 78.767767][ T5396] bridge0: port 1(bridge_slave_0) entered blocking state
[ 78.770602][ T5396] bridge0: port 1(bridge_slave_0) entered forwarding state
[ 78.819712][ T5396] 8021q: adding VLAN 0 to HW filter on device bond0
[ 78.831119][ T1082] bridge0: port 1(bridge_slave_0) entered disabled state
[ 78.836745][ T1082] bridge0: port 2(bridge_slave_1) entered disabled state
[ 78.847204][ T5396] 8021q: adding VLAN 0 to HW filter on device team0
[ 78.855078][ T1082] bridge0: port 1(bridge_slave_0) entered blocking state
[ 78.858022][ T1082] bridge0: port 1(bridge_slave_0) entered forwarding state
[ 78.866182][ T1088] bridge0: port 2(bridge_slave_1) entered blocking state
[ 78.869068][ T1088] bridge0: port 2(bridge_slave_1) entered forwarding state
[ 78.987792][ T5396] 8021q: adding VLAN 0 to HW filter on device batadv0
[ 79.017316][ T5396] veth0_vlan: entered promiscuous mode
[ 79.025059][ T5396] veth1_vlan: entered promiscuous mode
[ 79.044769][ T5396] veth0_macvtap: entered promiscuous mode
[ 79.049428][ T5396] veth1_macvtap: entered promiscuous mode
[ 79.060689][ T5396] batman_adv: batadv0: Interface activated: batadv_slave_0
[ 79.069255][ T5396] batman_adv: batadv0: Interface activated: batadv_slave_1
[ 79.077123][ T5396] netdevsim netdevsim0 netdevsim0: set [1, 0] type 2 family 0 port 6081 - 0
[ 79.080892][ T5396] netdevsim netdevsim0 netdevsim1: set [1, 0] type 2 family 0 port 6081 - 0
[ 79.085783][ T5396] netdevsim netdevsim0 netdevsim2: set [1, 0] type 2 family 0 port 6081 - 0
[ 79.089976][ T5396] netdevsim netdevsim0 netdevsim3: set [1, 0] type 2 family 0 port 6081 - 0
[ 79.198357][ T5396] syz-executor (5396) used greatest stack depth: 19744 bytes left
[ 79.228272][ T67] netdevsim netdevsim0 netdevsim3 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0
[ 79.294626][ T67] netdevsim netdevsim0 netdevsim2 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0
[ 79.339969][ T67] netdevsim netdevsim0 netdevsim1 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0
[ 79.394667][ T67] netdevsim netdevsim0 netdevsim0 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0
2025/03/28 13:38:59 executed programs: 0
[ 79.685528][ T4671] Bluetooth: hci0: unexpected cc 0x0c03 length: 249 > 1
[ 79.689760][ T4671] Bluetooth: hci0: unexpected cc 0x1003 length: 249 > 9
[ 79.694951][ T4671] Bluetooth: hci0: unexpected cc 0x1001 length: 249 > 9
[ 79.698636][ T4671] Bluetooth: hci0: unexpected cc 0x0c23 length: 249 > 4
[ 79.701748][ T4671] Bluetooth: hci0: unexpected cc 0x0c38 length: 249 > 2
[ 79.796967][ T5424] chnl_net:caif_netlink_parms(): no params data found
[ 79.830952][ T5424] bridge0: port 1(bridge_slave_0) entered blocking state
[ 79.834066][ T5424] bridge0: port 1(bridge_slave_0) entered disabled state
[ 79.836991][ T5424] bridge_slave_0: entered allmulticast mode
[ 79.840059][ T5424] bridge_slave_0: entered promiscuous mode
[ 79.845467][ T5424] bridge0: port 2(bridge_slave_1) entered blocking state
[ 79.848390][ T5424] bridge0: port 2(bridge_slave_1) entered disabled state
[ 79.851332][ T5424] bridge_slave_1: entered allmulticast mode
[ 79.855037][ T5424] bridge_slave_1: entered promiscuous mode
[ 79.873550][ T5424] bond0: (slave bond_slave_0): Enslaving as an active interface with an up link
[ 79.879692][ T5424] bond0: (slave bond_slave_1): Enslaving as an active interface with an up link
[ 79.895757][ T5424] team0: Port device team_slave_0 added
[ 79.899406][ T5424] team0: Port device team_slave_1 added
[ 79.912509][ T5424] batman_adv: batadv0: Adding interface: batadv_slave_0
[ 79.915264][ T5424] 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.
[ 79.926762][ T5424] batman_adv: batadv0: Not using interface batadv_slave_0 (retrying later): interface not active
[ 79.932673][ T5424] batman_adv: batadv0: Adding interface: batadv_slave_1
[ 79.935339][ T5424] 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.
[ 79.947476][ T5424] batman_adv: batadv0: Not using interface batadv_slave_1 (retrying later): interface not active
[ 79.970310][ T5424] hsr_slave_0: entered promiscuous mode
[ 79.973551][ T5424] hsr_slave_1: entered promiscuous mode
[ 79.976285][ T5424] debugfs: Directory 'hsr0' with parent 'hsr' already present!
[ 79.979688][ T5424] Cannot create hsr debugfs directory
[ 81.783272][ T4671] Bluetooth: hci0: command tx timeout
[ 82.334730][ T67] bridge_slave_1: left allmulticast mode
[ 82.337102][ T67] bridge_slave_1: left promiscuous mode
[ 82.339949][ T67] bridge0: port 2(bridge_slave_1) entered disabled state
[ 82.365680][ T67] bridge_slave_0: left allmulticast mode
[ 82.367966][ T67] bridge_slave_0: left promiscuous mode
[ 82.370479][ T67] bridge0: port 1(bridge_slave_0) entered disabled state
[ 82.648694][ T67] bond0 (unregistering): (slave bond_slave_0): Releasing backup interface
[ 82.655058][ T67] bond0 (unregistering): (slave bond_slave_1): Releasing backup interface
[ 82.659387][ T67] bond0 (unregistering): Released all slaves
[ 82.684953][ T5025]
[ 82.685999][ T5025] ============================================
[ 82.688484][ T5025] WARNING: possible recursive locking detected
[ 82.690962][ T5025] 6.14.0-syzkaller-gacb4f33713b9 #0 Not tainted
[ 82.694368][ T5025] --------------------------------------------
[ 82.696797][ T5025] dhcpcd/5025 is trying to acquire lock:
[ 82.699103][ T5025] ffff888043f64d28 (&dev->lock){+.+.}-{4:4}, at: lapbeth_device_event+0x766/0xa20
[ 82.702872][ T5025]
[ 82.702872][ T5025] but task is already holding lock:
[ 82.705822][ T5025] ffff88804f2f0d28 (&dev->lock){+.+.}-{4:4}, at: dev_change_flags+0x120/0x270
[ 82.709473][ T5025]
[ 82.709473][ T5025] other info that might help us debug this:
[ 82.712730][ T5025] Possible unsafe locking scenario:
[ 82.712730][ T5025]
[ 82.715717][ T5025] CPU0
[ 82.717077][ T5025] ----
[ 82.718569][ T5025] lock(&dev->lock);
[ 82.720357][ T5025] lock(&dev->lock);
[ 82.722023][ T5025]
[ 82.722023][ T5025] *** DEADLOCK ***
[ 82.722023][ T5025]
[ 82.725239][ T5025] May be due to missing lock nesting notation
[ 82.725239][ T5025]
[ 82.728519][ T5025] 2 locks held by dhcpcd/5025:
[ 82.730406][ T5025] #0: ffffffff900e1888 (rtnl_mutex){+.+.}-{4:4}, at: devinet_ioctl+0x34e/0x1d80
[ 82.734001][ T5025] #1: ffff88804f2f0d28 (&dev->lock){+.+.}-{4:4}, at: dev_change_flags+0x120/0x270
[ 82.737681][ T5025]
[ 82.737681][ T5025] stack backtrace:
[ 82.740103][ T5025] CPU: 0 UID: 0 PID: 5025 Comm: dhcpcd Not tainted 6.14.0-syzkaller-gacb4f33713b9 #0 PREEMPT(full)
[ 82.740119][ T5025] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014
[ 82.740125][ T5025] Call Trace:
[ 82.740132][ T5025]
[ 82.740137][ T5025] dump_stack_lvl+0x241/0x360
[ 82.740156][ T5025] ? __pfx_dump_stack_lvl+0x10/0x10
[ 82.740169][ T5025] ? __pfx__printk+0x10/0x10
[ 82.740182][ T5025] ? print_lock+0x171/0x1a0
[ 82.740194][ T5025] print_deadlock_bug+0x2be/0x2d0
[ 82.740205][ T5025] validate_chain+0x928/0x24e0
[ 82.740217][ T5025] ? stack_depot_save_flags+0x3a/0x970
[ 82.740230][ T5025] ? look_up_lock_class+0x7b/0x170
[ 82.740244][ T5025] ? register_lock_class+0x54/0x330
[ 82.740259][ T5025] __lock_acquire+0xad5/0xd80
[ 82.740275][ T5025] lock_acquire+0x116/0x2f0
[ 82.740289][ T5025] ? lapbeth_device_event+0x766/0xa20
[ 82.740305][ T5025] __mutex_lock+0x1a5/0x10c0
[ 82.740318][ T5025] ? lapbeth_device_event+0x766/0xa20
[ 82.740332][ T5025] ? ref_tracker_alloc+0x316/0x4c0
[ 82.740344][ T5025] ? lapbeth_device_event+0x766/0xa20
[ 82.740357][ T5025] ? rcu_is_watching+0x15/0xb0
[ 82.740367][ T5025] ? __pfx___mutex_lock+0x10/0x10
[ 82.740381][ T5025] ? __raw_spin_lock_init+0x45/0x100
[ 82.740393][ T5025] lapbeth_device_event+0x766/0xa20
[ 82.740408][ T5025] notifier_call_chain+0x1a5/0x3f0
[ 82.740419][ T5025] __dev_notify_flags+0x209/0x410
[ 82.740431][ T5025] ? __pfx___dev_notify_flags+0x10/0x10
[ 82.740440][ T5025] ? __dev_change_flags+0x517/0x700
[ 82.740450][ T5025] ? __pfx___mutex_lock+0x10/0x10
[ 82.740463][ T5025] ? __pfx___dev_change_flags+0x10/0x10
[ 82.740473][ T5025] ? __pfx___mutex_lock+0x10/0x10
[ 82.740486][ T5025] netif_change_flags+0xf0/0x1a0
[ 82.740496][ T5025] dev_change_flags+0x146/0x270
[ 82.740513][ T5025] devinet_ioctl+0xea4/0x1d80
[ 82.740529][ T5025] ? __pfx_devinet_ioctl+0x10/0x10
[ 82.740544][ T5025] ? get_user_ifreq+0x1bb/0x200
[ 82.740556][ T5025] inet_ioctl+0x3d9/0x4f0
[ 82.740567][ T5025] ? __pfx_inet_ioctl+0x10/0x10
[ 82.740576][ T5025] ? lockdep_hardirqs_on+0x9d/0x150
[ 82.740591][ T5025] ? tomoyo_path_number_perm+0x215/0x790
[ 82.740608][ T5025] sock_do_ioctl+0x15a/0x490
[ 82.740621][ T5025] ? __pfx_sock_do_ioctl+0x10/0x10
[ 82.740634][ T5025] ? fd_install+0x9c/0x4c0
[ 82.740651][ T5025] sock_ioctl+0x644/0x900
[ 82.740663][ T5025] ? __pfx_sock_ioctl+0x10/0x10
[ 82.740675][ T5025] ? __sys_socket+0x209/0x3c0
[ 82.740692][ T5025] ? __pfx_sock_ioctl+0x10/0x10
[ 82.740703][ T5025] __se_sys_ioctl+0xf1/0x160
[ 82.740716][ T5025] do_syscall_64+0xf3/0x230
[ 82.740730][ T5025] ? clear_bhb_loop+0x45/0xa0
[ 82.740740][ T5025] entry_SYSCALL_64_after_hwframe+0x77/0x7f
[ 82.740750][ T5025] RIP: 0033:0x7fae6d762d49
[ 82.740760][ T5025] 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
[ 82.740769][ T5025] RSP: 002b:00007ffc40632c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
[ 82.740783][ T5025] RAX: ffffffffffffffda RBX: 00007fae6d6946c0 RCX: 00007fae6d762d49
[ 82.740790][ T5025] RDX: 00007ffc40642e68 RSI: 0000000000008914 RDI: 0000000000000012
[ 82.740797][ T5025] RBP: 00007ffc40653028 R08: 00007ffc40642e28 R09: 00007ffc40642dd8
[ 82.740803][ T5025] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
[ 82.740810][ T5025] R13: 00007ffc40642e68 R14: 0000000000000028 R15: 0000000000008914
[ 82.740819][ T5025]
[ 82.944332][ T67] hsr_slave_0: left promiscuous mode
[ 82.946940][ T67] hsr_slave_1: left promiscuous mode
[ 82.949496][ T67] batman_adv: batadv0: Interface deactivated: batadv_slave_0
[ 82.954243][ T67] batman_adv: batadv0: Removing interface: batadv_slave_0
[ 82.958536][ T67] batman_adv: batadv0: Interface deactivated: batadv_slave_1
[ 82.961618][ T67] batman_adv: batadv0: Removing interface: batadv_slave_1
[ 82.976802][ T67] veth1_macvtap: left promiscuous mode
[ 82.979318][ T67] veth0_macvtap: left promiscuous mode
[ 82.981647][ T67] veth1_vlan: left promiscuous mode
[ 82.992134][ T67] veth0_vlan: left promiscuous mode
[ 83.085835][ T67] team0 (unregistering): Port device team_slave_1 removed
[ 83.097820][ T67] team0 (unregistering): Port device team_slave_0 removed
[ 83.255034][ T5424] netdevsim netdevsim0 netdevsim0: renamed from eth0
[ 83.269220][ T5424] netdevsim netdevsim0 netdevsim1: renamed from eth1
[ 83.294600][ T5424] netdevsim netdevsim0 netdevsim2: renamed from eth2
[ 83.304961][ T5424] netdevsim netdevsim0 netdevsim3: renamed from eth3
[ 83.394004][ T5424] 8021q: adding VLAN 0 to HW filter on device bond0
[ 83.411964][ T5424] 8021q: adding VLAN 0 to HW filter on device team0
[ 83.417286][ T1082] bridge0: port 1(bridge_slave_0) entered blocking state
[ 83.420223][ T1082] bridge0: port 1(bridge_slave_0) entered forwarding state
[ 83.428158][ T1082] bridge0: port 2(bridge_slave_1) entered blocking state
[ 83.431402][ T1082] bridge0: port 2(bridge_slave_1) entered forwarding state
[ 83.445321][ T5424] hsr0: Slave A (hsr_slave_0) is not up; please bring it up to get a fully working HSR network
[ 83.449608][ T5424] hsr0: Slave B (hsr_slave_1) is not up; please bring it up to get a fully working HSR network
[ 83.525287][ T5424] 8021q: adding VLAN 0 to HW filter on device batadv0
[ 83.544537][ T5424] veth0_vlan: entered promiscuous mode
[ 83.549725][ T5424] veth1_vlan: entered promiscuous mode
[ 83.564054][ T5424] veth0_macvtap: entered promiscuous mode
[ 83.567982][ T5424] veth1_macvtap: entered promiscuous mode
[ 83.576503][ T5424] batman_adv: batadv0: Interface activated: batadv_slave_0
[ 83.584332][ T5424] batman_adv: batadv0: Interface activated: batadv_slave_1
[ 83.589325][ T5424] netdevsim netdevsim0 netdevsim0: set [1, 0] type 2 family 0 port 6081 - 0
[ 83.593674][ T5424] netdevsim netdevsim0 netdevsim1: set [1, 0] type 2 family 0 port 6081 - 0
[ 83.597219][ T5424] netdevsim netdevsim0 netdevsim2: set [1, 0] type 2 family 0 port 6081 - 0
[ 83.600744][ T5424] netdevsim netdevsim0 netdevsim3: set [1, 0] type 2 family 0 port 6081 - 0
[ 83.623699][ T5424] ieee80211 phy5: Selected rate control algorithm 'minstrel_ht'
[ 83.636338][ T1088] wlan0: Created IBSS using preconfigured BSSID 50:50:50:50:50:50
[ 83.639688][ T1088] wlan0: Creating new IBSS network, BSSID 50:50:50:50:50:50
[ 83.645332][ T5424] ieee80211 phy6: Selected rate control algorithm 'minstrel_ht'
[ 83.660652][ T1082] wlan1: Created IBSS using preconfigured BSSID 50:50:50:50:50:50
[ 83.665302][ T1082] wlan1: Creating new IBSS network, BSSID 50:50:50:50:50:50
[ 86.584568][ T53] cfg80211: failed to load regulatory.db
VM DIAGNOSIS:
13:39:02 Registers:
info registers vcpu 0
CPU#0
RAX=1ffffffff3544d60 RBX=ffffffff9aa26b20 RCX=0000000000000000 RDX=00000000000003fd
RSI=0000000000000000 RDI=0000000000000020 RBP=0000000000000000 RSP=ffffc9000cf7ebf8
R8 =ffffffff85933596 R9 =1ffff11003eab046 R10=dffffc0000000000 R11=ffffffff85933550
R12=0000000000000000 R13=1ffffffff3544db6 R14=00000000000003fd R15=dffffc0000000000
RIP=ffffffff859335c6 RFL=00000002 [-------] CPL=0 II=0 A20=1 SMM=0 HLT=0
ES =0000 0000000000000000 ffffffff 00c00000
CS =0010 0000000000000000 ffffffff 00a09b00 DPL=0 CS64 [-RA]
SS =0018 0000000000000000 ffffffff 00c09300 DPL=0 DS [-WA]
DS =0000 0000000000000000 ffffffff 00c00000
FS =0000 00007fae6d694740 ffffffff 00c00000
GS =0000 ffff88808c5f1000 ffffffff 00c00000
LDT=0000 0000000000000000 ffffffff 00c00000
TR =0040 fffffe0000003000 00004087 00008b00 DPL=0 TSS64-busy
GDT= fffffe0000001000 0000007f
IDT= fffffe0000000000 00000fff
CR0=80050033 CR2=0000563887604131 CR3=0000000040146000 CR4=00352ef0
DR0=0000000000000000 DR1=0000000000000000 DR2=0000000000000000 DR3=0000000000000000
DR6=00000000fffe0ff0 DR7=0000000000000400
EFER=0000000000000d01
FCW=037f FSW=0000 [ST=0] FTW=00 MXCSR=00001f80
FPR0=0000000000000000 0000 FPR1=0000000000000000 0000
FPR2=0000000000000000 0000 FPR3=0000000000000000 0000
FPR4=0000000000000000 0000 FPR5=0000000000000000 0000
FPR6=0000000000000000 0000 FPR7=0000000000000000 0000
Opmask00=0000000000004080 Opmask01=0000000000000000 Opmask02=000000000fffffff Opmask03=0000000000000000
Opmask04=00000000ffffffff Opmask05=0000000000000000 Opmask06=0000000000000000 Opmask07=0000000000000000
ZMM00=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 6ad0d3120a0e43bd c71fa6975a43afb9
ZMM01=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 7b36fa13f0a9bfc7 634f421cebd6b7dc
ZMM02=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 55574f3c61ffa414 e08a3e59ae20ff80
ZMM03=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 e04ea9743885f03e c0ef1b8f5103c6ec
ZMM04=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000002300
ZMM05=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000040
ZMM06=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 c2000000a77c57ce 000037a09ecdcff0
ZMM07=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 6e0000000a82be00 000037a4fef99ccc
ZMM08=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ba00000064d19e8e 379fdcea0001ab14
ZMM09=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 6e000000db93d354 37a42afb378f903b
ZMM10=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 1f233a51021ad086 dd819e8d124ed197
ZMM11=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 63e08875c0ef429a b090e37694f93b76
ZMM12=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000
ZMM13=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000
ZMM14=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 a54ff53a3c6ef372 bb67ae856a09e667
ZMM15=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 5be0cd191f83d9ab 9b05688c510e527f
ZMM16=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000
ZMM17=0000000000000000 0000000000000000 0000000000000000 0000000000000000 30706f0030706f6f 6c2f6b636f6c6200 44455a494c414954 494e495f43455355
ZMM18=0000000000000000 0000000000000000 0000000000000000 0000000000000000 6f6f742034687465 2f74656e2f306d69 7376656474656e2f 736563697665642f
ZMM19=0000000000000000 0000000000000000 0000000000000000 0000000000000000 4a4a51055c445757 440540495057055c 5744574a55484051 000f1a005b1a0f00
ZMM20=0000000000000000 0000000000000000 0000000000000000 0000000000000000 f37dcd6db5c70dbc 000000055a6cafbf 0000000000000201 0000000000000000
ZMM21=0000000000000000 0000000000000000 0000000000000000 0000000000000000 00007f8f0a1f1fc0 00007f8f0a1f1fc0 0000000000000741 0000000000000035
ZMM22=0000000000000000 0000000000000000 0000000000000000 0000000000000000 382433273f397b27 697a787c69303b7e 69305f474f5b647c 6930382433273f39
ZMM23=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000
ZMM24=0000000000000000 0000000000000000 0000000000000000 0000000000000000 3d3a3a263f3d3a3a 263e3d3a3a26383d 3a3a263a3d3a3a26 4c3c3a3a264e393a
ZMM25=0000000000000000 0000000000000000 0000000000000000 0000000000000000 692054524f50202c 2064696c61696d20 0070253a20252054 524f504d49005452
ZMM26=0000000000000000 0000000000000000 0000000000000000 0000000000000000 692020520050202c 2025204f504d4900 0061253a20252000 2527204d49005452
ZMM27=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000
ZMM28=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000
ZMM29=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000
ZMM30=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000
ZMM31=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000
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/linux/gopath/pkg/mod'
GONOPROXY=''
GONOSUMDB=''
GOOS='linux'
GOPATH='/syzkaller/jobs/linux/gopath'
GOPRIVATE=''
GOPROXY='https://proxy.golang.org,direct'
GOROOT='/syzkaller/jobs/linux/gopath/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.6.linux-amd64'
GOSUMDB='sum.golang.org'
GOTMPDIR=''
GOTOOLCHAIN='auto'
GOTOOLDIR='/syzkaller/jobs/linux/gopath/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.6.linux-amd64/pkg/tool/linux_amd64'
GOVCS=''
GOVERSION='go1.23.6'
GODEBUG=''
GOTELEMETRY='local'
GOTELEMETRYDIR='/syzkaller/.config/go/telemetry'
GCCGO='gccgo'
GOAMD64='v1'
AR='ar'
CC='gcc'
CXX='g++'
CGO_ENABLED='1'
GOMOD='/syzkaller/jobs/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-build2858384461=/tmp/go-build -gno-record-gcc-switches'
git status (err=)
HEAD detached at 163f510d99dc
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
touch .descriptions
GOOS=linux GOARCH=amd64 go build "-ldflags=-s -w -X github.com/google/syzkaller/prog.GitRevision=163f510d99dcf7239e56cef53bbca39db1f2fd9b -X 'github.com/google/syzkaller/prog.gitRevisionDate=20250308-215812'" -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 -DGOOS_linux=1 -DGOARCH_amd64=1 \
-DHOSTGOOS_linux=1 -DGIT_REVISION=\"163f510d99dcf7239e56cef53bbca39db1f2fd9b\"
/usr/bin/ld: /tmp/ccm7Pob1.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