[v6.1] WARNING in nilfs_sufile_do_free

0 views
Skip to first unread message

syzbot

unread,
Apr 11, 2026, 9:46:28 PM (4 days ago) Apr 11
to syzkaller...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: 8e8fc038cad5 Linux 6.1.168
git tree: linux-6.1.y
console output: https://syzkaller.appspot.com/x/log.txt?x=1044f302580000
kernel config: https://syzkaller.appspot.com/x/.config?x=b1adc0bfde2d8a4a
dashboard link: https://syzkaller.appspot.com/bug?extid=ede06bed98ae98f3b098
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/1821c80470d7/disk-8e8fc038.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/289636f01a54/vmlinux-8e8fc038.xz
kernel image: https://storage.googleapis.com/syzbot-assets/580462ce5f63/Image-8e8fc038.gz.xz

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+ede06b...@syzkaller.appspotmail.com

loop1: detected capacity change from 0 to 4096
------------[ cut here ]------------
WARNING: CPU: 0 PID: 4537 at fs/nilfs2/sufile.c:475 nilfs_sufile_do_free+0x470/0x76c fs/nilfs2/sufile.c:475
Modules linked in:
CPU: 0 PID: 4537 Comm: syz.1.33 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_sufile_do_free+0x470/0x76c fs/nilfs2/sufile.c:475
lr : nilfs_sufile_do_free+0x470/0x76c fs/nilfs2/sufile.c:475
sp : ffff800021246fb0
x29: ffff800021246fe0 x28: dfff800000000000 x27: 0000000000008000
x26: ffff0000f51c30bc x25: ffff0000f51c30b0 x24: ffff0000e26225e8
x23: ffff0000ccb515d8 x22: 1fffe0001996a2bb x21: 0000000000008000
x20: 1fffe0001ea38617 x19: ffff0000ccb50000 x18: ffff800011b9bf60
x17: ffff80001835b000 x16: ffff8000082d7db8 x15: 0000000000000002
x14: 00000000ffffffef x13: 0000000000ff0100 x12: 0000000000080000
x11: 0000000000014637 x10: ffff800021afc000 x9 : ffff800009c91bdc
x8 : 0000000000014638 x7 : ffff8000086f2be4 x6 : 0000000000000000
x5 : 0000000000000000 x4 : 0000000000000000 x3 : ffff0000f88b9488
x2 : ffff0000f88b9488 x1 : 0000000000000000 x0 : 0000000000000000
Call trace:
nilfs_sufile_do_free+0x470/0x76c fs/nilfs2/sufile.c:475
nilfs_sufile_updatev+0x314/0x540 fs/nilfs2/sufile.c:196
nilfs_sufile_freev fs/nilfs2/sufile.h:87 [inline]
nilfs_segctor_collect_blocks fs/nilfs2/segment.c:1246 [inline]
nilfs_segctor_collect fs/nilfs2/segment.c:1534 [inline]
nilfs_segctor_do_construct+0x19b4/0x61f8 fs/nilfs2/segment.c:2090
nilfs_segctor_construct+0x134/0x540 fs/nilfs2/segment.c:2453
nilfs_clean_segments+0x2e8/0x870 fs/nilfs2/segment.c:2527
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: 11862
hardirqs last enabled at (11861): [<ffff800011b238fc>] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:151 [inline]
hardirqs last enabled at (11861): [<ffff800011b238fc>] _raw_spin_unlock_irqrestore+0x48/0xac kernel/locking/spinlock.c:194
hardirqs last disabled at (11862): [<ffff800011a387cc>] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405
softirqs last enabled at (11708): [<ffff800008030954>] local_bh_enable+0x10/0x34 include/linux/bottom_half.h:32
softirqs last disabled at (11706): [<ffff800008030920>] local_bh_disable+0x10/0x34 include/linux/bottom_half.h:19
---[ end trace 0000000000000000 ]---


---
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

syzbot

unread,
Apr 11, 2026, 10:10:29 PM (4 days ago) Apr 11
to syzkaller...@googlegroups.com
syzbot has found a reproducer for the following issue on:

