syzbot


WARNING in bond_ipsec_del_sa

Status: upstream: reported on 2026/02/26 15:26
Reported-by: syzbot+2887d839c9d1a696cca8@syzkaller.appspotmail.com
First crash: 2d20h, last: 1d05h

Sample crash report:
netlink: 14 bytes leftover after parsing attributes in process `syz.5.727'.
------------[ cut here ]------------
WARNING: CPU: 1 PID: 7058 at drivers/net/bonding/bond_main.c:528 bond_ipsec_del_sa+0x531/0x580 drivers/net/bonding/bond_main.c:528
Modules linked in:
CPU: 1 PID: 7058 Comm: syz.5.727 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2026
RIP: 0010:bond_ipsec_del_sa+0x531/0x580 drivers/net/bonding/bond_main.c:528
Code: 00 00 00 00 fc ff df 4c 89 f7 48 c7 c6 a0 e7 ab 8a 4c 89 fa 48 c7 c1 a8 e0 e1 8b e8 49 aa 8a 04 e9 c8 fd ff ff e8 bf 50 48 fc <0f> 0b 41 80 3c 2c 00 0f 85 81 fc ff ff e9 84 fc ff ff 44 89 e1 80
RSP: 0018:ffffc90002f2ec90 EFLAGS: 00010283
RAX: ffffffff8530d181 RBX: ffff88806b138c00 RCX: 0000000000080000
RDX: ffffc9000eb1a000 RSI: 000000000000f2fa RDI: 000000000000f2fb
RBP: dffffc0000000000 R08: dffffc0000000000 R09: 1ffffffff203a618
R10: dffffc0000000000 R11: fffffbfff203a619 R12: 1ffff1100edd0d00
R13: ffff888076ef8000 R14: ffff88807edd0000 R15: ffff888076e86800
FS:  00007fa4a6b946c0(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007eff2e005dac CR3: 0000000023a83000 CR4: 00000000003526e0
Call Trace:
 <TASK>
 xfrm_dev_state_delete include/net/xfrm.h:1916 [inline]
 __xfrm_state_delete+0x654/0xb20 net/xfrm/xfrm_state.c:696
 xfrm_state_delete net/xfrm/xfrm_state.c:717 [inline]
 xfrm_dev_state_flush+0x337/0x630 net/xfrm/xfrm_state.c:842
 bond_master_netdev_event drivers/net/bonding/bond_main.c:3551 [inline]
 bond_netdev_event+0x280/0xef0 drivers/net/bonding/bond_main.c:3700
 notifier_call_chain kernel/notifier.c:83 [inline]
 raw_notifier_call_chain+0xcb/0x160 kernel/notifier.c:391
 call_netdevice_notifiers_extack net/core/dev.c:2074 [inline]
 call_netdevice_notifiers net/core/dev.c:2088 [inline]
 unregister_netdevice_many+0x1049/0x19f0 net/core/dev.c:11147
 rtnl_delete_link net/core/rtnetlink.c:3114 [inline]
 rtnl_dellink+0x52b/0x7b0 net/core/rtnetlink.c:3165
 rtnetlink_rcv_msg+0x844/0xf30 net/core/rtnetlink.c:5684
 netlink_rcv_skb+0x1f5/0x440 net/netlink/af_netlink.c:2507
 netlink_unicast_kernel net/netlink/af_netlink.c:1318 [inline]
 netlink_unicast+0x774/0x920 net/netlink/af_netlink.c:1344
 netlink_sendmsg+0x8ba/0xbe0 net/netlink/af_netlink.c:1918
 sock_sendmsg_nosec net/socket.c:706 [inline]
 __sock_sendmsg net/socket.c:718 [inline]
 ____sys_sendmsg+0x5b7/0x8f0 net/socket.c:2445
 ___sys_sendmsg+0x236/0x2e0 net/socket.c:2499
 __sys_sendmsg net/socket.c:2528 [inline]
 __do_sys_sendmsg net/socket.c:2537 [inline]
 __se_sys_sendmsg+0x1af/0x290 net/socket.c:2535
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7fa4a895b799
Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 e8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fa4a6b94028 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007fa4a8bd5090 RCX: 00007fa4a895b799
RDX: 0000000000000000 RSI: 0000200000000000 RDI: 0000000000000003
RBP: 00007fa4a89f1bd9 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fa4a8bd5128 R14: 00007fa4a8bd5090 R15: 00007ffec5032e18
 </TASK>

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/02/28 06:25 linux-5.15.y 3330a8d33e08 43249bac .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in bond_ipsec_del_sa
2026/02/26 15:25 linux-5.15.y 3330a8d33e08 ffa54287 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in bond_ipsec_del_sa
* Struck through repros no longer work on HEAD.