syzbot


BUG: unable to handle kernel paging request in fuse_dev_do_write

Status: upstream: reported C repro on 2023/05/18 20:01
Bug presence: origin:downstream
[Documentation on labels]
Reported-by: syzbot+aed068c41e83dab87637@syzkaller.appspotmail.com
First crash: 396d, last: 30d
Cause bisection: introduced by (bisect log) :
commit c0b8bfdecfa32e394df30c8ad8dab4ac894d1b0b
Author: Daniel Rosenberg <drosen@google.com>
Date: Fri May 20 00:04:23 2022 +0000

  ANDROID: fsnotify: Notify lower fs of open

Crash: BUG: unable to handle kernel paging request in fuse_dev_do_write (log)
Repro: C syz .config
  
Bug presence (3)
Date Name Commit Repro Result
2023/05/18 android14-6.1 (ToT) bae70267baab C [report] BUG: unable to handle kernel paging request in fuse_dev_do_write
2023/05/18 lts (merge base) b1644a0031cf C Didn't crash
2023/05/18 upstream (ToT) 2d1bcbc6cd70 C Didn't crash
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-5-10 BUG: unable to handle kernel paging request in fuse_dev_do_write (3) 1 82d 82d 0/2 premoderation: reported on 2024/03/24 11:37
Last patch testing requests (1)
Created Duration User Patch Repo Result
2023/08/24 23:43 13m retest repro android14-6.1 report log
Fix bisection attempts (8)
Created Duration User Patch Repo Result
2024/05/16 03:33 39m bisect fix android14-6.1 job log (0) log
2024/04/13 04:43 1h38m bisect fix android14-6.1 job log (0) log
2024/03/11 05:31 59m bisect fix android14-6.1 job log (0) log
2024/02/02 19:08 57m bisect fix android14-6.1 job log (0) log
2023/12/30 11:03 44m bisect fix android14-6.1 job log (0) log
2023/11/29 21:45 46m bisect fix android14-6.1 job log (0) log
2023/10/30 00:40 40m bisect fix android14-6.1 job log (0) log
2023/09/29 01:27 1h30m bisect fix android14-6.1 job log (0) log

