loop0: detected capacity change from 0 to 2048 NILFS (loop0): invalid segment: Magic number mismatch NILFS (loop0): trying rollback from an earlier position NILFS (loop0): recovery complete NILFS (loop0): nilfs_sufile_do_free: segment 9 is already clean NILFS (loop0): nilfs_dat_move: invalid vblocknr = 9, [0, 0) NILFS error (device loop0): nilfs_bmap_assign: broken bmap (inode number=3) Remounting filesystem read-only NILFS (loop0): error -5 cleaning segments NILFS (loop0): error -30 cleaning segments VFS: Busy inodes after unmount of loop0 (nilfs2) ------------[ cut here ]------------ kernel BUG at fs/super.c:733! Oops: invalid opcode: 0000 [#1] SMP KASAN NOPTI CPU: 0 UID: 0 PID: 5372 Comm: syz.0.0 Not tainted syzkaller #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 RIP: 0010:generic_shutdown_super+0x2ca/0x2d0 fs/super.c:731 Code: 03 42 80 3c 28 00 74 08 4c 89 f7 e8 50 c6 eb ff 49 8b 16 48 81 c3 c0 06 00 00 48 c7 c7 e0 5f 40 8c 48 89 de e8 17 f6 d0 fe 90 <0f> 0b 0f 1f 40 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 RSP: 0018:ffffc9000de6f970 EFLAGS: 00010246 RAX: 0000000000000030 RBX: ffff88800c16e6c0 RCX: a0faeb12a1120900 RDX: 0000000000000000 RSI: 8000000000000000 RDI: 0000000000000000 RBP: 1ffff1100182dcfa R08: ffffc9000de6f6e7 R09: 1ffff92001bcdedc R10: dffffc0000000000 R11: fffff52001bcdedd R12: 0000000000000000 R13: dffffc0000000000 R14: ffffffff9072aa00 R15: ffff88800c16e7d0 FS: 0000000000000000(0000) GS:ffff88808a9f9000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f8e6a45e990 CR3: 0000000045243000 CR4: 0000000000352ef0 Call Trace: kill_block_super+0x44/0xa0 fs/super.c:1852 deactivate_locked_super+0xbe/0x110 fs/super.c:558 cleanup_mnt+0x204/0x2a0 fs/namespace.c:1396 task_work_run+0x1d9/0x260 kernel/task_work.c:233 exit_task_work include/linux/task_work.h:40 [inline] do_exit+0x705/0x2360 kernel/exit.c:980 do_group_exit+0x22d/0x2f0 kernel/exit.c:1123 get_signal+0x136a/0x1430 kernel/signal.c:3113 arch_do_signal_or_restart+0xbb/0x860 arch/x86/kernel/signal.c:337 __exit_to_user_mode_loop kernel/entry/common.c:66 [inline] exit_to_user_mode_loop+0x10e/0x770 kernel/entry/common.c:101 __exit_to_user_mode_prepare include/linux/irq-entry-common.h:207 [inline] syscall_exit_to_user_mode_prepare include/linux/irq-entry-common.h:230 [inline] syscall_exit_to_user_mode include/linux/entry-common.h:343 [inline] do_syscall_64+0x32c/0x530 arch/x86/entry/syscall_64.c:107 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f8e695a8f19 Code: Unable to access opcode bytes at 0x7f8e695a8eef. RSP: 002b:00007f8e6a45dfe8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffe2 RBX: 00007f8e69825fa0 RCX: 00007f8e695a8f19 RDX: 0000200000000fc0 RSI: 0000000040786e88 RDI: 0000000000000005 RBP: 00007f8e69637f6d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f8e69826038 R14: 00007f8e69825fa0 R15: 00007fffc350ac18 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:generic_shutdown_super+0x2ca/0x2d0 fs/super.c:731 Code: 03 42 80 3c 28 00 74 08 4c 89 f7 e8 50 c6 eb ff 49 8b 16 48 81 c3 c0 06 00 00 48 c7 c7 e0 5f 40 8c 48 89 de e8 17 f6 d0 fe 90 <0f> 0b 0f 1f 40 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 RSP: 0018:ffffc9000de6f970 EFLAGS: 00010246 RAX: 0000000000000030 RBX: ffff88800c16e6c0 RCX: a0faeb12a1120900 RDX: 0000000000000000 RSI: 8000000000000000 RDI: 0000000000000000 RBP: 1ffff1100182dcfa R08: ffffc9000de6f6e7 R09: 1ffff92001bcdedc R10: dffffc0000000000 R11: fffff52001bcdedd R12: 0000000000000000 R13: dffffc0000000000 R14: ffffffff9072aa00 R15: ffff88800c16e7d0 FS: 0000000000000000(0000) GS:ffff88808a9f9000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f8e6a45e990 CR3: 0000000045243000 CR4: 0000000000352ef0