syzbot


BUG: unable to handle kernel paging request in fuse_dev_do_write (3)

Status: premoderation: reported on 2024/03/24 11:37
Reported-by: syzbot+5329830d0c463458491f@syzkaller.appspotmail.com
First crash: 82d, last: 82d
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 338d 403d 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 1277d 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 1701d 1890d 0/3 public: reported C repro on 2019/04/13 00:00
android-5-15 BUG: unable to handle kernel paging request in fuse_dev_do_write 2 339d 340d 0/2 auto-obsoleted due to no activity on 2023/10/10 01:15
android-5-10 BUG: unable to handle kernel paging request in fuse_dev_do_write (2) 1 202d 202d 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 33 29d 393d 0/2 upstream: reported C repro on 2023/05/18 20:01

Sample crash report:
BUG: unable to handle page fault for address: ffffed1054e21fff
#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: 7268 Comm: syz-executor.3 Tainted: G        W         5.10.209-syzkaller-00001-ge7daca75b4c3 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/29/2024
RIP: 0010:fuse_dev_do_write+0x143d/0x30e0 fs/fuse/dev.c:1951
Code: e8 03 49 bf 00 00 00 00 00 fc ff df 42 0f b6 04 38 84 c0 0f 85 56 1a 00 00 45 8b 6d 00 41 ff cd 49 01 dd 4c 89 e8 48 c1 e8 03 <42> 0f b6 04 38 84 c0 0f 85 56 1a 00 00 41 c6 45 00 00 43 80 3c 3c
RSP: 0018:ffffc90001247820 EFLAGS: 00010a07
RAX: 1ffff11054e21fff RBX: ffff8881a7110000 RCX: dffffc0000000000
RDX: ffffc90007728000 RSI: 0000000000000056 RDI: 0000000000000057
RBP: ffffc90001247b50 R08: ffffffff81fae961 R09: fffff94000baaa27
R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff11034f42cdc
R13: ffff8882a710ffff R14: 1ffff11034f42cdf R15: dffffc0000000000
FS:  00007fd199aba6c0(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffed1054e21fff CR3: 0000000110eeb000 CR4: 00000000003506b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 fuse_dev_write+0x147/0x1d0 fs/fuse/dev.c:2001
 call_write_iter include/linux/fs.h:2019 [inline]
 new_sync_write fs/read_write.c:518 [inline]
 vfs_write+0xb55/0xe70 fs/read_write.c:605
 ksys_write+0x199/0x2c0 fs/read_write.c:658
 __do_sys_write fs/read_write.c:670 [inline]
 __se_sys_write fs/read_write.c:667 [inline]
 __x64_sys_write+0x7b/0x90 fs/read_write.c:667
 do_syscall_64+0x34/0x70
 entry_SYSCALL_64_after_hwframe+0x61/0xc6
RIP: 0033:0x7fd19ad38da9
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:00007fd199aba0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007fd19ae66f80 RCX: 00007fd19ad38da9
RDX: 0000000000000010 RSI: 0000000020000000 RDI: 0000000000000003
RBP: 00007fd19ad8547a R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000000b R14: 00007fd19ae66f80 R15: 00007ffee5ee4968
Modules linked in:
CR2: ffffed1054e21fff
---[ end trace 5a782cd58587af9a ]---
RIP: 0010:fuse_dev_do_write+0x143d/0x30e0 fs/fuse/dev.c:1951
Code: e8 03 49 bf 00 00 00 00 00 fc ff df 42 0f b6 04 38 84 c0 0f 85 56 1a 00 00 45 8b 6d 00 41 ff cd 49 01 dd 4c 89 e8 48 c1 e8 03 <42> 0f b6 04 38 84 c0 0f 85 56 1a 00 00 41 c6 45 00 00 43 80 3c 3c
RSP: 0018:ffffc90001247820 EFLAGS: 00010a07
RAX: 1ffff11054e21fff RBX: ffff8881a7110000 RCX: dffffc0000000000
RDX: ffffc90007728000 RSI: 0000000000000056 RDI: 0000000000000057
RBP: ffffc90001247b50 R08: ffffffff81fae961 R09: fffff94000baaa27
R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff11034f42cdc
R13: ffff8882a710ffff R14: 1ffff11034f42cdf R15: dffffc0000000000
FS:  00007fd199aba6c0(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffed1054e21fff CR3: 0000000110eeb000 CR4: 00000000003506b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess), 2 bytes skipped:
   0:	49 bf 00 00 00 00 00 	movabs $0xdffffc0000000000,%r15
   7:	fc ff df
   a:	42 0f b6 04 38       	movzbl (%rax,%r15,1),%eax
   f:	84 c0                	test   %al,%al
  11:	0f 85 56 1a 00 00    	jne    0x1a6d
  17:	45 8b 6d 00          	mov    0x0(%r13),%r13d
  1b:	41 ff cd             	dec    %r13d
  1e:	49 01 dd             	add    %rbx,%r13
  21:	4c 89 e8             	mov    %r13,%rax
  24:	48 c1 e8 03          	shr    $0x3,%rax
* 28:	42 0f b6 04 38       	movzbl (%rax,%r15,1),%eax <-- trapping instruction
  2d:	84 c0                	test   %al,%al
  2f:	0f 85 56 1a 00 00    	jne    0x1a8b
  35:	41 c6 45 00 00       	movb   $0x0,0x0(%r13)
  3a:	43                   	rex.XB
  3b:	80                   	.byte 0x80
  3c:	3c 3c                	cmp    $0x3c,%al

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/03/24 11:37 android13-5.10-lts e7daca75b4c3 0ea90952 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 BUG: unable to handle kernel paging request in fuse_dev_do_write
* Struck through repros no longer work on HEAD.