syzbot


BUG: soft lockup in ip_set_udel

Status: auto-closed as invalid on 2022/03/18 04:58
Reported-by: syzbot+2ab825ea1a50d28c1f55@syzkaller.appspotmail.com
First crash: 899d, last: 887d

Sample crash report:
watchdog: BUG: soft lockup - CPU#0 stuck for 23s! [syz-executor.3:15990]
Modules linked in:
irq event stamp: 5311
hardirqs last  enabled at (5310): [<ffffffff81003ce4>] trace_hardirqs_on_thunk+0x1a/0x1c
hardirqs last disabled at (5311): [<ffffffff81003d00>] trace_hardirqs_off_thunk+0x1a/0x1c
softirqs last  enabled at (94): [<ffffffff86768005>] rcu_read_unlock_bh include/linux/rcupdate.h:717 [inline]
softirqs last  enabled at (94): [<ffffffff86768005>] __dev_queue_xmit+0x15f5/0x2e00 net/core/dev.c:3865
softirqs last disabled at (96): [<ffffffff86ba6ac2>] spin_lock_bh include/linux/spinlock.h:334 [inline]
softirqs last disabled at (96): [<ffffffff86ba6ac2>] call_ad+0x132/0x540 net/netfilter/ipset/ip_set_core.c:1505
CPU: 0 PID: 15990 Comm: syz-executor.3 Not tainted 4.19.211-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:__sanitizer_cov_trace_cmp4+0x0/0x20 kernel/kcov.c:162
Code: b6 d6 40 0f b6 f7 31 ff eb 80 48 8b 0c 24 0f b7 d6 0f b7 f7 bf 02 00 00 00 e9 6c ff ff ff 66 66 2e 0f 1f 84 00 00 00 00 00 90 <48> 8b 0c 24 89 f2 89 fe bf 04 00 00 00 e9 4e ff ff ff 66 66 2e 0f
RSP: 0018:ffff88804d097128 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13
RAX: 0000000000040000 RBX: 0000000011fca1e8 RCX: ffffc9000b82e000
RDX: 0000000000040000 RSI: 00000000e0000002 RDI: 0000000011fca1e8
RBP: ffff8880ab5e6d00 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000005 R11: 0000000000000000 R12: ffff88804d0971b8
R13: 00000000e0000002 R14: 00000000e8a1fc11 R15: ffff88804d097198
FS:  00007fcf5ff42700(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020001080 CR3: 0000000047b2e000 CR4: 00000000003406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 hash_ip4_uadt+0x4fa/0x780 net/netfilter/ipset/ip_set_hash_ip.c:154
 call_ad+0x178/0x540 net/netfilter/ipset/ip_set_core.c:1506
 ip_set_udel+0x519/0xa90 net/netfilter/ipset/ip_set_core.c:1642
 nfnetlink_rcv_msg+0xc4f/0xf60 net/netfilter/nfnetlink.c:233
 netlink_rcv_skb+0x160/0x440 net/netlink/af_netlink.c:2463
 nfnetlink_rcv+0x1b2/0x420 net/netfilter/nfnetlink.c:565
 netlink_unicast_kernel net/netlink/af_netlink.c:1325 [inline]
 netlink_unicast+0x4d5/0x690 net/netlink/af_netlink.c:1351
 netlink_sendmsg+0x6c3/0xc50 net/netlink/af_netlink.c:1917
 sock_sendmsg_nosec net/socket.c:651 [inline]
 sock_sendmsg+0xc3/0x120 net/socket.c:661
 ___sys_sendmsg+0x7bb/0x8e0 net/socket.c:2227
 __sys_sendmsg net/socket.c:2265 [inline]
 __do_sys_sendmsg net/socket.c:2274 [inline]
 __se_sys_sendmsg net/socket.c:2272 [inline]
 __x64_sys_sendmsg+0x132/0x220 net/socket.c:2272
 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x7fcf629ccae9
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 bc ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fcf5ff42188 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007fcf62adff60 RCX: 00007fcf629ccae9
RDX: 0000000000000000 RSI: 0000000020001080 RDI: 0000000000000003
RBP: 00007fcf62a26f6d R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffcc577fe3f R14: 00007fcf5ff42300 R15: 0000000000022000
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1 skipped: idling at native_safe_halt+0xe/0x10 arch/x86/include/asm/irqflags.h:60
----------------
Code disassembly (best guess):
   0:	b6 d6                	mov    $0xd6,%dh
   2:	40 0f b6 f7          	movzbl %dil,%esi
   6:	31 ff                	xor    %edi,%edi
   8:	eb 80                	jmp    0xffffff8a
   a:	48 8b 0c 24          	mov    (%rsp),%rcx
   e:	0f b7 d6             	movzwl %si,%edx
  11:	0f b7 f7             	movzwl %di,%esi
  14:	bf 02 00 00 00       	mov    $0x2,%edi
  19:	e9 6c ff ff ff       	jmpq   0xffffff8a
  1e:	66 66 2e 0f 1f 84 00 	data16 nopw %cs:0x0(%rax,%rax,1)
  25:	00 00 00 00
  29:	90                   	nop
* 2a:	48 8b 0c 24          	mov    (%rsp),%rcx <-- trapping instruction
  2e:	89 f2                	mov    %esi,%edx
  30:	89 fe                	mov    %edi,%esi
  32:	bf 04 00 00 00       	mov    $0x4,%edi
  37:	e9 4e ff ff ff       	jmpq   0xffffff8a
  3c:	66                   	data16
  3d:	66                   	data16
  3e:	2e                   	cs
  3f:	0f                   	.byte 0xf

Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/11/18 04:57 linux-4.19.y 3f8a27f9e27b cafff8b6 .config console log report info ci2-linux-4-19 BUG: soft lockup in ip_set_udel
2021/11/17 17:16 linux-4.19.y 3f8a27f9e27b cafff8b6 .config console log report info ci2-linux-4-19 BUG: soft lockup in ip_set_udel
2021/11/06 06:11 linux-4.19.y 3f8a27f9e27b 4c1be0be .config console log report info ci2-linux-4-19 BUG: soft lockup in ip_set_udel
* Struck through repros no longer work on HEAD.