Hello,
syzbot found the following crash on:
HEAD commit: 1c8c5a9d38f6 Merge git://
git.kernel.org/pub/scm/linux/kern..
git tree: upstream
console output:
https://syzkaller.appspot.com/x/log.txt?x=132c2b9f800000
kernel config:
https://syzkaller.appspot.com/x/.config?x=4f1acdf888c9d4e9
dashboard link:
https://syzkaller.appspot.com/bug?extid=15f4f69fe22434607a97
compiler: gcc (GCC) 8.0.1 20180413 (experimental)
userspace arch: i386
CC: [
linux-...@vger.kernel.org linux-...@vger.kernel.org
vi...@zeniv.linux.org.uk]
Unfortunately, I don't have any reproducer for this crash yet.
IMPORTANT: if you fix the bug, please add the following tag to the commit:
Reported-by:
syzbot+15f4f6...@syzkaller.appspotmail.com
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000296 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
bpfilter: read fail -512
kasan: GPF could be caused by NULL-ptr deref or user memory access
general protection fault: 0000 [#1] SMP KASAN
CPU: 1 PID: 4544 Comm: syz-executor3 Not tainted 4.17.0+ #114
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS
Google 01/01/2011
RIP: 0010:touch_atime+0xaf/0x310 fs/inode.c:1724
Code: 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 21 02 00 00 48 b8 00 00 00 00 00
fc ff df 4d 8b 6c 24 08 49 8d 7d 58 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f
85 f3 01 00 00 4d 8b 6d 58 4c 89 e7 31 d2 4c 89 ee
RSP: 0018:ffff8801957c7500 EFLAGS: 00010202
RAX: dffffc0000000000 RBX: 1ffff10032af8ea2 RCX: ffffffff81c34705
RDX: 000000000000000b RSI: ffffffff81c94c3f RDI: 0000000000000058
RBP: ffff8801957c7598 R08: ffff8801957be640 R09: ffffed0039b488f0
R10: ffffed0039b488f0 R11: ffff8801cda44787 R12: ffff8801cda45510
R13: 0000000000000000 R14: 0000000000000000 R15: dffffc0000000000
FS: 0000000000000000(0000) GS:ffff8801daf00000(0063) knlGS:00000000087c3900
CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033
CR2: 000000000811dc8c CR3: 0000000195785000 CR4: 00000000001406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
file_accessed include/linux/fs.h:2070 [inline]
pipe_read+0x7c5/0x940 fs/pipe.c:343
call_read_iter include/linux/fs.h:1785 [inline]
new_sync_read fs/read_write.c:406 [inline]
__vfs_read+0x696/0xa50 fs/read_write.c:418
vfs_read+0x17f/0x3d0 fs/read_write.c:452
kernel_read+0xab/0x120 fs/read_write.c:431
__bpfilter_process_sockopt+0x238/0x35b net/bpfilter/bpfilter_kern.c:74
bpfilter_mbox_request+0x4d/0xb0 net/ipv4/bpfilter/sockopt.c:25
bpfilter_ip_get_sockopt+0x6b/0x90 net/ipv4/bpfilter/sockopt.c:42
compat_ip_getsockopt+0x256/0x2f0 net/ipv4/ip_sockglue.c:1600
inet_csk_compat_getsockopt+0x97/0x120 net/ipv4/inet_connection_sock.c:1023
compat_tcp_getsockopt+0x49/0x80 net/ipv4/tcp.c:3543
compat_sock_common_getsockopt+0xb4/0x150 net/core/sock.c:3023
__compat_sys_getsockopt+0x1ae/0x880 net/compat.c:532
__do_compat_sys_socketcall net/compat.c:916 [inline]
__se_compat_sys_socketcall net/compat.c:844 [inline]
__ia32_compat_sys_socketcall+0xcd1/0x1070 net/compat.c:844
do_syscall_32_irqs_on arch/x86/entry/common.c:323 [inline]
do_fast_syscall_32+0x345/0xf9b arch/x86/entry/common.c:394
entry_SYSENTER_compat+0x70/0x7f arch/x86/entry/entry_64_compat.S:139
RIP: 0023:0xf7fd9cb9
Code: 55 08 8b 88 64 cd ff ff 8b 98 68 cd ff ff 89 c8 85 d2 74 02 89 0a 5b
5d c3 8b 04 24 c3 8b 1c 24 c3 51 52 55 89 e5 0f 34 cd 80 <5d> 5a 59 c3 90
90 90 90 eb 0d 90 90 90 90 90 90 90 90 90 90 90 90
RSP: 002b:000000000845e340 EFLAGS: 00000206 ORIG_RAX: 0000000000000066
RAX: ffffffffffffffda RBX: 000000000000000f RCX: 000000000845e35c
RDX: 000000000845e3b4 RSI: 000000000845e3b4 RDI: 000000000845e408
RBP: 000000000811fe18 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
Modules linked in:
Dumping ftrace buffer:
(ftrace buffer empty)
---[ end trace 4ba2b1524fe29341 ]---
RIP: 0010:touch_atime+0xaf/0x310 fs/inode.c:1724
Code: 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 21 02 00 00 48 b8 00 00 00 00 00
fc ff df 4d 8b 6c 24 08 49 8d 7d 58 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f
85 f3 01 00 00 4d 8b 6d 58 4c 89 e7 31 d2 4c 89 ee
RSP: 0018:ffff8801957c7500 EFLAGS: 00010202
RAX: dffffc0000000000 RBX: 1ffff10032af8ea2 RCX: ffffffff81c34705
RDX: 000000000000000b RSI: ffffffff81c94c3f RDI: 0000000000000058
RBP: ffff8801957c7598 R08: ffff8801957be640 R09: ffffed0039b488f0
R10: ffffed0039b488f0 R11: ffff8801cda44787 R12: ffff8801cda45510
R13: 0000000000000000 R14: 0000000000000000 R15: dffffc0000000000
FS: 0000000000000000(0000) GS:ffff8801daf00000(0063) knlGS:00000000087c3900
CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033
CR2: 000000000811dc8c CR3: 0000000195785000 CR4: 00000000001406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
---
This bug 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 bug report. See:
https://goo.gl/tpsmEJ#bug-status-tracking for how to communicate with
syzbot.