syzbot


BUG: unable to handle kernel paging request in dqput (2)

Status: upstream: reported C repro on 2022/09/11 16:38
Reported-by: syzbot+bde637644f8e5de8b629@syzkaller.appspotmail.com
First crash: 563d, last: 471d
Fix bisection: failed (error log, bisect log)
  
Similar bugs (4)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-54 BUG: unable to handle kernel paging request in dqput C 14 1187d 1282d 0/2 auto-obsoleted due to no activity on 2023/04/17 15:54
linux-4.14 BUG: unable to handle kernel paging request in dqput C done 9 1192d 1281d 1/1 fixed on 2021/01/22 19:25
upstream BUG: unable to handle kernel paging request in dqput ext4 C done 7 1209d 1278d 19/26 fixed on 2021/03/10 01:48
linux-4.19 BUG: unable to handle kernel paging request in dqput C done 8 1201d 1270d 1/1 fixed on 2021/01/12 18:45

Sample crash report:
IPVS: ftp: loaded support on port[0] = 21
EXT4-fs (loop0): mounted filesystem without journal. Opts: ,errors=continue
Quota error (device loop0): qtree_write_dquot: Error -1079867134 occurred while creating quota
BUG: unable to handle kernel paging request at fffffbfff7f4513f
PGD 23fff1067 P4D 23fff1067 PUD 23fff0067 PMD 0 
Oops: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 8085 Comm: syz-executor301 Not tainted 4.19.211-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/26/2022
RIP: 0010:bytes_is_nonzero mm/kasan/kasan.c:167 [inline]
RIP: 0010:memory_is_nonzero mm/kasan/kasan.c:184 [inline]
RIP: 0010:memory_is_poisoned_n mm/kasan/kasan.c:210 [inline]
RIP: 0010:memory_is_poisoned mm/kasan/kasan.c:241 [inline]
RIP: 0010:check_memory_region_inline mm/kasan/kasan.c:257 [inline]
RIP: 0010:check_memory_region+0xc8/0x170 mm/kasan/kasan.c:267
Code: 39 d0 74 0e 80 38 00 74 f2 48 85 c0 0f 85 9c 00 00 00 5b 5d 41 5c c3 48 85 d2 74 f6 48 01 ea eb 09 48 83 c0 01 48 39 d0 74 e8 <80> 38 00 74 f2 eb d8 41 bc 08 00 00 00 48 89 ea 45 29 dc 4e 8d 5c
RSP: 0018:ffff8880b44e7880 EFLAGS: 00010292
RAX: fffffbfff7f4513f RBX: fffffbfff7f45140 RCX: ffffffff81be289e
RDX: fffffbfff7f45140 RSI: 0000000000000004 RDI: ffffffffbfa289fa
RBP: fffffbfff7f4513f R08: 0000000000000000 R09: fffffbfff7f4513f
R10: ffffffffbfa289fd R11: 0000000000074071 R12: ffffffffbfa289fa
R13: 0000000000000005 R14: fffffbfff7f4513f R15: ffff88808db9ea18
FS:  00005555561dc3c0(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: fffffbfff7f4513f CR3: 000000009292d000 CR4: 00000000003406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 atomic_read include/asm-generic/atomic-instrumented.h:21 [inline]
 dqput.part.0+0xae/0x830 fs/quota/dquot.c:765
 dqput fs/quota/dquot.c:752 [inline]
 dqput_all fs/quota/dquot.c:391 [inline]
 __dquot_drop+0x19c/0x270 fs/quota/dquot.c:1568
 dquot_drop fs/quota/dquot.c:1593 [inline]
 dquot_drop+0x14b/0x1a0 fs/quota/dquot.c:1571
 ext4_clear_inode+0x31/0x1d0 fs/ext4/super.c:1178
 ext4_evict_inode+0x25b/0x17b0 fs/ext4/inode.c:357
 evict+0x2ed/0x760 fs/inode.c:559
 dispose_list+0x124/0x1f0 fs/inode.c:594
 evict_inodes+0x341/0x430 fs/inode.c:644
 generic_shutdown_super+0xb3/0x370 fs/super.c:448
 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
 exit_task_work include/linux/task_work.h:22 [inline]
 do_exit+0xbf3/0x2be0 kernel/exit.c:870
 do_group_exit+0x125/0x310 kernel/exit.c:967
 __do_sys_exit_group kernel/exit.c:978 [inline]
 __se_sys_exit_group kernel/exit.c:976 [inline]
 __x64_sys_exit_group+0x3a/0x50 kernel/exit.c:976
 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x7fe418a98619
Code: Bad RIP value.
RSP: 002b:00007ffca8003018 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7
RAX: ffffffffffffffda RBX: 00007fe418b0d330 RCX: 00007fe418a98619
RDX: 000000000000003c RSI: 00000000000000e7 RDI: 0000000000000001
RBP: 0000000000000001 R08: ffffffffffffffc0 R09: 00007ffca8003078
R10: 0000000000000000 R11: 0000000000000246 R12: 00007fe418b0d330
R13: 0000000000000001 R14: 0000000000000000 R15: 0000000000000001
Modules linked in:
CR2: fffffbfff7f4513f
---[ end trace 800dc7aef8b8983c ]---
RIP: 0010:bytes_is_nonzero mm/kasan/kasan.c:167 [inline]
RIP: 0010:memory_is_nonzero mm/kasan/kasan.c:184 [inline]
RIP: 0010:memory_is_poisoned_n mm/kasan/kasan.c:210 [inline]
RIP: 0010:memory_is_poisoned mm/kasan/kasan.c:241 [inline]
RIP: 0010:check_memory_region_inline mm/kasan/kasan.c:257 [inline]
RIP: 0010:check_memory_region+0xc8/0x170 mm/kasan/kasan.c:267
Code: 39 d0 74 0e 80 38 00 74 f2 48 85 c0 0f 85 9c 00 00 00 5b 5d 41 5c c3 48 85 d2 74 f6 48 01 ea eb 09 48 83 c0 01 48 39 d0 74 e8 <80> 38 00 74 f2 eb d8 41 bc 08 00 00 00 48 89 ea 45 29 dc 4e 8d 5c
RSP: 0018:ffff8880b44e7880 EFLAGS: 00010292
RAX: fffffbfff7f4513f RBX: fffffbfff7f45140 RCX: ffffffff81be289e
RDX: fffffbfff7f45140 RSI: 0000000000000004 RDI: ffffffffbfa289fa
RBP: fffffbfff7f4513f R08: 0000000000000000 R09: fffffbfff7f4513f
R10: ffffffffbfa289fd R11: 0000000000074071 R12: ffffffffbfa289fa
R13: 0000000000000005 R14: fffffbfff7f4513f R15: ffff88808db9ea18
FS:  00005555561dc3c0(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fe418a985ef CR3: 000000009292d000 CR4: 00000000003406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
   0:	39 d0                	cmp    %edx,%eax
   2:	74 0e                	je     0x12
   4:	80 38 00             	cmpb   $0x0,(%rax)
   7:	74 f2                	je     0xfffffffb
   9:	48 85 c0             	test   %rax,%rax
   c:	0f 85 9c 00 00 00    	jne    0xae
  12:	5b                   	pop    %rbx
  13:	5d                   	pop    %rbp
  14:	41 5c                	pop    %r12
  16:	c3                   	retq
  17:	48 85 d2             	test   %rdx,%rdx
  1a:	74 f6                	je     0x12
  1c:	48 01 ea             	add    %rbp,%rdx
  1f:	eb 09                	jmp    0x2a
  21:	48 83 c0 01          	add    $0x1,%rax
  25:	48 39 d0             	cmp    %rdx,%rax
  28:	74 e8                	je     0x12
* 2a:	80 38 00             	cmpb   $0x0,(%rax) <-- trapping instruction
  2d:	74 f2                	je     0x21
  2f:	eb d8                	jmp    0x9
  31:	41 bc 08 00 00 00    	mov    $0x8,%r12d
  37:	48 89 ea             	mov    %rbp,%rdx
  3a:	45 29 dc             	sub    %r11d,%r12d
  3d:	4e                   	rex.WRX
  3e:	8d                   	.byte 0x8d
  3f:	5c                   	pop    %rsp

Crashes (5):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/09/11 17:19 linux-4.19.y 3f8a27f9e27b 356d8217 .config console log report syz C ci2-linux-4-19 BUG: unable to handle kernel paging request in dqput
2022/12/13 13:32 linux-4.19.y 3f8a27f9e27b 67be1ae7 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 BUG: unable to handle kernel paging request in dqput
2022/12/13 07:21 linux-4.19.y 3f8a27f9e27b 67be1ae7 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 BUG: unable to handle kernel paging request in dqput
2022/12/07 22:42 linux-4.19.y 3f8a27f9e27b d88f3abb .config console log report info [disk image] [vmlinux] ci2-linux-4-19 BUG: unable to handle kernel paging request in dqput
2022/09/11 16:38 linux-4.19.y 3f8a27f9e27b 356d8217 .config console log report info ci2-linux-4-19 BUG: unable to handle kernel paging request in dqput
* Struck through repros no longer work on HEAD.