syzbot


general protection fault in diUpdatePMap (2)

Status: auto-obsoleted due to no activity on 2024/11/15 06:41
Subsystems: jfs
[Documentation on labels]
Reported-by: syzbot+2aa91f4200fea3367f1e@syzkaller.appspotmail.com
First crash: 126d, last: 126d
Similar bugs (3)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.19 general protection fault in diUpdatePMap C error 1 813d 813d 0/1 upstream: reported C repro on 2022/09/29 12:21
upstream general protection fault in diUpdatePMap jfs C error inconclusive 4 378d 813d 0/28 auto-obsoleted due to no activity on 2024/03/18 02:12
linux-4.14 general protection fault in diUpdatePMap C 1 670d 813d 0/1 upstream: reported C repro on 2022/09/30 10:17

Sample crash report:
Oops: general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] PREEMPT SMP KASAN PTI
KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007]
CPU: 1 UID: 0 PID: 114 Comm: jfsCommit Not tainted 6.11.0-rc3-syzkaller-00271-g85652baa895b #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024
RIP: 0010:diUpdatePMap+0x5f/0xd90 fs/jfs/jfs_imap.c:2742
Code: 89 d8 48 c1 e8 03 42 80 3c 20 00 74 08 48 89 df e8 66 9f d6 fe 48 8b 2b 4d 89 f7 49 c1 ef 0c 48 8d 5d 04 48 89 d8 48 c1 e8 03 <42> 0f b6 04 20 84 c0 0f 85 39 0a 00 00 8b 1b 89 df 44 89 fe e8 c8
RSP: 0018:ffffc90002cb7c20 EFLAGS: 00010247
RAX: 0000000000000000 RBX: 0000000000000004 RCX: ffff88801af50000
RDX: 0000000000000000 RSI: 0000000000000007 RDI: ffff888045e2a910
RBP: 0000000000000000 R08: ffffffff83263156 R09: 0000000000000000
R10: ffffc90002cb7d20 R11: fffff52000596fa6 R12: dffffc0000000000
R13: ffff888045e2a910 R14: 0000000000000007 R15: 0000000000000000
FS:  0000000000000000(0000) GS:ffff8880b9300000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffe52f84980 CR3: 0000000056f78000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 txUpdateMap+0x81c/0xb10 fs/jfs/jfs_txnmgr.c:2356
 txLazyCommit fs/jfs/jfs_txnmgr.c:2664 [inline]
 jfs_lazycommit+0x49a/0xb80 fs/jfs/jfs_txnmgr.c:2733
 kthread+0x2f0/0x390 kernel/kthread.c:389
 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:diUpdatePMap+0x5f/0xd90 fs/jfs/jfs_imap.c:2742
Code: 89 d8 48 c1 e8 03 42 80 3c 20 00 74 08 48 89 df e8 66 9f d6 fe 48 8b 2b 4d 89 f7 49 c1 ef 0c 48 8d 5d 04 48 89 d8 48 c1 e8 03 <42> 0f b6 04 20 84 c0 0f 85 39 0a 00 00 8b 1b 89 df 44 89 fe e8 c8
RSP: 0018:ffffc90002cb7c20 EFLAGS: 00010247
RAX: 0000000000000000 RBX: 0000000000000004 RCX: ffff88801af50000
RDX: 0000000000000000 RSI: 0000000000000007 RDI: ffff888045e2a910
RBP: 0000000000000000 R08: ffffffff83263156 R09: 0000000000000000
R10: ffffc90002cb7d20 R11: fffff52000596fa6 R12: dffffc0000000000
R13: ffff888045e2a910 R14: 0000000000000007 R15: 0000000000000000
FS:  0000000000000000(0000) GS:ffff8880b9200000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fb00b4e9440 CR3: 0000000075dfc000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
   0:	89 d8                	mov    %ebx,%eax
   2:	48 c1 e8 03          	shr    $0x3,%rax
   6:	42 80 3c 20 00       	cmpb   $0x0,(%rax,%r12,1)
   b:	74 08                	je     0x15
   d:	48 89 df             	mov    %rbx,%rdi
  10:	e8 66 9f d6 fe       	call   0xfed69f7b
  15:	48 8b 2b             	mov    (%rbx),%rbp
  18:	4d 89 f7             	mov    %r14,%r15
  1b:	49 c1 ef 0c          	shr    $0xc,%r15
  1f:	48 8d 5d 04          	lea    0x4(%rbp),%rbx
  23:	48 89 d8             	mov    %rbx,%rax
  26:	48 c1 e8 03          	shr    $0x3,%rax
* 2a:	42 0f b6 04 20       	movzbl (%rax,%r12,1),%eax <-- trapping instruction
  2f:	84 c0                	test   %al,%al
  31:	0f 85 39 0a 00 00    	jne    0xa70
  37:	8b 1b                	mov    (%rbx),%ebx
  39:	89 df                	mov    %ebx,%edi
  3b:	44 89 fe             	mov    %r15d,%esi
  3e:	e8                   	.byte 0xe8
  3f:	c8                   	.byte 0xc8

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/08/17 06:41 upstream 85652baa895b dbc93b08 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs general protection fault in diUpdatePMap
* Struck through repros no longer work on HEAD.