WARNING in xfrm_policy_fini

Status: auto-closed as invalid on 2022/06/20 17:42
First crash: 787d, last: 787d
Similar bugs (5)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-44 WARNING in xfrm_policy_fini 7 1999d 1831d 0/2 auto-closed as invalid on 2019/04/28 08:52
upstream WARNING in xfrm_policy_fini (2) net 1 376d 372d 0/26 auto-obsoleted due to no activity on 2023/08/06 00:20
android-414 WARNING in xfrm_policy_fini 16 1817d 1832d 0/1 auto-closed as invalid on 2019/10/25 08:43
android-49 WARNING in xfrm_policy_fini 103 1597d 1831d 0/3 auto-closed as invalid on 2020/04/01 16:47
upstream WARNING in xfrm_policy_fini net syz error error 1126 802d 2068d 0/26 auto-obsoleted due to no activity on 2022/10/06 23:39

Sample crash report:
netlink: 'syz-executor.1': attribute type 4 has an invalid length.
ldm_parse_privhead(): Cannot find PRIVHEAD structure. LDM database is corrupt. Aborting.
------------[ cut here ]------------
netlink: 'syz-executor.1': attribute type 4 has an invalid length.
ldm_validate_privheads(): Cannot find PRIVHEAD 1.
WARNING: CPU: 0 PID: 428 at net/xfrm/xfrm_policy.c:2889 xfrm_policy_fini.cold+0x97/0x9e net/xfrm/xfrm_policy.c:2889
Kernel panic - not syncing: panic_on_warn set ...

CPU: 0 PID: 428 Comm: kworker/u4:3 Not tainted 4.19.211-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: netns cleanup_net
Call Trace:
 __dump_stack lib/dump_stack.c:77 [inline]
 dump_stack+0x1fc/0x2ef lib/dump_stack.c:118
 panic+0x26a/0x50e kernel/panic.c:186
 __warn.cold+0x20/0x5a kernel/panic.c:541
 report_bug+0x262/0x2b0 lib/bug.c:183
netlink: 'syz-executor.1': attribute type 4 has an invalid length.
 fixup_bug arch/x86/kernel/traps.c:178 [inline]
 fixup_bug arch/x86/kernel/traps.c:173 [inline]
 do_error_trap+0x1d7/0x310 arch/x86/kernel/traps.c:296
netlink: 'syz-executor.1': attribute type 4 has an invalid length.
netlink: 'syz-executor.1': attribute type 4 has an invalid length.
 invalid_op+0x14/0x20 arch/x86/entry/entry_64.S:1038
netlink: 'syz-executor.1': attribute type 4 has an invalid length.
RIP: 0010:xfrm_policy_fini.cold+0x97/0x9e net/xfrm/xfrm_policy.c:2889
Code: e8 03 42 80 3c 20 00 74 08 48 89 df e8 6b 5d 85 f9 4c 8b 3b e9 41 aa e7 fe e8 6e 80 4f f9 48 c7 c7 e0 87 58 89 e8 cd b1 e0 ff <0f> 0b e9 6a a9 e7 fe e8 56 80 4f f9 e8 a1 43 85 f9 48 c7 c7 60 9a
RSP: 0018:ffff8880b4467bd0 EFLAGS: 00010282
netlink: 260 bytes leftover after parsing attributes in process `syz-executor.0'.
RAX: 0000000000000024 RBX: ffff8880912b1cb0 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff814dff01 RDI: ffffed101688cf6c
RBP: ffff8880912b00c0 R08: 0000000000000024 R09: 0000000000000000
netlink: 'syz-executor.1': attribute type 4 has an invalid length.
R10: 0000000000000005 R11: 0000000000000000 R12: ffffffff8af000a0
R13: ffff8880b4467cc8 R14: dffffc0000000000 R15: fffffbfff15e0017
 xfrm_net_exit+0x19/0x60 net/xfrm/xfrm_policy.c:2944
 ops_exit_list+0xa5/0x150 net/core/net_namespace.c:153
 cleanup_net+0x3b4/0x8b0 net/core/net_namespace.c:554
 process_one_work+0x864/0x1570 kernel/workqueue.c:2153
 worker_thread+0x64c/0x1130 kernel/workqueue.c:2296
 kthread+0x33f/0x460 kernel/kthread.c:259
 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/02/20 17:41 linux-4.19.y 3f8a27f9e27b 3cd800e4 .config console log report info ci2-linux-4-19 WARNING in xfrm_policy_fini
* Struck through repros no longer work on HEAD.