syzbot


BUG: unable to handle kernel paging request in ni_clear

Status: auto-obsoleted due to no activity on 2024/02/17 09:12
Subsystems: ntfs3
[Documentation on labels]
Reported-by: syzbot+bd3df0015769159659e4@syzkaller.appspotmail.com
First crash: 389d, last: 368d

Sample crash report:
BUG: unable to handle page fault for address: ffffffffc35b0443
#PF: supervisor write access in kernel mode
#PF: error_code(0x0002) - not-present page
PGD cd7a067 P4D cd7a067 PUD cd7c067 PMD 0 
Oops: 0002 [#1] PREEMPT SMP KASAN
CPU: 2 PID: 21415 Comm: syz-executor.1 Not tainted 6.7.0-rc1-syzkaller-00344-g037266a5f723 #0
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014
RIP: 0010:kasan_set_track+0x24/0x30 mm/kasan/common.c:52
Code: 5b 5d 41 5c c3 90 66 0f 1f 00 53 48 89 fb 89 f7 be 01 00 00 00 65 48 8b 04 25 c0 bc 03 00 8b 80 a8 05 00 00 89 03 e8 8b ff ff <ff> 89 43 04 5b c3 66 0f 1f 44 00 00 66 0f 1f 00 31 d2 e9 55 31 00
RSP: 0018:ffffc90028c07880 EFLAGS: 00010286
RAX: 0000000004c4045b RBX: ffff8880510f6a88 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff8accb920 RDI: 0000000000000000
RBP: ffff888013042640 R08: 0000000000000001 R09: fffffbfff23e33f7
R10: ffffffff91f19fbf R11: 0000000000000001 R12: 0000000000000000
R13: 0000000000000001 R14: ffffffff81dde2b0 R15: ffffea0001443d80
FS:  0000000000000000(0000) GS:ffff88802c800000(0063) knlGS:00000000f7f4bb40
CS:  0010 DS: 002b ES: 002b CR0: 0000000080050033
CR2: ffffffffc35b0443 CR3: 000000006ddd5000 CR4: 0000000000350ef0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 kasan_save_free_info+0x2b/0x40 mm/kasan/generic.c:522
 ____kasan_slab_free mm/kasan/common.c:236 [inline]
 ____kasan_slab_free+0x15b/0x1b0 mm/kasan/common.c:200
 kasan_slab_free include/linux/kasan.h:164 [inline]
 slab_free_hook mm/slub.c:1800 [inline]
 slab_free_freelist_hook+0x114/0x1e0 mm/slub.c:1826
 slab_free mm/slub.c:3809 [inline]
 __kmem_cache_free+0xc0/0x180 mm/slub.c:3822
 kvfree+0x47/0x50 mm/util.c:663
 run_close fs/ntfs3/ntfs_fs.h:946 [inline]
 ni_clear+0x305/0x6a0 fs/ntfs3/frecord.c:123
 evict+0x2ed/0x6b0 fs/inode.c:664
 iput_final fs/inode.c:1775 [inline]
 iput.part.0+0x560/0x7b0 fs/inode.c:1801
 iput+0x5c/0x80 fs/inode.c:1791
 ntfs_fill_super+0x3835/0x44a0 fs/ntfs3/super.c:1464
 get_tree_bdev+0x3b5/0x650 fs/super.c:1598
 vfs_get_tree+0x8c/0x370 fs/super.c:1771
 do_new_mount fs/namespace.c:3337 [inline]
 path_mount+0x1492/0x1ed0 fs/namespace.c:3664
 do_mount fs/namespace.c:3677 [inline]
 __do_sys_mount fs/namespace.c:3886 [inline]
 __se_sys_mount fs/namespace.c:3863 [inline]
 __ia32_sys_mount+0x291/0x310 fs/namespace.c:3863
 do_syscall_32_irqs_on arch/x86/entry/common.c:164 [inline]
 __do_fast_syscall_32+0x62/0xe0 arch/x86/entry/common.c:230
 do_fast_syscall_32+0x33/0x70 arch/x86/entry/common.c:255
 entry_SYSENTER_compat_after_hwframe+0x70/0x7a
RIP: 0023:0xf7f50579
Code: b8 01 10 06 03 74 b4 01 10 07 03 74 b0 01 10 08 03 74 d8 01 00 00 00 00 00 00 00 00 00 00 00 00 00 51 52 55 89 e5 0f 34 cd 80 <5d> 5a 59 c3 90 90 90 90 8d b4 26 00 00 00 00 8d b4 26 00 00 00 00
RSP: 002b:00000000f7f4b3f0 EFLAGS: 00000296 ORIG_RAX: 0000000000000015
RAX: ffffffffffffffda RBX: 00000000f7f4b460 RCX: 000000002001f740
RDX: 000000002001f700 RSI: 0000000000000000 RDI: 00000000f7f4b4a0
RBP: 000000002001f700 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000292 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
 </TASK>
Modules linked in:
CR2: ffffffffc35b0443
---[ end trace 0000000000000000 ]---
RIP: 0010:kasan_set_track+0x24/0x30 mm/kasan/common.c:52
Code: 5b 5d 41 5c c3 90 66 0f 1f 00 53 48 89 fb 89 f7 be 01 00 00 00 65 48 8b 04 25 c0 bc 03 00 8b 80 a8 05 00 00 89 03 e8 8b ff ff <ff> 89 43 04 5b c3 66 0f 1f 44 00 00 66 0f 1f 00 31 d2 e9 55 31 00
RSP: 0018:ffffc90028c07880 EFLAGS: 00010286
RAX: 0000000004c4045b RBX: ffff8880510f6a88 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff8accb920 RDI: 0000000000000000
RBP: ffff888013042640 R08: 0000000000000001 R09: fffffbfff23e33f7
R10: ffffffff91f19fbf R11: 0000000000000001 R12: 0000000000000000
R13: 0000000000000001 R14: ffffffff81dde2b0 R15: ffffea0001443d80
FS:  0000000000000000(0000) GS:ffff88802c800000(0063) knlGS:00000000f7f4bb40
CS:  0010 DS: 002b ES: 002b CR0: 0000000080050033
CR2: ffffffffc35b0443 CR3: 000000006ddd5000 CR4: 0000000000350ef0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess), 2 bytes skipped:
   0:	10 06                	adc    %al,(%rsi)
   2:	03 74 b4 01          	add    0x1(%rsp,%rsi,4),%esi
   6:	10 07                	adc    %al,(%rdi)
   8:	03 74 b0 01          	add    0x1(%rax,%rsi,4),%esi
   c:	10 08                	adc    %cl,(%rax)
   e:	03 74 d8 01          	add    0x1(%rax,%rbx,8),%esi
  1e:	00 51 52             	add    %dl,0x52(%rcx)
  21:	55                   	push   %rbp
  22:	89 e5                	mov    %esp,%ebp
  24:	0f 34                	sysenter
  26:	cd 80                	int    $0x80
* 28:	5d                   	pop    %rbp <-- trapping instruction
  29:	5a                   	pop    %rdx
  2a:	59                   	pop    %rcx
  2b:	c3                   	ret
  2c:	90                   	nop
  2d:	90                   	nop
  2e:	90                   	nop
  2f:	90                   	nop
  30:	8d b4 26 00 00 00 00 	lea    0x0(%rsi,%riz,1),%esi
  37:	8d b4 26 00 00 00 00 	lea    0x0(%rsi,%riz,1),%esi

Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/11/19 09:12 upstream 037266a5f723 cb976f63 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 BUG: unable to handle kernel paging request in ni_clear
2023/11/11 14:19 upstream 3ca112b71f35 6d6dbf8a .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 BUG: unable to handle kernel paging request in ni_clear
2023/10/28 22:02 upstream 2af9b20dbb39 3c418d72 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 BUG: unable to handle kernel paging request in ni_clear
* Struck through repros no longer work on HEAD.