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=1055002cf00000
kernel config:
https://syzkaller.appspot.com/x/.config?x=9b9277b418617afe
dashboard link:
https://syzkaller.appspot.com/bug?extid=b3b4103d913dae68990e
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+b3b410...@syzkaller.appspotmail.com
kasan: CONFIG_KASAN_INLINE enabled
kasan: GPF could be caused by NULL-ptr deref or user memory access
UDF-fs: bad mount option "�" or missing value
general protection fault: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 31688 Comm: syz-executor.5 Not tainted 4.19.211-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:tcp_cleanup_ulp+0xb4/0x130 net/ipv4/tcp_ulp.c:131
Code: 3c 02 00 0f 85 85 00 00 00 48 8b ab c0 06 00 00 e8 a1 96 81 fa 48 8d 7d 38 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <80> 3c 02 00 75 4d 48 8b 7d 38 e8 cd 33 78 fa 4c 89 ea 48 b8 00 00
RSP: 0018:ffff8880923c7678 EFLAGS: 00010202
RAX: dffffc0000000000 RBX: ffff8880a8558c40 RCX: 1ffff110124c5dcb
RDX: 0000000000000007 RSI: ffffffff86e0eecf RDI: 0000000000000038
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000002
R10: 0000000000000000 R11: 0000000000000000 R12: ffffffff8174af10
R13: ffff8880a8559300 R14: ffff8880a8558c68 R15: ffff8880b4940e00
FS: 00007f8d6cec3700(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fe505335090 CR3: 000000009b57f000 CR4: 00000000003406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
tcp_v4_destroy_sock+0xf9/0x770 net/ipv4/tcp_ipv4.c:1986
inet_csk_destroy_sock+0x189/0x400 net/ipv4/inet_connection_sock.c:875
tcp_done+0x24a/0x2a0 net/ipv4/tcp.c:3799
tcp_rcv_state_process+0x23c2/0x4c50 net/ipv4/tcp_input.c:6225
tcp_v4_do_rcv+0x31f/0x870 net/ipv4/tcp_ipv4.c:1569
sk_backlog_rcv include/net/sock.h:952 [inline]
__release_sock+0x134/0x3a0 net/core/sock.c:2362
tcp_close+0x5c5/0xfd0 net/ipv4/tcp.c:2436
bpf_tcp_close+0x177/0x390 kernel/bpf/sockmap.c:406
inet_release+0xd7/0x1e0 net/ipv4/af_inet.c:427
__sock_release+0xcd/0x2a0 net/socket.c:599
sock_close+0x15/0x20 net/socket.c:1214
__fput+0x2ce/0x890 fs/file_table.c:278
task_work_run+0x148/0x1c0 kernel/task_work.c:113
exit_task_work include/linux/task_work.h:22 [inline]
do_exit+0xbf3/0x2be0 kernel/exit.c:870
do_group_exit+0x125/0x310 kernel/exit.c:967
get_signal+0x3f2/0x1f70 kernel/signal.c:2589
do_signal+0x8f/0x1670 arch/x86/kernel/signal.c:799
exit_to_usermode_loop+0x204/0x2a0 arch/x86/entry/common.c:163
prepare_exit_to_usermode arch/x86/entry/common.c:198 [inline]
syscall_return_slowpath+0x3f0/0x4a0 arch/x86/entry/common.c:271
ret_from_fork+0x15/0x30 arch/x86/entry/entry_64.S:407
RIP: 0033:0x7f8d6e615511
Code: Bad RIP value.
RSP: 002b:00007f8d6cec32f0 EFLAGS: 00000206 ORIG_RAX: 0000000000000038
RAX: 0000000000000000 RBX: 00007f8d6cec3700 RCX: 00007f8d6e615511
RDX: 00007f8d6cec39d0 RSI: 00007f8d6cec32f0 RDI: 00000000003d0f00
RBP: 00007fff4fdefec0 R08: 00007f8d6cec3700 R09: 00007f8d6cec3700
R10: 00007f8d6cec39d0 R11: 0000000000000206 R12: 00007fff4fdefd2e
R13: 00007fff4fdefd2f R14: 00007f8d6cec3300 R15: 0000000000022000
Modules linked in:
---[ end trace bcf1fa5d90de8fcd ]---
RIP: 0010:tcp_cleanup_ulp+0xb4/0x130 net/ipv4/tcp_ulp.c:131
Code: 3c 02 00 0f 85 85 00 00 00 48 8b ab c0 06 00 00 e8 a1 96 81 fa 48 8d 7d 38 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <80> 3c 02 00 75 4d 48 8b 7d 38 e8 cd 33 78 fa 4c 89 ea 48 b8 00 00
RSP: 0018:ffff8880923c7678 EFLAGS: 00010202
UDF-fs: bad mount option "�" or missing value
RAX: dffffc0000000000 RBX: ffff8880a8558c40 RCX: 1ffff110124c5dcb
RDX: 0000000000000007 RSI: ffffffff86e0eecf RDI: 0000000000000038
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000002
R10: 0000000000000000 R11: 0000000000000000 R12: ffffffff8174af10
R13: ffff8880a8559300 R14: ffff8880a8558c68 R15: ffff8880b4940e00
FS: 00007f8d6cec3700(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ff7ec25f718 CR3: 00000000b52fe000 CR4: 00000000003406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
0: 3c 02 cmp $0x2,%al
2: 00 0f add %cl,(%rdi)
4: 85 85 00 00 00 48 test %eax,0x48000000(%rbp)
a: 8b ab c0 06 00 00 mov 0x6c0(%rbx),%ebp
10: e8 a1 96 81 fa callq 0xfa8196b6
15: 48 8d 7d 38 lea 0x38(%rbp),%rdi
19: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax
20: fc ff df
23: 48 89 fa mov %rdi,%rdx
26: 48 c1 ea 03 shr $0x3,%rdx
* 2a: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) <-- trapping instruction
2e: 75 4d jne 0x7d
30: 48 8b 7d 38 mov 0x38(%rbp),%rdi
34: e8 cd 33 78 fa callq 0xfa783406
39: 4c 89 ea mov %r13,%rdx
3c: 48 rex.W
3d: b8 .byte 0xb8
---
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.