Hello,
syzbot found the following issue on:
HEAD commit: f6f7927ac664 Linux 5.15.127
git tree: linux-5.15.y
console output:
https://syzkaller.appspot.com/x/log.txt?x=15c4040ba80000
kernel config:
https://syzkaller.appspot.com/x/.config?x=55f355732ad067d7
dashboard link:
https://syzkaller.appspot.com/bug?extid=124a57fd3102943d5c15
compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40
userspace arch: arm64
Unfortunately, I don't have any reproducer for this issue yet.
Downloadable assets:
disk image:
https://storage.googleapis.com/syzbot-assets/ca3051001874/disk-f6f7927a.raw.xz
vmlinux:
https://storage.googleapis.com/syzbot-assets/fb0f8818e6e8/vmlinux-f6f7927a.xz
kernel image:
https://storage.googleapis.com/syzbot-assets/05e287cf01c6/Image-f6f7927a.gz.xz
IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by:
[email protected]
el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142
do_el0_svc+0x58/0x14c arch/arm64/kernel/syscall.c:181
el0_svc+0x7c/0x1f0 arch/arm64/kernel/entry-common.c:596
el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:614
el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584
------------[ cut here ]------------
WARNING: CPU: 0 PID: 3452 at fs/ntfs3/bitmap.c:221 wnd_add_free_ext+0x9b0/0xc00 fs/ntfs3/bitmap.c:356
Modules linked in:
CPU: 0 PID: 3452 Comm: syz-executor.5 Not tainted 5.15.127-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023
pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : wnd_add_free_ext+0x9b0/0xc00 fs/ntfs3/bitmap.c:356
lr : wnd_add_free_ext+0x9b0/0xc00 fs/ntfs3/bitmap.c:356
sp : ffff80001f0a7220
x29: ffff80001f0a7250 x28: 1fffe0001b7594e7 x27: dfff800000000000
x26: dfff800000000000 x25: ffff0000dbaca758 x24: ffff0000dbaca780
x23: ffff0000dbaca738 x22: 00000000000002a0 x21: ffff0000d89782d0
x20: ffff0000dbaca720 x19: 00000000000002a0 x18: 0000000000000000
x17: ff808000086d730c x16: ffff800011967c34 x15: ffff8000086d730c
x14: 00000000ffff8000 x13: ffffffffffffffff x12: 0000000000040000
x11: 000000000001de1f x10: ffff80001d4f9000 x9 : ffff800009578490
x8 : 000000000001de20 x7 : 0000000000000000 x6 : 000000000000003f
x5 : 0000000000000040 x4 : 0000000000000060 x3 : 0000000000000040
x2 : ffffffffffffffc0 x1 : 00000000000002a0 x0 : 00000000000002a0
Call trace:
wnd_add_free_ext+0x9b0/0xc00 fs/ntfs3/bitmap.c:356
wnd_set_free+0x4ac/0x508 fs/ntfs3/bitmap.c:760
mark_as_free_ex+0x178/0x1f4 fs/ntfs3/fsntfs.c:2482
run_deallocate_ex+0x1d4/0x49c fs/ntfs3/attrib.c:147
attr_set_size+0xd08/0x2bdc fs/ntfs3/attrib.c:679
ntfs_truncate fs/ntfs3/file.c:496 [inline]
ntfs3_setattr+0x5f8/0x974 fs/ntfs3/file.c:771
notify_change+0xac4/0xd60 fs/attr.c:488
do_truncate+0x1c0/0x28c fs/open.c:65
vfs_truncate+0x2e0/0x388 fs/open.c:111
do_sys_truncate+0xec/0x1b4 fs/open.c:134
__do_sys_truncate fs/open.c:146 [inline]
__se_sys_truncate fs/open.c:144 [inline]
__arm64_sys_truncate+0x5c/0x70 fs/open.c:144
__invoke_syscall arch/arm64/kernel/syscall.c:38 [inline]
invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:52
el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142
do_el0_svc+0x58/0x14c arch/arm64/kernel/syscall.c:181
el0_svc+0x7c/0x1f0 arch/arm64/kernel/entry-common.c:596
el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:614
el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584
irq event stamp: 21760
hardirqs last enabled at (21759): [<ffff800008a67e50>] lookup_bh_lru fs/buffer.c:1294 [inline]
hardirqs last enabled at (21759): [<ffff800008a67e50>] __find_get_block+0x1d0/0xdd4 fs/buffer.c:1306
hardirqs last disabled at (21760): [<ffff8000119632c8>] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:387
softirqs last enabled at (21656): [<ffff800008020ccc>] softirq_handle_end kernel/softirq.c:401 [inline]
softirqs last enabled at (21656): [<ffff800008020ccc>] __do_softirq+0xb5c/0xe20 kernel/softirq.c:587
softirqs last disabled at (21547): [<ffff8000081b56a0>] do_softirq_own_stack include/asm-generic/softirq_stack.h:10 [inline]
softirqs last disabled at (21547): [<ffff8000081b56a0>] invoke_softirq kernel/softirq.c:439 [inline]
softirqs last disabled at (21547): [<ffff8000081b56a0>] __irq_exit_rcu+0x28c/0x534 kernel/softirq.c:637
---[ end trace df3c6b683c2b4143 ]---
------------[ cut here ]------------
WARNING: CPU: 0 PID: 3452 at fs/ntfs3/bitmap.c:221 wnd_add_free_ext+0x9b0/0xc00 fs/ntfs3/bitmap.c:356
Modules linked in:
CPU: 0 PID: 3452 Comm: syz-executor.5 Tainted: G W 5.15.127-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023
pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : wnd_add_free_ext+0x9b0/0xc00 fs/ntfs3/bitmap.c:356
lr : wnd_add_free_ext+0x9b0/0xc00 fs/ntfs3/bitmap.c:356
sp : ffff80001f0a7220
x29: ffff80001f0a7250 x28: 1fffe0001b7594cf x27: dfff800000000000
x26: dfff800000000000 x25: ffff0000dbaca698 x24: ffff0000dbaca780
x23: ffff0000dbaca678 x22: 00000000000002a0 x21: ffff0000d89782d0
x20: ffff0000dbaca660 x19: 00000000000002a0 x18: 0000000000000000
x17: ff808000086d730c x16: ffff800011967c34 x15: ffff8000086d730c
x14: 00000000ffff8000 x13: ffffffffffffffff x12: 0000000000040000
x11: 0000000000036129 x10: ffff80001d4f9000 x9 : ffff800009578490
x8 : 000000000003612a x7 : 0000000000000000 x6 : 000000000000003f
x5 : 0000000000000040 x4 : 0000000000000060 x3 : 0000000000000040
x2 : ffffffffffffffc0 x1 : 00000000000002a0 x0 : 00000000000002a0
Call trace:
wnd_add_free_ext+0x9b0/0xc00 fs/ntfs3/bitmap.c:356
wnd_set_free+0x4ac/0x508 fs/ntfs3/bitmap.c:760
mark_as_free_ex+0x178/0x1f4 fs/ntfs3/fsntfs.c:2482
run_deallocate_ex+0x1d4/0x49c fs/ntfs3/attrib.c:147
attr_set_size+0xd08/0x2bdc fs/ntfs3/attrib.c:679
ntfs_truncate fs/ntfs3/file.c:496 [inline]
ntfs3_setattr+0x5f8/0x974 fs/ntfs3/file.c:771
notify_change+0xac4/0xd60 fs/attr.c:488
do_truncate+0x1c0/0x28c fs/open.c:65
vfs_truncate+0x2e0/0x388 fs/open.c:111
do_sys_truncate+0xec/0x1b4 fs/open.c:134
__do_sys_truncate fs/open.c:146 [inline]
__se_sys_truncate fs/open.c:144 [inline]
__arm64_sys_truncate+0x5c/0x70 fs/open.c:144
__invoke_syscall arch/arm64/kernel/syscall.c:38 [inline]
invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:52
el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142
do_el0_svc+0x58/0x14c arch/arm64/kernel/syscall.c:181
el0_svc+0x7c/0x1f0 arch/arm64/kernel/entry-common.c:596
el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:614
el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584
irq event stamp: 21904
hardirqs last enabled at (21903): [<ffff800008a67e50>] lookup_bh_lru fs/buffer.c:1294 [inline]
hardirqs last enabled at (21903): [<ffff800008a67e50>] __find_get_block+0x1d0/0xdd4 fs/buffer.c:1306
hardirqs last disabled at (21904): [<ffff8000119632c8>] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:387
softirqs last enabled at (21824): [<ffff800008020ccc>] softirq_handle_end kernel/softirq.c:401 [inline]
softirqs last enabled at (21824): [<ffff800008020ccc>] __do_softirq+0xb5c/0xe20 kernel/softirq.c:587
softirqs last disabled at (21763): [<ffff8000081b56a0>] do_softirq_own_stack include/asm-generic/softirq_stack.h:10 [inline]
softirqs last disabled at (21763): [<ffff8000081b56a0>] invoke_softirq kernel/softirq.c:439 [inline]
softirqs last disabled at (21763): [<ffff8000081b56a0>] __irq_exit_rcu+0x28c/0x534 kernel/softirq.c:637
---[ end trace df3c6b683c2b4144 ]---
------------[ cut here ]------------
WARNING: CPU: 0 PID: 3452 at fs/ntfs3/bitmap.c:221 wnd_add_free_ext+0x9b0/0xc00 fs/ntfs3/bitmap.c:356
Modules linked in:
CPU: 0 PID: 3452 Comm: syz-executor.5 Tainted: G W 5.15.127-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023
pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : wnd_add_free_ext+0x9b0/0xc00 fs/ntfs3/bitmap.c:356
lr : wnd_add_free_ext+0x9b0/0xc00 fs/ntfs3/bitmap.c:356
sp : ffff80001f0a7220
x29: ffff80001f0a7250 x28: 1fffe0001b75952f x27: dfff800000000000
x26: dfff800000000000 x25: ffff0000dbaca998 x24: ffff0000dbaca780
x23: ffff0000dbaca978 x22: 00000000000002a0 x21: ffff0000d89782d0
x20: ffff0000dbaca960 x19: 00000000000002a0 x18: 0000000000000000
x17: ff808000086d730c x16: ffff800011967c34 x15: ffff8000086d730c
x14: 00000000ffff8000 x13: ffffffffffffffff x12: 0000000000040000
x11: 000000000003ffff x10: ffff80001d4f9000 x9 : ffff800009578490
x8 : 0000000000040000 x7 : 0000000000000000 x6 : 000000000000003f
x5 : 0000000000000040 x4 : 0000000000000060 x3 : 0000000000000040
x2 : ffffffffffffffc0 x1 : 00000000000002a0 x0 : 00000000000002a0
Call trace:
wnd_add_free_ext+0x9b0/0xc00 fs/ntfs3/bitmap.c:356
wnd_set_free+0x4ac/0x508 fs/ntfs3/bitmap.c:760
mark_as_free_ex+0x178/0x1f4 fs/ntfs3/fsntfs.c:2482
run_deallocate_ex+0x1d4/0x49c fs/ntfs3/attrib.c:147
attr_set_size+0xd08/0x2bdc fs/ntfs3/attrib.c:679
ntfs_truncate fs/ntfs3/file.c:496 [inline]
ntfs3_setattr+0x5f8/0x974 fs/ntfs3/file.c:771
notify_change+0xac4/0xd60 fs/attr.c:488
do_truncate+0x1c0/0x28c fs/open.c:65
vfs_truncate+0x2e0/0x388 fs/open.c:111
do_sys_truncate+0xec/0x1b4 fs/open.c:134
__do_sys_truncate fs/open.c:146 [inline]
__se_sys_truncate fs/open.c:144 [inline]
__arm64_sys_truncate+0x5c/0x70 fs/open.c:144
__invoke_syscall arch/arm64/kernel/syscall.c:38 [inline]
invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:52
el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142
do_el0_svc+0x58/0x14c arch/arm64/kernel/syscall.c:181
el0_svc+0x7c/0x1f0 arch/arm64/kernel/entry-common.c:596
el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:614
el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584
irq event stamp: 22054
hardirqs last enabled at (22053): [<ffff800008a67e50>] lookup_bh_lru fs/buffer.c:1294 [inline]
hardirqs last enabled at (22053): [<ffff800008a67e50>] __find_get_block+0x1d0/0xdd4 fs/buffer.c:1306
hardirqs last disabled at (22054): [<ffff8000119632c8>] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:387
softirqs last enabled at (21960): [<ffff800008020ccc>] softirq_handle_end kernel/softirq.c:401 [inline]
softirqs last enabled at (21960): [<ffff800008020ccc>] __do_softirq+0xb5c/0xe20 kernel/softirq.c:587
softirqs last disabled at (21907): [<ffff8000081b56a0>] do_softirq_own_stack include/asm-generic/softirq_stack.h:10 [inline]
softirqs last disabled at (21907): [<ffff8000081b56a0>] invoke_softirq kernel/softirq.c:439 [inline]
softirqs last disabled at (21907): [<ffff8000081b56a0>] __irq_exit_rcu+0x28c/0x534 kernel/softirq.c:637
---[ end trace df3c6b683c2b4145 ]---
------------[ cut here ]------------
WARNING: CPU: 0 PID: 3452 at fs/ntfs3/bitmap.c:221 wnd_add_free_ext+0x9b0/0xc00 fs/ntfs3/bitmap.c:356
Modules linked in:
CPU: 0 PID: 3452 Comm: syz-executor.5 Tainted: G W 5.15.127-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023
pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : wnd_add_free_ext+0x9b0/0xc00 fs/ntfs3/bitmap.c:356
lr : wnd_add_free_ext+0x9b0/0xc00 fs/ntfs3/bitmap.c:356
sp : ffff80001f0a7220
x29: ffff80001f0a7250 x28: 1fffe0001b7594c3 x27: dfff800000000000
x26: dfff800000000000 x25: ffff0000dbaca638 x24: ffff0000dbaca780
x23: ffff0000dbaca618 x22: 00000000000002a0 x21: ffff0000d89782d0
x20: ffff0000dbaca600 x19: 00000000000002a0 x18: 0000000000000000
x17: ff808000086d730c x16: ffff800011967c34 x15: ffff8000086d730c
x14: 00000000ffff8000 x13: ffffffffffffffff x12: 0000000000040000
x11: 000000000003ffff x10: ffff80001d4f9000 x9 : ffff800009578490
x8 : 0000000000040000 x7 : 0000000000000000 x6 : 000000000000003f
x5 : 0000000000000040 x4 : 0000000000000060 x3 : 0000000000000040
x2 : ffffffffffffffc0 x1 : 00000000000002a0 x0 : 00000000000002a0
Call trace:
wnd_add_free_ext+0x9b0/0xc00 fs/ntfs3/bitmap.c:356
wnd_set_free+0x4ac/0x508 fs/ntfs3/bitmap.c:760
mark_as_free_ex+0x178/0x1f4 fs/ntfs3/fsntfs.c:2482
run_deallocate_ex+0x1d4/0x49c fs/ntfs3/attrib.c:147
attr_set_size+0xd08/0x2bdc fs/ntfs3/attrib.c:679
ntfs_truncate fs/ntfs3/file.c:496 [inline]
ntfs3_setattr+0x5f8/0x974 fs/ntfs3/file.c:771
notify_change+0xac4/0xd60 fs/attr.c:488
do_truncate+0x1c0/0x28c fs/open.c:65
vfs_truncate+0x2e0/0x388 fs/open.c:111
do_sys_truncate+0xec/0x1b4 fs/open.c:134
__do_sys_truncate fs/open.c:146 [inline]
__se_sys_truncate fs/open.c:144 [inline]
__arm64_sys_truncate+0x5c/0x70 fs/open.c:144
__invoke_syscall arch/arm64/kernel/syscall.c:38 [inline]
invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:52
el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142
do_el0_svc+0x58/0x14c arch/arm64/kernel/syscall.c:181
el0_svc+0x7c/0x1f0 arch/arm64/kernel/entry-common.c:596
el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:614
el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584
irq event stamp: 22316
hardirqs last enabled at (22315): [<ffff800008a67e50>] lookup_bh_lru fs/buffer.c:1294 [inline]
hardirqs last enabled at (22315): [<ffff800008a67e50>] __find_get_block+0x1d0/0xdd4 fs/buffer.c:1306
hardirqs last disabled at (22316): [<ffff8000119632c8>] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:387
softirqs last enabled at (22226): [<ffff800008020ccc>] softirq_handle_end kernel/softirq.c:401 [inline]
softirqs last enabled at (22226): [<ffff800008020ccc>] __do_softirq+0xb5c/0xe20 kernel/softirq.c:587
softirqs last disabled at (22057): [<ffff8000081b56a0>] do_softirq_own_stack include/asm-generic/softirq_stack.h:10 [inline]
softirqs last disabled at (22057): [<ffff8000081b56a0>] invoke_softirq kernel/softirq.c:439 [inline]
softirqs last disabled at (22057): [<ffff8000081b56a0>] __irq_exit_rcu+0x28c/0x534 kernel/softirq.c:637
---[ end trace df3c6b683c2b4146 ]---
------------[ cut here ]------------
WARNING: CPU: 0 PID: 3452 at fs/ntfs3/bitmap.c:221 wnd_add_free_ext+0x9b0/0xc00 fs/ntfs3/bitmap.c:356
Modules linked in:
CPU: 0 PID: 3452 Comm: syz-executor.5 Tainted: G W 5.15.127-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023
pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : wnd_add_free_ext+0x9b0/0xc00 fs/ntfs3/bitmap.c:356
lr : wnd_add_free_ext+0x9b0/0xc00 fs/ntfs3/bitmap.c:356
sp : ffff80001f0a7220
x29: ffff80001f0a7250 x28: 1fffe0001b75941b x27: dfff800000000000
x26: dfff800000000000 x25: ffff0000dbaca0f8 x24: ffff0000dbaca780
x23: ffff0000dbaca0d8 x22: 00000000000002a0 x21: ffff0000d89782d0
x20: ffff0000dbaca0c0 x19: 00000000000002a0 x18: 0000000000000000
x17: ff808000086d730c x16: ffff800011967c34 x15: ffff8000086d730c
x14: 00000000ffff8000 x13: ffffffffffffffff x12: 0000000000040000
x11: 000000000003ffff x10: ffff80001d4f9000 x9 : ffff800009578490
x8 : 0000000000040000 x7 : 0000000000000000 x6 : 000000000000003f
x5 : 0000000000000040 x4 : 0000000000000060 x3 : 0000000000000040
x2 : ffffffffffffffc0 x1 : 00000000000002a0 x0 : 00000000000002a0
Call trace:
wnd_add_free_ext+0x9b0/0xc00 fs/ntfs3/bitmap.c:356
wnd_set_free+0x4ac/0x508 fs/ntfs3/bitmap.c:760
mark_as_free_ex+0x1c4/0x1f4 fs/ntfs3/fsntfs.c:2492
run_deallocate_ex+0x1d4/0x49c fs/ntfs3/attrib.c:147
attr_set_size+0xd08/0x2bdc fs/ntfs3/attrib.c:679
ntfs_truncate fs/ntfs3/file.c:496 [inline]
ntfs3_setattr+0x5f8/0x974 fs/ntfs3/file.c:771
notify_change+0xac4/0xd60 fs/attr.c:488
do_truncate+0x1c0/0x28c fs/open.c:65
vfs_truncate+0x2e0/0x388 fs/open.c:111
do_sys_truncate+0xec/0x1b4 fs/open.c:134
__do_sys_truncate fs/open.c:146 [inline]
__se_sys_truncate fs/open.c:144 [inline]
__arm64_sys_truncate+0x5c/0x70 fs/open.c:144
__invoke_syscall arch/arm64/kernel/syscall.c:38 [inline]
invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:52
el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142
do_el0_svc+0x58/0x14c arch/arm64/kernel/syscall.c:181
el0_svc+0x7c/0x1f0 arch/arm64/kernel/entry-common.c:596
el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:614
el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584
irq event stamp: 22552
hardirqs last enabled at (22551): [<ffff800008a67e50>] lookup_bh_lru fs/buffer.c:1294 [inline]
hardirqs last enabled at (22551): [<ffff800008a67e50>] __find_get_block+0x1d0/0xdd4 fs/buffer.c:1306
hardirqs last disabled at (22552): [<ffff8000119632c8>] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:387
softirqs last enabled at (22446): [<ffff800008020ccc>] softirq_handle_end kernel/softirq.c:401 [inline]
softirqs last enabled at (22446): [<ffff800008020ccc>] __do_softirq+0xb5c/0xe20 kernel/softirq.c:587
softirqs last disabled at (22319): [<ffff8000081b56a0>] do_softirq_own_stack include/asm-generic/softirq_stack.h:10 [inline]
softirqs last disabled at (22319): [<ffff8000081b56a0>] invoke_softirq kernel/softirq.c:439 [inline]
softirqs last disabled at (22319): [<ffff8000081b56a0>] __irq_exit_rcu+0x28c/0x534 kernel/softirq.c:637
---[ end trace df3c6b683c2b4147 ]---
------------[ cut here ]------------
WARNING: CPU: 0 PID: 3452 at fs/ntfs3/bitmap.c:221 wnd_add_free_ext+0x9b0/0xc00 fs/ntfs3/bitmap.c:356
Modules linked in:
CPU: 0 PID: 3452 Comm: syz-executor.5 Tainted: G W 5.15.127-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023
pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : wnd_add_free_ext+0x9b0/0xc00 fs/ntfs3/bitmap.c:356
lr : wnd_add_free_ext+0x9b0/0xc00 fs/ntfs3/bitmap.c:356
sp : ffff80001f0a7220
x29: ffff80001f0a7250 x28: 1fffe0001b7594ab x27: dfff800000000000
x26: dfff800000000000 x25: ffff0000dbaca578 x24: ffff0000dbaca8a0
x23: ffff0000dbaca558 x22: 00000000000002f9 x21: ffff0000d89782d0
x20: ffff0000dbaca540 x19: 00000000000002f9 x18: 0000000000000000
x17: ff808000086d730c x16: ffff800011967c34 x15: ffff8000086d730c
x14: 00000000ffff8000 x13: ffffffffffffffff x12: 0000000000040000
x11: 000000000003ffff x10: ffff80001d4f9000 x9 : ffff800009578490
x8 : 0000000000040000 x7 : 0000000000000000 x6 : 000000000000003f
x5 : 0000000000000040 x4 : 0000000000000060 x3 : 0000000000000040
x2 : ffffffffffffffc0 x1 : 00000000000002f9 x0 : 00000000000002f9
Call trace:
wnd_add_free_ext+0x9b0/0xc00 fs/ntfs3/bitmap.c:356
wnd_set_free+0x4ac/0x508 fs/ntfs3/bitmap.c:760
mark_as_free_ex+0x1c4/0x1f4 fs/ntfs3/fsntfs.c:2492
run_deallocate_ex+0x1d4/0x49c fs/ntfs3/attrib.c:147
attr_set_size+0xd08/0x2bdc fs/ntfs3/attrib.c:679
ntfs_truncate fs/ntfs3/file.c:496 [inline]
ntfs3_setattr+0x5f8/0x974 fs/ntfs3/file.c:771
notify_change+0xac4/0xd60 fs/attr.c:488
do_truncate+0x1c0/0x28c fs/open.c:65
vfs_truncate+0x2e0/0x388 fs/open.c:111
do_sys_truncate+0xec/0x1b4 fs/open.c:134
__do_sys_truncate fs/open.c:146 [inline]
__se_sys_truncate fs/open.c:144 [inline]
__arm64_sys_truncate+0x5c/0x70 fs/open.c:144
__invoke_syscall arch/arm64/kernel/syscall.c:38 [inline]
invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:52
el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142
do_el0_svc+0x58/0x14c arch/arm64/kernel/syscall.c:181
el0_svc+0x7c/0x1f0 arch/arm64/kernel/entry-common.c:596
el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:614
el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584
irq event stamp: 24066
hardirqs last enabled at (24065): [<ffff800008a67e50>] lookup_bh_lru fs/buffer.c:1294 [inline]
hardirqs last enabled at (24065): [<ffff800008a67e50>] __find_get_block+0x1d0/0xdd4 fs/buffer.c:1306
hardirqs last disabled at (24066): [<ffff8000119632c8>] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:387
softirqs last enabled at (22926): [<ffff800008020ccc>] softirq_handle_end kernel/softirq.c:401 [inline]
softirqs last enabled at (22926): [<ffff800008020ccc>] __do_softirq+0xb5c/0xe20 kernel/softirq.c:587
softirqs last disabled at (22783): [<ffff8000081b56a0>] do_softirq_own_stack include/asm-generic/softirq_stack.h:10 [inline]
softirqs last disabled at (22783): [<ffff8000081b56a0>] invoke_softirq kernel/softirq.c:439 [inline]
softirqs last disabled at (22783): [<ffff8000081b56a0>] __irq_exit_rcu+0x28c/0x534 kernel/softirq.c:637
---[ end trace df3c6b683c2b4148 ]---
------------[ cut here ]------------
WARNING: CPU: 1 PID: 3452 at fs/ntfs3/bitmap.c:221 wnd_add_free_ext+0x9b0/0xc00 fs/ntfs3/bitmap.c:356
Modules linked in:
CPU: 1 PID: 3452 Comm: syz-executor.5 Tainted: G W 5.15.127-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023
pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : wnd_add_free_ext+0x9b0/0xc00 fs/ntfs3/bitmap.c:356
lr : wnd_add_free_ext+0x9b0/0xc00 fs/ntfs3/bitmap.c:356
sp : ffff80001f0a7220
x29: ffff80001f0a7250 x28: 1fffe0001b24bd17 x27: dfff800000000000
x26: dfff800000000000 x25: ffff0000d925e8d8 x24: ffff0000dbaca8a0
x23: ffff0000d925e8b8 x22: 00000000000002f9 x21: ffff0000d89782d0
x20: ffff0000d925e8a0 x19: 00000000000002f9 x18: 0000000000000000
x17: ff808000086d730c x16: ffff800011967c34 x15: ffff8000086d730c
x14: 00000000ffff8000 x13: ffffffffffffffff x12: 0000000000040000
x11: 000000000003ffff x10: ffff80001d4f9000 x9 : ffff800009578490
x8 : 0000000000040000 x7 : 0000000000000000 x6 : 000000000000003f
x5 : 0000000000000040 x4 : 0000000000000060 x3 : 0000000000000040
x2 : ffffffffffffffc0 x1 : 00000000000002f9 x0 : 00000000000002f9
Call trace:
wnd_add_free_ext+0x9b0/0xc00 fs/ntfs3/bitmap.c:356
wnd_set_free+0x4ac/0x508 fs/ntfs3/bitmap.c:760
mark_as_free_ex+0x178/0x1f4 fs/ntfs3/fsntfs.c:2482
run_deallocate_ex+0x1d4/0x49c fs/ntfs3/attrib.c:147
attr_set_size+0xd08/0x2bdc fs/ntfs3/attrib.c:679
ntfs_truncate fs/ntfs3/file.c:496 [inline]
ntfs3_setattr+0x5f8/0x974 fs/ntfs3/file.c:771
notify_change+0xac4/0xd60 fs/attr.c:488
do_truncate+0x1c0/0x28c fs/open.c:65
vfs_truncate+0x2e0/0x388 fs/open.c:111
do_sys_truncate+0xec/0x1b4 fs/open.c:134
__do_sys_truncate fs/open.c:146 [inline]
__se_sys_truncate fs/open.c:144 [inline]
__arm64_sys_truncate+0x5c/0x70 fs/open.c:144
__invoke_syscall arch/arm64/kernel/syscall.c:38 [inline]
invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:52
el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142
do_el0_svc+0x58/0x14c arch/arm64/kernel/syscall.c:181
el0_svc+0x7c/0x1f0 arch/arm64/kernel/entry-common.c:596
el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:614
el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584
irq event stamp: 24258
hardirqs last enabled at (24257): [<ffff800008a67e50>] lookup_bh_lru fs/buffer.c:1294 [inline]
hardirqs last enabled at (24257): [<ffff800008a67e50>] __find_get_block+0x1d0/0xdd4 fs/buffer.c:1306
hardirqs last disabled at (24258): [<ffff8000119632c8>] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:387
softirqs last enabled at (24144): [<ffff800008020ccc>] softirq_handle_end kernel/softirq.c:401 [inline]
softirqs last enabled at (24144): [<ffff800008020ccc>] __do_softirq+0xb5c/0xe20 kernel/softirq.c:587
softirqs last disabled at (24069): [<ffff8000081b56a0>] do_softirq_own_stack include/asm-generic/softirq_stack.h:10 [inline]
softirqs last disabled at (24069): [<ffff8000081b56a0>] invoke_softirq kernel/softirq.c:439 [inline]
softirqs last disabled at (24069): [<ffff8000081b56a0>] __irq_exit_rcu+0x28c/0x534 kernel/softirq.c:637
---[ end trace df3c6b683c2b4149 ]---
---
This report is generated by a bot. It may contain errors.
See
https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at
[email protected].
syzbot will keep track of this issue. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.
If the bug is already fixed, let syzbot know by replying with:
#syz fix: exact-commit-title
If you want to overwrite bug's subsystems, reply with:
#syz set subsystems: new-subsystem
(See the list of subsystem names on the web dashboard)
If the bug is a duplicate of another bug, reply with:
#syz dup: exact-subject-of-another-report
If you want to undo deduplication, reply with:
#syz undup