WARNING in xfrm_policy_fini

8 views
Skip to first unread message

syzbot

unread,
Feb 20, 2022, 12:42:18 PM2/20/22
to syzkaller...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: 3f8a27f9e27b Linux 4.19.211
git tree: linux-4.19.y
console output: https://syzkaller.appspot.com/x/log.txt?x=1361c3d2700000
kernel config: https://syzkaller.appspot.com/x/.config?x=9b9277b418617afe
dashboard link: https://syzkaller.appspot.com/bug?extid=5c102d30050c6f264dad
compiler: gcc version 10.2.1 20210110 (Debian 10.2.1-6)

Unfortunately, I don't have any reproducer for this issue yet.

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+5c102d...@syzkaller.appspotmail.com

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..


---
This report is generated by a bot. It may contain errors.
See https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at syzk...@googlegroups.com.

syzbot will keep track of this issue. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.

syzbot

unread,
Jun 20, 2022, 1:42:18 PM6/20/22
to syzkaller...@googlegroups.com
Auto-closing this bug as obsolete.
Crashes did not happen for a while, no reproducer and no activity.
Reply all
Reply to author
Forward
0 new messages