syzbot


BUG: unable to handle kernel paging request in debug_check_no_obj_freed (3)

Status: moderation: reported on 2022/07/31 02:49
Reported-by: syzbot+ff85912f641cd241173b@syzkaller.appspotmail.com
First crash: 21d, last: 21d
similar bugs (7):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream BUG: unable to handle kernel paging request in debug_check_no_obj_freed (2) 1 699d 695d 0/23 auto-closed as invalid on 2020/12/15 21:08
linux-4.19 BUG: unable to handle kernel paging request in debug_check_no_obj_freed 1 542d 542d 0/1 auto-closed as invalid on 2021/06/21 12:27
upstream BUG: unable to handle kernel paging request in debug_check_no_obj_freed 1 1504d 1504d 0/23 closed as invalid on 2018/07/05 16:25
linux-4.19 general protection fault in debug_check_no_obj_freed (2) 2 217d 322d 0/1 auto-closed as invalid on 2022/05/11 17:22
upstream general protection fault in debug_check_no_obj_freed (4) 1 479d 473d 0/23 auto-closed as invalid on 2021/06/24 04:15
upstream general protection fault in debug_check_no_obj_freed (5) 4 375d 395d 0/23 auto-closed as invalid on 2021/11/05 02:52
upstream general protection fault in debug_check_no_obj_freed (6) 2 282d 280d 0/23 auto-closed as invalid on 2022/02/06 02:57

