syzbot


general protection fault in diUpdatePMap

Status: upstream: reported C repro on 2022/09/30 10:17
Reported-by: syzbot+a0969d47ad46f6957768@syzkaller.appspotmail.com
First crash: 813d, last: 670d
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 814d 814d 0/1 upstream: reported C repro on 2022/09/29 12:21
upstream general protection fault in diUpdatePMap (2) jfs 1 126d 122d 0/28 auto-obsoleted due to no activity on 2024/11/15 06:41
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
Fix bisection attempts (3)
Created Duration User Patch Repo Result
2023/02/20 04:09 30m bisect fix linux-4.14.y OK (0) job log log
2023/01/21 03:21 21m bisect fix linux-4.14.y OK (0) job log log
2022/10/30 10:16 20m bisect fix linux-4.14.y OK (0) job log log

Sample crash report:
IPVS: ftp: loaded support on port[0] = 21
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: 1 PID: 1964 Comm: jfsCommit Not tainted 4.14.295-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/22/2022
task: ffff8880b0ee0140 task.stack: ffff8880b0ee8000
RIP: 0010:__list_add_valid+0x22/0xa0 lib/list_debug.c:23
RSP: 0018:ffff8880b0eefcf0 EFLAGS: 00010002
RAX: dffffc0000000000 RBX: ffffc900013b8100 RCX: 0000000000000bfa
RDX: 0000000000000001 RSI: ffffc900013b8110 RDI: 0000000000000008
RBP: ffff8880b51f46a0 R08: ffffffff8b9a7ad0 R09: 000000000005c300
R10: ffff8880b0ee09c8 R11: ffff8880b0ee0140 R12: 0000000000000000
R13: 0000000000000286 R14: ffff8880b51f46a0 R15: ffff8880b32ce210
FS:  0000000000000000(0000) GS:ffff8880ba500000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055d05291db50 CR3: 000000009c59c000 CR4: 00000000003406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 __list_add include/linux/list.h:60 [inline]
 list_add include/linux/list.h:79 [inline]
 diUpdatePMap+0x6c1/0xe90 fs/jfs/jfs_imap.c:2842
 txUpdateMap+0xa30/0xe30 fs/jfs/jfs_txnmgr.c:2401
 txLazyCommit fs/jfs/jfs_txnmgr.c:2709 [inline]
 jfs_lazycommit+0x48b/0x8c0 fs/jfs/jfs_txnmgr.c:2777
 kthread+0x30d/0x420 kernel/kthread.c:232
 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:404
Code: ff ff 90 90 90 90 90 90 90 48 b8 00 00 00 00 00 fc ff df 41 54 49 89 d4 55 48 89 fd 48 8d 7a 08 48 83 ec 08 48 89 fa 48 c1 ea 03 <80> 3c 02 00 75 50 49 8b 54 24 08 48 39 f2 0f 85 6a 95 f0 03 48 
RIP: __list_add_valid+0x22/0xa0 lib/list_debug.c:23 RSP: ffff8880b0eefcf0
---[ end trace 2cbe341936f3c2a5 ]---
----------------
Code disassembly (best guess), 1 bytes skipped:
   0:	ff 90 90 90 90 90    	callq  *-0x6f6f6f70(%rax)
   6:	90                   	nop
   7:	90                   	nop
   8:	48 b8 00 00 00 00 00 	movabs $0xdffffc0000000000,%rax
   f:	fc ff df
  12:	41 54                	push   %r12
  14:	49 89 d4             	mov    %rdx,%r12
  17:	55                   	push   %rbp
  18:	48 89 fd             	mov    %rdi,%rbp
  1b:	48 8d 7a 08          	lea    0x8(%rdx),%rdi
  1f:	48 83 ec 08          	sub    $0x8,%rsp
  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:	75 50                	jne    0x80
  30:	49 8b 54 24 08       	mov    0x8(%r12),%rdx
  35:	48 39 f2             	cmp    %rsi,%rdx
  38:	0f 85 6a 95 f0 03    	jne    0x3f095a8
  3e:	48                   	rex.W

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/09/30 10:16 linux-4.14.y 9d5c0b3a8e1a 45fd7169 .config console log report syz C [disk image] [vmlinux] ci2-linux-4-14 general protection fault in diUpdatePMap
* Struck through repros no longer work on HEAD.