HEAD commit: 8e8fc038cad5 Linux 6.1.168
git tree: linux-6.1.y
console output: https://syzkaller.appspot.com/x/log.txt?x=1014f302580000
kernel config: https://syzkaller.appspot.com/x/.config?x=b1adc0bfde2d8a4a
dashboard link: https://syzkaller.appspot.com/bug?extid=ede06bed98ae98f3b098
compiler: Debian clang version 21.1.8 (++20251221033036+2078da43e25a-1~exp1~20251221153213.50), Debian LLD 21.1.8
userspace arch: arm64
syz repro: https://syzkaller.appspot.com/x/repro.syz?x=1414f302580000
C reproducer: https://syzkaller.appspot.com/x/repro.c?x=11c59106580000
mounted in repro: https://storage.googleapis.com/syzbot-assets/70510db8dfb8/mount_0.gz

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+ede06b...@syzkaller.appspotmail.com

loop0: detected capacity change from 0 to 4096
------------[ cut here ]------------
WARNING: CPU: 1 PID: 4507 at fs/nilfs2/sufile.c:475 nilfs_sufile_do_free+0x470/0x76c fs/nilfs2/sufile.c:475
Modules linked in:
CPU: 1 PID: 4507 Comm: syz.0.17 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_sufile_do_free+0x470/0x76c fs/nilfs2/sufile.c:475
lr : nilfs_sufile_do_free+0x470/0x76c fs/nilfs2/sufile.c:475
sp : ffff800020c46fb0
x29: ffff800020c46fe0 x28: dfff800000000000 x27: 0000000000008000
x26: ffff0000cc3eb0bc x25: ffff0000cc3eb0b0 x24: ffff0000e598a5e8
x23: ffff0000df66e918 x22: 1fffe0001becdd23 x21: 0000000000008000
x20: 1fffe0001987d617 x19: ffff0000df66d340 x18: ffff800011b9bf60
x17: ffff80001835b000 x16: ffff8000082d7db8 x15: 0000000000000000
x14: 00000000ffffffef x13: 0000000000ff0100 x12: 0000000000ff0100
x11: ff00800009c91bdc x10: 0000000000000000 x9 : ffff800009c91bdc
x8 : ffff0000df66d340 x7 : ffff8000086f2be4 x6 : 0000000000000000
x5 : 0000000000000000 x4 : 0000000000000000 x3 : ffff0000e0766bc8
x2 : ffff0000e0766bc8 x1 : 0000000000000000 x0 : 0000000000000000
Call trace:
nilfs_sufile_do_free+0x470/0x76c fs/nilfs2/sufile.c:475
nilfs_sufile_updatev+0x314/0x540 fs/nilfs2/sufile.c:196
nilfs_sufile_freev fs/nilfs2/sufile.h:87 [inline]
nilfs_segctor_collect_blocks fs/nilfs2/segment.c:1246 [inline]
nilfs_segctor_collect fs/nilfs2/segment.c:1534 [inline]
nilfs_segctor_do_construct+0x19b4/0x61f8 fs/nilfs2/segment.c:2090
nilfs_segctor_construct+0x134/0x540 fs/nilfs2/segment.c:2453
nilfs_clean_segments+0x2e8/0x870 fs/nilfs2/segment.c:2527
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: 13896
hardirqs last enabled at (13895): [<ffff800011b238fc>] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:151 [inline]
hardirqs last enabled at (13895): [<ffff800011b238fc>] _raw_spin_unlock_irqrestore+0x48/0xac kernel/locking/spinlock.c:194
hardirqs last disabled at (13896): [<ffff800011a387cc>] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405
softirqs last enabled at (13736): [<ffff800008030954>] local_bh_enable+0x10/0x34 include/linux/bottom_half.h:32
softirqs last disabled at (13734): [<ffff800008030920>] local_bh_disable+0x10/0x34 include/linux/bottom_half.h:19
---[ end trace 0000000000000000 ]---