Sample crash report:
BUG: unable to handle page fault for address: ffffed10497c01ff
#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: 395 Comm: syz-executor437 Not tainted 6.1.25-syzkaller-00241-g270a77dd074c #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/28/2023
RIP: 0010:fuse_dev_do_write+0x3828/0x6110 fs/fuse/dev.c:1938
Code: 49 8b 7d 00 48 89 f0 48 c1 e8 03 0f b6 04 10 84 c0 48 89 fb 0f 85 80 27 00 00 44 8b 2e 41 ff cd 49 01 fd 4c 89 e8 48 c1 e8 03 <0f> b6 04 10 84 c0 0f 85 94 27 00 00 41 c6 45 00 00 41 80 3c 17 00
RSP: 0018:ffffc90000b27840 EFLAGS: 00010a07
RAX: 1ffff110497c01ff RBX: ffff88814be01000 RCX: ffff8881096c1300
RDX: dffffc0000000000 RSI: ffffc9000074f9e8 RDI: ffff88814be01000
RBP: ffffc90000b27b70 R08: ffffffff820ecff5 R09: fffff9400088a907
R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff11021a074e1
R13: ffff88824be00fff R14: ffff88812e08cbf0 R15: 1ffff11025c1197e
FS:  00007fb348485700(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffed10497c01ff CR3: 000000012c429000 CR4: 00000000003506b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 fuse_dev_write+0x144/0x1d0 fs/fuse/dev.c:1988
 call_write_iter include/linux/fs.h:2212 [inline]
 new_sync_write fs/read_write.c:491 [inline]
 vfs_write+0x8d1/0xe80 fs/read_write.c:584
 ksys_write+0x199/0x2c0 fs/read_write.c:637
 __do_sys_write fs/read_write.c:649 [inline]
 __se_sys_write fs/read_write.c:646 [inline]
 __x64_sys_write+0x7b/0x90 fs/read_write.c:646
 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+0x63/0xcd
RIP: 0033:0x7fb3484f5909
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 71 15 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 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fb3484852f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007fb3485824d0 RCX: 00007fb3484f5909
RDX: 0000000000000010 RSI: 00000000200042c0 RDI: 0000000000000003
RBP: 00007fb34854f26c R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007fb34854b260
R13: 00007fb34854d268 R14: 2f30656c69662f2e R15: 00007fb3485824d8
 </TASK>
Modules linked in:
CR2: ffffed10497c01ff
---[ end trace 0000000000000000 ]---
RIP: 0010:fuse_dev_do_write+0x3828/0x6110 fs/fuse/dev.c:1938
Code: 49 8b 7d 00 48 89 f0 48 c1 e8 03 0f b6 04 10 84 c0 48 89 fb 0f 85 80 27 00 00 44 8b 2e 41 ff cd 49 01 fd 4c 89 e8 48 c1 e8 03 <0f> b6 04 10 84 c0 0f 85 94 27 00 00 41 c6 45 00 00 41 80 3c 17 00
RSP: 0018:ffffc90000b27840 EFLAGS: 00010a07
RAX: 1ffff110497c01ff RBX: ffff88814be01000 RCX: ffff8881096c1300
RDX: dffffc0000000000 RSI: ffffc9000074f9e8 RDI: ffff88814be01000
RBP: ffffc90000b27b70 R08: ffffffff820ecff5 R09: fffff9400088a907
R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff11021a074e1
R13: ffff88824be00fff R14: ffff88812e08cbf0 R15: 1ffff11025c1197e
FS:  00007fb348485700(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffed10497c01ff CR3: 000000012c429000 CR4: 00000000003506b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
   0:	49 8b 7d 00          	mov    0x0(%r13),%rdi
   4:	48 89 f0             	mov    %rsi,%rax
   7:	48 c1 e8 03          	shr    $0x3,%rax
   b:	0f b6 04 10          	movzbl (%rax,%rdx,1),%eax
   f:	84 c0                	test   %al,%al
  11:	48 89 fb             	mov    %rdi,%rbx
  14:	0f 85 80 27 00 00    	jne    0x279a
  1a:	44 8b 2e             	mov    (%rsi),%r13d
  1d:	41 ff cd             	dec    %r13d
  20:	49 01 fd             	add    %rdi,%r13
  23:	4c 89 e8             	mov    %r13,%rax
  26:	48 c1 e8 03          	shr    $0x3,%rax
* 2a:	0f b6 04 10          	movzbl (%rax,%rdx,1),%eax <-- trapping instruction
  2e:	84 c0                	test   %al,%al
  30:	0f 85 94 27 00 00    	jne    0x27ca
  36:	41 c6 45 00 00       	movb   $0x0,0x0(%r13)
  3b:	41 80 3c 17 00       	cmpb   $0x0,(%r15,%rdx,1)

Crashes (33):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/05/18 19:56 android14-6.1 270a77dd074c 3bb7af1d .config strace log report syz C [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: unable to handle kernel paging request in fuse_dev_do_write
2023/07/12 04:37 android14-6.1 f3c6324daa33 2f19aa4f .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: unable to handle kernel paging request in fuse_dev_do_write
2023/07/11 02:00 android14-6.1 c75c8311c8e7 d47e94ee .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: unable to handle kernel paging request in fuse_dev_do_write
2023/07/10 14:46 android14-6.1 0a2e9dd65c6b d47e94ee .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: unable to handle kernel paging request in fuse_dev_do_write
2023/07/10 09:04 android14-6.1 0a2e9dd65c6b 668cb1fa .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: unable to handle kernel paging request in fuse_dev_do_write
2023/07/10 08:45 android14-6.1 0a2e9dd65c6b 668cb1fa .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: unable to handle kernel paging request in fuse_dev_do_write
2023/07/10 08:32 android14-6.1 0a2e9dd65c6b 668cb1fa .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: unable to handle kernel paging request in fuse_dev_do_write
2023/07/10 08:32 android14-6.1 0a2e9dd65c6b 668cb1fa .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: unable to handle kernel paging request in fuse_dev_do_write
2023/06/13 22:28 android14-6.1 71761b36c37a d2ee9228 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: unable to handle kernel paging request in fuse_dev_do_write
2023/06/13 21:40 android14-6.1 71761b36c37a d2ee9228 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: unable to handle kernel paging request in fuse_dev_do_write
2023/06/13 17:27 android14-6.1 6852d5ccb972 749afb64 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: unable to handle kernel paging request in fuse_dev_do_write
2023/06/13 17:26 android14-6.1 6852d5ccb972 749afb64 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: unable to handle kernel paging request in fuse_dev_do_write
2023/06/12 18:24 android14-6.1 09e0f8509684 aaed0183 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: unable to handle kernel paging request in fuse_dev_do_write
2023/06/12 17:04 android14-6.1 09e0f8509684 aaed0183 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: unable to handle kernel paging request in fuse_dev_do_write
2023/06/12 10:07 android14-6.1 09e0f8509684 49519f06 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: unable to handle kernel paging request in fuse_dev_do_write
2023/06/10 17:26 android14-6.1 7641ff0a300a 49519f06 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: unable to handle kernel paging request in fuse_dev_do_write
2023/06/10 17:04 android14-6.1 7641ff0a300a 49519f06 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: unable to handle kernel paging request in fuse_dev_do_write
2023/06/10 17:03 android14-6.1 7641ff0a300a 49519f06 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: unable to handle kernel paging request in fuse_dev_do_write
2023/06/10 16:59 android14-6.1 7641ff0a300a 49519f06 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: unable to handle kernel paging request in fuse_dev_do_write
2023/06/10 16:54 android14-6.1 7641ff0a300a 49519f06 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: unable to handle kernel paging request in fuse_dev_do_write
2023/06/10 16:53 android14-6.1 7641ff0a300a 49519f06 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: unable to handle kernel paging request in fuse_dev_do_write
2023/06/10 16:53 android14-6.1 7641ff0a300a 49519f06 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: unable to handle kernel paging request in fuse_dev_do_write
2023/06/10 16:43 android14-6.1 7641ff0a300a 49519f06 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: unable to handle kernel paging request in fuse_dev_do_write
2023/05/22 23:59 android14-6.1 e6c15792a6de 4bce1a3e .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: unable to handle kernel paging request in fuse_dev_do_write
2023/05/22 23:57 android14-6.1 e6c15792a6de 4bce1a3e .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: unable to handle kernel paging request in fuse_dev_do_write
2023/05/22 21:58 android14-6.1 e6c15792a6de 4bce1a3e .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: unable to handle kernel paging request in fuse_dev_do_write
2023/05/22 20:49 android14-6.1 e6c15792a6de 4bce1a3e .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: unable to handle kernel paging request in fuse_dev_do_write
2023/05/22 02:56 android14-6.1 cffbdd825e02 4bce1a3e .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: unable to handle kernel paging request in fuse_dev_do_write
2023/05/18 21:12 android14-6.1 270a77dd074c 3bb7af1d .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: unable to handle kernel paging request in fuse_dev_do_write
2023/05/18 19:05 android14-6.1 270a77dd074c 3bb7af1d .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: unable to handle kernel paging request in fuse_dev_do_write
2023/05/18 16:44 android14-6.1 270a77dd074c 3bb7af1d .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: unable to handle kernel paging request in fuse_dev_do_write
2023/05/15 12:29 android14-6.1 81509f85f33a c4d362e7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: unable to handle kernel paging request in fuse_dev_do_write
2023/05/15 10:31 android14-6.1 81509f85f33a c4d362e7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: unable to handle kernel paging request in fuse_dev_do_write
* Struck through repros no longer work on HEAD.