syzbot


general protection fault in diRead (2)

Status: upstream: reported C repro on 2024/01/22 18:21
Subsystems: jfs
[Documentation on labels]
Reported-by: syzbot+8f731999dc47797f064f@syzkaller.appspotmail.com
First crash: 303d, last: 2d03h
Cause bisection: failed (error log, bisect log)
  
Discussions (2)
Title Replies (including bot) Last reply
[syzbot] [jfs?] general protection fault in diRead (2) 0 (3) 2024/07/20 00:16
Re: [syzbot] [jfs?] general protection fault in diRead (2) 1 (1) 2024/03/07 07:10
Similar bugs (3)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-6.1 general protection fault in diRead 2 190d 193d 0/3 auto-obsoleted due to no activity on 2024/08/23 04:03
linux-5.15 BUG: unable to handle kernel paging request in diRead origin:upstream C 9 10d 45d 0/3 upstream: reported C repro on 2024/10/06 20:00
upstream general protection fault in diRead jfs C error error 4 545d 711d 0/28 auto-obsoleted due to no activity on 2023/09/03 06:21
Last patch testing requests (1)
Created Duration User Patch Repo Result
2024/07/15 04:05 17m retest repro upstream OK log

Sample crash report:
Oops: general protection fault, probably for non-canonical address 0xdffffc0000000006: 0000 [#1] PREEMPT SMP KASAN PTI
KASAN: null-ptr-deref in range [0x0000000000000030-0x0000000000000037]
CPU: 0 UID: 0 PID: 6150 Comm: syz-executor283 Not tainted 6.12.0-rc5-syzkaller-00005-ge42b1a9a2557 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
RIP: 0010:diRead+0x43c/0xbc0 fs/jfs/jfs_imap.c:342
Code: 08 00 4c 8b 64 24 18 74 08 48 89 ef e8 9d f2 d3 fe 48 8b 5d 00 48 83 c3 34 48 89 d8 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df <0f> b6 04 08 84 c0 0f 85 84 05 00 00 8b 1b bf 40 00 00 00 89 de e8
RSP: 0018:ffffc900047ff658 EFLAGS: 00010207
RAX: 0000000000000006 RBX: 0000000000000034 RCX: dffffc0000000000
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000020
RBP: ffff88803286c8a0 R08: ffffffff83277df0 R09: 1ffff1100df424b5
R10: dffffc0000000000 R11: ffffed100df424b6 R12: 0000000000000000
R13: 000000000000001c R14: 0000000000000000 R15: ffff88806fa12910
FS:  00007f8b742366c0(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f8b74236d58 CR3: 0000000032c2c000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 jfs_iget+0x86/0x3e0 fs/jfs/inode.c:35
 jfs_lookup+0x226/0x410 fs/jfs/namei.c:1469
 lookup_open fs/namei.c:3573 [inline]
 open_last_lookups fs/namei.c:3694 [inline]
 path_openat+0x11a7/0x3590 fs/namei.c:3930
 do_filp_open+0x235/0x490 fs/namei.c:3960
 do_sys_openat2+0x13e/0x1d0 fs/open.c:1415
 do_sys_open fs/open.c:1430 [inline]
 __do_sys_openat fs/open.c:1446 [inline]
 __se_sys_openat fs/open.c:1441 [inline]
 __x64_sys_openat+0x247/0x2a0 fs/open.c:1441
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f8b742c5ce9
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 a1 1a 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:00007f8b74236218 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 00007f8b74353708 RCX: 00007f8b742c5ce9
RDX: 0000000000000042 RSI: 00000000200002c0 RDI: 00000000ffffff9c
RBP: 00007f8b74353700 R08: 00007fff69f92d77 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f8b7435370c
R13: 00007f8b7431f988 R14: 0031656c69662f2e R15: 00007f8b74319780
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:diRead+0x43c/0xbc0 fs/jfs/jfs_imap.c:342
Code: 08 00 4c 8b 64 24 18 74 08 48 89 ef e8 9d f2 d3 fe 48 8b 5d 00 48 83 c3 34 48 89 d8 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df <0f> b6 04 08 84 c0 0f 85 84 05 00 00 8b 1b bf 40 00 00 00 89 de e8
RSP: 0018:ffffc900047ff658 EFLAGS: 00010207
RAX: 0000000000000006 RBX: 0000000000000034 RCX: dffffc0000000000
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000020
RBP: ffff88803286c8a0 R08: ffffffff83277df0 R09: 1ffff1100df424b5
R10: dffffc0000000000 R11: ffffed100df424b6 R12: 0000000000000000
R13: 000000000000001c R14: 0000000000000000 R15: ffff88806fa12910
FS:  00007f8b742366c0(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000555579131738 CR3: 0000000032c2c000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
   0:	08 00                	or     %al,(%rax)
   2:	4c 8b 64 24 18       	mov    0x18(%rsp),%r12
   7:	74 08                	je     0x11
   9:	48 89 ef             	mov    %rbp,%rdi
   c:	e8 9d f2 d3 fe       	call   0xfed3f2ae
  11:	48 8b 5d 00          	mov    0x0(%rbp),%rbx
  15:	48 83 c3 34          	add    $0x34,%rbx
  19:	48 89 d8             	mov    %rbx,%rax
  1c:	48 c1 e8 03          	shr    $0x3,%rax
  20:	48 b9 00 00 00 00 00 	movabs $0xdffffc0000000000,%rcx
  27:	fc ff df
* 2a:	0f b6 04 08          	movzbl (%rax,%rcx,1),%eax <-- trapping instruction
  2e:	84 c0                	test   %al,%al
  30:	0f 85 84 05 00 00    	jne    0x5ba
  36:	8b 1b                	mov    (%rbx),%ebx
  38:	bf 40 00 00 00       	mov    $0x40,%edi
  3d:	89 de                	mov    %ebx,%esi
  3f:	e8                   	.byte 0xe8

Crashes (84):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/10/29 20:29 upstream e42b1a9a2557 66aeb999 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-upstream-fs general protection fault in diRead
2024/10/06 21:17 upstream 8f602276d390 d7906eff .config strace log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-upstream-fs general protection fault in diRead
2024/07/20 00:16 upstream 4305ca0087dd 890ce4f3 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-upstream-fs general protection fault in diRead
2024/10/17 21:48 upstream 6efbea77b390 666f77ed .config console log report syz / log C [disk image (non-bootable)] [vmlinux] [kernel image] [mounted in repro] ci-snapshot-upstream-root general protection fault in diRead
2024/11/11 19:29 linux-next 929beafbe7ac 97fe5517 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-linux-next-kasan-gce-root general protection fault in diRead
2024/10/05 19:55 linux-next c02d24a5af66 d7906eff .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-linux-next-kasan-gce-root general protection fault in diRead
2024/10/28 21:56 upstream 819837584309 9efb3cc7 .config console log report syz / log [disk image (non-bootable)] [vmlinux] [kernel image] [mounted in repro] ci-snapshot-upstream-root general protection fault in diRead
2024/07/01 03:36 upstream e0b668b07034 757f06b1 .config console log report syz / log [disk image] [vmlinux] [kernel image] [mounted in repro #1] [mounted in repro #2] [mounted in repro #3] [mounted in repro #4] ci2-upstream-fs general protection fault in diRead
2024/11/19 03:14 upstream 23acd177540d 571351cb .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs general protection fault in diRead
2024/11/18 08:43 upstream adc218676eef cfe3a04a .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs general protection fault in diRead
2024/10/31 10:59 upstream 4236f913808c 96eb609f .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs general protection fault in diRead
2024/10/31 05:32 upstream 4236f913808c 96eb609f .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs general protection fault in diRead
2024/10/22 06:12 upstream c2ee9f594da8 a93682b3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs general protection fault in diRead
2024/10/21 23:57 upstream d12937763990 f1e4447c .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs general protection fault in diRead
2024/10/18 20:12 upstream 4d939780b705 666f77ed .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs general protection fault in diRead
2024/10/17 13:59 upstream c964ced77262 666f77ed .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs general protection fault in diRead
2024/10/11 04:49 upstream eb952c47d154 8fbfc0c8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs general protection fault in diRead
2024/10/06 01:17 upstream fc20a3e57247 d7906eff .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs general protection fault in diRead
2024/09/29 16:50 upstream 3efc57369a0c ba29ff75 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs general protection fault in diRead
2024/09/24 07:19 upstream abf2050f51fd 89298aad .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs general protection fault in diRead
2024/09/23 18:03 upstream f8eb5bd9a818 89298aad .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs general protection fault in diRead
2024/09/23 05:22 upstream de5cb0dcb74c 6f888b75 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs general protection fault in diRead
2024/09/23 03:51 upstream de5cb0dcb74c 6f888b75 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs general protection fault in diRead
2024/09/22 16:49 upstream 88264981f208 6f888b75 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs general protection fault in diRead
2024/09/21 13:19 upstream 1868f9d0260e 6f888b75 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs general protection fault in diRead
2024/09/21 08:34 upstream 1868f9d0260e 6f888b75 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs general protection fault in diRead
2024/09/20 04:29 upstream 2004cef11ea0 6f888b75 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs general protection fault in diRead
2024/09/20 01:09 upstream 2004cef11ea0 6f888b75 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs general protection fault in diRead
2024/09/19 07:20 upstream 4a39ac5b7d62 c673ca06 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs general protection fault in diRead
2024/09/18 17:34 upstream bdf56c7580d2 c673ca06 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs general protection fault in diRead
2024/09/16 00:38 upstream 98f7e32f20d2 08d8a733 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs general protection fault in diRead
2024/09/14 00:03 upstream 196145c606d0 b58f933c .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs general protection fault in diRead
2024/09/14 00:03 upstream 196145c606d0 b58f933c .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs general protection fault in diRead
2024/09/13 03:51 upstream fdf042df0463 73e8a465 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs general protection fault in diRead
2024/09/13 03:41 upstream fdf042df0463 73e8a465 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs general protection fault in diRead
2024/09/12 20:26 upstream 77f587896757 60e1a995 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs general protection fault in diRead
2024/09/12 05:04 upstream 7c6a3a65ace7 d94c83d8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs general protection fault in diRead
2024/09/12 02:17 upstream 7c6a3a65ace7 d94c83d8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs general protection fault in diRead
2024/09/08 08:22 upstream d1f2d51b711a 9750182a .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs general protection fault in diRead
2024/09/03 14:37 upstream 67784a74e258 326f9c5a .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs general protection fault in diRead
2024/08/28 20:52 upstream 86987d84b968 ef3de9e8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs general protection fault in diRead
2024/08/26 06:14 upstream 5be63fc19fca d7d32352 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs general protection fault in diRead
2024/08/26 00:32 upstream 5be63fc19fca d7d32352 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs general protection fault in diRead
2024/08/25 11:16 upstream 780bdc1ba776 d7d32352 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs general protection fault in diRead
2024/08/25 03:35 upstream d2bafcf224f3 d7d32352 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs general protection fault in diRead
2024/01/22 13:33 upstream 6613476e225e 9bd8dcda .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs general protection fault in diRead
2024/11/08 17:17 upstream 906bd684e4b1 d40c056e .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root general protection fault in diRead
2024/10/20 07:28 upstream 715ca9dd687f cd6fc0a3 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root general protection fault in diRead
2024/10/12 01:30 upstream 9e4c6c1ad9a1 084d8178 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root general protection fault in diRead
2024/10/05 11:19 upstream 27cc6fdf7201 d7906eff .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root general protection fault in diRead
2024/09/29 05:27 upstream 3efc57369a0c ba29ff75 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root general protection fault in diRead
2024/09/06 03:56 upstream ad618736883b 464ac2ed .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root general protection fault in diRead
2024/08/31 16:44 upstream 1934261d8974 1eda0d14 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root general protection fault in diRead
2024/10/29 07:18 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 1bf329c696cf 9efb3cc7 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 BUG: unable to handle kernel paging request in diRead
2024/09/01 09:02 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci df54f4a16f82 1eda0d14 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 BUG: unable to handle kernel paging request in diRead
2024/08/25 15:25 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci be6d853c7631 d7d32352 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 BUG: unable to handle kernel paging request in diRead
* Struck through repros no longer work on HEAD.