BUG: soft lockup in inet_sendmsg

5 views
Skip to first unread message

syzbot

unread,
Mar 5, 2022, 3:29:20 PM3/5/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=101c151a700000
kernel config: https://syzkaller.appspot.com/x/.config?x=9b9277b418617afe
dashboard link: https://syzkaller.appspot.com/bug?extid=e59e34067b9dc67982ee
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+e59e34...@syzkaller.appspotmail.com

VFS: Can't find a Minix filesystem V1 | V2 | V3 on device loop2.
netlink: 9 bytes leftover after parsing attributes in process `syz-executor.0'.
watchdog: BUG: soft lockup - CPU#1 stuck for 23s! [syz-executor.4:8838]
Modules linked in:
irq event stamp: 56916163
hardirqs last enabled at (56916162): [<ffffffff81549445>] seqcount_lockdep_reader_access include/linux/seqlock.h:83 [inline]
hardirqs last enabled at (56916162): [<ffffffff81549445>] read_seqcount_begin include/linux/seqlock.h:164 [inline]
hardirqs last enabled at (56916162): [<ffffffff81549445>] ktime_get+0x235/0x2f0 kernel/time/timekeeping.c:756
hardirqs last disabled at (56916163): [<ffffffff81003d00>] trace_hardirqs_off_thunk+0x1a/0x1c
softirqs last enabled at (1816): [<ffffffff86a4ea3f>] spin_unlock include/linux/spinlock.h:369 [inline]
softirqs last enabled at (1816): [<ffffffff86a4ea3f>] nf_conntrack_double_unlock net/netfilter/nf_conntrack_core.c:119 [inline]
softirqs last enabled at (1816): [<ffffffff86a4ea3f>] __nf_conntrack_confirm+0x156f/0x2ff0 net/netfilter/nf_conntrack_core.c:998
softirqs last disabled at (1824): [<ffffffff86d42c8d>] lwtunnel_xmit_redirect include/net/lwtunnel.h:92 [inline]
softirqs last disabled at (1824): [<ffffffff86d42c8d>] ip_finish_output2+0x28d/0x15a0 net/ipv4/ip_output.c:214
CPU: 1 PID: 8838 Comm: syz-executor.4 Not tainted 4.19.211-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:spin_unlock include/linux/spinlock.h:369 [inline]
RIP: 0010:tcf_police_act+0x77e/0xe60 net/sched/act_police.c:268
Code: 7c 08 84 d2 0f 85 ad 04 00 00 44 8b 6b 24 bf 02 00 00 00 44 89 ee e8 e1 eb d5 fa 41 83 fd 02 0f 84 0a 01 00 00 e8 62 ea d5 fa <4c> 89 f7 e8 ea b4 8c 01 48 89 ea 48 b8 00 00 00 00 00 fc ff df 48
RSP: 0018:ffff88808ebbef70 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13
RAX: 0000000000040000 RBX: ffff88809c140d00 RCX: ffffc90008e5f000
RDX: 0000000000040000 RSI: ffffffff868c9b0e RDI: 0000000000000005
RBP: ffff88809c140d24 R08: ffffffff8c665058 R09: 0000000000000002
R10: 0000000000000005 R11: ffffffff8c66505b R12: 1ffff11011d77df3
R13: 0000000000000006 R14: ffff88809c140d70 R15: ffffffffffe587e6
FS: 00007f573856a700(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f0016ebe090 CR3: 0000000091076000 CR4: 00000000003406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
tcf_action_exec net/sched/act_api.c:618 [inline]
tcf_action_exec+0x160/0x400 net/sched/act_api.c:598
tcf_exts_exec include/net/pkt_cls.h:388 [inline]
basic_classify+0x184/0x2b0 net/sched/cls_basic.c:52
tcf_classify+0x120/0x3c0 net/sched/cls_api.c:979
prio_classify net/sched/sch_prio.c:46 [inline]
prio_enqueue+0x3bb/0x7a0 net/sched/sch_prio.c:78
__dev_xmit_skb net/core/dev.c:3494 [inline]
__dev_queue_xmit+0x140a/0x2e00 net/core/dev.c:3807
neigh_hh_output include/net/neighbour.h:491 [inline]
neigh_output include/net/neighbour.h:499 [inline]
ip_finish_output2+0xb6d/0x15a0 net/ipv4/ip_output.c:230
ip_finish_output+0xae9/0x10b0 net/ipv4/ip_output.c:318
NF_HOOK_COND include/linux/netfilter.h:278 [inline]
ip_output+0x203/0x5f0 net/ipv4/ip_output.c:406
dst_output include/net/dst.h:455 [inline]
ip_local_out+0xaf/0x170 net/ipv4/ip_output.c:125
__ip_queue_xmit+0x91e/0x1c10 net/ipv4/ip_output.c:507
__tcp_transmit_skb+0x1b9c/0x3400 net/ipv4/tcp_output.c:1148
tcp_transmit_skb net/ipv4/tcp_output.c:1164 [inline]
tcp_send_syn_data net/ipv4/tcp_output.c:3489 [inline]
tcp_connect+0x1130/0x24e0 net/ipv4/tcp_output.c:3528
tcp_v4_connect+0x140c/0x1aa0 net/ipv4/tcp_ipv4.c:318
__inet_stream_connect+0x7e4/0xe00 net/ipv4/af_inet.c:655
tcp_sendmsg_fastopen net/ipv4/tcp.c:1187 [inline]
tcp_sendmsg_locked+0x2267/0x2f60 net/ipv4/tcp.c:1234
tcp_sendmsg+0x2b/0x40 net/ipv4/tcp.c:1462
inet_sendmsg+0x132/0x5a0 net/ipv4/af_inet.c:798
sock_sendmsg_nosec net/socket.c:651 [inline]
sock_sendmsg+0xc3/0x120 net/socket.c:661
__sys_sendto+0x21a/0x320 net/socket.c:1899
__do_sys_sendto net/socket.c:1911 [inline]
__se_sys_sendto net/socket.c:1907 [inline]
__x64_sys_sendto+0xdd/0x1b0 net/socket.c:1907
do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x7f5739c16049
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 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f573856a168 EFLAGS: 00000246 ORIG_RAX: 000000000000002c
RAX: ffffffffffffffda RBX: 00007f5739d29030 RCX: 00007f5739c16049
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000013
RBP: 00007f5739c7008d R08: 0000000020000080 R09: 0000000000000010
R10: 0000000020020080 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fff1f41250f R14: 00007f573856a300 R15: 0000000000022000
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0 skipped: idling at native_safe_halt+0xe/0x10 arch/x86/include/asm/irqflags.h:60
----------------
Code disassembly (best guess):
0: 7c 08 jl 0xa
2: 84 d2 test %dl,%dl
4: 0f 85 ad 04 00 00 jne 0x4b7
a: 44 8b 6b 24 mov 0x24(%rbx),%r13d
e: bf 02 00 00 00 mov $0x2,%edi
13: 44 89 ee mov %r13d,%esi
16: e8 e1 eb d5 fa callq 0xfad5ebfc
1b: 41 83 fd 02 cmp $0x2,%r13d
1f: 0f 84 0a 01 00 00 je 0x12f
25: e8 62 ea d5 fa callq 0xfad5ea8c
* 2a: 4c 89 f7 mov %r14,%rdi <-- trapping instruction
2d: e8 ea b4 8c 01 callq 0x18cb51c
32: 48 89 ea mov %rbp,%rdx
35: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax
3c: fc ff df
3f: 48 rex.W


---
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.
Reply all
Reply to author
Forward
0 new messages