syzbot


general protection fault in lbmStartIO

Status: upstream: reported C repro on 2022/09/30 12:33
Subsystems: jfs
[Documentation on labels]
Reported-by: syzbot+e8292622c22824b10ab1@syzkaller.appspotmail.com
First crash: 624d, last: 467d
Similar bugs (3)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.19 general protection fault in lbmStartIO (2) jfs tmpfs C error 303 466d 910d 0/1 upstream: reported C repro on 2021/12/19 00:23
linux-4.19 general protection fault in lbmStartIO 1 1344d 1344d 0/1 auto-closed as invalid on 2021/02/07 18:50
upstream general protection fault in lbmStartIO jfs C done 2 244d 252d 25/27 fixed on 2023/12/21 03:45

Sample crash report:
JFS: discard option not supported on device
JFS: discard option not supported on device
JFS: discard option not supported on device
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
Modules linked in:
CPU: 0 PID: 7980 Comm: syz-executor387 Not tainted 4.14.307-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023
task: ffff888095828240 task.stack: ffff8880a1fe0000
RIP: 0010:lbmStartIO+0x14a/0x490 fs/jfs/jfs_logmgr.c:2143
RSP: 0018:ffff8880a1fe7af8 EFLAGS: 00010202
RAX: dffffc0000000000 RBX: ffff88809bc64700 RCX: 0000000000000003
RDX: 000000000000001c RSI: 0000000000000000 RDI: 00000000000000e0
RBP: ffff8880a9471c80 R08: 0000000000000001 R09: ffff8880a9471c80
R10: ffff8880a9471d07 R11: 0000000000000000 R12: ffff8880b31976c0
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
FS:  0000555556750300(0000) GS:ffff8880ba400000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000555556759628 CR3: 00000000a4711000 CR4: 00000000003406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 lbmWrite+0x254/0x380 fs/jfs/jfs_logmgr.c:2092
 lmNextPage.isra.0+0x263/0x700 fs/jfs/jfs_logmgr.c:637
 lmWriteRecord+0x8b2/0xe30 fs/jfs/jfs_logmgr.c:550
 lmLogSync+0x126/0x660 fs/jfs/jfs_logmgr.c:990
 jfs_syncpt+0x66/0x70 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 fs/sync.c:64 [inline]
 sync_filesystem+0xe2/0x230 fs/sync.c:48
 generic_shutdown_super+0x70/0x370 fs/super.c:432
 kill_block_super+0x95/0xe0 fs/super.c:1161
 deactivate_locked_super+0x6c/0xd0 fs/super.c:319
 deactivate_super+0x7f/0xa0 fs/super.c:350
 cleanup_mnt+0x186/0x2c0 fs/namespace.c:1183
 task_work_run+0x11f/0x190 kernel/task_work.c:113
 tracehook_notify_resume include/linux/tracehook.h:191 [inline]
 exit_to_usermode_loop+0x1ad/0x200 arch/x86/entry/common.c:164
 prepare_exit_to_usermode arch/x86/entry/common.c:199 [inline]
 syscall_return_slowpath arch/x86/entry/common.c:270 [inline]
 do_syscall_64+0x4a3/0x640 arch/x86/entry/common.c:297
 entry_SYSCALL_64_after_hwframe+0x5e/0xd3
RIP: 0033:0x7fb714a1cdb7
RSP: 002b:00007ffc2a0e0d38 EFLAGS: 00000202 ORIG_RAX: 00000000000000a6
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007fb714a1cdb7
RDX: 00007ffc2a0e0dfa RSI: 000000000000000a RDI: 00007ffc2a0e0df0
RBP: 00007ffc2a0e0df0 R08: 00000000ffffffff R09: 00007ffc2a0e0bd0
R10: 0000555556751683 R11: 0000000000000202 R12: 00007ffc2a0e1e60
R13: 00005555567515f0 R14: 00007ffc2a0e0d60 R15: 0000000000000039
Code: 48 c1 ea 03 80 3c 02 00 0f 85 06 03 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 d5 02 00 00 4d 8b ad e0 00 00 00 4d 39 ee 74 
RIP: lbmStartIO+0x14a/0x490 fs/jfs/jfs_logmgr.c:2143 RSP: ffff8880a1fe7af8
---[ end trace 114598baba2255b5 ]---
----------------
Code disassembly (best guess):
   0:	48 c1 ea 03          	shr    $0x3,%rdx
   4:	80 3c 02 00          	cmpb   $0x0,(%rdx,%rax,1)
   8:	0f 85 06 03 00 00    	jne    0x314
   e:	48 b8 00 00 00 00 00 	movabs $0xdffffc0000000000,%rax
  15:	fc ff df
  18:	4d 8b 6c 24 20       	mov    0x20(%r12),%r13
  1d:	49 8d bd e0 00 00 00 	lea    0xe0(%r13),%rdi
  24:	48 89 fa             	mov    %rdi,%rdx
  27:	48 c1 ea 03          	shr    $0x3,%rdx
