Hello,
syzbot found the following issue on:
HEAD commit: 1989cd3d56e2 Linux 6.1.167
git tree: linux-6.1.y
console output:
https://syzkaller.appspot.com/x/log.txt?x=1422f3d6580000
kernel config:
https://syzkaller.appspot.com/x/.config?x=b1adc0bfde2d8a4a
dashboard link:
https://syzkaller.appspot.com/bug?extid=7129cc66ef0a7ca362fc
compiler: Debian clang version 21.1.8 (++20251221033036+2078da43e25a-1~exp1~20251221153213.50), Debian LLD 21.1.8
userspace arch: arm64
Unfortunately, I don't have any reproducer for this issue yet.
Downloadable assets:
disk image:
https://storage.googleapis.com/syzbot-assets/edd05d4d1a68/disk-1989cd3d.raw.xz
vmlinux:
https://storage.googleapis.com/syzbot-assets/bdc3181e838d/vmlinux-1989cd3d.xz
kernel image:
https://storage.googleapis.com/syzbot-assets/a78aef5a3a25/Image-1989cd3d.gz.xz
IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by:
syzbot+7129cc...@syzkaller.appspotmail.com
------------[ cut here ]------------
WARNING: CPU: 0 PID: 15508 at fs/nilfs2/btree.c:2348 nilfs_btree_mark+0x1b4/0x1f8 fs/nilfs2/btree.c:2348
Modules linked in:
CPU: 0 PID: 15508 Comm: syz.5.3223 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/26/2026
pstate: 82400005 (Nzcv daif +PAN -UAO +TCO -DIT -SSBS BTYPE=--)
pc : nilfs_btree_mark+0x1b4/0x1f8 fs/nilfs2/btree.c:2348
lr : nilfs_btree_mark+0x1b4/0x1f8 fs/nilfs2/btree.c:2348
sp : ffff800021ac7550
x29: ffff800021ac7570 x28: dfff800000000000 x27: 0000000000000000
x26: ffff800021ce3020 x25: 1fffe0001bf6201e x24: dfff800000000000
x23: ffff800011f54be0 x22: 000000000000006d x21: ffff0000dfb10018
x20: 00000000fffffffe x19: ffff0000ccc31680 x18: ffff800011b9bf60
x17: 1fffe00033ea637e x16: ffff8000082d92bc x15: 0000000040000000
x14: 0000000000000004 x13: 1fffe0001998639f x12: 0000000000080000
x11: 00000000000191b7 x10: ffff8000336ee000 x9 : ffff800009c5de64
x8 : 00000000000191b8 x7 : 0000000000000000 x6 : 000000000000003f
x5 : 0000000000000000 x4 : 000000000000006e x3 : ffff800021ac7558
x2 : 00000000ffffffff x1 : 00000000fffffffe x0 : 00000000fffffffe
Call trace:
nilfs_btree_mark+0x1b4/0x1f8 fs/nilfs2/btree.c:2348
nilfs_bmap_mark+0xb8/0x17c fs/nilfs2/bmap.c:420
nilfs_ioctl_mark_blocks_dirty fs/nilfs2/ioctl.c:779 [inline]
nilfs_ioctl_prepare_clean_segments+0x3ac/0x730 fs/nilfs2/ioctl.c:814
nilfs_clean_segments+0x148/0x870 fs/nilfs2/segment.c:2516
nilfs_ioctl_clean_segments fs/nilfs2/ioctl.c:940 [inline]
nilfs_ioctl+0x22c0/0x2660 fs/nilfs2/ioctl.c:1304
vfs_ioctl fs/ioctl.c:51 [inline]
__do_sys_ioctl fs/ioctl.c:870 [inline]
__se_sys_ioctl fs/ioctl.c:856 [inline]
__arm64_sys_ioctl+0x14c/0x1c8 fs/ioctl.c:856
__invoke_syscall arch/arm64/kernel/syscall.c:38 [inline]
invoke_syscall+0x98/0x2b4 arch/arm64/kernel/syscall.c:52
el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:140
do_el0_svc+0x58/0x130 arch/arm64/kernel/syscall.c:204
el0_svc+0x58/0x128 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: 12616
hardirqs last enabled at (12615): [<ffff800008257a18>] raw_spin_rq_unlock_irq kernel/sched/sched.h:1374 [inline]
hardirqs last enabled at (12615): [<ffff800008257a18>] finish_lock_switch+0xb0/0x1c4 kernel/sched/core.c:5004
hardirqs last disabled at (12616): [<ffff800011a33e5c>] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405
softirqs last enabled at (12424): [<ffff800008030954>] local_bh_enable+0x10/0x34 include/linux/bottom_half.h:32
softirqs last disabled at (12422): [<ffff800008030920>] local_bh_disable+0x10/0x34 include/linux/bottom_half.h:19
---[ end trace 0000000000000000 ]---
------------[ cut here ]------------
WARNING: CPU: 0 PID: 15508 at fs/nilfs2/ioctl.c:782 nilfs_ioctl_mark_blocks_dirty fs/nilfs2/ioctl.c:782 [inline]
WARNING: CPU: 0 PID: 15508 at fs/nilfs2/ioctl.c:782 nilfs_ioctl_prepare_clean_segments+0x6bc/0x730 fs/nilfs2/ioctl.c:814
Modules linked in:
CPU: 0 PID: 15508 Comm: syz.5.3223 Tainted: G W syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/26/2026
pstate: 82400005 (Nzcv daif +PAN -UAO +TCO -DIT -SSBS BTYPE=--)
pc : nilfs_ioctl_mark_blocks_dirty fs/nilfs2/ioctl.c:782 [inline]
pc : nilfs_ioctl_prepare_clean_segments+0x6bc/0x730 fs/nilfs2/ioctl.c:814
lr : nilfs_ioctl_mark_blocks_dirty fs/nilfs2/ioctl.c:782 [inline]
lr : nilfs_ioctl_prepare_clean_segments+0x6bc/0x730 fs/nilfs2/ioctl.c:814
sp : ffff800021ac7600
x29: ffff800021ac76a0 x28: dfff800000000000 x27: 0000000000000000
x26: ffff800021ce3020 x25: ffff800021ce3018 x24: 00000000fffffffe
x23: 1ffff0000439c603 x22: 1ffff0000439c602 x21: ffff800021ce3000
x20: ffff0000da0792c8 x19: 0000000000000001 x18: ffff800011b9bf60
x17: ffff80001835a000 x16: ffff8000082d92bc x15: ffff8000089f00b4
x14: 0000000000000001 x13: 1fffe0001bf6200a x12: 0000000000080000
x11: 0000000000035ac1 x10: ffff8000336ee000 x9 : ffff800009c9c780
x8 : 0000000000035ac2 x7 : ffff80000805983c x6 : ffff800008059a4c
x5 : ffff0000e729f970 x4 : ffff800021ac7238 x3 : ffff8000082d27a8
x2 : 0000000000000001 x1 : 00000000fffffffe x0 : 00000000fffffffe
Call trace:
nilfs_ioctl_mark_blocks_dirty fs/nilfs2/ioctl.c:782 [inline]
nilfs_ioctl_prepare_clean_segments+0x6bc/0x730 fs/nilfs2/ioctl.c:814
nilfs_clean_segments+0x148/0x870 fs/nilfs2/segment.c:2516
nilfs_ioctl_clean_segments fs/nilfs2/ioctl.c:940 [inline]
nilfs_ioctl+0x22c0/0x2660 fs/nilfs2/ioctl.c:1304
vfs_ioctl fs/ioctl.c:51 [inline]
__do_sys_ioctl fs/ioctl.c:870 [inline]
__se_sys_ioctl fs/ioctl.c:856 [inline]
__arm64_sys_ioctl+0x14c/0x1c8 fs/ioctl.c:856
__invoke_syscall arch/arm64/kernel/syscall.c:38 [inline]
invoke_syscall+0x98/0x2b4 arch/arm64/kernel/syscall.c:52
el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:140
do_el0_svc+0x58/0x130 arch/arm64/kernel/syscall.c:204
el0_svc+0x58/0x128 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: 12728
hardirqs last enabled at (12727): [<ffff8000088e81cc>] kasan_quarantine_put+0xc4/0x200 mm/kasan/quarantine.c:242
hardirqs last disabled at (12728): [<ffff800011a33e5c>] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405
softirqs last enabled at (12716): [<ffff8000081ac394>] softirq_handle_end kernel/softirq.c:439 [inline]
softirqs last enabled at (12716): [<ffff8000081ac394>] handle_softirqs+0xaec/0xc60 kernel/softirq.c:624
softirqs last disabled at (12619): [<ffff800008020164>] __do_softirq+0x14/0x20 kernel/softirq.c:630
---[ end trace 0000000000000000 ]---
NILFS (loop5): error -2 preparing GC: cannot mark copying blocks dirty
---
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
syzk...@googlegroups.com.
syzbot will keep track of this issue. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.
If the report is already addressed, let syzbot know by replying with:
#syz fix: exact-commit-title
If you want to overwrite report's subsystems, reply with:
#syz set subsystems: new-subsystem
(See the list of subsystem names on the web dashboard)
If the report is a duplicate of another one, reply with:
#syz dup: exact-subject-of-another-report
If you want to undo deduplication, reply with:
#syz undup