---
If you want syzbot to run the reproducer, reply with:
#syz test: git://repo/address.git branch-or-commit-hash
If you attach or paste a git patch, syzbot will apply it before testing.

syzbot

unread,
Apr 11, 2026, 10:12:30 PM (4 days ago) Apr 11
to syzkaller...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: 91d48252ad4b Linux 5.15.202
git tree: linux-5.15.y
console output: https://syzkaller.appspot.com/x/log.txt?x=17abff4e580000
kernel config: https://syzkaller.appspot.com/x/.config?x=353ae28c40b35af5
dashboard link: https://syzkaller.appspot.com/bug?extid=f04081bbaaf0dd35cf1e
compiler: Debian clang version 21.1.8 (++20251221033036+2078da43e25a-1~exp1~20251221153213.50), Debian LLD 21.1.8

Unfortunately, I don't have any reproducer for this issue yet.

Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/74e75dfcb812/disk-91d48252.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/bfa72aab00f2/vmlinux-91d48252.xz
kernel image: https://storage.googleapis.com/syzbot-assets/47ea72d1c7dc/bzImage-91d48252.xz

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+f04081...@syzkaller.appspotmail.com

------------[ cut here ]------------
WARNING: CPU: 1 PID: 4793 at fs/nilfs2/sufile.c:475 nilfs_sufile_do_free+0x534/0x7d0 fs/nilfs2/sufile.c:475
Modules linked in:
CPU: 1 PID: 4793 Comm: syz.4.56 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/18/2026
RIP: 0010:nilfs_sufile_do_free+0x534/0x7d0 fs/nilfs2/sufile.c:475
Code: 87 67 fe eb 05 e8 bc 87 67 fe 48 83 c4 40 5b 41 5c 41 5d 41 5e 41 5f 5d c3 e8 a8 87 67 fe 0f 0b e9 a1 fc ff ff e8 9c 87 67 fe <0f> 0b e9 ca fc ff ff e8 90 87 67 fe e8 9b e3 ee fd e9 30 fd ff ff
RSP: 0018:ffffc9000339f168 EFLAGS: 00010287
RAX: ffffffff83119974 RBX: ffff888022c2f000 RCX: 0000000000080000
RDX: ffffc9000639a000 RSI: 000000000000969f RDI: 00000000000096a0
RBP: 0000000000000000 R08: ffff88807b0bd940 R09: 0000000000000002
R10: 00000000ffffffef R11: 0000000000000002 R12: ffff88807b0bf0c8
R13: ffff888022c2f0bc R14: 1ffff11004585e17 R15: 00000000000000b0
FS: 00007f1b5ebd16c0(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b32923ffc CR3: 000000007f27b000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<TASK>
nilfs_sufile_updatev+0x39f/0x640 fs/nilfs2/sufile.c:196
nilfs_sufile_freev fs/nilfs2/sufile.h:87 [inline]
nilfs_segctor_collect_blocks fs/nilfs2/segment.c:1246 [inline]
nilfs_segctor_collect fs/nilfs2/segment.c:1534 [inline]
nilfs_segctor_do_construct+0x2032/0x6ca0 fs/nilfs2/segment.c:2090
nilfs_segctor_construct+0x17b/0x690 fs/nilfs2/segment.c:2455
nilfs_clean_segments+0x3ba/0xa30 fs/nilfs2/segment.c:2529
nilfs_ioctl_clean_segments fs/nilfs2/ioctl.c:940 [inline]
nilfs_ioctl+0x2052/0x2190 fs/nilfs2/ioctl.c:1304
vfs_ioctl fs/ioctl.c:51 [inline]
__do_sys_ioctl fs/ioctl.c:874 [inline]
__se_sys_ioctl+0xfa/0x170 fs/ioctl.c:860
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7f1b60977819
Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 e8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f1b5ebd1028 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f1b60bf0fa0 RCX: 00007f1b60977819
RDX: 0000200000000640 RSI: 0000000040786e88 RDI: 0000000000000004
RBP: 00007f1b60a0dc91 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f1b60bf1038 R14: 00007f1b60bf0fa0 R15: 00007ffe2efbb218
</TASK>

syzbot

unread,
Apr 11, 2026, 10:43:32 PM (4 days ago) Apr 11
to syzkaller...@googlegroups.com
syzbot has found a reproducer for the following issue on:

HEAD commit: 91d48252ad4b Linux 5.15.202
git tree: linux-5.15.y
console output: https://syzkaller.appspot.com/x/log.txt?x=168cf302580000
kernel config: https://syzkaller.appspot.com/x/.config?x=353ae28c40b35af5
dashboard link: https://syzkaller.appspot.com/bug?extid=f04081bbaaf0dd35cf1e
compiler: Debian clang version 21.1.8 (++20251221033036+2078da43e25a-1~exp1~20251221153213.50), Debian LLD 21.1.8
syz repro: https://syzkaller.appspot.com/x/repro.syz?x=1796c74e580000
C reproducer: https://syzkaller.appspot.com/x/repro.c?x=113420ce580000
mounted in repro: https://storage.googleapis.com/syzbot-assets/bc65831eb08f/mount_0.gz

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+f04081...@syzkaller.appspotmail.com

loop0: detected capacity change from 0 to 4096
------------[ cut here ]------------
WARNING: CPU: 1 PID: 4306 at fs/nilfs2/sufile.c:475 nilfs_sufile_do_free+0x534/0x7d0 fs/nilfs2/sufile.c:475
Modules linked in:
CPU: 1 PID: 4306 Comm: syz.0.17 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/18/2026
RIP: 0010:nilfs_sufile_do_free+0x534/0x7d0 fs/nilfs2/sufile.c:475
Code: 87 67 fe eb 05 e8 bc 87 67 fe 48 83 c4 40 5b 41 5c 41 5d 41 5e 41 5f 5d c3 e8 a8 87 67 fe 0f 0b e9 a1 fc ff ff e8 9c 87 67 fe <0f> 0b e9 ca fc ff ff e8 90 87 67 fe e8 9b e3 ee fd e9 30 fd ff ff
RSP: 0018:ffffc90002edf168 EFLAGS: 00010293
RAX: ffffffff83119974 RBX: ffff88801b1c5000 RCX: ffff88801a9fbb80
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 0000000000000000 R08: ffff88801a9fbb80 R09: 0000000000000002
R10: 00000000ffffffef R11: 0000000000000000 R12: ffff88801a9fd308
R13: ffff88801b1c50bc R14: 1ffff11003638a17 R15: 00000000000000b0
FS: 0000555594556500(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b31163fff CR3: 00000000185fe000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<TASK>
nilfs_sufile_updatev+0x39f/0x640 fs/nilfs2/sufile.c:196
nilfs_sufile_freev fs/nilfs2/sufile.h:87 [inline]
nilfs_segctor_collect_blocks fs/nilfs2/segment.c:1246 [inline]
nilfs_segctor_collect fs/nilfs2/segment.c:1534 [inline]
nilfs_segctor_do_construct+0x2032/0x6ca0 fs/nilfs2/segment.c:2090
nilfs_segctor_construct+0x17b/0x690 fs/nilfs2/segment.c:2455
nilfs_clean_segments+0x3ba/0xa30 fs/nilfs2/segment.c:2529
nilfs_ioctl_clean_segments fs/nilfs2/ioctl.c:940 [inline]
nilfs_ioctl+0x2052/0x2190 fs/nilfs2/ioctl.c:1304
vfs_ioctl fs/ioctl.c:51 [inline]
__do_sys_ioctl fs/ioctl.c:874 [inline]
__se_sys_ioctl+0xfa/0x170 fs/ioctl.c:860
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7fcb7f61a819
Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 e8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffd9a6013e8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007fcb7f893fa0 RCX: 00007fcb7f61a819
RDX: 0000200000000640 RSI: 0000000040786e88 RDI: 0000000000000004
RBP: 00007fcb7f6b0c91 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fcb7f893fac R14: 00007fcb7f893fa0 R15: 00007fcb7f893fa0
</TASK>
Reply all
Reply to author
Forward
0 new messages