syzbot


WARNING in xfrm_state_fini

Status: upstream: reported on 2025/08/28 21:47
Reported-by: syzbot+71932961b7503c48bb75@syzkaller.appspotmail.com
First crash: 1d13h, last: 16h20m
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 2308d 2333d 1/1 fixed on 2019/11/30 01:15
upstream WARNING in xfrm_state_fini (3) net -1 C done 48216 now 32d 24/29 upstream: reported C repro on 2025/07/29 07:08
android-414 WARNING in xfrm_state_fini -1 C 2207 2175d 2333d 0/1 public: reported C repro on 2019/04/11 00:00
linux-4.14 WARNING in xfrm_state_fini -1 C done 193 2177d 2331d 1/1 fixed on 2019/12/06 10:33
upstream WARNING in xfrm_state_fini net -1 C 2231 2783d 2839d 4/29 fixed on 2018/01/31 00:24
android-44 WARNING in xfrm_state_fini -1 C 3175 2123d 2332d 0/2 public: reported C repro on 2019/04/12 00:00
android-49 WARNING in xfrm_state_fini -1 C 21956 2096d 2332d 0/3 public: reported C repro on 2019/04/12 00:00
upstream WARNING in xfrm_state_fini (2) net -1 C 37510 2311d 2763d 12/29 fixed on 2019/05/27 12:48

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 1 PID: 2922 at net/xfrm/xfrm_state.c:2997 xfrm_state_fini+0x25c/0x2b0 net/xfrm/xfrm_state.c:2997
Modules linked in:
CPU: 1 PID: 2922 Comm: kworker/u4:9 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/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 4c ed 66 f8 0f 0b e9 2c fe ff ff e8 40 ed 66 f8 0f 0b e9 91 fe ff ff e8 34 ed 66 f8 <0f> 0b 43 80 3c 2c 00 0f 85 fa fe ff ff e9 fd fe ff ff e8 1d ed 66
RSP: 0018:ffffc9000c1d7a98 EFLAGS: 00010293
RAX: ffffffff891ea26c RBX: ffff888023b33a80 RCX: ffff88802b37bc00
RDX: 0000000000000000 RSI: ffffffff8aaaba20 RDI: ffffffff8afc7040
RBP: 0000000000000040 R08: ffffffff90da550f R09: 1ffffffff21b4aa1
R10: dffffc0000000000 R11: fffffbfff21b4aa2 R12: 1ffff110047669c4
R13: dffffc0000000000 R14: ffff888023b34e20 R15: ffff888060a75000
FS:  0000000000000000(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000555588459808 CR3: 000000000cb30000 CR4: 00000000003506e0
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 (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
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.