* 2b:	80 3c 02 00          	cmpb   $0x0,(%rdx,%rax,1) <-- trapping instruction
  2f:	0f 85 d5 02 00 00    	jne    0x30a
  35:	4d 8b ad e0 00 00 00 	mov    0xe0(%r13),%r13
  3c:	4d 39 ee             	cmp    %r13,%r14
  3f:	74                   	.byte 0x74

Crashes (112):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/03/06 20:51 linux-4.14.y 7878a41b6cc1 f8902b57 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-4-14 general protection fault in lbmStartIO
2023/02/27 05:01 linux-4.14.y 7878a41b6cc1 ee50e71c .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-4-14 general protection fault in lbmStartIO
2023/02/18 16:43 linux-4.14.y a8ad60f2af58 d02e9a70 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-4-14 general protection fault in lbmStartIO
2023/02/14 14:24 linux-4.14.y a8ad60f2af58 93ae7e0a .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-4-14 general protection fault in lbmStartIO
2023/02/09 01:58 linux-4.14.y a8ad60f2af58 fc9c934e .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-4-14 general protection fault in lbmStartIO
2023/02/04 09:40 linux-4.14.y 3949d1610004 1b2f701a .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-4-14 general protection fault in lbmStartIO
2023/01/29 02:24 linux-4.14.y 3949d1610004 9dfcf09c .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-4-14 general protection fault in lbmStartIO
2023/01/25 18:33 linux-4.14.y 3949d1610004 9dfcf09c .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-4-14 general protection fault in lbmStartIO
2023/01/25 05:52 linux-4.14.y 3949d1610004 9dfcf09c .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-4-14 general protection fault in lbmStartIO
2023/01/17 06:44 linux-4.14.y c4215ee4771b a63719e7 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-4-14 general protection fault in lbmStartIO
2023/01/08 08:06 linux-4.14.y c4215ee4771b 1dac8c7a .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-4-14 general protection fault in lbmStartIO
2022/12/28 11:41 linux-4.14.y c4215ee4771b 44712fbc .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-4-14 general protection fault in lbmStartIO
2022/12/26 02:53 linux-4.14.y c4215ee4771b 9da18ae8 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-4-14 general protection fault in lbmStartIO
2022/12/18 08:08 linux-4.14.y c4215ee4771b 05494336 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-4-14 general protection fault in lbmStartIO
2022/12/17 16:48 linux-4.14.y c4215ee4771b 05494336 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-4-14 general protection fault in lbmStartIO
2022/12/16 03:51 linux-4.14.y c4215ee4771b 6f9c033e .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-4-14 general protection fault in lbmStartIO
2022/12/10 23:13 linux-4.14.y 65afe34ac33d 67be1ae7 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-4-14 general protection fault in lbmStartIO
2022/12/09 10:01 linux-4.14.y 65afe34ac33d 1034e5fa .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-4-14 general protection fault in lbmStartIO
2022/11/20 10:27 linux-4.14.y e911713e40ca 5bb70014 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-4-14 general protection fault in lbmStartIO
2022/11/16 10:32 linux-4.14.y e911713e40ca 3a127a31 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-4-14 general protection fault in lbmStartIO
2022/10/24 00:44 linux-4.14.y 9d5c0b3a8e1a 23bf86af .config console log report syz C [disk image] [vmlinux] [mounted in repro] ci2-linux-4-14 general protection fault in lbmStartIO
2022/10/15 07:28 linux-4.14.y 9d5c0b3a8e1a 67cb024c .config console log report syz C [disk image] [vmlinux] [mounted in repro] ci2-linux-4-14 general protection fault in lbmStartIO
2022/10/09 11:27 linux-4.14.y 9d5c0b3a8e1a aea5da89 .config console log report syz C [disk image] [vmlinux] [mounted in repro] ci2-linux-4-14 general protection fault in lbmStartIO
2022/10/04 09:35 linux-4.14.y 9d5c0b3a8e1a feb56351 .config console log report syz C [disk image] [vmlinux] ci2-linux-4-14 general protection fault in lbmStartIO
2022/10/03 02:13 linux-4.14.y 9d5c0b3a8e1a feb56351 .config console log report syz C [disk image] [vmlinux] ci2-linux-4-14 general protection fault in lbmStartIO
2022/10/01 16:36 linux-4.14.y 9d5c0b3a8e1a feb56351 .config console log report syz C [disk image] [vmlinux] ci2-linux-4-14 general protection fault in lbmStartIO
2022/10/01 15:31 linux-4.14.y 9d5c0b3a8e1a feb56351 .config console log report syz C [disk image] [vmlinux] ci2-linux-4-14 general protection fault in lbmStartIO
2022/10/01 14:51 linux-4.14.y 9d5c0b3a8e1a feb56351 .config console log report syz C [disk image] [vmlinux] ci2-linux-4-14 general protection fault in lbmStartIO
2022/09/30 13:08 linux-4.14.y 9d5c0b3a8e1a 45fd7169 .config console log report syz C [disk image] [vmlinux] ci2-linux-4-14 general protection fault in lbmStartIO
2023/02/28 10:32 linux-4.14.y 7878a41b6cc1 95aee97a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in lbmStartIO
2023/02/28 05:42 linux-4.14.y 7878a41b6cc1 95aee97a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in lbmStartIO
2023/02/18 19:46 linux-4.14.y a8ad60f2af58 d02e9a70 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in lbmStartIO
2023/02/09 00:44 linux-4.14.y a8ad60f2af58 fc9c934e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in lbmStartIO
2023/02/08 07:37 linux-4.14.y a8ad60f2af58 15c3d445 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in lbmStartIO
2023/02/05 07:40 linux-4.14.y 3949d1610004 be607b78 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in lbmStartIO
2023/02/01 08:59 linux-4.14.y 3949d1610004 b68fb8d6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in lbmStartIO
2023/02/01 02:20 linux-4.14.y 3949d1610004 b68fb8d6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in lbmStartIO
2023/01/27 08:53 linux-4.14.y 3949d1610004 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in lbmStartIO
2023/01/25 17:12 linux-4.14.y 3949d1610004 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in lbmStartIO
2023/01/25 07:43 linux-4.14.y 3949d1610004 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in lbmStartIO
2023/01/25 02:29 linux-4.14.y 3949d1610004 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in lbmStartIO
2023/01/24 04:09 linux-4.14.y 97205fccccdc 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in lbmStartIO
2023/01/20 17:32 linux-4.14.y 97205fccccdc dd15ff29 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in lbmStartIO
2023/01/20 04:37 linux-4.14.y 97205fccccdc 71197f3a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in lbmStartIO
2023/01/18 09:00 linux-4.14.y c4215ee4771b 42660d9e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in lbmStartIO
2023/01/15 02:24 linux-4.14.y c4215ee4771b a63719e7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in lbmStartIO
2023/01/14 22:49 linux-4.14.y c4215ee4771b a63719e7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in lbmStartIO
2023/01/14 03:01 linux-4.14.y c4215ee4771b 529798b0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in lbmStartIO
2023/01/13 02:42 linux-4.14.y c4215ee4771b 96166539 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in lbmStartIO
2023/01/11 09:06 linux-4.14.y c4215ee4771b 48bc529a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in lbmStartIO
2023/01/10 19:59 linux-4.14.y c4215ee4771b 48bc529a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in lbmStartIO
2023/01/07 07:04 linux-4.14.y c4215ee4771b 1dac8c7a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in lbmStartIO
2023/01/06 13:42 linux-4.14.y c4215ee4771b 1dac8c7a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in lbmStartIO
2022/12/25 20:07 linux-4.14.y c4215ee4771b 9da18ae8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in lbmStartIO
2022/12/24 15:53 linux-4.14.y c4215ee4771b 9da18ae8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in lbmStartIO
2022/12/21 12:10 linux-4.14.y c4215ee4771b d3e76707 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in lbmStartIO
2022/12/21 02:36 linux-4.14.y c4215ee4771b d3e76707 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in lbmStartIO
2022/12/21 02:28 linux-4.14.y c4215ee4771b d3e76707 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in lbmStartIO
2022/12/19 00:08 linux-4.14.y c4215ee4771b 05494336 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in lbmStartIO
2022/12/18 19:00 linux-4.14.y c4215ee4771b 05494336 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in lbmStartIO
2022/12/18 14:49 linux-4.14.y c4215ee4771b 05494336 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in lbmStartIO
2022/12/18 12:27 linux-4.14.y c4215ee4771b 05494336 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in lbmStartIO
2022/12/18 05:52 linux-4.14.y c4215ee4771b 05494336 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in lbmStartIO
2022/12/18 04:37 linux-4.14.y c4215ee4771b 05494336 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in lbmStartIO
2022/12/18 00:21 linux-4.14.y c4215ee4771b 05494336 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in lbmStartIO
2022/12/17 23:03 linux-4.14.y c4215ee4771b 05494336 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in lbmStartIO
2022/12/17 09:58 linux-4.14.y c4215ee4771b 05494336 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in lbmStartIO
2022/12/15 19:43 linux-4.14.y c4215ee4771b 6f9c033e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in lbmStartIO
2022/12/15 08:01 linux-4.14.y c4215ee4771b b18f0a64 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in lbmStartIO
2022/12/13 13:57 linux-4.14.y 65afe34ac33d 67be1ae7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in lbmStartIO
2022/12/11 06:07 linux-4.14.y 65afe34ac33d 67be1ae7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in lbmStartIO
2022/09/30 12:33 linux-4.14.y 9d5c0b3a8e1a 45fd7169 .config console log report info [disk image] [vmlinux] ci2-linux-4-14 general protection fault in lbmStartIO
* Struck through repros no longer work on HEAD.