syzbot


WARNING in xfrm_state_fini

Status: upstream: reported on 2025/08/28 21:47
Reported-by: syzbot+71932961b7503c48bb75@syzkaller.appspotmail.com
First crash: 21d, last: 5h12m
Similar bugs (8)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.19 WARNING in xfrm_state_fini -1 C done 78 2329d 2353d 1/1 fixed on 2019/11/30 01:15
upstream WARNING in xfrm_state_fini (3) net -1 C done 89304 now 52d 28/29 upstream: reported C repro on 2025/07/29 07:08
android-414 WARNING in xfrm_state_fini -1 C 2207 2195d 2353d 0/1 public: reported C repro on 2019/04/11 00:00
linux-4.14 WARNING in xfrm_state_fini -1 C done 193 2197d 2352d 1/1 fixed on 2019/12/06 10:33
upstream WARNING in xfrm_state_fini net -1 C 2231 2804d 2859d 4/29 fixed on 2018/01/31 00:24
android-44 WARNING in xfrm_state_fini -1 C 3175 2143d 2352d 0/2 public: reported C repro on 2019/04/12 00:00
android-49 WARNING in xfrm_state_fini -1 C 21956 2116d 2352d 0/3 public: reported C repro on 2019/04/12 00:00
upstream WARNING in xfrm_state_fini (2) net -1 C 37510 2331d 2784d 12/29 fixed on 2019/05/27 12:48

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 0 PID: 28809 at net/xfrm/xfrm_state.c:2997 xfrm_state_fini+0x25c/0x2b0 net/xfrm/xfrm_state.c:2997
Modules linked in:
CPU: 0 PID: 28809 Comm: kworker/u4:6 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/18/2025
Workqueue: netns cleanup_net
RIP: 0010:xfrm_state_fini+0x25c/0x2b0 net/xfrm/xfrm_state.c:2997
Code: 5c 41 5d 41 5e 41 5f 5d e9 81 20 00 00 e8 0c c0 66 f8 0f 0b e9 2c fe ff ff e8 00 c0 66 f8 0f 0b e9 91 fe ff ff e8 f4 bf 66 f8 <0f> 0b 43 80 3c 2c 00 0f 85 fa fe ff ff e9 fd fe ff ff e8 dd bf 66
RSP: 0018:ffffc900056e7a98 EFLAGS: 00010293
RAX: ffffffff891ed7ac RBX: ffff888030363a80 RCX: ffff88802c783c00
RDX: 0000000000000000 RSI: ffffffff8aaabca0 RDI: ffffffff8afc71c0
RBP: 0000000000000040 R08: ffffffff90da750f R09: 1ffffffff21b4ea1
R10: dffffc0000000000 R11: fffffbfff21b4ea2 R12: 1ffff1100606c9c4
R13: dffffc0000000000 R14: ffff888030364e20 R15: ffff88805ffcf000
FS:  0000000000000000(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f58f01d8000 CR3: 0000000064107000 CR4: 00000000003506f0
Call Trace:
 <TASK>
 xfrm_net_exit+0x25/0x60 net/xfrm/xfrm_policy.c:4276
 ops_exit_list net/core/net_namespace.c:173 [inline]
 cleanup_net+0x6f4/0xb90 net/core/net_namespace.c:652
 process_one_work kernel/workqueue.c:2634 [inline]
 process_scheduled_works+0xa45/0x15b0 kernel/workqueue.c:2711
 worker_thread+0xa55/0xfc0 kernel/workqueue.c:2792
 kthread+0x2fa/0x390 kernel/kthread.c:388
 ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:152
 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:293
 </TASK>

Crashes (16):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/09/19 16:23 linux-6.6.y af1544b5d072 67c37560 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan WARNING in xfrm_state_fini
2025/09/19 12:34 linux-6.6.y 60a9e718726f 67c37560 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan WARNING in xfrm_state_fini
2025/09/19 11:26 linux-6.6.y 60a9e718726f 67c37560 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan WARNING in xfrm_state_fini
2025/09/19 11:24 linux-6.6.y 60a9e718726f 67c37560 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan WARNING in xfrm_state_fini
2025/09/19 01:56 linux-6.6.y 60a9e718726f e2beed91 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan WARNING in xfrm_state_fini
2025/09/15 11:28 linux-6.6.y 60a9e718726f e2beed91 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan WARNING in xfrm_state_fini
2025/09/14 13:12 linux-6.6.y 60a9e718726f e2beed91 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan WARNING in xfrm_state_fini
2025/09/11 20:06 linux-6.6.y 60a9e718726f e2beed91 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan WARNING in xfrm_state_fini
2025/09/11 18:41 linux-6.6.y 60a9e718726f fdeaa69b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan WARNING in xfrm_state_fini
2025/09/09 18:05 linux-6.6.y 355bd0b51d2f d291dd2d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan WARNING in xfrm_state_fini
2025/09/09 18:05 linux-6.6.y 355bd0b51d2f d291dd2d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan WARNING in xfrm_state_fini
2025/09/07 00:44 linux-6.6.y 355bd0b51d2f d291dd2d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan WARNING in xfrm_state_fini
2025/09/04 16:12 linux-6.6.y 355bd0b51d2f d291dd2d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan WARNING in xfrm_state_fini
2025/09/04 03:23 linux-6.6.y cc1a1c5b404a d291dd2d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan WARNING in xfrm_state_fini
2025/08/29 18:58 linux-6.6.y cc1a1c5b404a 3e1beec6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan WARNING in xfrm_state_fini
2025/08/28 21:46 linux-6.6.y cc1a1c5b404a d401b9d7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan WARNING in xfrm_state_fini
* Struck through repros no longer work on HEAD.