Sample crash report:
BUG: unable to handle page fault for address: ffffed11035786bc
#PF: supervisor read access in kernel mode
#PF: error_code(0x0000) - not-present page
PGD 7ffcd067 P4D 7ffcd067 PUD 0 
Oops: 0000 [#1] PREEMPT SMP KASAN
CPU: 2 PID: 12575 Comm: syz-executor.3 Not tainted 5.19.0-rc6-syzkaller-00115-g4a57a8400075 #0
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.14.0-2 04/01/2014
RIP: 0010:__debug_check_no_obj_freed lib/debugobjects.c:978 [inline]
RIP: 0010:debug_check_no_obj_freed+0x101/0x420 lib/debugobjects.c:1020
Code: 03 00 00 48 8b 44 24 20 4c 8b 00 4d 85 c0 0f 84 59 02 00 00 49 bd 22 01 00 00 00 00 ad de 4c 89 c0 31 ed 48 c1 e8 03 41 89 ec <42> 80 3c 38 00 0f 85 d2 00 00 00 49 8d 78 18 41 83 c4 01 49 8b 28
RSP: 0018:ffffc90003dcfa00 EFLAGS: 00010806
RAX: 1ffff110035786bd RBX: ffff888024b12000 RCX: ffffffff815dfb50
RDX: 1ffffffff222995b RSI: 0000000000000004 RDI: ffffc90003dcf970
RBP: 0000000000000000 R08: ffff88801abc35e8 R09: 0000000000000003
R10: fffff520007b9f2e R11: 0000000000000001 R12: 0000000000000000
R13: dead000000000122 R14: dead000000000100 R15: dffffc00ffffffff
FS:  00007fb12665f700(0000) GS:ffff88802ca00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffed11035786bc CR3: 000000001e16c000 CR4: 0000000000150ee0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 kfree+0xd6/0x310 mm/slab.c:3795
 mi_clear fs/ntfs3/ntfs_fs.h:1105 [inline]
 ni_clear+0x287/0x690 fs/ntfs3/frecord.c:132
 evict+0x2ed/0x6b0 fs/inode.c:664
 iput_final fs/inode.c:1744 [inline]
 iput.part.0+0x562/0x820 fs/inode.c:1770
 iput+0x58/0x70 fs/inode.c:1760
 ntfs_fill_super+0x2d66/0x3730 fs/ntfs3/super.c:1180
 get_tree_bdev+0x440/0x760 fs/super.c:1292
 vfs_get_tree+0x89/0x2f0 fs/super.c:1497
 do_new_mount fs/namespace.c:3040 [inline]
 path_mount+0x1320/0x1fa0 fs/namespace.c:3370
 do_mount fs/namespace.c:3383 [inline]
 __do_sys_mount fs/namespace.c:3591 [inline]
 __se_sys_mount fs/namespace.c:3568 [inline]
 __x64_sys_mount+0x27f/0x300 fs/namespace.c:3568
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7fb12548a73a
Code: 48 c7 c2 b8 ff ff ff f7 d8 64 89 02 b8 ff ff ff ff eb d2 e8 b8 04 00 00 0f 1f 84 00 00 00 00 00 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fb12665ef88 EFLAGS: 00000206 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 0000000020000200 RCX: 00007fb12548a73a
RDX: 0000000020000000 RSI: 0000000020000100 RDI: 00007fb12665efe0
RBP: 00007fb12665f020 R08: 00007fb12665f020 R09: 0000000020000000
R10: 0000000000000000 R11: 0000000000000206 R12: 0000000020000000
R13: 0000000020000100 R14: 00007fb12665efe0 R15: 000000002007a980
 </TASK>
Modules linked in:
CR2: ffffed11035786bc
---[ end trace 0000000000000000 ]---
RIP: 0010:__debug_check_no_obj_freed lib/debugobjects.c:978 [inline]
RIP: 0010:debug_check_no_obj_freed+0x101/0x420 lib/debugobjects.c:1020
Code: 03 00 00 48 8b 44 24 20 4c 8b 00 4d 85 c0 0f 84 59 02 00 00 49 bd 22 01 00 00 00 00 ad de 4c 89 c0 31 ed 48 c1 e8 03 41 89 ec <42> 80 3c 38 00 0f 85 d2 00 00 00 49 8d 78 18 41 83 c4 01 49 8b 28
RSP: 0018:ffffc90003dcfa00 EFLAGS: 00010806
RAX: 1ffff110035786bd RBX: ffff888024b12000 RCX: ffffffff815dfb50
RDX: 1ffffffff222995b RSI: 0000000000000004 RDI: ffffc90003dcf970
RBP: 0000000000000000 R08: ffff88801abc35e8 R09: 0000000000000003
R10: fffff520007b9f2e R11: 0000000000000001 R12: 0000000000000000
R13: dead000000000122 R14: dead000000000100 R15: dffffc00ffffffff
FS:  00007fb12665f700(0000) GS:ffff88802ca00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffed11035786bc CR3: 000000001e16c000 CR4: 0000000000150ee0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
   0:	03 00                	add    (%rax),%eax
   2:	00 48 8b             	add    %cl,-0x75(%rax)
   5:	44 24 20             	rex.R and $0x20,%al
   8:	4c 8b 00             	mov    (%rax),%r8
   b:	4d 85 c0             	test   %r8,%r8
   e:	0f 84 59 02 00 00    	je     0x26d
  14:	49 bd 22 01 00 00 00 	movabs $0xdead000000000122,%r13
  1b:	00 ad de
  1e:	4c 89 c0             	mov    %r8,%rax
  21:	31 ed                	xor    %ebp,%ebp
  23:	48 c1 e8 03          	shr    $0x3,%rax
  27:	41 89 ec             	mov    %ebp,%r12d
* 2a:	42 80 3c 38 00       	cmpb   $0x0,(%rax,%r15,1) <-- trapping instruction
  2f:	0f 85 d2 00 00 00    	jne    0x107
  35:	49 8d 78 18          	lea    0x18(%r8),%rdi
  39:	41 83 c4 01          	add    $0x1,%r12d
  3d:	49 8b 28             	mov    (%r8),%rbp

Crashes (1):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-qemu-upstream 2022/07/27 02:47 upstream 4a57a8400075 ae971e66 .config log report info BUG: unable to handle kernel paging request in debug_check_no_obj_freed