syzbot


general protection fault in lbmStartIO (2)

Status: upstream: reported C repro on 2021/12/19 00:23
Subsystems: jfs tmpfs
[Documentation on labels]
Reported-by: syzbot+de6cc03ea3d42e9a849d@syzkaller.appspotmail.com
First crash: 1023d, last: 580d
Fix bisection: failed (error log, bisect log)
  
Similar bugs (3)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.14 general protection fault in lbmStartIO jfs C 112 580d 738d 0/1 upstream: reported C repro on 2022/09/30 12:33
linux-4.19 general protection fault in lbmStartIO 1 1457d 1457d 0/1 auto-closed as invalid on 2021/02/07 18:50
upstream general protection fault in lbmStartIO jfs C done 2 358d 365d 25/28 fixed on 2023/12/21 03:45

Sample crash report:
kasan: CONFIG_KASAN_INLINE enabled
kasan: GPF could be caused by NULL-ptr deref or user memory access
general protection fault: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 8110 Comm: syz-executor112 Not tainted 4.19.211-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/16/2023
RIP: 0010:lbmStartIO+0x12b/0x480 fs/jfs/jfs_logmgr.c:2143
Code: c1 ea 03 80 3c 02 00 0f 85 f5 02 00 00 48 b8 00 00 00 00 00 fc ff df 4d 8b 6c 24 20 49 8d bd e0 00 00 00 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 ef 02 00 00 4d 8b ad e0 00 00 00 4d 39 ee 74 67
RSP: 0018:ffff8880953cfa70 EFLAGS: 00010202
RAX: dffffc0000000000 RBX: ffff8880aa444f00 RCX: 0000000000000003
RDX: 000000000000001c RSI: ffffffff835f37ea RDI: 00000000000000e0
RBP: ffff8880aa818300 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000005 R11: 0000000000000000 R12: ffff8880b42ad200
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000002
FS:  0000555556314300(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055555631d628 CR3: 00000000aad08000 CR4: 00000000003406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 lbmWrite+0x27b/0x3a0 fs/jfs/jfs_logmgr.c:2092
 lmNextPage.isra.0+0x285/0x740 fs/jfs/jfs_logmgr.c:637
 lmWriteRecord+0x94a/0xee0 fs/jfs/jfs_logmgr.c:550
 lmLogSync+0x154/0x6e0 fs/jfs/jfs_logmgr.c:990
 jfs_syncpt+0x78/0x90 fs/jfs/jfs_logmgr.c:1062
 jfs_sync_fs+0x80/0xa0 fs/jfs/super.c:718
 __sync_filesystem fs/sync.c:39 [inline]
 sync_filesystem+0x105/0x250 fs/sync.c:64
 generic_shutdown_super+0x70/0x370 fs/super.c:442
 kill_block_super+0x97/0xf0 fs/super.c:1185
 deactivate_locked_super+0x94/0x160 fs/super.c:329
 deactivate_super+0x174/0x1a0 fs/super.c:360
 cleanup_mnt+0x1a8/0x290 fs/namespace.c:1098
 task_work_run+0x148/0x1c0 kernel/task_work.c:113
 tracehook_notify_resume include/linux/tracehook.h:193 [inline]
 exit_to_usermode_loop+0x251/0x2a0 arch/x86/entry/common.c:167
 prepare_exit_to_usermode arch/x86/entry/common.c:198 [inline]
 syscall_return_slowpath arch/x86/entry/common.c:271 [inline]
 do_syscall_64+0x538/0x620 arch/x86/entry/common.c:296
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x7fb6b53ffd57
Code: 07 00 48 83 c4 08 5b 5d c3 66 2e 0f 1f 84 00 00 00 00 00 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 b8 a6 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 c0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffe26b92d28 EFLAGS: 00000206 ORIG_RAX: 00000000000000a6
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007fb6b53ffd57
RDX: 00007ffe26b92de8 RSI: 000000000000000a RDI: 00007ffe26b92de0
RBP: 00007ffe26b92de0 R08: 00000000ffffffff R09: 00007ffe26b92bc0
R10: 0000555556315683 R11: 0000000000000206 R12: 00007ffe26b93e50
R13: 00005555563155f0 R14: 00007ffe26b92d50 R15: 0000000000000039
Modules linked in:
---[ end trace f597346e3f767d74 ]---
RIP: 0010:lbmStartIO+0x12b/0x480 fs/jfs/jfs_logmgr.c:2143
Code: c1 ea 03 80 3c 02 00 0f 85 f5 02 00 00 48 b8 00 00 00 00 00 fc ff df 4d 8b 6c 24 20 49 8d bd e0 00 00 00 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 ef 02 00 00 4d 8b ad e0 00 00 00 4d 39 ee 74 67
RSP: 0018:ffff8880953cfa70 EFLAGS: 00010202
RAX: dffffc0000000000 RBX: ffff8880aa444f00 RCX: 0000000000000003
RDX: 000000000000001c RSI: ffffffff835f37ea RDI: 00000000000000e0
RBP: ffff8880aa818300 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000005 R11: 0000000000000000 R12: ffff8880b42ad200
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000002
FS:  0000555556314300(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055555631d628 CR3: 00000000aad08000 CR4: 00000000003406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
   0:	c1 ea 03             	shr    $0x3,%edx
   3:	80 3c 02 00          	cmpb   $0x0,(%rdx,%rax,1)
   7:	0f 85 f5 02 00 00    	jne    0x302
   d:	48 b8 00 00 00 00 00 	movabs $0xdffffc0000000000,%rax
  14:	fc ff df
  17:	4d 8b 6c 24 20       	mov    0x20(%r12),%r13
  1c:	49 8d bd e0 00 00 00 	lea    0xe0(%r13),%rdi
  23:	48 89 fa             	mov    %rdi,%rdx
  26:	48 c1 ea 03          	shr    $0x3,%rdx
* 2a:	80 3c 02 00          	cmpb   $0x0,(%rdx,%rax,1) <-- trapping instruction
  2e:	0f 85 ef 02 00 00    	jne    0x323
  34:	4d 8b ad e0 00 00 00 	mov    0xe0(%r13),%r13
  3b:	4d 39 ee             	cmp    %r13,%r14
  3e:	74 67                	je     0xa7

Crashes (303):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/02/26 19:24 linux-4.19.y 3f8a27f9e27b ee50e71c .config console log report syz C [disk image] [vmlinux] [mounted in repro] ci2-linux-4-19 general protection fault in lbmStartIO
2023/02/14 16:24 linux-4.19.y 3f8a27f9e27b 93ae7e0a .config console log report syz C [disk image] [vmlinux] [mounted in repro] ci2-linux-4-19 general protection fault in lbmStartIO
2023/02/09 06:16 linux-4.19.y 3f8a27f9e27b 14a312c8 .config console log report syz C [disk image] [vmlinux] [mounted in repro] ci2-linux-4-19 general protection fault in lbmStartIO
2023/02/04 08:06 linux-4.19.y 3f8a27f9e27b 1b2f701a .config console log report syz C [disk image] [vmlinux] [mounted in repro] ci2-linux-4-19 general protection fault in lbmStartIO
2023/01/29 01:55 linux-4.19.y 3f8a27f9e27b 9dfcf09c .config console log report syz C [disk image] [vmlinux] [mounted in repro] ci2-linux-4-19 general protection fault in lbmStartIO
2023/01/27 13:22 linux-4.19.y 3f8a27f9e27b 9dfcf09c .config console log report syz C [disk image] [vmlinux] [mounted in repro] ci2-linux-4-19 general protection fault in lbmStartIO
2023/01/19 11:19 linux-4.19.y 3f8a27f9e27b 66fca3ae .config console log report syz C [disk image] [vmlinux] [mounted in repro] ci2-linux-4-19 general protection fault in lbmStartIO
2023/01/13 09:12 linux-4.19.y 3f8a27f9e27b 96166539 .config console log report syz C [disk image] [vmlinux] [mounted in repro] ci2-linux-4-19 general protection fault in lbmStartIO
2023/01/09 15:51 linux-4.19.y 3f8a27f9e27b 1dac8c7a .config console log report syz C [disk image] [vmlinux] [mounted in repro] ci2-linux-4-19 general protection fault in lbmStartIO
2022/12/29 13:37 linux-4.19.y 3f8a27f9e27b 44712fbc .config console log report syz C [disk image] [vmlinux] [mounted in repro] ci2-linux-4-19 general protection fault in lbmStartIO
2022/12/23 22:52 linux-4.19.y 3f8a27f9e27b 9da18ae8 .config console log report syz C [disk image] [vmlinux] [mounted in repro] ci2-linux-4-19 general protection fault in lbmStartIO
2022/12/19 22:46 linux-4.19.y 3f8a27f9e27b c52b2efb .config console log report syz C [disk image] [vmlinux] [mounted in repro] ci2-linux-4-19 general protection fault in lbmStartIO
2022/12/12 15:49 linux-4.19.y 3f8a27f9e27b 67be1ae7 .config console log report syz C [disk image] [vmlinux] [mounted in repro] ci2-linux-4-19 general protection fault in lbmStartIO
2022/12/09 04:05 linux-4.19.y 3f8a27f9e27b 1034e5fa .config console log report syz C [disk image] [vmlinux] [mounted in repro] ci2-linux-4-19 general protection fault in lbmStartIO
2022/12/08 09:13 linux-4.19.y 3f8a27f9e27b d88f3abb .config console log report syz C [disk image] [vmlinux] [mounted in repro] ci2-linux-4-19 general protection fault in lbmStartIO
2022/12/01 22:57 linux-4.19.y 3f8a27f9e27b e080de16 .config console log report syz C [disk image] [vmlinux] [mounted in repro] ci2-linux-4-19 general protection fault in lbmStartIO
2022/12/01 13:48 linux-4.19.y 3f8a27f9e27b 4c2a66e8 .config console log report syz C [disk image] [vmlinux] [mounted in repro] ci2-linux-4-19 general protection fault in lbmStartIO
2022/11/26 21:52 linux-4.19.y 3f8a27f9e27b f4470a7b .config console log report syz C [disk image] [vmlinux] [mounted in repro] ci2-linux-4-19 general protection fault in lbmStartIO
2022/11/22 12:43 linux-4.19.y 3f8a27f9e27b 1c576c23 .config console log report syz C [disk image] [vmlinux] [mounted in repro] ci2-linux-4-19 general protection fault in lbmStartIO
2022/11/19 01:35 linux-4.19.y 3f8a27f9e27b 5bb70014 .config console log report syz C [disk image] [vmlinux] [mounted in repro] ci2-linux-4-19 general protection fault in lbmStartIO
2022/11/15 18:11 linux-4.19.y 3f8a27f9e27b 97de9cfc .config console log report syz C [disk image] [vmlinux] [mounted in repro] ci2-linux-4-19 general protection fault in lbmStartIO
2022/10/13 09:03 linux-4.19.y 3f8a27f9e27b 3f6b40a1 .config console log report syz C [disk image] [vmlinux] [mounted in repro] ci2-linux-4-19 general protection fault in lbmStartIO
2022/10/08 14:23 linux-4.19.y 3f8a27f9e27b aea5da89 .config console log report syz C [disk image] [vmlinux] [mounted in repro] ci2-linux-4-19 general protection fault in lbmStartIO
2022/10/04 07:47 linux-4.19.y 3f8a27f9e27b feb56351 .config console log report syz C [disk image] [vmlinux] ci2-linux-4-19 general protection fault in lbmStartIO
2022/10/03 02:06 linux-4.19.y 3f8a27f9e27b feb56351 .config console log report syz C [disk image] [vmlinux] ci2-linux-4-19 general protection fault in lbmStartIO
2022/10/02 22:49 linux-4.19.y 3f8a27f9e27b feb56351 .config console log report syz C [disk image] [vmlinux] ci2-linux-4-19 general protection fault in lbmStartIO
2022/10/02 13:21 linux-4.19.y 3f8a27f9e27b feb56351 .config console log report syz C [disk image] [vmlinux] ci2-linux-4-19 general protection fault in lbmStartIO
2022/10/01 03:28 linux-4.19.y 3f8a27f9e27b feb56351 .config console log report syz C [disk image] [vmlinux] ci2-linux-4-19 general protection fault in lbmStartIO
2022/09/30 09:52 linux-4.19.y 3f8a27f9e27b 45fd7169 .config console log report syz C ci2-linux-4-19 general protection fault in lbmStartIO
2021/12/19 00:22 linux-4.19.y 3f8a27f9e27b 44068e19 .config console log report syz C ci2-linux-4-19 general protection fault in lbmStartIO
2023/03/07 02:21 linux-4.19.y 3f8a27f9e27b f8902b57 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in lbmStartIO
2023/03/06 22:41 linux-4.19.y 3f8a27f9e27b f8902b57 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in lbmStartIO
2023/03/06 01:07 linux-4.19.y 3f8a27f9e27b f8902b57 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in lbmStartIO
2023/03/05 17:40 linux-4.19.y 3f8a27f9e27b f8902b57 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in lbmStartIO
2023/03/05 01:25 linux-4.19.y 3f8a27f9e27b f8902b57 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in lbmStartIO
2023/03/04 02:38 linux-4.19.y 3f8a27f9e27b f8902b57 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in lbmStartIO
2023/02/28 10:21 linux-4.19.y 3f8a27f9e27b 95aee97a .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in lbmStartIO
2023/02/26 05:36 linux-4.19.y 3f8a27f9e27b ee50e71c .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in lbmStartIO
2023/02/25 17:34 linux-4.19.y 3f8a27f9e27b ee50e71c .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in lbmStartIO
2023/02/23 07:46 linux-4.19.y 3f8a27f9e27b 9f1e2cb3 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in lbmStartIO
2023/02/22 22:38 linux-4.19.y 3f8a27f9e27b 9f1e2cb3 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in lbmStartIO
2023/02/22 06:42 linux-4.19.y 3f8a27f9e27b 42a4d508 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in lbmStartIO
2023/02/20 16:10 linux-4.19.y 3f8a27f9e27b bcdf85f8 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in lbmStartIO
2023/02/20 13:09 linux-4.19.y 3f8a27f9e27b bcdf85f8 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in lbmStartIO
2023/02/20 04:22 linux-4.19.y 3f8a27f9e27b bcdf85f8 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in lbmStartIO
2023/02/20 03:15 linux-4.19.y 3f8a27f9e27b bcdf85f8 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in lbmStartIO
2023/02/17 23:38 linux-4.19.y 3f8a27f9e27b cf8c2d39 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in lbmStartIO
2023/02/16 06:09 linux-4.19.y 3f8a27f9e27b 6be0f1f5 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in lbmStartIO
2023/02/12 21:01 linux-4.19.y 3f8a27f9e27b 93e26d60 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in lbmStartIO
2023/02/08 16:24 linux-4.19.y 3f8a27f9e27b fc9c934e .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in lbmStartIO
2023/02/08 01:47 linux-4.19.y 3f8a27f9e27b 15c3d445 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in lbmStartIO
2023/02/07 21:27 linux-4.19.y 3f8a27f9e27b 15c3d445 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in lbmStartIO
2023/02/06 06:52 linux-4.19.y 3f8a27f9e27b be607b78 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in lbmStartIO
2023/02/05 07:32 linux-4.19.y 3f8a27f9e27b be607b78 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in lbmStartIO
2023/02/03 21:25 linux-4.19.y 3f8a27f9e27b 1b2f701a .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in lbmStartIO
2023/02/02 21:26 linux-4.19.y 3f8a27f9e27b 16d19e30 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in lbmStartIO
2023/02/01 16:10 linux-4.19.y 3f8a27f9e27b 9a6f477c .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in lbmStartIO
2023/02/01 02:56 linux-4.19.y 3f8a27f9e27b b68fb8d6 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in lbmStartIO
2023/01/31 23:18 linux-4.19.y 3f8a27f9e27b b68fb8d6 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in lbmStartIO
2023/01/30 18:30 linux-4.19.y 3f8a27f9e27b b68fb8d6 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in lbmStartIO
2023/01/28 12:50 linux-4.19.y 3f8a27f9e27b 9dfcf09c .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in lbmStartIO
2023/01/27 08:47 linux-4.19.y 3f8a27f9e27b 9dfcf09c .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in lbmStartIO
2023/01/27 08:36 linux-4.19.y 3f8a27f9e27b 9dfcf09c .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in lbmStartIO
2023/01/26 15:55 linux-4.19.y 3f8a27f9e27b 9dfcf09c .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in lbmStartIO
2023/01/26 13:25 linux-4.19.y 3f8a27f9e27b 9dfcf09c .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in lbmStartIO
2023/01/25 22:49 linux-4.19.y 3f8a27f9e27b 9dfcf09c .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in lbmStartIO
2023/01/25 20:09 linux-4.19.y 3f8a27f9e27b 9dfcf09c .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in lbmStartIO
2023/01/25 18:21 linux-4.19.y 3f8a27f9e27b 9dfcf09c .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in lbmStartIO
2023/01/25 07:16 linux-4.19.y 3f8a27f9e27b 9dfcf09c .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in lbmStartIO
2023/01/25 05:58 linux-4.19.y 3f8a27f9e27b 9dfcf09c .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in lbmStartIO
2023/01/25 02:36 linux-4.19.y 3f8a27f9e27b 9dfcf09c .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in lbmStartIO
2023/01/22 19:42 linux-4.19.y 3f8a27f9e27b cc0f9968 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in lbmStartIO
2023/01/22 11:34 linux-4.19.y 3f8a27f9e27b cc0f9968 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in lbmStartIO
2023/01/20 22:21 linux-4.19.y 3f8a27f9e27b dd15ff29 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in lbmStartIO
* Struck through repros no longer work on HEAD.