general protection fault in __vfs_write (3)

5 views
Skip to first unread message

syzbot

unread,
Dec 21, 2021, 9:20:33 PM12/21/21
to syzkaller...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: 9dfbac0e6b86 Linux 4.14.258
git tree: linux-4.14.y
console output: https://syzkaller.appspot.com/x/log.txt?x=1362667eb00000
kernel config: https://syzkaller.appspot.com/x/.config?x=9cac3dc48a267418
dashboard link: https://syzkaller.appspot.com/bug?extid=087e0af9eaec1b3dd859
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+087e0a...@syzkaller.appspotmail.com

sock_create net/socket.c:1315 [inline]
SYSC_socket net/socket.c:1345 [inline]
SyS_socket+0xd1/0x1b0 net/socket.c:1325
do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292
general protection fault: 0000 [#1] PREEMPT SMP KASAN
entry_SYSCALL_64_after_hwframe+0x46/0xbb
Modules linked in:
RIP: 0033:0x7f537c9cfe99
RSP: 002b:00007f537b345168 EFLAGS: 00000246
CPU: 0 PID: 14289 Comm: syz-executor.1 Not tainted 4.14.258-syzkaller #0
ORIG_RAX: 0000000000000029
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RAX: ffffffffffffffda RBX: 00007f537cae2f60 RCX: 00007f537c9cfe99
task: ffff888097ca0300 task.stack: ffff88808db08000
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RIP: 0010:vhost_umem_interval_tree_iter_first drivers/vhost/vhost.c:53 [inline]
RIP: 0010:vhost_del_umem_range drivers/vhost/vhost.c:977 [inline]
RIP: 0010:vhost_process_iotlb_msg drivers/vhost/vhost.c:1048 [inline]
RIP: 0010:vhost_chr_write_iter drivers/vhost/vhost.c:1077 [inline]
RIP: 0010:vhost_chr_write_iter+0x873/0x1100 drivers/vhost/vhost.c:1061
RBP: 00007f537b3451d0 R08: 0000000000000000 R09: 0000000000000000
RSP: 0018:ffff88808db0fc00 EFLAGS: 00010246
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001
R13: 00007ffd9eb0fc2f R14: 00007f537b345300 R15: 0000000000022000
RAX: dffffc0000000000 RBX: ffff8880794e2340 RCX: 0000000000000000
RDX: 0000000000000002 RSI: ffffffff857e9f65 RDI: ffff8880794e2400
RBP: ffffed100f29c479 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000002 R11: ffff888097ca0300 R12: 0000000000000002
socket: no more sockets
R13: 0000000000000000 R14: dffffc0000000000 R15: 1ffff11011b61f87
FS: 00007efcaebaa700(0000) GS:ffff8880ba400000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 000000009be67000 CR4: 00000000003406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
call_write_iter include/linux/fs.h:1780 [inline]
new_sync_write fs/read_write.c:469 [inline]
__vfs_write+0x44c/0x630 fs/read_write.c:482
vfs_write+0x17f/0x4d0 fs/read_write.c:544
SYSC_write fs/read_write.c:590 [inline]
SyS_write+0xf2/0x210 fs/read_write.c:582
do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292
entry_SYSCALL_64_after_hwframe+0x46/0xbb
RIP: 0033:0x7efcb0234e99
RSP: 002b:00007efcaebaa168 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007efcb0347f60 RCX: 00007efcb0234e99
RDX: 0000000000000048 RSI: 0000000020001100 RDI: 0000000000000003
RBP: 00007efcb028eff1 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffd2eeacf5f R14: 00007efcaebaa300 R15: 0000000000022000
Code: ff df 48 89 f9 48 c1 e9 03 80 3c 01 00 0f 85 c6 06 00 00 4c 8b ab c0 00 00 00 48 b8 00 00 00 00 00 fc ff df 4c 89 e9 48 c1 e9 03 <80> 3c 01 00 0f 85 8f 06 00 00 49 8b 6d 00 48 85 ed 0f 84 e4 03
RIP: vhost_umem_interval_tree_iter_first drivers/vhost/vhost.c:53 [inline] RSP: ffff88808db0fc00
RIP: vhost_del_umem_range drivers/vhost/vhost.c:977 [inline] RSP: ffff88808db0fc00
RIP: vhost_process_iotlb_msg drivers/vhost/vhost.c:1048 [inline] RSP: ffff88808db0fc00
RIP: vhost_chr_write_iter drivers/vhost/vhost.c:1077 [inline] RSP: ffff88808db0fc00
RIP: vhost_chr_write_iter+0x873/0x1100 drivers/vhost/vhost.c:1061 RSP: ffff88808db0fc00
---[ end trace 3f6a7f9c054a63bb ]---
FAULT_INJECTION: forcing a failure.
name failslab, interval 1, probability 0, space 0, times 0
----------------
Code disassembly (best guess), 1 bytes skipped:
0: df 48 89 fisttps -0x77(%rax)
3: f9 stc
4: 48 c1 e9 03 shr $0x3,%rcx
8: 80 3c 01 00 cmpb $0x0,(%rcx,%rax,1)
c: 0f 85 c6 06 00 00 jne 0x6d8
12: 4c 8b ab c0 00 00 00 mov 0xc0(%rbx),%r13
19: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax
20: fc ff df
23: 4c 89 e9 mov %r13,%rcx
26: 48 c1 e9 03 shr $0x3,%rcx
* 2a: 80 3c 01 00 cmpb $0x0,(%rcx,%rax,1) <-- trapping instruction
2e: 0f 85 8f 06 00 00 jne 0x6c3
34: 49 8b 6d 00 mov 0x0(%r13),%rbp
38: 48 85 ed test %rbp,%rbp
3b: 0f .byte 0xf
3c: 84 e4 test %ah,%ah
3e: 03 .byte 0x3


---
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,
Mar 1, 2023, 12:09:54 PM3/1/23
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