syzbot


WARNING in xfrm_state_migrate

Status: premoderation: reported on 2025/10/21 15:16
Reported-by: syzbot+e28755a78de45381d1cb@syzkaller.appspotmail.com
First crash: 48d, last: 48d
Similar bugs (2)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in xfrm_state_migrate (2) net -1 2 35d 64d 27/29 upstream: reported on 2025/10/05 17:39
upstream WARNING in xfrm_state_migrate net -1 3 306d 433d 0/29 auto-obsoleted due to no activity on 2025/05/16 20:47

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 1 PID: 12062 at net/xfrm/xfrm_state.c:737 __xfrm_state_destroy net/xfrm/xfrm_state.c:737 [inline]
WARNING: CPU: 1 PID: 12062 at net/xfrm/xfrm_state.c:737 xfrm_state_put include/net/xfrm.h:865 [inline]
WARNING: CPU: 1 PID: 12062 at net/xfrm/xfrm_state.c:737 xfrm_state_migrate+0x1185/0x2070 net/xfrm/xfrm_state.c:2081
Modules linked in:
CPU: 1 UID: 0 PID: 12062 Comm: syz.0.3992 Not tainted syzkaller #0 0b5ffdee5fcd2f7749818d1ff954e9c21353764e
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025
RIP: 0010:__xfrm_state_destroy net/xfrm/xfrm_state.c:737 [inline]
RIP: 0010:xfrm_state_put include/net/xfrm.h:865 [inline]
RIP: 0010:xfrm_state_migrate+0x1185/0x2070 net/xfrm/xfrm_state.c:2081
Code: c0 a0 d2 f6 86 48 c1 e8 03 42 80 3c 20 00 0f 84 8a 0b 00 00 48 c7 c7 a0 d2 f6 86 e8 f5 12 02 fd e9 79 0b 00 00 e8 6b a5 ab fc <0f> 0b e9 1f ff ff ff e8 5f a5 ab fc e9 a5 0b 00 00 44 89 f1 80 e1
RSP: 0018:ffffc90008fe6d60 EFLAGS: 00010293
RAX: ffffffff84da5945 RBX: ffff88810efbbc00 RCX: ffff88811cc51300
RDX: 0000000000000000 RSI: 0000000000000002 RDI: 0000000000000005
RBP: ffffc90008fe6df0 R08: ffff88810efbbc6b R09: 1ffff11021df778d
R10: dffffc0000000000 R11: ffffed1021df778e R12: dffffc0000000000
R13: 00000000ffffffa3 R14: 0000000000000002 R15: 0000000000000001
FS:  00007f05f34116c0(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fe97453ef98 CR3: 0000000135a22000 CR4: 00000000003526b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000002800
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 xfrm_migrate+0xd8e/0x21b0 net/xfrm/xfrm_policy.c:4661
 xfrm_do_migrate+0x7c9/0xa90 net/xfrm/xfrm_user.c:3077
 xfrm_user_rcv_msg+0x57a/0x860 net/xfrm/xfrm_user.c:3415
 netlink_rcv_skb+0x22b/0x4a0 net/netlink/af_netlink.c:2545
 xfrm_netlink_rcv+0x76/0x90 net/xfrm/xfrm_user.c:3437
 netlink_unicast_kernel net/netlink/af_netlink.c:1313 [inline]
 netlink_unicast+0x8c0/0xa60 net/netlink/af_netlink.c:1339
 netlink_sendmsg+0x7f0/0xaf0 net/netlink/af_netlink.c:1889
 sock_sendmsg_nosec net/socket.c:730 [inline]
 __sock_sendmsg net/socket.c:745 [inline]
 ____sys_sendmsg+0xa15/0xa70 net/socket.c:2610
 ___sys_sendmsg+0x220/0x2a0 net/socket.c:2664
 __sys_sendmsg net/socket.c:2693 [inline]
 __do_sys_sendmsg net/socket.c:2702 [inline]
 __se_sys_sendmsg net/socket.c:2700 [inline]
 __x64_sys_sendmsg+0x1eb/0x2c0 net/socket.c:2700
 x64_sys_call+0x2a4c/0x2ee0 arch/x86/include/generated/asm/syscalls_64.h:47
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0x58/0xf0 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x76/0x7e
RIP: 0033:0x7f05f258efc9
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f05f3411038 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007f05f27e5fa0 RCX: 00007f05f258efc9
RDX: 0000000000042000 RSI: 0000200000000380 RDI: 0000000000000005
RBP: 00007f05f2611f91 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f05f27e6038 R14: 00007f05f27e5fa0 R15: 00007ffe29298448
 </TASK>
---[ end trace 0000000000000000 ]---

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/10/21 15:15 android16-6.12 0d6730ee6542 9832ed61 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust WARNING in xfrm_state_migrate
* Struck through repros no longer work on HEAD.