./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor2025150890 <...> Warning: Permanently added '10.128.0.210' (ED25519) to the list of known hosts. execve("./syz-executor2025150890", ["./syz-executor2025150890"], 0x7ffd72d7e620 /* 10 vars */) = 0 brk(NULL) = 0x555556e27000 brk(0x555556e27d00) = 0x555556e27d00 arch_prctl(ARCH_SET_FS, 0x555556e27380) = 0 set_tid_address(0x555556e27650) = 5063 set_robust_list(0x555556e27660, 24) = 0 rseq(0x555556e27ca0, 0x20, 0, 0x53053053) = 0 prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0 readlink("/proc/self/exe", "/root/syz-executor2025150890", 4096) = 28 getrandom("\xf2\xf8\x37\x0a\xa3\xd6\x86\x5d", 8, GRND_NONBLOCK) = 8 brk(NULL) = 0x555556e27d00 brk(0x555556e48d00) = 0x555556e48d00 brk(0x555556e49000) = 0x555556e49000 mprotect(0x7f939e760000, 16384, PROT_READ) = 0 mmap(0x1ffff000, 4096, PROT_NONE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x1ffff000 mmap(0x20000000, 16777216, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x20000000 mmap(0x21000000, 4096, PROT_NONE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x21000000 unshare(CLONE_NEWPID) = 0 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5064 attached , child_tidptr=0x555556e27650) = 5064 [pid 5064] set_robust_list(0x555556e27660, 24) = 0 [pid 5064] mount(NULL, "/sys/fs/fuse/connections", "fusectl", 0, NULL) = -1 EBUSY (Device or resource busy) [pid 5064] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5064] setsid() = 1 [pid 5064] prlimit64(0, RLIMIT_AS, {rlim_cur=204800*1024, rlim_max=204800*1024}, NULL) = 0 [pid 5064] prlimit64(0, RLIMIT_MEMLOCK, {rlim_cur=32768*1024, rlim_max=32768*1024}, NULL) = 0 [pid 5064] prlimit64(0, RLIMIT_FSIZE, {rlim_cur=139264*1024, rlim_max=139264*1024}, NULL) = 0 [pid 5064] prlimit64(0, RLIMIT_STACK, {rlim_cur=1024*1024, rlim_max=1024*1024}, NULL) = 0 [pid 5064] prlimit64(0, RLIMIT_CORE, {rlim_cur=131072*1024, rlim_max=131072*1024}, NULL) = 0 [pid 5064] prlimit64(0, RLIMIT_NOFILE, {rlim_cur=256, rlim_max=256}, NULL) = 0 [pid 5064] unshare(CLONE_NEWNS) = 0 [pid 5064] mount(NULL, "/", NULL, MS_REC|MS_PRIVATE, NULL) = 0 [pid 5064] unshare(CLONE_NEWIPC) = 0 [pid 5064] unshare(CLONE_NEWCGROUP) = 0 [pid 5064] unshare(CLONE_NEWUTS) = 0 [pid 5064] unshare(CLONE_SYSVSEM) = 0 [pid 5064] openat(AT_FDCWD, "/proc/sys/kernel/shmmax", O_WRONLY|O_CLOEXEC) = 3 [pid 5064] write(3, "16777216", 8) = 8 [pid 5064] close(3) = 0 [pid 5064] openat(AT_FDCWD, "/proc/sys/kernel/shmall", O_WRONLY|O_CLOEXEC) = 3 [pid 5064] write(3, "536870912", 9) = 9 [pid 5064] close(3) = 0 [pid 5064] openat(AT_FDCWD, "/proc/sys/kernel/shmmni", O_WRONLY|O_CLOEXEC) = 3 [pid 5064] write(3, "1024", 4) = 4 [pid 5064] close(3) = 0 [pid 5064] openat(AT_FDCWD, "/proc/sys/kernel/msgmax", O_WRONLY|O_CLOEXEC) = 3 [pid 5064] write(3, "8192", 4) = 4 [pid 5064] close(3) = 0 [pid 5064] openat(AT_FDCWD, "/proc/sys/kernel/msgmni", O_WRONLY|O_CLOEXEC) = 3 [pid 5064] write(3, "1024", 4) = 4 [pid 5064] close(3) = 0 [pid 5064] openat(AT_FDCWD, "/proc/sys/kernel/msgmnb", O_WRONLY|O_CLOEXEC) = 3 [pid 5064] write(3, "1024", 4) = 4 [pid 5064] close(3) = 0 [pid 5064] openat(AT_FDCWD, "/proc/sys/kernel/sem", O_WRONLY|O_CLOEXEC) = 3 [pid 5064] write(3, "1024 1048576 500 1024", 21) = 21 [pid 5064] close(3) = 0 [pid 5064] getpid() = 1 [pid 5064] capget({version=_LINUX_CAPABILITY_VERSION_3, pid=1}, {effective=1< [671], 553) = 553 [pid 5064] exit_group(1) = ? [ 58.802327][ T5064] syz-executor202 (5064): drop_caches: 1 [ 58.839307][ T5064] syz-executor202 (5064): drop_caches: 1 [ 58.852911][ T1076] [ 58.855249][ T1076] ====================================================== [ 58.862244][ T1076] WARNING: possible circular locking dependency detected [ 58.869236][ T1076] 6.6.0-syzkaller-12401-g8f6f76a6a29f #0 Not tainted [ 58.875885][ T1076] ------------------------------------------------------ [ 58.882876][ T1076] kworker/u4:5/1076 is trying to acquire lock: [ 58.889032][ T1076] ffff88807db88940 (&rl->lock){++++}-{3:3}, at: ntfs_read_folio+0x1a96/0x2420 [ 58.897908][ T1076] [ 58.897908][ T1076] but task is already holding lock: [ 58.905265][ T1076] ffff88807db8b310 (&ni->mrec_lock){+.+.}-{3:3}, at: map_mft_record+0x4a/0x730 [ 58.914251][ T1076] [ 58.914251][ T1076] which lock already depends on the new lock. [ 58.914251][ T1076] [ 58.924674][ T1076] [ 58.924674][ T1076] the existing dependency chain (in reverse order) is: [ 58.933676][ T1076] [ 58.933676][ T1076] -> #1 (&ni->mrec_lock){+.+.}-{3:3}: [ 58.941220][ T1076] __mutex_lock+0x181/0x1340 [ 58.946345][ T1076] map_mft_record+0x4a/0x730 [ 58.951453][ T1076] ntfs_attr_extend_allocation+0x268/0x3830 [ 58.957859][ T1076] ntfs_file_write_iter+0xaa0/0x2060 [ 58.963742][ T1076] vfs_write+0x64f/0xdf0 [ 58.968498][ T1076] ksys_write+0x12f/0x250 [ 58.973344][ T1076] do_syscall_64+0x3f/0x110 [ 58.978354][ T1076] entry_SYSCALL_64_after_hwframe+0x63/0x6b [ 58.984762][ T1076] [ 58.984762][ T1076] -> #0 (&rl->lock){++++}-{3:3}: [ 58.991899][ T1076] __lock_acquire+0x2e3d/0x5de0 [ 58.997277][ T1076] lock_acquire+0x1ae/0x510 [ 59.002407][ T1076] down_read+0x9c/0x470 [ 59.007074][ T1076] ntfs_read_folio+0x1a96/0x2420 [ 59.012540][ T1076] filemap_read_folio+0xe9/0x2c0 [ 59.017992][ T1076] do_read_cache_folio+0x205/0x540 [ 59.023725][ T1076] read_cache_page+0x5b/0x160 [ 59.029045][ T1076] ntfs_sync_mft_mirror+0x242/0x1eb0 [ 59.034841][ T1076] write_mft_record_nolock+0x1967/0x1d90 [ 59.040987][ T1076] write_mft_record+0x14b/0x380 [ 59.046347][ T1076] __ntfs_write_inode+0x91b/0xc30 [ 59.051883][ T1076] __writeback_single_inode+0xa81/0xe70 [ 59.057939][ T1076] writeback_sb_inodes+0x599/0x1070 [ 59.063651][ T1076] wb_writeback+0x2a5/0xa90 [ 59.068668][ T1076] wb_workfn+0x29c/0xfd0 [ 59.073423][ T1076] process_one_work+0x884/0x15c0 [ 59.078874][ T1076] worker_thread+0x8b9/0x1290 [ 59.084085][ T1076] kthread+0x33c/0x440 [ 59.088663][ T1076] ret_from_fork+0x45/0x80 [ 59.093589][ T1076] ret_from_fork_asm+0x11/0x20 [ 59.098884][ T1076] [ 59.098884][ T1076] other info that might help us debug this: [ 59.098884][ T1076] [ 59.109113][ T1076] Possible unsafe locking scenario: [ 59.109113][ T1076] [ 59.116561][ T1076] CPU0 CPU1 [ 59.121913][ T1076] ---- ---- [ 59.127272][ T1076] lock(&ni->mrec_lock); [ 59.131591][ T1076] lock(&rl->lock); [ 59.137993][ T1076] lock(&ni->mrec_lock); [ 59.144830][ T1076] rlock(&rl->lock); [ 59.148799][ T1076] [ 59.148799][ T1076] *** DEADLOCK *** [ 59.148799][ T1076] [ 59.156934][ T1076] 3 locks held by kworker/u4:5/1076: [ 59.162204][ T1076] #0: ffff888140058538 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work+0x787/0x15c0 [ 59.172851][ T1076] #1: ffffc900044a7d80 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x7e9/0x15c0 [ 59.184674][ T1076] #2: ffff88807db8b310 (&ni->mrec_lock){+.+.}-{3:3}, at: map_mft_record+0x4a/0x730 [ 59.194091][ T1076] [ 59.194091][ T1076] stack backtrace: [ 59.199965][ T1076] CPU: 1 PID: 1076 Comm: kworker/u4:5 Not tainted 6.6.0-syzkaller-12401-g8f6f76a6a29f #0 [ 59.209755][ T1076] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/09/2023 [ 59.219808][ T1076] Workqueue: writeback wb_workfn (flush-7:0) [ 59.225795][ T1076] Call Trace: [ 59.229064][ T1076] [ 59.232015][ T1076] dump_stack_lvl+0xd9/0x1b0 [ 59.236601][ T1076] check_noncircular+0x311/0x3f0 [ 59.241550][ T1076] ? print_circular_bug+0x750/0x750 [ 59.246768][ T1076] __lock_acquire+0x2e3d/0x5de0 [ 59.251630][ T1076] ? lockdep_hardirqs_on_prepare+0x410/0x410 [ 59.257636][ T1076] lock_acquire+0x1ae/0x510 [ 59.262143][ T1076] ? ntfs_read_folio+0x1a96/0x2420 [ 59.267244][ T1076] ? lock_sync+0x190/0x190 [ 59.271655][ T1076] ? find_held_lock+0x2d/0x110 [ 59.276413][ T1076] ? preempt_count_sub+0x150/0x150 [ 59.281604][ T1076] down_read+0x9c/0x470 [ 59.285755][ T1076] ? ntfs_read_folio+0x1a96/0x2420 [ 59.290863][ T1076] ? down_write_killable+0x250/0x250 [ 59.296143][ T1076] ? mark_held_locks+0x9f/0xe0 [ 59.300902][ T1076] ? _raw_read_unlock_irqrestore+0x4e/0x70 [ 59.306707][ T1076] ntfs_read_folio+0x1a96/0x2420 [ 59.311638][ T1076] ? __print_lock_name+0x1b0/0x260 [ 59.316744][ T1076] ? ntfs_end_buffer_async_read+0x18d0/0x18d0 [ 59.322809][ T1076] ? folio_add_lru+0x451/0x7d0 [ 59.327569][ T1076] ? ntfs_end_buffer_async_read+0x18d0/0x18d0 [ 59.333629][ T1076] filemap_read_folio+0xe9/0x2c0 [ 59.338567][ T1076] ? __folio_lock_killable+0x20/0x20 [ 59.343851][ T1076] ? __filemap_get_folio+0x2b0/0xa90 [ 59.349136][ T1076] ? find_held_lock+0x2d/0x110 [ 59.353900][ T1076] do_read_cache_folio+0x205/0x540 [ 59.359039][ T1076] ? ntfs_end_buffer_async_read+0x18d0/0x18d0 [ 59.365110][ T1076] read_cache_page+0x5b/0x160 [ 59.369802][ T1076] ntfs_sync_mft_mirror+0x242/0x1eb0 [ 59.375148][ T1076] ? should_fail_request+0x80/0x80 [ 59.380258][ T1076] ? preempt_count_sub+0x150/0x150 [ 59.385386][ T1076] ? ntfs_mft_bitmap_extend_allocation_nolock+0x1f10/0x1f10 [ 59.392695][ T1076] write_mft_record_nolock+0x1967/0x1d90 [ 59.398333][ T1076] ? mark_held_locks+0x9f/0xe0 [ 59.403118][ T1076] ? ntfs_sync_mft_mirror+0x1eb0/0x1eb0 [ 59.408688][ T1076] ? preempt_count_sub+0x150/0x150 [ 59.413792][ T1076] write_mft_record+0x14b/0x380 [ 59.418642][ T1076] __ntfs_write_inode+0x91b/0xc30 [ 59.423667][ T1076] __writeback_single_inode+0xa81/0xe70 [ 59.429214][ T1076] ? __mark_inode_dirty+0xd50/0xd50 [ 59.434519][ T1076] ? _raw_spin_unlock+0x28/0x40 [ 59.439365][ T1076] ? wbc_attach_and_unlock_inode+0x561/0x910 [ 59.445339][ T1076] writeback_sb_inodes+0x599/0x1070 [ 59.450537][ T1076] ? sync_inode_metadata+0xe0/0xe0 [ 59.455648][ T1076] ? rcu_is_watching+0x12/0xb0 [ 59.460404][ T1076] ? queue_io+0x3ed/0x4e0 [ 59.464729][ T1076] wb_writeback+0x2a5/0xa90 [ 59.469229][ T1076] ? __writeback_inodes_wb+0x2d0/0x2d0 [ 59.474687][ T1076] ? reacquire_held_locks+0x4b0/0x4b0 [ 59.480058][ T1076] ? mark_held_locks+0x9f/0xe0 [ 59.484821][ T1076] wb_workfn+0x29c/0xfd0 [ 59.489069][ T1076] ? inode_wait_for_writeback+0x30/0x30 [ 59.494620][ T1076] ? lock_sync+0x190/0x190 [ 59.499034][ T1076] ? lock_sync+0x190/0x190 [ 59.503446][ T1076] ? reacquire_held_locks+0x4b0/0x4b0 [ 59.508817][ T1076] process_one_work+0x884/0x15c0 [ 59.513758][ T1076] ? lock_sync+0x190/0x190 [ 59.518168][ T1076] ? init_worker_pool+0x770/0x770 [ 59.523186][ T1076] ? assign_work+0x1a0/0x240 [ 59.527769][ T1076] worker_thread+0x8b9/0x1290 [ 59.532444][ T1076] ? process_one_work+0x15c0/0x15c0 [ 59.537634][ T1076] kthread+0x33c/0x440 [ 59.541690][ T1076] ? _raw_spin_unlock_irq+0x23/0x50 [ 59.546880][ T1076] ? kthread_complete_and_exit+0x40/0x40 [pid 5064] +++ exited with 1 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5064, si_uid=0, si_status=1, si_utime=0, si_stime=47 /* 0.47 s */} --- exit_group(0) = ? [ 59.552520][ T1076] ret_from_fork+0x45/0x80 [ 59.556927][ T1076] ? kthread_complete_and_exit+0x40/0x40 [ 59.562545][ T1076] ret_from_fork_asm+0x11/0x20 [ 59.567305][ T1076] +++ exited with 0 +++