syzbot


BUG: unable to handle kernel paging request in fuse_dev_do_write

Status: auto-obsoleted due to no activity on 2023/10/10 01:15
Reported-by: syzbot+a85da3dfd27c4cb91b8d@syzkaller.appspotmail.com
First crash: 515d, last: 513d
Similar bugs (6)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-5-10 BUG: unable to handle kernel paging request in fuse_dev_do_write 18 512d 578d 0/2 auto-obsoleted due to no activity on 2023/09/03 17:45
android-54 BUG: unable to handle kernel paging request in fuse_dev_do_write C 213 10d 1452d 0/2 upstream: reported C repro on 2020/12/15 11:21
android-49 BUG: unable to handle kernel paging request in fuse_dev_do_write C 46 1876d 2064d 0/3 public: reported C repro on 2019/04/13 00:00
android-5-10 BUG: unable to handle kernel paging request in fuse_dev_do_write (2) 1 377d 377d 0/2 auto-obsoleted due to no activity on 2024/02/23 07:02
android-6-1 BUG: unable to handle kernel paging request in fuse_dev_do_write origin:downstream C done error 33 89d 567d 0/2 upstream: reported C repro on 2023/05/18 20:01
android-5-10 BUG: unable to handle kernel paging request in fuse_dev_do_write (3) 1 257d 257d 0/2 auto-obsoleted due to no activity on 2024/06/22 11:39

Sample crash report:
BUG: unable to handle page fault for address: ffffed1048e571ff
#PF: supervisor read access in kernel mode
#PF: error_code(0x0000) - not-present page
PGD 23fff2067 P4D 23fff2067 PUD 23fff0067 PMD 0 
Oops: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 24685 Comm: syz-executor.0 Not tainted 5.15.119-syzkaller-01849-g879959450ec7 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/03/2023
RIP: 0010:fuse_dev_do_write+0x22f6/0x5090 fs/fuse/dev.c:1947
Code: d8 48 c1 e8 03 49 bd 00 00 00 00 00 fc ff df 42 0f b6 04 28 84 c0 0f 85 ea 2a 00 00 8b 1b ff cb 4c 01 fb 48 89 d8 48 c1 e8 03 <42> 0f b6 04 28 84 c0 0f 85 ec 2a 00 00 c6 03 00 48 8b 44 24 48 42
RSP: 0018:ffffc90003937820 EFLAGS: 00010a07
RAX: 1ffff11048e571ff RBX: ffff8882472b8fff RCX: dffffc0000000000
RDX: ffffc90000dd9000 RSI: 0000000000000053 RDI: 0000000000000054
RBP: ffffc90003937b50 R08: ffffffff82052a76 R09: fffff940009ddbf7
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff888118694000
R13: dffffc0000000000 R14: 1ffff110230d2807 R15: ffff8881472b9000
FS:  00007f2e460046c0(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffed1048e571ff CR3: 00000001468fb000 CR4: 00000000003506b0
Call Trace:
 <TASK>
 fuse_dev_write+0x159/0x1c0 fs/fuse/dev.c:1997
 call_write_iter include/linux/fs.h:2159 [inline]
 new_sync_write fs/read_write.c:507 [inline]
 vfs_write+0xd5d/0x1110 fs/read_write.c:594
 ksys_write+0x199/0x2c0 fs/read_write.c:647
 __do_sys_write fs/read_write.c:659 [inline]
 __se_sys_write fs/read_write.c:656 [inline]
 __x64_sys_write+0x7b/0x90 fs/read_write.c:656
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x61/0xcb
RIP: 0033:0x7f2e47281b29
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f2e460040c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f2e473a0f80 RCX: 00007f2e47281b29
RDX: 0000000000000010 RSI: 00000000200042c0 RDI: 0000000000000003
RBP: 00007f2e472cd47a R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000000b R14: 00007f2e473a0f80 R15: 00007ffc3b132f98
 </TASK>
Modules linked in:
CR2: ffffed1048e571ff
---[ end trace 50543ed163f547b1 ]---
RIP: 0010:fuse_dev_do_write+0x22f6/0x5090 fs/fuse/dev.c:1947
Code: d8 48 c1 e8 03 49 bd 00 00 00 00 00 fc ff df 42 0f b6 04 28 84 c0 0f 85 ea 2a 00 00 8b 1b ff cb 4c 01 fb 48 89 d8 48 c1 e8 03 <42> 0f b6 04 28 84 c0 0f 85 ec 2a 00 00 c6 03 00 48 8b 44 24 48 42
RSP: 0018:ffffc90003937820 EFLAGS: 00010a07
RAX: 1ffff11048e571ff RBX: ffff8882472b8fff RCX: dffffc0000000000
RDX: ffffc90000dd9000 RSI: 0000000000000053 RDI: 0000000000000054
RBP: ffffc90003937b50 R08: ffffffff82052a76 R09: fffff940009ddbf7
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff888118694000
R13: dffffc0000000000 R14: 1ffff110230d2807 R15: ffff8881472b9000
FS:  00007f2e460046c0(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffed1048e571ff CR3: 00000001468fb000 CR4: 00000000003506b0
----------------
Code disassembly (best guess), 1 bytes skipped:
   0:	48 c1 e8 03          	shr    $0x3,%rax
   4:	49 bd 00 00 00 00 00 	movabs $0xdffffc0000000000,%r13
   b:	fc ff df
   e:	42 0f b6 04 28       	movzbl (%rax,%r13,1),%eax
  13:	84 c0                	test   %al,%al
  15:	0f 85 ea 2a 00 00    	jne    0x2b05
  1b:	8b 1b                	mov    (%rbx),%ebx
  1d:	ff cb                	dec    %ebx
  1f:	4c 01 fb             	add    %r15,%rbx
  22:	48 89 d8             	mov    %rbx,%rax
  25:	48 c1 e8 03          	shr    $0x3,%rax
* 29:	42 0f b6 04 28       	movzbl (%rax,%r13,1),%eax <-- trapping instruction
  2e:	84 c0                	test   %al,%al
  30:	0f 85 ec 2a 00 00    	jne    0x2b22
  36:	c6 03 00             	movb   $0x0,(%rbx)
  39:	48 8b 44 24 48       	mov    0x48(%rsp),%rax
  3e:	42                   	rex.X

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/07/12 01:10 android13-5.15-lts 879959450ec7 2f19aa4f .config console log report info ci2-android-5-15 BUG: unable to handle kernel paging request in fuse_dev_do_write
2023/07/10 08:52 android13-5.15-lts 879959450ec7 668cb1fa .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: unable to handle kernel paging request in fuse_dev_do_write
* Struck through repros no longer work on HEAD.