syzbot


WARNING in ni_fiemap

Status: upstream: reported C repro on 2024/10/11 03:54
Bug presence: origin:lts-only
[Documentation on labels]
Reported-by: syzbot+a9793b666ed63ca761e9@syzkaller.appspotmail.com
First crash: 56d, last: 4d04h
Bug presence (2)
Date Name Commit Repro Result
2024/12/02 linux-6.1.y (ToT) e4d90d63d385 C [report] WARNING in ni_fiemap
2024/12/02 upstream (ToT) 40384c840ea1 C Didn't crash
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in ni_fiemap ntfs3 C 98 4d14h 111d 23/28 upstream: reported C repro on 2024/08/16 09:49
Fix bisection attempts (1)
Created Duration User Patch Repo Result
2024/12/02 11:32 3h24m fix candidate upstream OK (0) job log

Sample crash report:
loop0: detected capacity change from 0 to 4096
------------[ cut here ]------------
WARNING: CPU: 0 PID: 4289 at mm/page_alloc.c:5566 __alloc_pages+0x32c/0x730 mm/page_alloc.c:5566
Modules linked in:
CPU: 0 PID: 4289 Comm: syz-executor256 Not tainted 6.1.119-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
pstate: 20400005 (nzCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : __alloc_pages+0x32c/0x730 mm/page_alloc.c:5566
lr : __alloc_pages+0xc8/0x730 mm/page_alloc.c:5560
sp : ffff800021337580
x29: ffff800021337670 x28: ffff8000213375a0 x27: dfff800000000000
x26: ffff700004266eb4 x25: 0000000000000000 x24: ffff8000213375c0
x23: 0000000000000000 x22: 0000000000040d40 x21: 1ffff00004266eb8
x20: ffff8000213375e0 x19: 000000000000000e x18: ffff800021337480
x17: ffff800018b6a000 x16: ffff800012272dc0 x15: 0000000000000000
x14: 0000000000000001 x13: ffff0000d9249bc0 x12: 0000000000000005
x11: 1ffff00004266ebc x10: 0000000000000000 x9 : 0000000000000001
x8 : ffff8000183fc000 x7 : 0000000000000000 x6 : 0000000000000000
x5 : 0000000000000000 x4 : 0000000000000000 x3 : 0000000000000020
x2 : 0000000000000008 x1 : 0000000000000000 x0 : ffff8000213375e0
Call trace:
 __alloc_pages+0x32c/0x730 mm/page_alloc.c:5566
 __alloc_pages_node include/linux/gfp.h:237 [inline]
 alloc_pages_node include/linux/gfp.h:260 [inline]
 __kmalloc_large_node+0xbc/0x21c mm/slab_common.c:1077
 __do_kmalloc_node mm/slab_common.c:924 [inline]
 __kmalloc+0x130/0x1c4 mm/slab_common.c:949
 kmalloc_array include/linux/slab.h:609 [inline]
 ni_fiemap+0x2a0/0x1444 fs/ntfs3/frecord.c:2005
 ntfs_fiemap+0x110/0x168 fs/ntfs3/file.c:1254
 ioctl_fiemap fs/ioctl.c:219 [inline]
 do_vfs_ioctl+0x194c/0x26f8 fs/ioctl.c:810
 __do_sys_ioctl fs/ioctl.c:868 [inline]
 __se_sys_ioctl fs/ioctl.c:856 [inline]
 __arm64_sys_ioctl+0xe4/0x1c8 fs/ioctl.c:856
 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline]
 invoke_syscall+0x98/0x2bc arch/arm64/kernel/syscall.c:52
 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:140
 do_el0_svc+0x58/0x13c arch/arm64/kernel/syscall.c:204
 el0_svc+0x58/0x168 arch/arm64/kernel/entry-common.c:637
 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655
 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:585
irq event stamp: 29044
hardirqs last  enabled at (29043): [<ffff800008975210>] kasan_quarantine_put+0xdc/0x204 mm/kasan/quarantine.c:242
hardirqs last disabled at (29044): [<ffff800012320d2c>] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405
softirqs last  enabled at (28348): [<ffff800008030310>] local_bh_enable+0x10/0x34 include/linux/bottom_half.h:32
softirqs last disabled at (28346): [<ffff8000080302dc>] local_bh_disable+0x10/0x34 include/linux/bottom_half.h:19
---[ end trace 0000000000000000 ]---

Crashes (4):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/12/01 12:59 linux-6.1.y e4d90d63d385 68914665 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan-arm64 WARNING in ni_fiemap
2024/10/11 03:54 linux-6.1.y aa4cd140bba5 8fbfc0c8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in ni_fiemap
2024/10/11 03:54 linux-6.1.y aa4cd140bba5 8fbfc0c8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in ni_fiemap
2024/12/01 12:35 linux-6.1.y e4d90d63d385 68914665 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in ni_fiemap
* Struck through repros no longer work on HEAD.