./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor1040130956 <...> Warning: Permanently added '10.128.1.21' (ECDSA) to the list of known hosts. execve("./syz-executor1040130956", ["./syz-executor1040130956"], 0x7fff1c532cc0 /* 10 vars */) = 0 brk(NULL) = 0x555555fa8000 brk(0x555555fa8c40) = 0x555555fa8c40 arch_prctl(ARCH_SET_FS, 0x555555fa8300) = 0 uname({sysname="Linux", nodename="syzkaller", ...}) = 0 set_tid_address(0x555555fa85d0) = 5073 set_robust_list(0x555555fa85e0, 24) = 0 rt_sigaction(SIGRTMIN, {sa_handler=0x7fe27a380420, sa_mask=[], sa_flags=SA_RESTORER|SA_SIGINFO, sa_restorer=0x7fe27a380af0}, NULL, 8) = 0 rt_sigaction(SIGRT_1, {sa_handler=0x7fe27a3804c0, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART|SA_SIGINFO, sa_restorer=0x7fe27a380af0}, NULL, 8) = 0 rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0 readlink("/proc/self/exe", "/root/syz-executor1040130956", 4096) = 28 brk(0x555555fc9c40) = 0x555555fc9c40 brk(0x555555fca000) = 0x555555fca000 mprotect(0x7fe27a441000, 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 openat(AT_FDCWD, "/sys/kernel/debug/failslab/ignore-gfp-wait", O_WRONLY|O_CLOEXEC) = 3 write(3, "N", 1) = 1 close(3) = 0 openat(AT_FDCWD, "/sys/kernel/debug/fail_futex/ignore-private", O_WRONLY|O_CLOEXEC) = 3 write(3, "N", 1) = 1 close(3) = 0 openat(AT_FDCWD, "/sys/kernel/debug/fail_page_alloc/ignore-gfp-highmem", O_WRONLY|O_CLOEXEC) = 3 write(3, "N", 1) = 1 close(3) = 0 openat(AT_FDCWD, "/sys/kernel/debug/fail_page_alloc/ignore-gfp-wait", O_WRONLY|O_CLOEXEC) = 3 write(3, "N", 1) = 1 close(3) = 0 openat(AT_FDCWD, "/sys/kernel/debug/fail_page_alloc/min-order", O_WRONLY|O_CLOEXEC) = 3 write(3, "0", 1) = 1 close(3) = 0 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5074 attached , child_tidptr=0x555555fa85d0) = 5074 [pid 5074] set_robust_list(0x555555fa85e0, 24) = 0 [pid 5074] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5074] setpgid(0, 0) = 0 [pid 5074] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5074] write(3, "1000", 4) = 4 [pid 5074] close(3) = 0 [pid 5074] futex(0x7fe27a4474cc, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5074] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7fe27a350000 [pid 5074] mprotect(0x7fe27a351000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 5074] clone(child_stack=0x7fe27a3703f0, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID./strace-static-x86_64: Process 5075 attached [pid 5075] set_robust_list(0x7fe27a3709e0, 24 [pid 5074] <... clone resumed>, parent_tid=[5075], tls=0x7fe27a370700, child_tidptr=0x7fe27a3709d0) = 5075 [pid 5075] <... set_robust_list resumed>) = 0 [pid 5074] futex(0x7fe27a4474c8, FUTEX_WAKE_PRIVATE, 1000000 [pid 5075] openat(AT_FDCWD, "/dev/nbd0", O_RDONLY [pid 5074] <... futex resumed>) = 0 [pid 5074] futex(0x7fe27a4474cc, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5075] <... openat resumed>) = 3 [pid 5075] futex(0x7fe27a4474cc, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5074] <... futex resumed>) = 0 [pid 5075] futex(0x7fe27a4474c8, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5074] futex(0x7fe27a4474c8, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5074] futex(0x7fe27a4474cc, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5075] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5075] socketpair(AF_UNIX, SOCK_STREAM, 0, [4, 5]) = 0 [pid 5075] futex(0x7fe27a4474cc, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5074] <... futex resumed>) = 0 [pid 5075] futex(0x7fe27a4474c8, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5074] futex(0x7fe27a4474c8, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5074] futex(0x7fe27a4474cc, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5075] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5075] openat(AT_FDCWD, "/dev/nbd0", O_RDONLY) = 6 [pid 5075] futex(0x7fe27a4474cc, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5074] <... futex resumed>) = 0 [pid 5075] ioctl(6, NBD_SET_SOCK, 4 [pid 5074] futex(0x7fe27a4474c8, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5074] futex(0x7fe27a4474cc, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000}) = -1 ETIMEDOUT (Connection timed out) [pid 5074] futex(0x7fe27a4474cc, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=0}) = -1 ETIMEDOUT (Connection timed out) [pid 5074] futex(0x7fe27a4474dc, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5074] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7fe27a32f000 [pid 5074] mprotect(0x7fe27a330000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 5074] clone(child_stack=0x7fe27a34f3f0, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID./strace-static-x86_64: Process 5076 attached [pid 5076] set_robust_list(0x7fe27a34f9e0, 24 [pid 5074] <... clone resumed>, parent_tid=[5076], tls=0x7fe27a34f700, child_tidptr=0x7fe27a34f9d0) = 5076 [pid 5076] <... set_robust_list resumed>) = 0 [pid 5074] futex(0x7fe27a4474d8, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5074] futex(0x7fe27a4474dc, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5076] ioctl(3, NBD_SET_SOCK, 4 [pid 5075] <... ioctl resumed>) = 0 [pid 5075] futex(0x7fe27a4474cc, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5075] futex(0x7fe27a4474c8, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5074] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 5074] futex(0x7fe27a4474c8, FUTEX_WAKE_PRIVATE, 1000000 [pid 5075] <... futex resumed>) = 0 [pid 5074] <... futex resumed>) = 1 [pid 5075] ioctl(3, NBD_SET_FLAGS, NBD_FLAG_SEND_FLUSH|NBD_FLAG_SEND_FUA|NBD_FLAG_ROTATIONAL|NBD_FLAG_SEND_TRIM|NBD_FLAG_SEND_WRITE_ZEROES|NBD_FLAG_SEND_DF|NBD_FLAG_CAN_MULTI_CONN|NBD_FLAG_SEND_RESIZE|NBD_FLAG_SEND_CACHE|0x7800 [pid 5074] futex(0x7fe27a4474cc, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5075] <... ioctl resumed>) = 0 [pid 5075] futex(0x7fe27a4474cc, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5074] <... futex resumed>) = 0 [pid 5075] futex(0x7fe27a4474c8, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5074] futex(0x7fe27a4474c8, FUTEX_WAKE_PRIVATE, 1000000 [pid 5075] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5074] <... futex resumed>) = 0 [pid 5075] openat(AT_FDCWD, "/proc/thread-self/fail-nth", O_RDWR [pid 5074] futex(0x7fe27a4474cc, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5075] <... openat resumed>) = 7 [pid 5075] write(7, "18", 2) = 2 [pid 5075] ioctl(3, NBD_DO_IT [pid 5076] <... ioctl resumed>) = -1 EBUSY (Device or resource busy) [pid 5076] futex(0x7fe27a4474dc, FUTEX_WAKE_PRIVATE, 1000000) = 0 [ 54.210738][ T5076] block nbd0: Device being setup by another task [ 54.221171][ T5075] FAULT_INJECTION: forcing a failure. [ 54.221171][ T5075] name failslab, interval 1, probability 0, space 0, times 1 [ 54.234299][ T5075] CPU: 0 PID: 5075 Comm: syz-executor104 Not tainted 6.1.0-next-20221216-syzkaller #0 [ 54.243881][ T5075] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 [ 54.253950][ T5075] Call Trace: [ 54.257234][ T5075] [ 54.260167][ T5075] dump_stack_lvl+0xd1/0x138 [ 54.264786][ T5075] should_fail_ex.cold+0x5/0xa [ 54.269582][ T5075] should_failslab+0x9/0x20 [ 54.274104][ T5075] kmem_cache_alloc_lru+0x65/0x760 [ 54.279219][ T5075] ? alloc_inode+0x168/0x230 [ 54.283822][ T5075] ? lookup_one_len+0x10d/0x1a0 [ 54.288688][ T5075] alloc_inode+0x168/0x230 [ 54.293116][ T5075] new_inode+0x2b/0x280 [ 54.297289][ T5075] debugfs_get_inode+0x1a/0x130 [ 54.302154][ T5075] __debugfs_create_file+0x11a/0x540 [ 54.307457][ T5075] debugfs_create_u32+0x70/0xa0 [ 54.312316][ T5075] nbd_start_device+0x477/0xc30 [ 54.317182][ T5075] ? bpf_lsm_capable+0x9/0x10 [ 54.321875][ T5075] ? security_capable+0x93/0xc0 [ 54.326750][ T5075] nbd_ioctl+0x220/0xc60 [ 54.331017][ T5075] ? blkdev_bszset+0x270/0x270 [ 54.335803][ T5075] ? nbd_start_device+0xc30/0xc30 [ 54.340849][ T5075] ? trace_lock_acquire+0x1d1/0x290 [ 54.346061][ T5075] ? nbd_start_device+0xc30/0xc30 [ 54.351114][ T5075] blkdev_ioctl+0x369/0xa20 [ 54.355635][ T5075] ? blkdev_common_ioctl+0x1ba0/0x1ba0 [ 54.361110][ T5075] ? bpf_lsm_file_ioctl+0x9/0x10 [ 54.366057][ T5075] ? blkdev_common_ioctl+0x1ba0/0x1ba0 [ 54.371532][ T5075] __x64_sys_ioctl+0x197/0x210 [ 54.376301][ T5075] do_syscall_64+0x39/0xb0 [ 54.380730][ T5075] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 54.386629][ T5075] RIP: 0033:0x7fe27a3c3309 [ 54.391045][ T5075] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 11 15 00 00 90 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 b8 ff ff ff f7 d8 64 89 01 48 [ 54.410674][ T5075] RSP: 002b:00007fe27a3702e8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 54.419099][ T5075] RAX: ffffffffffffffda RBX: 00007fe27a4474c0 RCX: 00007fe27a3c3309 [ 54.427077][ T5075] RDX: 0000000000000000 RSI: 000000000000ab03 RDI: 0000000000000003 [ 54.435047][ T5075] RBP: 00007fe27a414194 R08: 0000000000000002 R09: 0000000000003831 [ 54.443021][ T5075] R10: 0000000000000000 R11: 0000000000000246 R12: 00007fe27a4474cc [ 54.450994][ T5075] R13: 00007fe27a3702f0 R14: 00007fe27a4474c8 R15: 0000000000000002 [ 54.458985][ T5075] [pid 5076] futex(0x7fe27a4474d8, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5074] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [ 54.464233][ T5075] debugfs: out of free dentries, can not create file 'timeout' [pid 5074] exit_group(0 [pid 5076] <... futex resumed>) = ? [pid 5074] <... exit_group resumed>) = ? [pid 5076] +++ exited with 0 +++ [pid 5075] <... ioctl resumed>) = ? [ 54.611032][ T5075] block nbd0: shutting down sockets [pid 5075] +++ exited with 0 +++ [pid 5074] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5074, si_uid=0, si_status=0, si_utime=0, si_stime=5 /* 0.05 s */} --- clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555fa85d0) = 5078 ./strace-static-x86_64: Process 5078 attached [pid 5078] set_robust_list(0x555555fa85e0, 24) = 0 [pid 5078] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5078] setpgid(0, 0) = 0 [pid 5078] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5078] write(3, "1000", 4) = 4 [pid 5078] close(3) = 0 [pid 5078] futex(0x7fe27a4474cc, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5078] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7fe27a350000 [pid 5078] mprotect(0x7fe27a351000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 5078] clone(child_stack=0x7fe27a3703f0, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID./strace-static-x86_64: Process 5079 attached , parent_tid=[5079], tls=0x7fe27a370700, child_tidptr=0x7fe27a3709d0) = 5079 [pid 5079] set_robust_list(0x7fe27a3709e0, 24 [pid 5078] futex(0x7fe27a4474c8, FUTEX_WAKE_PRIVATE, 1000000 [pid 5079] <... set_robust_list resumed>) = 0 [pid 5079] openat(AT_FDCWD, "/dev/nbd0", O_RDONLY [pid 5078] <... futex resumed>) = 0 [pid 5078] futex(0x7fe27a4474cc, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5079] <... openat resumed>) = 3 [pid 5079] futex(0x7fe27a4474cc, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5078] <... futex resumed>) = 0 [pid 5079] futex(0x7fe27a4474c8, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5078] futex(0x7fe27a4474c8, FUTEX_WAKE_PRIVATE, 1000000 [pid 5079] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5078] <... futex resumed>) = 0 [pid 5079] socketpair(AF_UNIX, SOCK_STREAM, 0, [pid 5078] futex(0x7fe27a4474cc, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5079] <... socketpair resumed>[4, 5]) = 0 [pid 5079] futex(0x7fe27a4474cc, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5079] futex(0x7fe27a4474c8, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5078] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5078] futex(0x7fe27a4474c8, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5078] futex(0x7fe27a4474cc, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5079] <... futex resumed>) = 0 [pid 5079] openat(AT_FDCWD, "/dev/nbd0", O_RDONLY) = 6 [pid 5079] futex(0x7fe27a4474cc, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5078] <... futex resumed>) = 0 [pid 5078] futex(0x7fe27a4474c8, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5078] futex(0x7fe27a4474cc, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5079] ioctl(6, NBD_SET_SOCK, 4) = 0 [pid 5079] futex(0x7fe27a4474cc, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5078] <... futex resumed>) = 0 [pid 5079] ioctl(3, NBD_SET_SOCK, 4 [pid 5078] futex(0x7fe27a4474c8, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5078] futex(0x7fe27a4474cc, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5079] <... ioctl resumed>) = 0 [pid 5079] futex(0x7fe27a4474cc, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5078] <... futex resumed>) = 0 [pid 5079] futex(0x7fe27a4474c8, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5078] futex(0x7fe27a4474c8, FUTEX_WAKE_PRIVATE, 1000000 [pid 5079] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5078] <... futex resumed>) = 0 [pid 5079] ioctl(3, NBD_SET_FLAGS, NBD_FLAG_SEND_FLUSH|NBD_FLAG_SEND_FUA|NBD_FLAG_ROTATIONAL|NBD_FLAG_SEND_TRIM|NBD_FLAG_SEND_WRITE_ZEROES|NBD_FLAG_SEND_DF|NBD_FLAG_CAN_MULTI_CONN|NBD_FLAG_SEND_RESIZE|NBD_FLAG_SEND_CACHE|0x7800 [pid 5078] futex(0x7fe27a4474cc, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5079] <... ioctl resumed>) = 0 [pid 5079] futex(0x7fe27a4474cc, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5078] <... futex resumed>) = 0 [pid 5079] futex(0x7fe27a4474c8, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5078] futex(0x7fe27a4474c8, FUTEX_WAKE_PRIVATE, 1000000 [pid 5079] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5078] <... futex resumed>) = 0 [pid 5079] openat(AT_FDCWD, "/proc/thread-self/fail-nth", O_RDWR [pid 5078] futex(0x7fe27a4474cc, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5079] <... openat resumed>) = 7 [pid 5079] write(7, "18", 2) = 2 [pid 5079] ioctl(3, NBD_DO_IT [pid 5078] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 5078] exit_group(0) = ? [pid 5079] <... ioctl resumed>) = ? [pid 5079] +++ exited with 0 +++ [pid 5078] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5078, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5081 attached , child_tidptr=0x555555fa85d0) = 5081 [ 54.944342][ T5079] block nbd0: shutting down sockets [pid 5081] set_robust_list(0x555555fa85e0, 24) = 0 [pid 5081] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5081] setpgid(0, 0) = 0 [pid 5081] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5081] write(3, "1000", 4) = 4 [pid 5081] close(3) = 0 [pid 5081] futex(0x7fe27a4474cc, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5081] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7fe27a350000 [pid 5081] mprotect(0x7fe27a351000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 5081] clone(child_stack=0x7fe27a3703f0, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, parent_tid=[5082], tls=0x7fe27a370700, child_tidptr=0x7fe27a3709d0) = 5082 [pid 5081] futex(0x7fe27a4474c8, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5081] futex(0x7fe27a4474cc, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000}./strace-static-x86_64: Process 5082 attached [pid 5082] set_robust_list(0x7fe27a3709e0, 24) = 0 [pid 5082] openat(AT_FDCWD, "/dev/nbd0", O_RDONLY) = 3 [pid 5082] futex(0x7fe27a4474cc, FUTEX_WAKE_PRIVATE, 1000000 [pid 5081] <... futex resumed>) = 0 [pid 5081] futex(0x7fe27a4474c8, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5081] futex(0x7fe27a4474cc, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5082] <... futex resumed>) = 1 [pid 5082] socketpair(AF_UNIX, SOCK_STREAM, 0, [4, 5]) = 0 [pid 5082] futex(0x7fe27a4474cc, FUTEX_WAKE_PRIVATE, 1000000 [pid 5081] <... futex resumed>) = 0 [pid 5081] futex(0x7fe27a4474c8, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5081] futex(0x7fe27a4474cc, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5082] <... futex resumed>) = 1 [pid 5082] openat(AT_FDCWD, "/dev/nbd0", O_RDONLY) = 6 [pid 5082] futex(0x7fe27a4474cc, FUTEX_WAKE_PRIVATE, 1000000 [pid 5081] <... futex resumed>) = 0 [pid 5081] futex(0x7fe27a4474c8, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5081] futex(0x7fe27a4474cc, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5082] <... futex resumed>) = 1 [pid 5082] ioctl(6, NBD_SET_SOCK, 4) = 0 [pid 5082] futex(0x7fe27a4474cc, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5081] <... futex resumed>) = 0 [pid 5082] futex(0x7fe27a4474c8, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5081] futex(0x7fe27a4474c8, FUTEX_WAKE_PRIVATE, 1000000 [pid 5082] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5081] <... futex resumed>) = 0 [pid 5082] ioctl(3, NBD_SET_SOCK, 4 [pid 5081] futex(0x7fe27a4474cc, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5082] <... ioctl resumed>) = 0 [pid 5082] futex(0x7fe27a4474cc, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5081] <... futex resumed>) = 0 [pid 5082] ioctl(3, NBD_SET_FLAGS, NBD_FLAG_SEND_FLUSH|NBD_FLAG_SEND_FUA|NBD_FLAG_ROTATIONAL|NBD_FLAG_SEND_TRIM|NBD_FLAG_SEND_WRITE_ZEROES|NBD_FLAG_SEND_DF|NBD_FLAG_CAN_MULTI_CONN|NBD_FLAG_SEND_RESIZE|NBD_FLAG_SEND_CACHE|0x7800 [pid 5081] futex(0x7fe27a4474c8, FUTEX_WAKE_PRIVATE, 1000000 [pid 5082] <... ioctl resumed>) = 0 [pid 5081] <... futex resumed>) = 0 [pid 5082] futex(0x7fe27a4474cc, FUTEX_WAKE_PRIVATE, 1000000 [pid 5081] futex(0x7fe27a4474cc, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5082] <... futex resumed>) = 0 [pid 5081] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5082] openat(AT_FDCWD, "/proc/thread-self/fail-nth", O_RDWR [pid 5081] futex(0x7fe27a4474c8, FUTEX_WAKE_PRIVATE, 1000000 [pid 5082] <... openat resumed>) = 7 [pid 5081] <... futex resumed>) = 0 [pid 5082] write(7, "18", 2 [pid 5081] futex(0x7fe27a4474cc, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5082] <... write resumed>) = 2 [ 55.097316][ T5082] FAULT_INJECTION: forcing a failure. [ 55.097316][ T5082] name failslab, interval 1, probability 0, space 0, times 0 [ 55.110027][ T5082] CPU: 0 PID: 5082 Comm: syz-executor104 Not tainted 6.1.0-next-20221216-syzkaller #0 [ 55.119563][ T5082] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 [ 55.129605][ T5082] Call Trace: [ 55.132875][ T5082] [ 55.135799][ T5082] dump_stack_lvl+0xd1/0x138 [ 55.140383][ T5082] should_fail_ex.cold+0x5/0xa [ 55.145145][ T5082] should_failslab+0x9/0x20 [ 55.149645][ T5082] kmem_cache_alloc_lru+0x65/0x760 [ 55.154746][ T5082] ? __d_alloc+0x32/0x980 [ 55.159071][ T5082] __d_alloc+0x32/0x980 [ 55.163219][ T5082] d_alloc+0x4e/0x240 [ 55.167190][ T5082] d_alloc_parallel+0xe8/0x1410 [ 55.172041][ T5082] ? lockdep_hardirqs_on_prepare+0x410/0x410 [ 55.178008][ T5082] ? __d_lookup_rcu+0x4c0/0x4c0 [ 55.182849][ T5082] ? lockdep_init_map_type+0x21e/0x800 [ 55.188297][ T5082] ? lockdep_init_map_type+0x21e/0x800 [ 55.193751][ T5082] __lookup_slow+0x193/0x460 [ 55.198333][ T5082] ? __lookup_hash+0x180/0x180 [ 55.203093][ T5082] ? lock_downgrade+0x6e0/0x6e0 [ 55.207970][ T5082] ? d_lookup+0x105/0x170 [ 55.212313][ T5082] lookup_one_len+0x16e/0x1a0 [ 55.217000][ T5082] ? try_lookup_one_len+0x190/0x190 [ 55.222210][ T5082] ? down_write_killable_nested+0x250/0x250 [ 55.228105][ T5082] ? do_raw_spin_unlock+0x175/0x230 [ 55.233310][ T5082] ? mntput+0x10/0x90 [ 55.237303][ T5082] start_creating.part.0+0x135/0x280 [ 55.242604][ T5082] __debugfs_create_file+0xa9/0x540 [ 55.247825][ T5082] debugfs_create_u32+0x70/0xa0 [ 55.252682][ T5082] nbd_start_device+0x492/0xc30 [ 55.257545][ T5082] ? bpf_lsm_capable+0x9/0x10 [ 55.262224][ T5082] ? security_capable+0x93/0xc0 [ 55.267084][ T5082] nbd_ioctl+0x220/0xc60 [ 55.271338][ T5082] ? blkdev_bszset+0x270/0x270 [ 55.276114][ T5082] ? nbd_start_device+0xc30/0xc30 [ 55.281153][ T5082] ? trace_lock_acquire+0x1d1/0x290 [ 55.286359][ T5082] ? nbd_start_device+0xc30/0xc30 [ 55.291396][ T5082] blkdev_ioctl+0x369/0xa20 [ 55.295916][ T5082] ? blkdev_common_ioctl+0x1ba0/0x1ba0 [ 55.301391][ T5082] ? bpf_lsm_file_ioctl+0x9/0x10 [ 55.306342][ T5082] ? blkdev_common_ioctl+0x1ba0/0x1ba0 [ 55.311813][ T5082] __x64_sys_ioctl+0x197/0x210 [ 55.316583][ T5082] do_syscall_64+0x39/0xb0 [ 55.321017][ T5082] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 55.326914][ T5082] RIP: 0033:0x7fe27a3c3309 [ 55.331335][ T5082] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 11 15 00 00 90 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 b8 ff ff ff f7 d8 64 89 01 48 [ 55.350952][ T5082] RSP: 002b:00007fe27a3702e8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 55.359370][ T5082] RAX: ffffffffffffffda RBX: 00007fe27a4474c0 RCX: 00007fe27a3c3309 [ 55.367345][ T5082] RDX: 0000000000000000 RSI: 000000000000ab03 RDI: 0000000000000003 [ 55.375316][ T5082] RBP: 00007fe27a414194 R08: 0000000000000002 R09: 0000000000003831 [ 55.383285][ T5082] R10: 0000000000000000 R11: 0000000000000246 R12: 00007fe27a4474cc [pid 5082] ioctl(3, NBD_DO_IT [pid 5081] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [ 55.391253][ T5082] R13: 00007fe27a3702f0 R14: 00007fe27a4474c8 R15: 0000000000000002 [ 55.399243][ T5082] [pid 5081] exit_group(0) = ? [pid 5082] <... ioctl resumed>) = ? [pid 5082] +++ exited with 0 +++ [pid 5081] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5081, si_uid=0, si_status=0, si_utime=0, si_stime=3 /* 0.03 s */} --- restart_syscall(<... resuming interrupted clone ...>) = 0 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555fa85d0) = 5083 ./strace-static-x86_64: Process 5083 attached [pid 5083] set_robust_list(0x555555fa85e0, 24) = 0 [pid 5083] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5083] setpgid(0, 0) = 0 [pid 5083] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5083] write(3, "1000", 4) = 4 [pid 5083] close(3) = 0 [pid 5083] futex(0x7fe27a4474cc, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5083] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7fe27a350000 [pid 5083] mprotect(0x7fe27a351000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 5083] clone(child_stack=0x7fe27a3703f0, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID./strace-static-x86_64: Process 5084 attached [pid 5084] set_robust_list(0x7fe27a3709e0, 24 [pid 5083] <... clone resumed>, parent_tid=[5084], tls=0x7fe27a370700, child_tidptr=0x7fe27a3709d0) = 5084 [pid 5084] <... set_robust_list resumed>) = 0 [pid 5083] futex(0x7fe27a4474c8, FUTEX_WAKE_PRIVATE, 1000000 [pid 5084] openat(AT_FDCWD, "/dev/nbd0", O_RDONLY [pid 5083] <... futex resumed>) = 0 [pid 5084] <... openat resumed>) = 3 [pid 5083] futex(0x7fe27a4474cc, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5084] futex(0x7fe27a4474cc, FUTEX_WAKE_PRIVATE, 1000000 [pid 5083] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5084] <... futex resumed>) = 0 [pid 5083] futex(0x7fe27a4474c8, FUTEX_WAKE_PRIVATE, 1000000 [pid 5084] socketpair(AF_UNIX, SOCK_STREAM, 0, [pid 5083] <... futex resumed>) = 0 [pid 5084] <... socketpair resumed>[4, 5]) = 0 [pid 5083] futex(0x7fe27a4474cc, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5084] futex(0x7fe27a4474cc, FUTEX_WAKE_PRIVATE, 1000000 [pid 5083] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5084] <... futex resumed>) = 0 [pid 5083] futex(0x7fe27a4474c8, FUTEX_WAKE_PRIVATE, 1000000 [pid 5084] openat(AT_FDCWD, "/dev/nbd0", O_RDONLY [pid 5083] <... futex resumed>) = 0 [pid 5084] <... openat resumed>) = 6 [pid 5083] futex(0x7fe27a4474cc, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5084] futex(0x7fe27a4474cc, FUTEX_WAKE_PRIVATE, 1000000 [pid 5083] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5084] <... futex resumed>) = 0 [pid 5084] ioctl(6, NBD_SET_SOCK, 4 [pid 5083] futex(0x7fe27a4474c8, FUTEX_WAKE_PRIVATE, 1000000) = 0 [ 55.538459][ T5082] block nbd0: shutting down sockets [pid 5083] futex(0x7fe27a4474cc, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5084] <... ioctl resumed>) = 0 [pid 5084] futex(0x7fe27a4474cc, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5083] <... futex resumed>) = 0 [pid 5084] futex(0x7fe27a4474c8, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5083] futex(0x7fe27a4474c8, FUTEX_WAKE_PRIVATE, 1000000 [pid 5084] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5083] <... futex resumed>) = 0 [pid 5084] ioctl(3, NBD_SET_SOCK, 4 [pid 5083] futex(0x7fe27a4474cc, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5084] <... ioctl resumed>) = 0 [pid 5084] futex(0x7fe27a4474cc, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5083] <... futex resumed>) = 0 [pid 5084] futex(0x7fe27a4474c8, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5083] futex(0x7fe27a4474c8, FUTEX_WAKE_PRIVATE, 1000000 [pid 5084] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5083] <... futex resumed>) = 0 [pid 5084] ioctl(3, NBD_SET_FLAGS, NBD_FLAG_SEND_FLUSH|NBD_FLAG_SEND_FUA|NBD_FLAG_ROTATIONAL|NBD_FLAG_SEND_TRIM|NBD_FLAG_SEND_WRITE_ZEROES|NBD_FLAG_SEND_DF|NBD_FLAG_CAN_MULTI_CONN|NBD_FLAG_SEND_RESIZE|NBD_FLAG_SEND_CACHE|0x7800 [pid 5083] futex(0x7fe27a4474cc, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5084] <... ioctl resumed>) = 0 [pid 5084] futex(0x7fe27a4474cc, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5083] <... futex resumed>) = 0 [pid 5084] futex(0x7fe27a4474c8, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5083] futex(0x7fe27a4474c8, FUTEX_WAKE_PRIVATE, 1000000 [pid 5084] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5083] <... futex resumed>) = 0 [pid 5084] openat(AT_FDCWD, "/proc/thread-self/fail-nth", O_RDWR [pid 5083] futex(0x7fe27a4474cc, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5084] <... openat resumed>) = 7 [pid 5084] write(7, "18", 2) = 2 [ 55.663744][ T5084] FAULT_INJECTION: forcing a failure. [ 55.663744][ T5084] name failslab, interval 1, probability 0, space 0, times 0 [ 55.676477][ T5084] CPU: 0 PID: 5084 Comm: syz-executor104 Not tainted 6.1.0-next-20221216-syzkaller #0 [ 55.686493][ T5084] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 [ 55.696561][ T5084] Call Trace: [ 55.699846][ T5084] [ 55.702772][ T5084] dump_stack_lvl+0xd1/0x138 [ 55.707371][ T5084] should_fail_ex.cold+0x5/0xa [ 55.712150][ T5084] ? security_inode_alloc+0x38/0x160 [ 55.717452][ T5084] should_failslab+0x9/0x20 [ 55.721955][ T5084] kmem_cache_alloc+0x5a/0x430 [ 55.726728][ T5084] security_inode_alloc+0x38/0x160 [ 55.731854][ T5084] inode_init_always+0xbfa/0xef0 [ 55.736804][ T5084] alloc_inode+0x82/0x230 [ 55.741157][ T5084] new_inode+0x2b/0x280 [ 55.745328][ T5084] debugfs_get_inode+0x1a/0x130 [ 55.750206][ T5084] __debugfs_create_file+0x11a/0x540 [ 55.755491][ T5084] debugfs_create_u32+0x70/0xa0 [ 55.760335][ T5084] nbd_start_device+0x492/0xc30 [ 55.765192][ T5084] ? bpf_lsm_capable+0x9/0x10 [ 55.769875][ T5084] ? security_capable+0x93/0xc0 [ 55.774737][ T5084] nbd_ioctl+0x220/0xc60 [ 55.778995][ T5084] ? blkdev_bszset+0x270/0x270 [ 55.783773][ T5084] ? nbd_start_device+0xc30/0xc30 [ 55.788816][ T5084] ? trace_lock_acquire+0x1d1/0x290 [ 55.794021][ T5084] ? nbd_start_device+0xc30/0xc30 [ 55.799059][ T5084] blkdev_ioctl+0x369/0xa20 [ 55.803576][ T5084] ? blkdev_common_ioctl+0x1ba0/0x1ba0 [ 55.809052][ T5084] ? bpf_lsm_file_ioctl+0x9/0x10 [ 55.813998][ T5084] ? blkdev_common_ioctl+0x1ba0/0x1ba0 [ 55.819480][ T5084] __x64_sys_ioctl+0x197/0x210 [ 55.824250][ T5084] do_syscall_64+0x39/0xb0 [ 55.828678][ T5084] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 55.834579][ T5084] RIP: 0033:0x7fe27a3c3309 [ 55.838997][ T5084] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 11 15 00 00 90 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 b8 ff ff ff f7 d8 64 89 01 48 [ 55.858606][ T5084] RSP: 002b:00007fe27a3702e8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 55.867023][ T5084] RAX: ffffffffffffffda RBX: 00007fe27a4474c0 RCX: 00007fe27a3c3309 [ 55.874991][ T5084] RDX: 0000000000000000 RSI: 000000000000ab03 RDI: 0000000000000003 [ 55.882961][ T5084] RBP: 00007fe27a414194 R08: 0000000000000002 R09: 0000000000003831 [ 55.890931][ T5084] R10: 0000000000000000 R11: 0000000000000246 R12: 00007fe27a4474cc [ 55.898902][ T5084] R13: 00007fe27a3702f0 R14: 00007fe27a4474c8 R15: 0000000000000002 [ 55.906889][ T5084] [pid 5084] ioctl(3, NBD_DO_IT [pid 5083] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [ 55.912588][ T5084] debugfs: out of free dentries, can not create file 'blocksize_bits' [pid 5083] exit_group(0) = ? [pid 5084] <... ioctl resumed>) = ? [pid 5084] +++ exited with 0 +++ [ 56.062403][ T5084] block nbd0: shutting down sockets [pid 5083] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5083, si_uid=0, si_status=0, si_utime=0, si_stime=3 /* 0.03 s */} --- clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555fa85d0) = 5085 ./strace-static-x86_64: Process 5085 attached [pid 5085] set_robust_list(0x555555fa85e0, 24) = 0 [pid 5085] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5085] setpgid(0, 0) = 0 [pid 5085] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5085] write(3, "1000", 4) = 4 [pid 5085] close(3) = 0 [pid 5085] futex(0x7fe27a4474cc, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5085] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7fe27a350000 [pid 5085] mprotect(0x7fe27a351000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 5085] clone(child_stack=0x7fe27a3703f0, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID./strace-static-x86_64: Process 5086 attached , parent_tid=[5086], tls=0x7fe27a370700, child_tidptr=0x7fe27a3709d0) = 5086 [pid 5086] set_robust_list(0x7fe27a3709e0, 24 [pid 5085] futex(0x7fe27a4474c8, FUTEX_WAKE_PRIVATE, 1000000 [pid 5086] <... set_robust_list resumed>) = 0 [pid 5085] <... futex resumed>) = 0 [pid 5085] futex(0x7fe27a4474cc, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5086] openat(AT_FDCWD, "/dev/nbd0", O_RDONLY) = 3 [pid 5086] futex(0x7fe27a4474cc, FUTEX_WAKE_PRIVATE, 1000000 [pid 5085] <... futex resumed>) = 0 [pid 5086] <... futex resumed>) = 1 [pid 5085] futex(0x7fe27a4474c8, FUTEX_WAKE_PRIVATE, 1000000 [pid 5086] socketpair(AF_UNIX, SOCK_STREAM, 0, [pid 5085] <... futex resumed>) = 0 [pid 5086] <... socketpair resumed>[4, 5]) = 0 [pid 5085] futex(0x7fe27a4474cc, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5086] futex(0x7fe27a4474cc, FUTEX_WAKE_PRIVATE, 1000000 [pid 5085] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5086] <... futex resumed>) = 0 [pid 5085] futex(0x7fe27a4474c8, FUTEX_WAKE_PRIVATE, 1000000 [pid 5086] openat(AT_FDCWD, "/dev/nbd0", O_RDONLY [pid 5085] <... futex resumed>) = 0 [pid 5086] <... openat resumed>) = 6 [pid 5085] futex(0x7fe27a4474cc, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5086] futex(0x7fe27a4474cc, FUTEX_WAKE_PRIVATE, 1000000 [pid 5085] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5086] <... futex resumed>) = 0 [pid 5085] futex(0x7fe27a4474c8, FUTEX_WAKE_PRIVATE, 1000000 [pid 5086] ioctl(6, NBD_SET_SOCK, 4 [pid 5085] <... futex resumed>) = 0 [pid 5085] futex(0x7fe27a4474cc, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5086] <... ioctl resumed>) = 0 [pid 5086] futex(0x7fe27a4474cc, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5085] <... futex resumed>) = 0 [pid 5085] futex(0x7fe27a4474c8, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5085] futex(0x7fe27a4474cc, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5086] ioctl(3, NBD_SET_SOCK, 4) = 0 [pid 5086] futex(0x7fe27a4474cc, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5085] <... futex resumed>) = 0 [pid 5086] ioctl(3, NBD_SET_FLAGS, NBD_FLAG_SEND_FLUSH|NBD_FLAG_SEND_FUA|NBD_FLAG_ROTATIONAL|NBD_FLAG_SEND_TRIM|NBD_FLAG_SEND_WRITE_ZEROES|NBD_FLAG_SEND_DF|NBD_FLAG_CAN_MULTI_CONN|NBD_FLAG_SEND_RESIZE|NBD_FLAG_SEND_CACHE|0x7800 [pid 5085] futex(0x7fe27a4474c8, FUTEX_WAKE_PRIVATE, 1000000 [pid 5086] <... ioctl resumed>) = 0 [pid 5085] <... futex resumed>) = 0 [pid 5086] futex(0x7fe27a4474cc, FUTEX_WAKE_PRIVATE, 1000000 [pid 5085] futex(0x7fe27a4474cc, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5086] <... futex resumed>) = 0 [pid 5086] futex(0x7fe27a4474c8, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5085] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5086] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5085] futex(0x7fe27a4474c8, FUTEX_WAKE_PRIVATE, 1000000 [pid 5086] openat(AT_FDCWD, "/proc/thread-self/fail-nth", O_RDWR [pid 5085] <... futex resumed>) = 0 [pid 5086] <... openat resumed>) = 7 [pid 5085] futex(0x7fe27a4474cc, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5086] write(7, "18", 2) = 2 [pid 5086] ioctl(3, NBD_DO_IT [pid 5085] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 5085] futex(0x7fe27a4474cc, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=0}) = -1 ETIMEDOUT (Connection timed out) [pid 5085] exit_group(0) = ? [pid 5086] <... ioctl resumed>) = ? [pid 5086] +++ exited with 0 +++ [pid 5085] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5085, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- restart_syscall(<... resuming interrupted clone ...>) = 0 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5087 attached , child_tidptr=0x555555fa85d0) = 5087 [pid 5087] set_robust_list(0x555555fa85e0, 24) = 0 [pid 5087] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5087] setpgid(0, 0) = 0 [pid 5087] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5087] write(3, "1000", 4) = 4 [pid 5087] close(3) = 0 [pid 5087] futex(0x7fe27a4474cc, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5087] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7fe27a350000 [pid 5087] mprotect(0x7fe27a351000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 5087] clone(child_stack=0x7fe27a3703f0, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID./strace-static-x86_64: Process 5088 attached , parent_tid=[5088], tls=0x7fe27a370700, child_tidptr=0x7fe27a3709d0) = 5088 [pid 5088] set_robust_list(0x7fe27a3709e0, 24 [pid 5087] futex(0x7fe27a4474c8, FUTEX_WAKE_PRIVATE, 1000000 [pid 5088] <... set_robust_list resumed>) = 0 [pid 5087] <... futex resumed>) = 0 [pid 5088] openat(AT_FDCWD, "/dev/nbd0", O_RDONLY [pid 5087] futex(0x7fe27a4474cc, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5088] <... openat resumed>) = 3 [pid 5088] futex(0x7fe27a4474cc, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5087] <... futex resumed>) = 0 [pid 5088] socketpair(AF_UNIX, SOCK_STREAM, 0, [pid 5087] futex(0x7fe27a4474c8, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5088] <... socketpair resumed>[4, 5]) = 0 [pid 5088] futex(0x7fe27a4474cc, FUTEX_WAKE_PRIVATE, 1000000 [pid 5087] futex(0x7fe27a4474cc, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000}) = -1 EAGAIN (Resource temporarily unavailable) [pid 5087] futex(0x7fe27a4474c8, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5087] futex(0x7fe27a4474cc, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5088] <... futex resumed>) = 1 [pid 5087] <... futex resumed>) = 0 [pid 5087] futex(0x7fe27a4474cc, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=49000000} [pid 5088] openat(AT_FDCWD, "/dev/nbd0", O_RDONLY) = 6 [pid 5088] futex(0x7fe27a4474cc, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5087] <... futex resumed>) = 0 [pid 5087] futex(0x7fe27a4474c8, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5087] futex(0x7fe27a4474cc, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [ 56.387299][ T5086] block nbd0: shutting down sockets [pid 5088] ioctl(6, NBD_SET_SOCK, 4) = 0 [pid 5088] futex(0x7fe27a4474cc, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5087] <... futex resumed>) = 0 [pid 5088] ioctl(3, NBD_SET_SOCK, 4 [pid 5087] futex(0x7fe27a4474c8, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5087] futex(0x7fe27a4474cc, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5088] <... ioctl resumed>) = 0 [pid 5088] futex(0x7fe27a4474cc, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5087] <... futex resumed>) = 0 [pid 5088] futex(0x7fe27a4474c8, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5087] futex(0x7fe27a4474c8, FUTEX_WAKE_PRIVATE, 1000000 [pid 5088] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5087] <... futex resumed>) = 0 [pid 5088] ioctl(3, NBD_SET_FLAGS, NBD_FLAG_SEND_FLUSH|NBD_FLAG_SEND_FUA|NBD_FLAG_ROTATIONAL|NBD_FLAG_SEND_TRIM|NBD_FLAG_SEND_WRITE_ZEROES|NBD_FLAG_SEND_DF|NBD_FLAG_CAN_MULTI_CONN|NBD_FLAG_SEND_RESIZE|NBD_FLAG_SEND_CACHE|0x7800 [pid 5087] futex(0x7fe27a4474cc, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5088] <... ioctl resumed>) = 0 [pid 5088] futex(0x7fe27a4474cc, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5087] <... futex resumed>) = 0 [pid 5088] futex(0x7fe27a4474c8, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5087] futex(0x7fe27a4474c8, FUTEX_WAKE_PRIVATE, 1000000 [pid 5088] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5087] <... futex resumed>) = 0 [pid 5088] openat(AT_FDCWD, "/proc/thread-self/fail-nth", O_RDWR [pid 5087] futex(0x7fe27a4474cc, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5088] <... openat resumed>) = 7 [pid 5088] write(7, "18", 2) = 2 [ 56.486833][ T5088] FAULT_INJECTION: forcing a failure. [ 56.486833][ T5088] name failslab, interval 1, probability 0, space 0, times 0 [ 56.499576][ T5088] CPU: 1 PID: 5088 Comm: syz-executor104 Not tainted 6.1.0-next-20221216-syzkaller #0 [ 56.509146][ T5088] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 [ 56.519205][ T5088] Call Trace: [ 56.522492][ T5088] [ 56.525423][ T5088] dump_stack_lvl+0xd1/0x138 [ 56.530023][ T5088] should_fail_ex.cold+0x5/0xa [ 56.534893][ T5088] should_failslab+0x9/0x20 [ 56.539407][ T5088] kmem_cache_alloc_lru+0x65/0x760 [ 56.544521][ T5088] ? alloc_inode+0x168/0x230 [ 56.549123][ T5088] ? lookup_one_len+0x10d/0x1a0 [ 56.553989][ T5088] alloc_inode+0x168/0x230 [ 56.558417][ T5088] new_inode+0x2b/0x280 [ 56.562585][ T5088] debugfs_get_inode+0x1a/0x130 [ 56.567449][ T5088] __debugfs_create_file+0x11a/0x540 [ 56.572754][ T5088] debugfs_create_u32+0x70/0xa0 [ 56.577632][ T5088] nbd_start_device+0x492/0xc30 [ 56.582510][ T5088] ? bpf_lsm_capable+0x9/0x10 [ 56.587206][ T5088] ? security_capable+0x93/0xc0 [ 56.592074][ T5088] nbd_ioctl+0x220/0xc60 [ 56.596340][ T5088] ? blkdev_bszset+0x270/0x270 [ 56.601121][ T5088] ? nbd_start_device+0xc30/0xc30 [ 56.606165][ T5088] ? trace_lock_acquire+0x1d1/0x290 [ 56.611374][ T5088] ? nbd_start_device+0xc30/0xc30 [ 56.616410][ T5088] blkdev_ioctl+0x369/0xa20 [ 56.620926][ T5088] ? blkdev_common_ioctl+0x1ba0/0x1ba0 [ 56.626400][ T5088] ? bpf_lsm_file_ioctl+0x9/0x10 [ 56.631347][ T5088] ? blkdev_common_ioctl+0x1ba0/0x1ba0 [ 56.636819][ T5088] __x64_sys_ioctl+0x197/0x210 [ 56.641589][ T5088] do_syscall_64+0x39/0xb0 [ 56.646014][ T5088] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 56.651912][ T5088] RIP: 0033:0x7fe27a3c3309 [ 56.656329][ T5088] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 11 15 00 00 90 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 b8 ff ff ff f7 d8 64 89 01 48 [ 56.675938][ T5088] RSP: 002b:00007fe27a3702e8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [pid 5088] ioctl(3, NBD_DO_IT [pid 5087] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [ 56.684354][ T5088] RAX: ffffffffffffffda RBX: 00007fe27a4474c0 RCX: 00007fe27a3c3309 [ 56.692414][ T5088] RDX: 0000000000000000 RSI: 000000000000ab03 RDI: 0000000000000003 [ 56.700383][ T5088] RBP: 00007fe27a414194 R08: 0000000000000002 R09: 0000000000003831 [ 56.708356][ T5088] R10: 0000000000000000 R11: 0000000000000246 R12: 00007fe27a4474cc [ 56.716325][ T5088] R13: 00007fe27a3702f0 R14: 00007fe27a4474c8 R15: 0000000000000002 [ 56.724310][ T5088] [ 56.727972][ T5088] debugfs: out of free dentries, can not create file 'blocksize_bits' [pid 5087] exit_group(0) = ? [pid 5088] <... ioctl resumed>) = ? [pid 5088] +++ exited with 0 +++ [pid 5087] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5087, si_uid=0, si_status=0, si_utime=0, si_stime=4 /* 0.04 s */} --- restart_syscall(<... resuming interrupted clone ...>) = 0 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555fa85d0) = 5089 ./strace-static-x86_64: Process 5089 attached [pid 5089] set_robust_list(0x555555fa85e0, 24) = 0 [pid 5089] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5089] setpgid(0, 0) = 0 [pid 5089] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5089] write(3, "1000", 4) = 4 [pid 5089] close(3) = 0 [pid 5089] futex(0x7fe27a4474cc, FUTEX_WAKE_PRIVATE, 1000000) = 0 [ 56.870159][ T5088] block nbd0: shutting down sockets [pid 5089] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7fe27a350000 [pid 5089] mprotect(0x7fe27a351000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 5089] clone(child_stack=0x7fe27a3703f0, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID./strace-static-x86_64: Process 5090 attached [pid 5090] set_robust_list(0x7fe27a3709e0, 24) = 0 [pid 5090] futex(0x7fe27a4474c8, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5089] <... clone resumed>, parent_tid=[5090], tls=0x7fe27a370700, child_tidptr=0x7fe27a3709d0) = 5090 [pid 5089] futex(0x7fe27a4474c8, FUTEX_WAKE_PRIVATE, 1000000 [pid 5090] <... futex resumed>) = 0 [pid 5089] <... futex resumed>) = 1 [pid 5090] openat(AT_FDCWD, "/dev/nbd0", O_RDONLY [pid 5089] futex(0x7fe27a4474cc, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5090] <... openat resumed>) = 3 [pid 5090] futex(0x7fe27a4474cc, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5089] <... futex resumed>) = 0 [pid 5090] socketpair(AF_UNIX, SOCK_STREAM, 0, [pid 5089] futex(0x7fe27a4474c8, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5090] <... socketpair resumed>[4, 5]) = 0 [pid 5089] futex(0x7fe27a4474cc, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5090] futex(0x7fe27a4474cc, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5090] futex(0x7fe27a4474c8, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5089] <... futex resumed>) = 0 [pid 5089] futex(0x7fe27a4474c8, FUTEX_WAKE_PRIVATE, 1000000 [pid 5090] <... futex resumed>) = 0 [pid 5089] <... futex resumed>) = 1 [pid 5090] openat(AT_FDCWD, "/dev/nbd0", O_RDONLY [pid 5089] futex(0x7fe27a4474cc, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5090] <... openat resumed>) = 6 [pid 5090] futex(0x7fe27a4474cc, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5089] <... futex resumed>) = 0 [pid 5089] futex(0x7fe27a4474c8, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5089] futex(0x7fe27a4474cc, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5090] ioctl(6, NBD_SET_SOCK, 4) = 0 [pid 5090] futex(0x7fe27a4474cc, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5089] <... futex resumed>) = 0 [pid 5090] futex(0x7fe27a4474c8, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5089] futex(0x7fe27a4474c8, FUTEX_WAKE_PRIVATE, 1000000 [pid 5090] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5089] <... futex resumed>) = 0 [pid 5090] ioctl(3, NBD_SET_SOCK, 4 [pid 5089] futex(0x7fe27a4474cc, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5090] <... ioctl resumed>) = 0 [pid 5090] futex(0x7fe27a4474cc, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5089] <... futex resumed>) = 0 [pid 5090] futex(0x7fe27a4474c8, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5089] futex(0x7fe27a4474c8, FUTEX_WAKE_PRIVATE, 1000000 [pid 5090] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5089] <... futex resumed>) = 0 [pid 5090] ioctl(3, NBD_SET_FLAGS, NBD_FLAG_SEND_FLUSH|NBD_FLAG_SEND_FUA|NBD_FLAG_ROTATIONAL|NBD_FLAG_SEND_TRIM|NBD_FLAG_SEND_WRITE_ZEROES|NBD_FLAG_SEND_DF|NBD_FLAG_CAN_MULTI_CONN|NBD_FLAG_SEND_RESIZE|NBD_FLAG_SEND_CACHE|0x7800 [pid 5089] futex(0x7fe27a4474cc, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5090] <... ioctl resumed>) = 0 [pid 5090] futex(0x7fe27a4474cc, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5089] <... futex resumed>) = 0 [pid 5090] futex(0x7fe27a4474c8, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5089] futex(0x7fe27a4474c8, FUTEX_WAKE_PRIVATE, 1000000 [pid 5090] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5089] <... futex resumed>) = 0 [pid 5090] openat(AT_FDCWD, "/proc/thread-self/fail-nth", O_RDWR [pid 5089] futex(0x7fe27a4474cc, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5090] <... openat resumed>) = 7 [pid 5090] write(7, "18", 2) = 2 [ 57.007991][ T5090] FAULT_INJECTION: forcing a failure. [ 57.007991][ T5090] name failslab, interval 1, probability 0, space 0, times 0 [ 57.021291][ T5090] CPU: 1 PID: 5090 Comm: syz-executor104 Not tainted 6.1.0-next-20221216-syzkaller #0 [ 57.030863][ T5090] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 [ 57.040942][ T5090] Call Trace: [ 57.044237][ T5090] [ 57.047163][ T5090] dump_stack_lvl+0xd1/0x138 [ 57.051754][ T5090] should_fail_ex.cold+0x5/0xa [ 57.056526][ T5090] ? security_inode_alloc+0x38/0x160 [ 57.061828][ T5090] should_failslab+0x9/0x20 [ 57.066327][ T5090] kmem_cache_alloc+0x5a/0x430 [ 57.071111][ T5090] security_inode_alloc+0x38/0x160 [ 57.076242][ T5090] inode_init_always+0xbfa/0xef0 [ 57.081181][ T5090] alloc_inode+0x82/0x230 [ 57.085532][ T5090] new_inode+0x2b/0x280 [ 57.089712][ T5090] debugfs_get_inode+0x1a/0x130 [ 57.094572][ T5090] __debugfs_create_file+0x11a/0x540 [ 57.099864][ T5090] debugfs_create_u32+0x70/0xa0 [ 57.104757][ T5090] nbd_start_device+0x492/0xc30 [ 57.109632][ T5090] ? bpf_lsm_capable+0x9/0x10 [ 57.114305][ T5090] ? security_capable+0x93/0xc0 [ 57.119151][ T5090] nbd_ioctl+0x220/0xc60 [ 57.123404][ T5090] ? blkdev_bszset+0x270/0x270 [ 57.128186][ T5090] ? nbd_start_device+0xc30/0xc30 [ 57.133252][ T5090] ? trace_lock_acquire+0x1d1/0x290 [ 57.138464][ T5090] ? nbd_start_device+0xc30/0xc30 [ 57.143506][ T5090] blkdev_ioctl+0x369/0xa20 [ 57.148027][ T5090] ? blkdev_common_ioctl+0x1ba0/0x1ba0 [ 57.153507][ T5090] ? bpf_lsm_file_ioctl+0x9/0x10 [ 57.158458][ T5090] ? blkdev_common_ioctl+0x1ba0/0x1ba0 [ 57.163931][ T5090] __x64_sys_ioctl+0x197/0x210 [ 57.168699][ T5090] do_syscall_64+0x39/0xb0 [ 57.173130][ T5090] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 57.179027][ T5090] RIP: 0033:0x7fe27a3c3309 [ 57.183442][ T5090] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 11 15 00 00 90 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 b8 ff ff ff f7 d8 64 89 01 48 [ 57.203070][ T5090] RSP: 002b:00007fe27a3702e8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 57.211484][ T5090] RAX: ffffffffffffffda RBX: 00007fe27a4474c0 RCX: 00007fe27a3c3309 [ 57.219456][ T5090] RDX: 0000000000000000 RSI: 000000000000ab03 RDI: 0000000000000003 [ 57.227428][ T5090] RBP: 00007fe27a414194 R08: 0000000000000002 R09: 0000000000003831 [ 57.235398][ T5090] R10: 0000000000000000 R11: 0000000000000246 R12: 00007fe27a4474cc [ 57.243368][ T5090] R13: 00007fe27a3702f0 R14: 00007fe27a4474c8 R15: 0000000000000002 [ 57.251356][ T5090] [pid 5090] ioctl(3, NBD_DO_IT [pid 5089] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [ 57.255521][ T5090] debugfs: out of free dentries, can not create file 'blocksize_bits' [pid 5089] exit_group(0) = ? [pid 5090] <... ioctl resumed>) = ? [pid 5090] +++ exited with 0 +++ [pid 5089] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5089, si_uid=0, si_status=0, si_utime=0, si_stime=4 /* 0.04 s */} --- restart_syscall(<... resuming interrupted clone ...>) = 0 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555fa85d0) = 5091 ./strace-static-x86_64: Process 5091 attached [pid 5091] set_robust_list(0x555555fa85e0, 24) = 0 [pid 5091] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5091] setpgid(0, 0) = 0 [pid 5091] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5091] write(3, "1000", 4) = 4 [pid 5091] close(3) = 0 [pid 5091] futex(0x7fe27a4474cc, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5091] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7fe27a350000 [pid 5091] mprotect(0x7fe27a351000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 5091] clone(child_stack=0x7fe27a3703f0, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, parent_tid=[5092], tls=0x7fe27a370700, child_tidptr=0x7fe27a3709d0) = 5092 [pid 5091] futex(0x7fe27a4474c8, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5091] futex(0x7fe27a4474cc, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000}./strace-static-x86_64: Process 5092 attached [pid 5092] set_robust_list(0x7fe27a3709e0, 24) = 0 [pid 5092] openat(AT_FDCWD, "/dev/nbd0", O_RDONLY) = 3 [pid 5092] futex(0x7fe27a4474cc, FUTEX_WAKE_PRIVATE, 1000000 [pid 5091] <... futex resumed>) = 0 [pid 5091] futex(0x7fe27a4474c8, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5091] futex(0x7fe27a4474cc, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5092] <... futex resumed>) = 1 [pid 5092] socketpair(AF_UNIX, SOCK_STREAM, 0, [4, 5]) = 0 [pid 5092] futex(0x7fe27a4474cc, FUTEX_WAKE_PRIVATE, 1000000 [pid 5091] <... futex resumed>) = 0 [pid 5091] futex(0x7fe27a4474c8, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5091] futex(0x7fe27a4474cc, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5092] <... futex resumed>) = 1 [pid 5092] openat(AT_FDCWD, "/dev/nbd0", O_RDONLY) = 6 [pid 5092] futex(0x7fe27a4474cc, FUTEX_WAKE_PRIVATE, 1000000 [pid 5091] <... futex resumed>) = 0 [pid 5091] futex(0x7fe27a4474c8, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5091] futex(0x7fe27a4474cc, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5092] <... futex resumed>) = 1 [ 57.397056][ T5090] block nbd0: shutting down sockets [pid 5092] ioctl(6, NBD_SET_SOCK, 4) = 0 [pid 5092] futex(0x7fe27a4474cc, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5091] <... futex resumed>) = 0 [pid 5092] futex(0x7fe27a4474c8, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5091] futex(0x7fe27a4474c8, FUTEX_WAKE_PRIVATE, 1000000 [pid 5092] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5091] <... futex resumed>) = 0 [pid 5092] ioctl(3, NBD_SET_SOCK, 4 [pid 5091] futex(0x7fe27a4474cc, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5092] <... ioctl resumed>) = 0 [pid 5092] futex(0x7fe27a4474cc, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5091] <... futex resumed>) = 0 [pid 5092] ioctl(3, NBD_SET_FLAGS, NBD_FLAG_SEND_FLUSH|NBD_FLAG_SEND_FUA|NBD_FLAG_ROTATIONAL|NBD_FLAG_SEND_TRIM|NBD_FLAG_SEND_WRITE_ZEROES|NBD_FLAG_SEND_DF|NBD_FLAG_CAN_MULTI_CONN|NBD_FLAG_SEND_RESIZE|NBD_FLAG_SEND_CACHE|0x7800 [pid 5091] futex(0x7fe27a4474c8, FUTEX_WAKE_PRIVATE, 1000000 [pid 5092] <... ioctl resumed>) = 0 [pid 5091] <... futex resumed>) = 0 [pid 5092] futex(0x7fe27a4474cc, FUTEX_WAKE_PRIVATE, 1000000 [pid 5091] futex(0x7fe27a4474cc, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5092] <... futex resumed>) = 0 [pid 5091] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5092] openat(AT_FDCWD, "/proc/thread-self/fail-nth", O_RDWR [pid 5091] futex(0x7fe27a4474c8, FUTEX_WAKE_PRIVATE, 1000000 [pid 5092] <... openat resumed>) = 7 [pid 5091] <... futex resumed>) = 0 [pid 5092] write(7, "18", 2 [pid 5091] futex(0x7fe27a4474cc, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5092] <... write resumed>) = 2 [ 57.514609][ T5092] FAULT_INJECTION: forcing a failure. [ 57.514609][ T5092] name failslab, interval 1, probability 0, space 0, times 0 [ 57.527304][ T5092] CPU: 0 PID: 5092 Comm: syz-executor104 Not tainted 6.1.0-next-20221216-syzkaller #0 [ 57.537976][ T5092] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 [ 57.548042][ T5092] Call Trace: [ 57.551333][ T5092] [ 57.554298][ T5092] dump_stack_lvl+0xd1/0x138 [ 57.558919][ T5092] should_fail_ex.cold+0x5/0xa [ 57.563692][ T5092] ? security_inode_alloc+0x38/0x160 [ 57.568976][ T5092] should_failslab+0x9/0x20 [ 57.573481][ T5092] kmem_cache_alloc+0x5a/0x430 [ 57.578256][ T5092] security_inode_alloc+0x38/0x160 [ 57.583377][ T5092] inode_init_always+0xbfa/0xef0 [ 57.588338][ T5092] alloc_inode+0x82/0x230 [ 57.592666][ T5092] new_inode+0x2b/0x280 [ 57.596823][ T5092] debugfs_get_inode+0x1a/0x130 [ 57.601694][ T5092] __debugfs_create_file+0x11a/0x540 [ 57.607024][ T5092] debugfs_create_u32+0x70/0xa0 [ 57.611895][ T5092] nbd_start_device+0x492/0xc30 [ 57.616756][ T5092] ? bpf_lsm_capable+0x9/0x10 [ 57.621435][ T5092] ? security_capable+0x93/0xc0 [ 57.626304][ T5092] nbd_ioctl+0x220/0xc60 [ 57.630566][ T5092] ? blkdev_bszset+0x270/0x270 [ 57.635347][ T5092] ? nbd_start_device+0xc30/0xc30 [ 57.640393][ T5092] ? trace_lock_acquire+0x1d1/0x290 [ 57.645605][ T5092] ? nbd_start_device+0xc30/0xc30 [ 57.650650][ T5092] blkdev_ioctl+0x369/0xa20 [ 57.655178][ T5092] ? blkdev_common_ioctl+0x1ba0/0x1ba0 [ 57.660661][ T5092] ? bpf_lsm_file_ioctl+0x9/0x10 [ 57.665614][ T5092] ? blkdev_common_ioctl+0x1ba0/0x1ba0 [ 57.671095][ T5092] __x64_sys_ioctl+0x197/0x210 [ 57.675866][ T5092] do_syscall_64+0x39/0xb0 [ 57.680294][ T5092] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 57.686249][ T5092] RIP: 0033:0x7fe27a3c3309 [ 57.690695][ T5092] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 11 15 00 00 90 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 b8 ff ff ff f7 d8 64 89 01 48 [pid 5092] ioctl(3, NBD_DO_IT [ 57.710315][ T5092] RSP: 002b:00007fe27a3702e8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 57.718738][ T5092] RAX: ffffffffffffffda RBX: 00007fe27a4474c0 RCX: 00007fe27a3c3309 [ 57.726716][ T5092] RDX: 0000000000000000 RSI: 000000000000ab03 RDI: 0000000000000003 [ 57.735061][ T5092] RBP: 00007fe27a414194 R08: 0000000000000002 R09: 0000000000003831 [ 57.743145][ T5092] R10: 0000000000000000 R11: 0000000000000246 R12: 00007fe27a4474cc [ 57.751114][ T5092] R13: 00007fe27a3702f0 R14: 00007fe27a4474c8 R15: 0000000000000002 [ 57.759100][ T5092] [pid 5091] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [ 57.762419][ T5092] debugfs: out of free dentries, can not create file 'blocksize_bits' [pid 5091] exit_group(0) = ? [pid 5092] <... ioctl resumed>) = ? [ 57.904843][ T5092] block nbd0: shutting down sockets [pid 5092] +++ exited with 0 +++ [pid 5091] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5091, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5093 attached , child_tidptr=0x555555fa85d0) = 5093 [pid 5093] set_robust_list(0x555555fa85e0, 24) = 0 [pid 5093] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5093] setpgid(0, 0) = 0 [pid 5093] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5093] write(3, "1000", 4) = 4 [pid 5093] close(3) = 0 [pid 5093] futex(0x7fe27a4474cc, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5093] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7fe27a350000 [pid 5093] mprotect(0x7fe27a351000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 5093] clone(child_stack=0x7fe27a3703f0, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, parent_tid=[5094], tls=0x7fe27a370700, child_tidptr=0x7fe27a3709d0) = 5094 [pid 5093] futex(0x7fe27a4474c8, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5093] futex(0x7fe27a4474cc, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000}./strace-static-x86_64: Process 5094 attached [pid 5094] set_robust_list(0x7fe27a3709e0, 24) = 0 [pid 5094] openat(AT_FDCWD, "/dev/nbd0", O_RDONLY) = 3 [pid 5094] futex(0x7fe27a4474cc, FUTEX_WAKE_PRIVATE, 1000000 [pid 5093] <... futex resumed>) = 0 [pid 5093] futex(0x7fe27a4474c8, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5093] futex(0x7fe27a4474cc, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5094] <... futex resumed>) = 1 [pid 5094] socketpair(AF_UNIX, SOCK_STREAM, 0, [4, 5]) = 0 [pid 5094] futex(0x7fe27a4474cc, FUTEX_WAKE_PRIVATE, 1000000 [pid 5093] <... futex resumed>) = 0 [pid 5093] futex(0x7fe27a4474c8, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5093] futex(0x7fe27a4474cc, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5094] <... futex resumed>) = 1 [pid 5094] openat(AT_FDCWD, "/dev/nbd0", O_RDONLY) = 6 [pid 5094] futex(0x7fe27a4474cc, FUTEX_WAKE_PRIVATE, 1000000 [pid 5093] <... futex resumed>) = 0 [pid 5093] futex(0x7fe27a4474c8, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5093] futex(0x7fe27a4474cc, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5094] <... futex resumed>) = 1 [pid 5094] ioctl(6, NBD_SET_SOCK, 4) = 0 [pid 5094] futex(0x7fe27a4474cc, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5093] <... futex resumed>) = 0 [pid 5094] futex(0x7fe27a4474c8, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5093] futex(0x7fe27a4474c8, FUTEX_WAKE_PRIVATE, 1000000 [pid 5094] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5093] <... futex resumed>) = 0 [pid 5093] futex(0x7fe27a4474cc, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5094] ioctl(3, NBD_SET_SOCK, 4) = 0 [pid 5094] futex(0x7fe27a4474cc, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5093] <... futex resumed>) = 0 [pid 5094] futex(0x7fe27a4474c8, FUTEX_WAIT_PRIVATE, 0, NULL) = -1 EAGAIN (Resource temporarily unavailable) [pid 5093] futex(0x7fe27a4474c8, FUTEX_WAKE_PRIVATE, 1000000 [pid 5094] ioctl(3, NBD_SET_FLAGS, NBD_FLAG_SEND_FLUSH|NBD_FLAG_SEND_FUA|NBD_FLAG_ROTATIONAL|NBD_FLAG_SEND_TRIM|NBD_FLAG_SEND_WRITE_ZEROES|NBD_FLAG_SEND_DF|NBD_FLAG_CAN_MULTI_CONN|NBD_FLAG_SEND_RESIZE|NBD_FLAG_SEND_CACHE|0x7800 [pid 5093] <... futex resumed>) = 0 [pid 5094] <... ioctl resumed>) = 0 [pid 5093] futex(0x7fe27a4474cc, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5094] futex(0x7fe27a4474cc, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5093] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5094] futex(0x7fe27a4474c8, FUTEX_WAIT_PRIVATE, 0, NULL) = -1 EAGAIN (Resource temporarily unavailable) [pid 5093] futex(0x7fe27a4474c8, FUTEX_WAKE_PRIVATE, 1000000 [pid 5094] openat(AT_FDCWD, "/proc/thread-self/fail-nth", O_RDWR) = 7 [pid 5093] <... futex resumed>) = 0 [pid 5094] write(7, "18", 2 [pid 5093] futex(0x7fe27a4474cc, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5094] <... write resumed>) = 2 [pid 5094] ioctl(3, NBD_DO_IT [pid 5093] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 5093] futex(0x7fe27a4474cc, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=0}) = -1 ETIMEDOUT (Connection timed out) [ 58.055571][ T5094] FAULT_INJECTION: forcing a failure. [ 58.055571][ T5094] name failslab, interval 1, probability 0, space 0, times 0 [ 58.068301][ T5094] CPU: 1 PID: 5094 Comm: syz-executor104 Not tainted 6.1.0-next-20221216-syzkaller #0 [ 58.077858][ T5094] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 [ 58.087908][ T5094] Call Trace: [ 58.091192][ T5094] [ 58.094142][ T5094] dump_stack_lvl+0xd1/0x138 [ 58.098759][ T5094] should_fail_ex.cold+0x5/0xa [ 58.103525][ T5094] ? security_inode_alloc+0x38/0x160 [ 58.108811][ T5094] should_failslab+0x9/0x20 [ 58.113314][ T5094] kmem_cache_alloc+0x5a/0x430 [ 58.118100][ T5094] security_inode_alloc+0x38/0x160 [ 58.123241][ T5094] inode_init_always+0xbfa/0xef0 [ 58.128219][ T5094] alloc_inode+0x82/0x230 [ 58.132574][ T5094] new_inode+0x2b/0x280 [ 58.136730][ T5094] debugfs_get_inode+0x1a/0x130 [ 58.141582][ T5094] __debugfs_create_file+0x11a/0x540 [ 58.146871][ T5094] debugfs_create_u32+0x70/0xa0 [ 58.151731][ T5094] nbd_start_device+0x492/0xc30 [ 58.156593][ T5094] ? bpf_lsm_capable+0x9/0x10 [ 58.161302][ T5094] ? security_capable+0x93/0xc0 [ 58.166168][ T5094] nbd_ioctl+0x220/0xc60 [ 58.170426][ T5094] ? blkdev_bszset+0x270/0x270 [ 58.175217][ T5094] ? nbd_start_device+0xc30/0xc30 [ 58.180246][ T5094] ? trace_lock_acquire+0x1d1/0x290 [ 58.185441][ T5094] ? nbd_start_device+0xc30/0xc30 [ 58.190465][ T5094] blkdev_ioctl+0x369/0xa20 [ 58.194993][ T5094] ? blkdev_common_ioctl+0x1ba0/0x1ba0 [ 58.200477][ T5094] ? bpf_lsm_file_ioctl+0x9/0x10 [pid 5093] exit_group(0) = ? [ 58.205423][ T5094] ? blkdev_common_ioctl+0x1ba0/0x1ba0 [ 58.210907][ T5094] __x64_sys_ioctl+0x197/0x210 [ 58.215688][ T5094] do_syscall_64+0x39/0xb0 [ 58.220102][ T5094] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 58.225988][ T5094] RIP: 0033:0x7fe27a3c3309 [ 58.230393][ T5094] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 11 15 00 00 90 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 b8 ff ff ff f7 d8 64 89 01 48 [ 58.250013][ T5094] RSP: 002b:00007fe27a3702e8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 58.258457][ T5094] RAX: ffffffffffffffda RBX: 00007fe27a4474c0 RCX: 00007fe27a3c3309 [ 58.266439][ T5094] RDX: 0000000000000000 RSI: 000000000000ab03 RDI: 0000000000000003 [ 58.274406][ T5094] RBP: 00007fe27a414194 R08: 0000000000000002 R09: 0000000000003831 [ 58.282381][ T5094] R10: 0000000000000000 R11: 0000000000000246 R12: 00007fe27a4474cc [ 58.290360][ T5094] R13: 00007fe27a3702f0 R14: 00007fe27a4474c8 R15: 0000000000000002 [ 58.298338][ T5094] [pid 5094] <... ioctl resumed>) = ? [pid 5094] +++ exited with 0 +++ [pid 5093] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5093, si_uid=0, si_status=0, si_utime=0, si_stime=4 /* 0.04 s */} --- restart_syscall(<... resuming interrupted clone ...>) = 0 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5095 attached , child_tidptr=0x555555fa85d0) = 5095 [pid 5095] set_robust_list(0x555555fa85e0, 24) = 0 [pid 5095] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5095] setpgid(0, 0) = 0 [pid 5095] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5095] write(3, "1000", 4) = 4 [pid 5095] close(3) = 0 [pid 5095] futex(0x7fe27a4474cc, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5095] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7fe27a350000 [pid 5095] mprotect(0x7fe27a351000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 5095] clone(child_stack=0x7fe27a3703f0, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID./strace-static-x86_64: Process 5096 attached , parent_tid=[5096], tls=0x7fe27a370700, child_tidptr=0x7fe27a3709d0) = 5096 [pid 5096] set_robust_list(0x7fe27a3709e0, 24 [pid 5095] futex(0x7fe27a4474c8, FUTEX_WAKE_PRIVATE, 1000000 [pid 5096] <... set_robust_list resumed>) = 0 [pid 5095] <... futex resumed>) = 0 [pid 5096] openat(AT_FDCWD, "/dev/nbd0", O_RDONLY [pid 5095] futex(0x7fe27a4474cc, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5096] <... openat resumed>) = 3 [pid 5096] futex(0x7fe27a4474cc, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5095] <... futex resumed>) = 0 [pid 5095] futex(0x7fe27a4474c8, FUTEX_WAKE_PRIVATE, 1000000 [pid 5096] socketpair(AF_UNIX, SOCK_STREAM, 0, [pid 5095] <... futex resumed>) = 0 [pid 5095] futex(0x7fe27a4474cc, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5096] <... socketpair resumed>[4, 5]) = 0 [ 58.302074][ T5094] debugfs: out of free dentries, can not create file 'blocksize_bits' [ 58.315654][ T5094] block nbd0: shutting down sockets [pid 5096] futex(0x7fe27a4474cc, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5095] <... futex resumed>) = 0 [pid 5095] futex(0x7fe27a4474c8, FUTEX_WAKE_PRIVATE, 1000000 [pid 5096] openat(AT_FDCWD, "/dev/nbd0", O_RDONLY [pid 5095] <... futex resumed>) = 0 [pid 5096] <... openat resumed>) = 6 [pid 5096] futex(0x7fe27a4474cc, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5096] futex(0x7fe27a4474c8, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5095] futex(0x7fe27a4474cc, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000}) = -1 EAGAIN (Resource temporarily unavailable) [pid 5095] futex(0x7fe27a4474c8, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5095] futex(0x7fe27a4474cc, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5096] <... futex resumed>) = 0 [pid 5096] ioctl(6, NBD_SET_SOCK, 4) = 0 [pid 5096] futex(0x7fe27a4474cc, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5095] <... futex resumed>) = 0 [pid 5096] futex(0x7fe27a4474c8, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5095] futex(0x7fe27a4474c8, FUTEX_WAKE_PRIVATE, 1000000 [pid 5096] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5095] <... futex resumed>) = 0 [pid 5096] ioctl(3, NBD_SET_SOCK, 4 [pid 5095] futex(0x7fe27a4474cc, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000}) = -1 ETIMEDOUT (Connection timed out) [pid 5095] futex(0x7fe27a4474dc, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5095] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7fe27a32f000 [pid 5095] mprotect(0x7fe27a330000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 5095] clone(child_stack=0x7fe27a34f3f0, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, parent_tid=[5097], tls=0x7fe27a34f700, child_tidptr=0x7fe27a34f9d0) = 5097 [pid 5095] futex(0x7fe27a4474d8, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5095] futex(0x7fe27a4474dc, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000}./strace-static-x86_64: Process 5097 attached [pid 5097] set_robust_list(0x7fe27a34f9e0, 24) = 0 [pid 5097] ioctl(3, NBD_SET_FLAGS, NBD_FLAG_SEND_FLUSH|NBD_FLAG_SEND_FUA|NBD_FLAG_ROTATIONAL|NBD_FLAG_SEND_TRIM|NBD_FLAG_SEND_WRITE_ZEROES|NBD_FLAG_SEND_DF|NBD_FLAG_CAN_MULTI_CONN|NBD_FLAG_SEND_RESIZE|NBD_FLAG_SEND_CACHE|0x7800) = 0 [pid 5096] <... ioctl resumed>) = 0 [pid 5097] futex(0x7fe27a4474dc, FUTEX_WAKE_PRIVATE, 1000000 [pid 5096] futex(0x7fe27a4474cc, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5095] <... futex resumed>) = 0 [pid 5096] futex(0x7fe27a4474c8, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5095] futex(0x7fe27a4474c8, FUTEX_WAKE_PRIVATE, 1000000 [pid 5096] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5095] <... futex resumed>) = 0 [pid 5096] openat(AT_FDCWD, "/proc/thread-self/fail-nth", O_RDWR [pid 5095] futex(0x7fe27a4474cc, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5097] <... futex resumed>) = 1 [pid 5097] futex(0x7fe27a4474d8, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5096] <... openat resumed>) = 7 [pid 5096] write(7, "18", 2) = 2 [pid 5096] ioctl(3, NBD_DO_IT [pid 5095] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [ 58.483729][ T5096] FAULT_INJECTION: forcing a failure. [ 58.483729][ T5096] name failslab, interval 1, probability 0, space 0, times 0 [ 58.496737][ T5096] CPU: 1 PID: 5096 Comm: syz-executor104 Not tainted 6.1.0-next-20221216-syzkaller #0 [ 58.506300][ T5096] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 [ 58.516357][ T5096] Call Trace: [ 58.519647][ T5096] [ 58.522596][ T5096] dump_stack_lvl+0xd1/0x138 [ 58.527212][ T5096] should_fail_ex.cold+0x5/0xa [ 58.532069][ T5096] should_failslab+0x9/0x20 [ 58.536579][ T5096] kmem_cache_alloc_lru+0x65/0x760 [ 58.541689][ T5096] ? alloc_inode+0x168/0x230 [ 58.546280][ T5096] ? lookup_one_len+0x10d/0x1a0 [ 58.551143][ T5096] alloc_inode+0x168/0x230 [ 58.555587][ T5096] new_inode+0x2b/0x280 [ 58.559781][ T5096] debugfs_get_inode+0x1a/0x130 [ 58.564673][ T5096] __debugfs_create_file+0x11a/0x540 [ 58.569995][ T5096] debugfs_create_u32+0x70/0xa0 [ 58.574859][ T5096] nbd_start_device+0x492/0xc30 [ 58.579725][ T5096] ? bpf_lsm_capable+0x9/0x10 [ 58.584409][ T5096] ? security_capable+0x93/0xc0 [ 58.589271][ T5096] nbd_ioctl+0x220/0xc60 [ 58.593529][ T5096] ? blkdev_bszset+0x270/0x270 [ 58.598306][ T5096] ? nbd_start_device+0xc30/0xc30 [ 58.603432][ T5096] ? trace_lock_acquire+0x1d1/0x290 [ 58.608638][ T5096] ? nbd_start_device+0xc30/0xc30 [ 58.613678][ T5096] blkdev_ioctl+0x369/0xa20 [ 58.618195][ T5096] ? blkdev_common_ioctl+0x1ba0/0x1ba0 [ 58.623676][ T5096] ? bpf_lsm_file_ioctl+0x9/0x10 [ 58.628623][ T5096] ? blkdev_common_ioctl+0x1ba0/0x1ba0 [ 58.634096][ T5096] __x64_sys_ioctl+0x197/0x210 [ 58.638868][ T5096] do_syscall_64+0x39/0xb0 [ 58.643314][ T5096] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 58.649216][ T5096] RIP: 0033:0x7fe27a3c3309 [ 58.653634][ T5096] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 11 15 00 00 90 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 b8 ff ff ff f7 d8 64 89 01 48 [ 58.673241][ T5096] RSP: 002b:00007fe27a3702e8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 58.681663][ T5096] RAX: ffffffffffffffda RBX: 00007fe27a4474c0 RCX: 00007fe27a3c3309 [ 58.689635][ T5096] RDX: 0000000000000000 RSI: 000000000000ab03 RDI: 0000000000000003 [ 58.697604][ T5096] RBP: 00007fe27a414194 R08: 0000000000000002 R09: 0000000000003831 [ 58.705573][ T5096] R10: 0000000000000000 R11: 0000000000000246 R12: 00007fe27a4474cc [ 58.713543][ T5096] R13: 00007fe27a3702f0 R14: 00007fe27a4474c8 R15: 0000000000000002 [ 58.721531][ T5096] [ 58.724862][ T5096] debugfs: out of free dentries, can not create file 'blocksize_bits' [pid 5095] exit_group(0 [pid 5097] <... futex resumed>) = ? [pid 5095] <... exit_group resumed>) = ? [pid 5097] +++ exited with 0 +++ [pid 5096] <... ioctl resumed>) = ? [pid 5096] +++ exited with 0 +++ [pid 5095] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5095, si_uid=0, si_status=0, si_utime=0, si_stime=5 /* 0.05 s */} --- restart_syscall(<... resuming interrupted clone ...>) = 0 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555fa85d0) = 5098 ./strace-static-x86_64: Process 5098 attached [pid 5098] set_robust_list(0x555555fa85e0, 24) = 0 [pid 5098] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5098] setpgid(0, 0) = 0 [pid 5098] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5098] write(3, "1000", 4) = 4 [pid 5098] close(3) = 0 [pid 5098] futex(0x7fe27a4474cc, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5098] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7fe27a350000 [pid 5098] mprotect(0x7fe27a351000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 5098] clone(child_stack=0x7fe27a3703f0, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, parent_tid=[5099], tls=0x7fe27a370700, child_tidptr=0x7fe27a3709d0) = 5099 [pid 5098] futex(0x7fe27a4474c8, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5098] futex(0x7fe27a4474cc, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000}./strace-static-x86_64: Process 5099 attached [pid 5099] set_robust_list(0x7fe27a3709e0, 24) = 0 [pid 5099] openat(AT_FDCWD, "/dev/nbd0", O_RDONLY) = 3 [pid 5099] futex(0x7fe27a4474cc, FUTEX_WAKE_PRIVATE, 1000000 [pid 5098] <... futex resumed>) = 0 [pid 5098] futex(0x7fe27a4474c8, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5098] futex(0x7fe27a4474cc, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5099] <... futex resumed>) = 1 [pid 5099] socketpair(AF_UNIX, SOCK_STREAM, 0, [4, 5]) = 0 [pid 5099] futex(0x7fe27a4474cc, FUTEX_WAKE_PRIVATE, 1000000 [pid 5098] <... futex resumed>) = 0 [pid 5098] futex(0x7fe27a4474c8, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5098] futex(0x7fe27a4474cc, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5099] <... futex resumed>) = 1 [pid 5099] openat(AT_FDCWD, "/dev/nbd0", O_RDONLY) = 6 [pid 5099] futex(0x7fe27a4474cc, FUTEX_WAKE_PRIVATE, 1000000 [pid 5098] <... futex resumed>) = 0 [pid 5098] futex(0x7fe27a4474c8, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5098] futex(0x7fe27a4474cc, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5099] <... futex resumed>) = 1 [ 58.868517][ T5096] block nbd0: shutting down sockets [pid 5099] ioctl(6, NBD_SET_SOCK, 4) = 0 [pid 5099] futex(0x7fe27a4474cc, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5098] <... futex resumed>) = 0 [pid 5099] futex(0x7fe27a4474c8, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5098] futex(0x7fe27a4474c8, FUTEX_WAKE_PRIVATE, 1000000 [pid 5099] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5098] <... futex resumed>) = 0 [pid 5099] ioctl(3, NBD_SET_SOCK, 4 [pid 5098] futex(0x7fe27a4474cc, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5099] <... ioctl resumed>) = 0 [pid 5099] futex(0x7fe27a4474cc, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5098] <... futex resumed>) = 0 [pid 5098] futex(0x7fe27a4474c8, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5098] futex(0x7fe27a4474cc, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5099] ioctl(3, NBD_SET_FLAGS, NBD_FLAG_SEND_FLUSH|NBD_FLAG_SEND_FUA|NBD_FLAG_ROTATIONAL|NBD_FLAG_SEND_TRIM|NBD_FLAG_SEND_WRITE_ZEROES|NBD_FLAG_SEND_DF|NBD_FLAG_CAN_MULTI_CONN|NBD_FLAG_SEND_RESIZE|NBD_FLAG_SEND_CACHE|0x7800) = 0 [pid 5099] futex(0x7fe27a4474cc, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5098] <... futex resumed>) = 0 [pid 5099] futex(0x7fe27a4474c8, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5098] futex(0x7fe27a4474c8, FUTEX_WAKE_PRIVATE, 1000000 [pid 5099] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5098] <... futex resumed>) = 0 [pid 5099] openat(AT_FDCWD, "/proc/thread-self/fail-nth", O_RDWR [pid 5098] futex(0x7fe27a4474cc, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5099] <... openat resumed>) = 7 [pid 5099] write(7, "18", 2) = 2 [pid 5099] ioctl(3, NBD_DO_IT [pid 5098] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 5098] futex(0x7fe27a4474cc, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=0}) = -1 ETIMEDOUT (Connection timed out) [ 58.995291][ T5099] FAULT_INJECTION: forcing a failure. [ 58.995291][ T5099] name failslab, interval 1, probability 0, space 0, times 0 [ 59.008544][ T5099] CPU: 1 PID: 5099 Comm: syz-executor104 Not tainted 6.1.0-next-20221216-syzkaller #0 [ 59.018116][ T5099] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 [ 59.028175][ T5099] Call Trace: [ 59.031461][ T5099] [ 59.034386][ T5099] dump_stack_lvl+0xd1/0x138 [ 59.038979][ T5099] should_fail_ex.cold+0x5/0xa [ 59.043779][ T5099] ? security_inode_alloc+0x38/0x160 [ 59.049102][ T5099] should_failslab+0x9/0x20 [ 59.053641][ T5099] kmem_cache_alloc+0x5a/0x430 [ 59.058423][ T5099] security_inode_alloc+0x38/0x160 [ 59.063532][ T5099] inode_init_always+0xbfa/0xef0 [ 59.068476][ T5099] alloc_inode+0x82/0x230 [ 59.072808][ T5099] new_inode+0x2b/0x280 [ 59.076968][ T5099] debugfs_get_inode+0x1a/0x130 [ 59.081819][ T5099] __debugfs_create_file+0x11a/0x540 [ 59.087108][ T5099] debugfs_create_u32+0x70/0xa0 [ 59.091957][ T5099] nbd_start_device+0x492/0xc30 [ 59.096820][ T5099] ? bpf_lsm_capable+0x9/0x10 [ 59.101511][ T5099] ? security_capable+0x93/0xc0 [ 59.106367][ T5099] nbd_ioctl+0x220/0xc60 [ 59.110643][ T5099] ? blkdev_bszset+0x270/0x270 [ 59.115437][ T5099] ? nbd_start_device+0xc30/0xc30 [ 59.120491][ T5099] ? trace_lock_acquire+0x1d1/0x290 [ 59.125709][ T5099] ? nbd_start_device+0xc30/0xc30 [ 59.130767][ T5099] blkdev_ioctl+0x369/0xa20 [ 59.135295][ T5099] ? blkdev_common_ioctl+0x1ba0/0x1ba0 [ 59.140776][ T5099] ? bpf_lsm_file_ioctl+0x9/0x10 [ 59.145730][ T5099] ? blkdev_common_ioctl+0x1ba0/0x1ba0 [ 59.151214][ T5099] __x64_sys_ioctl+0x197/0x210 [ 59.156255][ T5099] do_syscall_64+0x39/0xb0 [ 59.160690][ T5099] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 59.166596][ T5099] RIP: 0033:0x7fe27a3c3309 [ 59.171022][ T5099] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 11 15 00 00 90 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 b8 ff ff ff f7 d8 64 89 01 48 [ 59.190718][ T5099] RSP: 002b:00007fe27a3702e8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 59.199140][ T5099] RAX: ffffffffffffffda RBX: 00007fe27a4474c0 RCX: 00007fe27a3c3309 [ 59.207111][ T5099] RDX: 0000000000000000 RSI: 000000000000ab03 RDI: 0000000000000003 [ 59.215102][ T5099] RBP: 00007fe27a414194 R08: 0000000000000002 R09: 0000000000003831 [ 59.223090][ T5099] R10: 0000000000000000 R11: 0000000000000246 R12: 00007fe27a4474cc [ 59.231072][ T5099] R13: 00007fe27a3702f0 R14: 00007fe27a4474c8 R15: 0000000000000002 [ 59.239072][ T5099] [ 59.243017][ T5099] debugfs: out of free dentries, can not create file 'blocksize_bits' [pid 5098] exit_group(0) = ? [pid 5099] <... ioctl resumed>) = ? [pid 5099] +++ exited with 0 +++ [pid 5098] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5098, si_uid=0, si_status=0, si_utime=0, si_stime=4 /* 0.04 s */} --- clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555fa85d0) = 5100 ./strace-static-x86_64: Process 5100 attached [pid 5100] set_robust_list(0x555555fa85e0, 24) = 0 [pid 5100] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5100] setpgid(0, 0) = 0 [pid 5100] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5100] write(3, "1000", 4) = 4 [pid 5100] close(3) = 0 [ 59.327578][ T5099] block nbd0: shutting down sockets [pid 5100] futex(0x7fe27a4474cc, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5100] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7fe27a350000 [pid 5100] mprotect(0x7fe27a351000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 5100] clone(child_stack=0x7fe27a3703f0, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, parent_tid=[5101], tls=0x7fe27a370700, child_tidptr=0x7fe27a3709d0) = 5101 [pid 5100] futex(0x7fe27a4474c8, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5100] futex(0x7fe27a4474cc, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000}./strace-static-x86_64: Process 5101 attached [pid 5101] set_robust_list(0x7fe27a3709e0, 24) = 0 [pid 5101] openat(AT_FDCWD, "/dev/nbd0", O_RDONLY) = 3 [pid 5101] futex(0x7fe27a4474cc, FUTEX_WAKE_PRIVATE, 1000000 [pid 5100] <... futex resumed>) = 0 [pid 5100] futex(0x7fe27a4474c8, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5100] futex(0x7fe27a4474cc, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5101] <... futex resumed>) = 1 [pid 5101] socketpair(AF_UNIX, SOCK_STREAM, 0, [4, 5]) = 0 [pid 5101] futex(0x7fe27a4474cc, FUTEX_WAKE_PRIVATE, 1000000 [pid 5100] <... futex resumed>) = 0 [pid 5100] futex(0x7fe27a4474c8, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5100] futex(0x7fe27a4474cc, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5101] <... futex resumed>) = 1 [pid 5101] openat(AT_FDCWD, "/dev/nbd0", O_RDONLY) = 6 [pid 5101] futex(0x7fe27a4474cc, FUTEX_WAKE_PRIVATE, 1000000 [pid 5100] <... futex resumed>) = 0 [pid 5100] futex(0x7fe27a4474c8, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5100] futex(0x7fe27a4474cc, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5101] <... futex resumed>) = 1 [pid 5101] ioctl(6, NBD_SET_SOCK, 4) = 0 [pid 5101] futex(0x7fe27a4474cc, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5100] <... futex resumed>) = 0 [pid 5100] futex(0x7fe27a4474c8, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5100] futex(0x7fe27a4474cc, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5101] ioctl(3, NBD_SET_SOCK, 4) = 0 [pid 5101] futex(0x7fe27a4474cc, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5100] <... futex resumed>) = 0 [pid 5101] ioctl(3, NBD_SET_FLAGS, NBD_FLAG_SEND_FLUSH|NBD_FLAG_SEND_FUA|NBD_FLAG_ROTATIONAL|NBD_FLAG_SEND_TRIM|NBD_FLAG_SEND_WRITE_ZEROES|NBD_FLAG_SEND_DF|NBD_FLAG_CAN_MULTI_CONN|NBD_FLAG_SEND_RESIZE|NBD_FLAG_SEND_CACHE|0x7800 [pid 5100] futex(0x7fe27a4474c8, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5101] <... ioctl resumed>) = 0 [pid 5100] futex(0x7fe27a4474cc, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5101] futex(0x7fe27a4474cc, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5100] <... futex resumed>) = 0 [pid 5101] futex(0x7fe27a4474c8, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5100] futex(0x7fe27a4474c8, FUTEX_WAKE_PRIVATE, 1000000 [pid 5101] <... futex resumed>) = 0 [pid 5100] <... futex resumed>) = 1 [pid 5101] openat(AT_FDCWD, "/proc/thread-self/fail-nth", O_RDWR [pid 5100] futex(0x7fe27a4474cc, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5101] <... openat resumed>) = 7 [pid 5101] write(7, "18", 2) = 2 [ 59.477173][ T5101] FAULT_INJECTION: forcing a failure. [ 59.477173][ T5101] name failslab, interval 1, probability 0, space 0, times 0 [ 59.489835][ T5101] CPU: 0 PID: 5101 Comm: syz-executor104 Not tainted 6.1.0-next-20221216-syzkaller #0 [ 59.499377][ T5101] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 [ 59.509437][ T5101] Call Trace: [ 59.512732][ T5101] [ 59.515663][ T5101] dump_stack_lvl+0xd1/0x138 [ 59.520258][ T5101] should_fail_ex.cold+0x5/0xa [ 59.525046][ T5101] should_failslab+0x9/0x20 [ 59.529559][ T5101] kmem_cache_alloc_lru+0x65/0x760 [ 59.534671][ T5101] ? alloc_inode+0x168/0x230 [ 59.539273][ T5101] ? lookup_one_len+0x10d/0x1a0 [ 59.544151][ T5101] alloc_inode+0x168/0x230 [ 59.548609][ T5101] new_inode+0x2b/0x280 [ 59.552807][ T5101] debugfs_get_inode+0x1a/0x130 [ 59.557684][ T5101] __debugfs_create_file+0x11a/0x540 [ 59.562983][ T5101] debugfs_create_u32+0x70/0xa0 [ 59.567834][ T5101] nbd_start_device+0x492/0xc30 [ 59.572689][ T5101] ? bpf_lsm_capable+0x9/0x10 [ 59.577360][ T5101] ? security_capable+0x93/0xc0 [ 59.582225][ T5101] nbd_ioctl+0x220/0xc60 [ 59.586501][ T5101] ? blkdev_bszset+0x270/0x270 [ 59.591292][ T5101] ? nbd_start_device+0xc30/0xc30 [ 59.596332][ T5101] ? trace_lock_acquire+0x1d1/0x290 [ 59.601548][ T5101] ? nbd_start_device+0xc30/0xc30 [ 59.606573][ T5101] blkdev_ioctl+0x369/0xa20 [ 59.611079][ T5101] ? blkdev_common_ioctl+0x1ba0/0x1ba0 [ 59.616542][ T5101] ? bpf_lsm_file_ioctl+0x9/0x10 [ 59.621506][ T5101] ? blkdev_common_ioctl+0x1ba0/0x1ba0 [ 59.627005][ T5101] __x64_sys_ioctl+0x197/0x210 [ 59.631786][ T5101] do_syscall_64+0x39/0xb0 [ 59.636203][ T5101] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 59.642089][ T5101] RIP: 0033:0x7fe27a3c3309 [ 59.646504][ T5101] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 11 15 00 00 90 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 b8 ff ff ff f7 d8 64 89 01 48 [ 59.666137][ T5101] RSP: 002b:00007fe27a3702e8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [pid 5101] ioctl(3, NBD_DO_IT [pid 5100] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [ 59.674583][ T5101] RAX: ffffffffffffffda RBX: 00007fe27a4474c0 RCX: 00007fe27a3c3309 [ 59.682566][ T5101] RDX: 0000000000000000 RSI: 000000000000ab03 RDI: 0000000000000003 [ 59.690533][ T5101] RBP: 00007fe27a414194 R08: 0000000000000002 R09: 0000000000003831 [ 59.698498][ T5101] R10: 0000000000000000 R11: 0000000000000246 R12: 00007fe27a4474cc [ 59.706566][ T5101] R13: 00007fe27a3702f0 R14: 00007fe27a4474c8 R15: 0000000000000002 [ 59.714558][ T5101] [ 59.718194][ T5101] debugfs: out of free dentries, can not create file 'blocksize_bits' [pid 5100] exit_group(0) = ? [pid 5101] <... ioctl resumed>) = ? [ 59.861952][ T5101] block nbd0: shutting down sockets [pid 5101] +++ exited with 0 +++ [pid 5100] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5100, si_uid=0, si_status=0, si_utime=0, si_stime=3 /* 0.03 s */} --- restart_syscall(<... resuming interrupted clone ...>) = 0 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5102 attached , child_tidptr=0x555555fa85d0) = 5102 [pid 5102] set_robust_list(0x555555fa85e0, 24) = 0 [pid 5102] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5102] setpgid(0, 0) = 0 [pid 5102] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5102] write(3, "1000", 4) = 4 [pid 5102] close(3) = 0 [pid 5102] futex(0x7fe27a4474cc, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5102] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7fe27a350000 [pid 5102] mprotect(0x7fe27a351000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 5102] clone(child_stack=0x7fe27a3703f0, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, parent_tid=[5103], tls=0x7fe27a370700, child_tidptr=0x7fe27a3709d0) = 5103 [pid 5102] futex(0x7fe27a4474c8, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5102] futex(0x7fe27a4474cc, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000}./strace-static-x86_64: Process 5103 attached [pid 5103] set_robust_list(0x7fe27a3709e0, 24) = 0 [pid 5103] openat(AT_FDCWD, "/dev/nbd0", O_RDONLY) = 3 [pid 5103] futex(0x7fe27a4474cc, FUTEX_WAKE_PRIVATE, 1000000 [pid 5102] <... futex resumed>) = 0 [pid 5102] futex(0x7fe27a4474c8, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5102] futex(0x7fe27a4474cc, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5103] <... futex resumed>) = 1 [pid 5103] socketpair(AF_UNIX, SOCK_STREAM, 0, [4, 5]) = 0 [pid 5103] futex(0x7fe27a4474cc, FUTEX_WAKE_PRIVATE, 1000000 [pid 5102] <... futex resumed>) = 0 [pid 5102] futex(0x7fe27a4474c8, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5102] futex(0x7fe27a4474cc, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5103] <... futex resumed>) = 1 [pid 5103] openat(AT_FDCWD, "/dev/nbd0", O_RDONLY) = 6 [pid 5103] futex(0x7fe27a4474cc, FUTEX_WAKE_PRIVATE, 1000000 [pid 5102] <... futex resumed>) = 0 [pid 5102] futex(0x7fe27a4474c8, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5102] futex(0x7fe27a4474cc, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5103] <... futex resumed>) = 1 [pid 5103] ioctl(6, NBD_SET_SOCK, 4 [pid 5102] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 5102] futex(0x7fe27a4474dc, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5102] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7fe27a32f000 [pid 5102] mprotect(0x7fe27a330000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 5102] clone(child_stack=0x7fe27a34f3f0, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, parent_tid=[5104], tls=0x7fe27a34f700, child_tidptr=0x7fe27a34f9d0) = 5104 [pid 5102] futex(0x7fe27a4474d8, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5102] futex(0x7fe27a4474dc, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000}./strace-static-x86_64: Process 5104 attached [pid 5104] set_robust_list(0x7fe27a34f9e0, 24) = 0 [pid 5104] ioctl(3, NBD_SET_SOCK, 4 [pid 5103] <... ioctl resumed>) = 0 [pid 5103] futex(0x7fe27a4474cc, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5103] futex(0x7fe27a4474c8, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5102] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 5102] futex(0x7fe27a4474dc, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=0}) = -1 ETIMEDOUT (Connection timed out) [pid 5102] futex(0x7fe27a4474c8, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5102] futex(0x7fe27a4474cc, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5103] <... futex resumed>) = 0 [pid 5103] ioctl(3, NBD_SET_FLAGS, NBD_FLAG_SEND_FLUSH|NBD_FLAG_SEND_FUA|NBD_FLAG_ROTATIONAL|NBD_FLAG_SEND_TRIM|NBD_FLAG_SEND_WRITE_ZEROES|NBD_FLAG_SEND_DF|NBD_FLAG_CAN_MULTI_CONN|NBD_FLAG_SEND_RESIZE|NBD_FLAG_SEND_CACHE|0x7800 [pid 5104] <... ioctl resumed>) = -1 EBUSY (Device or resource busy) [pid 5104] futex(0x7fe27a4474dc, FUTEX_WAKE_PRIVATE, 1000000 [pid 5103] <... ioctl resumed>) = 0 [pid 5104] <... futex resumed>) = 0 [pid 5103] futex(0x7fe27a4474cc, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5102] <... futex resumed>) = 0 [pid 5103] futex(0x7fe27a4474c8, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5102] futex(0x7fe27a4474c8, FUTEX_WAKE_PRIVATE, 1000000 [pid 5103] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5102] <... futex resumed>) = 0 [pid 5103] openat(AT_FDCWD, "/proc/thread-self/fail-nth", O_RDWR [pid 5102] futex(0x7fe27a4474cc, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5104] futex(0x7fe27a4474d8, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5103] <... openat resumed>) = 7 [pid 5103] write(7, "18", 2) = 2 [ 60.020742][ T5104] block nbd0: Device being setup by another task [pid 5103] ioctl(3, NBD_DO_IT [pid 5102] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [ 60.074238][ T5103] FAULT_INJECTION: forcing a failure. [ 60.074238][ T5103] name failslab, interval 1, probability 0, space 0, times 0 [ 60.087713][ T5103] CPU: 0 PID: 5103 Comm: syz-executor104 Not tainted 6.1.0-next-20221216-syzkaller #0 [ 60.097295][ T5103] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 [ 60.107360][ T5103] Call Trace: [ 60.110649][ T5103] [ 60.113598][ T5103] dump_stack_lvl+0xd1/0x138 [ 60.118295][ T5103] should_fail_ex.cold+0x5/0xa [ 60.123078][ T5103] should_failslab+0x9/0x20 [ 60.127591][ T5103] kmem_cache_alloc_lru+0x65/0x760 [ 60.132710][ T5103] ? alloc_inode+0x168/0x230 [ 60.137311][ T5103] ? lookup_one_len+0x10d/0x1a0 [ 60.142180][ T5103] alloc_inode+0x168/0x230 [ 60.146610][ T5103] new_inode+0x2b/0x280 [ 60.150781][ T5103] debugfs_get_inode+0x1a/0x130 [ 60.155646][ T5103] debugfs_create_dir+0xe0/0x4d0 [ 60.160598][ T5103] blk_mq_debugfs_register_hctx.part.0+0xff/0x4a0 [ 60.167023][ T5103] ? xa_find+0x92/0x330 [ 60.171197][ T5103] ? queue_poll_stat_show+0x3a0/0x3a0 [ 60.176572][ T5103] ? xa_find+0x1d3/0x330 [ 60.180825][ T5103] ? xas_find+0x7d0/0x7d0 [ 60.185164][ T5103] ? wait_for_completion_io_timeout+0x20/0x20 [ 60.191263][ T5103] blk_mq_debugfs_register_hctxs+0xcb/0x140 [ 60.197163][ T5103] ? blk_mq_debugfs_unregister_hctx+0x120/0x120 [ 60.203409][ T5103] ? blk_mq_sysfs_unregister_hctxs+0x2d0/0x2d0 [ 60.209575][ T5103] ? blk_mq_update_queue_map+0x11e/0x500 [ 60.215219][ T5103] blk_mq_update_nr_hw_queues+0x753/0xf60 [ 60.220956][ T5103] ? blk_mq_map_swqueue+0x11f0/0x11f0 [ 60.226436][ T5103] nbd_start_device+0x153/0xc30 [ 60.231305][ T5103] ? bpf_lsm_capable+0x9/0x10 [ 60.235987][ T5103] ? security_capable+0x93/0xc0 [ 60.240847][ T5103] nbd_ioctl+0x220/0xc60 [ 60.245107][ T5103] ? blkdev_bszset+0x270/0x270 [ 60.249884][ T5103] ? nbd_start_device+0xc30/0xc30 [ 60.254928][ T5103] ? trace_lock_acquire+0x1d1/0x290 [ 60.260141][ T5103] ? nbd_start_device+0xc30/0xc30 [ 60.265200][ T5103] blkdev_ioctl+0x369/0xa20 [ 60.269730][ T5103] ? blkdev_common_ioctl+0x1ba0/0x1ba0 [ 60.275210][ T5103] ? bpf_lsm_file_ioctl+0x9/0x10 [ 60.280163][ T5103] ? blkdev_common_ioctl+0x1ba0/0x1ba0 [ 60.285641][ T5103] __x64_sys_ioctl+0x197/0x210 [ 60.290415][ T5103] do_syscall_64+0x39/0xb0 [ 60.294845][ T5103] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 60.300748][ T5103] RIP: 0033:0x7fe27a3c3309 [ 60.305166][ T5103] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 11 15 00 00 90 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 b8 ff ff ff f7 d8 64 89 01 48 [ 60.324778][ T5103] RSP: 002b:00007fe27a3702e8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 60.333197][ T5103] RAX: ffffffffffffffda RBX: 00007fe27a4474c0 RCX: 00007fe27a3c3309 [ 60.341168][ T5103] RDX: 0000000000000000 RSI: 000000000000ab03 RDI: 0000000000000003 [ 60.349136][ T5103] RBP: 00007fe27a414194 R08: 0000000000000002 R09: 0000000000003831 [ 60.357110][ T5103] R10: 0000000000000000 R11: 0000000000000246 R12: 00007fe27a4474cc [ 60.365079][ T5103] R13: 00007fe27a3702f0 R14: 00007fe27a4474c8 R15: 0000000000000002 [ 60.373154][ T5103] [ 60.377101][ T5103] debugfs: out of free dentries, can not create directory 'hctx0' [pid 5102] exit_group(0 [pid 5104] <... futex resumed>) = ? [pid 5102] <... exit_group resumed>) = ? [pid 5104] +++ exited with 0 +++ [pid 5103] <... ioctl resumed>) = ? [pid 5103] +++ exited with 0 +++ [pid 5102] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5102, si_uid=0, si_status=0, si_utime=0, si_stime=3 /* 0.03 s */} --- restart_syscall(<... resuming interrupted clone ...>) = 0 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555fa85d0) = 5105 ./strace-static-x86_64: Process 5105 attached [pid 5105] set_robust_list(0x555555fa85e0, 24) = 0 [pid 5105] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5105] setpgid(0, 0) = 0 [pid 5105] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5105] write(3, "1000", 4) = 4 [pid 5105] close(3) = 0 [pid 5105] futex(0x7fe27a4474cc, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5105] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7fe27a350000 [pid 5105] mprotect(0x7fe27a351000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 5105] clone(child_stack=0x7fe27a3703f0, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, parent_tid=[5106], tls=0x7fe27a370700, child_tidptr=0x7fe27a3709d0) = 5106 [pid 5105] futex(0x7fe27a4474c8, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5105] futex(0x7fe27a4474cc, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000}./strace-static-x86_64: Process 5106 attached [pid 5106] set_robust_list(0x7fe27a3709e0, 24) = 0 [pid 5106] openat(AT_FDCWD, "/dev/nbd0", O_RDONLY) = 3 [pid 5106] futex(0x7fe27a4474cc, FUTEX_WAKE_PRIVATE, 1000000 [pid 5105] <... futex resumed>) = 0 [pid 5105] futex(0x7fe27a4474c8, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5105] futex(0x7fe27a4474cc, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5106] <... futex resumed>) = 1 [pid 5106] socketpair(AF_UNIX, SOCK_STREAM, 0, [4, 5]) = 0 [pid 5106] futex(0x7fe27a4474cc, FUTEX_WAKE_PRIVATE, 1000000 [pid 5105] <... futex resumed>) = 0 [pid 5105] futex(0x7fe27a4474c8, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5105] futex(0x7fe27a4474cc, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5106] <... futex resumed>) = 1 [pid 5106] openat(AT_FDCWD, "/dev/nbd0", O_RDONLY) = 6 [pid 5106] futex(0x7fe27a4474cc, FUTEX_WAKE_PRIVATE, 1000000 [pid 5105] <... futex resumed>) = 0 [pid 5105] futex(0x7fe27a4474c8, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5105] futex(0x7fe27a4474cc, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5106] <... futex resumed>) = 1 [ 60.515188][ T5103] block nbd0: shutting down sockets [pid 5106] ioctl(6, NBD_SET_SOCK, 4) = 0 [pid 5106] futex(0x7fe27a4474cc, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5105] <... futex resumed>) = 0 [pid 5106] ioctl(3, NBD_SET_SOCK, 4 [pid 5105] futex(0x7fe27a4474c8, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5105] futex(0x7fe27a4474cc, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5106] <... ioctl resumed>) = 0 [pid 5106] futex(0x7fe27a4474cc, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5105] <... futex resumed>) = 0 [pid 5106] futex(0x7fe27a4474c8, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5105] futex(0x7fe27a4474c8, FUTEX_WAKE_PRIVATE, 1000000 [pid 5106] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5105] <... futex resumed>) = 0 [pid 5106] ioctl(3, NBD_SET_FLAGS, NBD_FLAG_SEND_FLUSH|NBD_FLAG_SEND_FUA|NBD_FLAG_ROTATIONAL|NBD_FLAG_SEND_TRIM|NBD_FLAG_SEND_WRITE_ZEROES|NBD_FLAG_SEND_DF|NBD_FLAG_CAN_MULTI_CONN|NBD_FLAG_SEND_RESIZE|NBD_FLAG_SEND_CACHE|0x7800 [pid 5105] futex(0x7fe27a4474cc, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5106] <... ioctl resumed>) = 0 [pid 5106] futex(0x7fe27a4474cc, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5105] <... futex resumed>) = 0 [pid 5106] futex(0x7fe27a4474c8, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5105] futex(0x7fe27a4474c8, FUTEX_WAKE_PRIVATE, 1000000 [pid 5106] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5105] <... futex resumed>) = 0 [pid 5106] openat(AT_FDCWD, "/proc/thread-self/fail-nth", O_RDWR [pid 5105] futex(0x7fe27a4474cc, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5106] <... openat resumed>) = 7 [pid 5106] write(7, "18", 2) = 2 [pid 5106] ioctl(3, NBD_DO_IT [pid 5105] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [ 60.662651][ T5106] FAULT_INJECTION: forcing a failure. [ 60.662651][ T5106] name failslab, interval 1, probability 0, space 0, times 0 [ 60.675499][ T5106] CPU: 0 PID: 5106 Comm: syz-executor104 Not tainted 6.1.0-next-20221216-syzkaller #0 [ 60.685061][ T5106] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 [ 60.695111][ T5106] Call Trace: [ 60.698394][ T5106] [ 60.701341][ T5106] dump_stack_lvl+0xd1/0x138 [ 60.705961][ T5106] should_fail_ex.cold+0x5/0xa [ 60.710731][ T5106] ? __kernfs_new_node+0xd4/0x8b0 [ 60.715768][ T5106] should_failslab+0x9/0x20 [ 60.720304][ T5106] kmem_cache_alloc+0x5a/0x430 [ 60.725089][ T5106] __kernfs_new_node+0xd4/0x8b0 [ 60.729954][ T5106] ? kernfs_path_from_node+0x60/0x60 [ 60.735265][ T5106] ? lock_downgrade+0x6e0/0x6e0 [ 60.740123][ T5106] ? lock_acquire+0x32/0xc0 [ 60.744646][ T5106] ? up_write+0x1b0/0x520 [ 60.748997][ T5106] kernfs_new_node+0x97/0x120 [ 60.753693][ T5106] __kernfs_create_file+0x55/0x350 [ 60.758825][ T5106] sysfs_add_file_mode_ns+0x213/0x3f0 [ 60.764214][ T5106] internal_create_group+0x322/0xb10 [ 60.769512][ T5106] ? sysfs_remove_group+0x170/0x170 [ 60.774717][ T5106] ? sysfs_create_dir_ns+0x13d/0x290 [ 60.780002][ T5106] ? sysfs_create_dir_ns+0x17b/0x290 [ 60.785290][ T5106] ? sysfs_create_mount_point+0xb0/0xb0 [ 60.790847][ T5106] internal_create_groups.part.0+0x90/0x140 [ 60.796753][ T5106] sysfs_create_groups+0x29/0x50 [ 60.801692][ T5106] kobject_add_internal+0x318/0x8f0 [ 60.806912][ T5106] kobject_add+0x154/0x1c0 [ 60.811343][ T5106] ? kset_create_and_add+0x1a0/0x1a0 [ 60.816651][ T5106] ? xas_find+0x7d0/0x7d0 [ 60.820999][ T5106] blk_mq_register_hctx+0x11e/0x490 [ 60.826227][ T5106] blk_mq_sysfs_register_hctxs+0x15b/0x180 [ 60.832046][ T5106] ? blk_mq_sysfs_unregister_hctxs+0x2d0/0x2d0 [ 60.838214][ T5106] ? blk_mq_update_queue_map+0x11e/0x500 [ 60.843859][ T5106] blk_mq_update_nr_hw_queues+0x74b/0xf60 [ 60.849593][ T5106] ? blk_mq_map_swqueue+0x11f0/0x11f0 [ 60.855329][ T5106] nbd_start_device+0x153/0xc30 [ 60.860198][ T5106] ? bpf_lsm_capable+0x9/0x10 [ 60.864882][ T5106] ? security_capable+0x93/0xc0 [ 60.869743][ T5106] nbd_ioctl+0x220/0xc60 [ 60.874002][ T5106] ? blkdev_bszset+0x270/0x270 [ 60.878777][ T5106] ? nbd_start_device+0xc30/0xc30 [ 60.883823][ T5106] ? trace_lock_acquire+0x1d1/0x290 [ 60.889031][ T5106] ? nbd_start_device+0xc30/0xc30 [ 60.894068][ T5106] blkdev_ioctl+0x369/0xa20 [ 60.898585][ T5106] ? blkdev_common_ioctl+0x1ba0/0x1ba0 [ 60.904059][ T5106] ? bpf_lsm_file_ioctl+0x9/0x10 [ 60.909014][ T5106] ? blkdev_common_ioctl+0x1ba0/0x1ba0 [ 60.914488][ T5106] __x64_sys_ioctl+0x197/0x210 [ 60.919260][ T5106] do_syscall_64+0x39/0xb0 [ 60.923688][ T5106] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 60.929587][ T5106] RIP: 0033:0x7fe27a3c3309 [ 60.934006][ T5106] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 11 15 00 00 90 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 b8 ff ff ff f7 d8 64 89 01 48 [ 60.953614][ T5106] RSP: 002b:00007fe27a3702e8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 60.962031][ T5106] RAX: ffffffffffffffda RBX: 00007fe27a4474c0 RCX: 00007fe27a3c3309 [ 60.970001][ T5106] RDX: 0000000000000000 RSI: 000000000000ab03 RDI: 0000000000000003 [ 60.977970][ T5106] RBP: 00007fe27a414194 R08: 0000000000000002 R09: 0000000000003831 [ 60.985941][ T5106] R10: 0000000000000000 R11: 0000000000000246 R12: 00007fe27a4474cc [ 60.993912][ T5106] R13: 00007fe27a3702f0 R14: 00007fe27a4474c8 R15: 0000000000000002 [ 61.001904][ T5106] [ 61.011690][ T5106] kobject_add_internal failed for 0 (error: -12 parent: mq) [pid 5105] exit_group(0) = ? [pid 5106] <... ioctl resumed>) = ? [pid 5106] +++ exited with 0 +++ [pid 5105] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5105, si_uid=0, si_status=0, si_utime=0, si_stime=4 /* 0.04 s */} --- restart_syscall(<... resuming interrupted clone ...>) = 0 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555fa85d0) = 5107 ./strace-static-x86_64: Process 5107 attached [pid 5107] set_robust_list(0x555555fa85e0, 24) = 0 [pid 5107] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5107] setpgid(0, 0) = 0 [pid 5107] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5107] write(3, "1000", 4) = 4 [pid 5107] close(3) = 0 [pid 5107] futex(0x7fe27a4474cc, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5107] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7fe27a350000 [pid 5107] mprotect(0x7fe27a351000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 5107] clone(child_stack=0x7fe27a3703f0, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID./strace-static-x86_64: Process 5108 attached , parent_tid=[5108], tls=0x7fe27a370700, child_tidptr=0x7fe27a3709d0) = 5108 [pid 5107] futex(0x7fe27a4474c8, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5107] futex(0x7fe27a4474cc, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5108] set_robust_list(0x7fe27a3709e0, 24) = 0 [pid 5108] openat(AT_FDCWD, "/dev/nbd0", O_RDONLY) = 3 [pid 5108] futex(0x7fe27a4474cc, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5107] <... futex resumed>) = 0 [pid 5107] futex(0x7fe27a4474c8, FUTEX_WAKE_PRIVATE, 1000000 [pid 5108] socketpair(AF_UNIX, SOCK_STREAM, 0, [pid 5107] <... futex resumed>) = 0 [pid 5107] futex(0x7fe27a4474cc, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5108] <... socketpair resumed>[4, 5]) = 0 [pid 5108] futex(0x7fe27a4474cc, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5107] <... futex resumed>) = 0 [pid 5107] futex(0x7fe27a4474c8, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5107] futex(0x7fe27a4474cc, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5108] openat(AT_FDCWD, "/dev/nbd0", O_RDONLY) = 6 [pid 5108] futex(0x7fe27a4474cc, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5107] <... futex resumed>) = 0 [pid 5107] futex(0x7fe27a4474c8, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5107] futex(0x7fe27a4474cc, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [ 61.087507][ T5106] block nbd0: shutting down sockets [pid 5108] ioctl(6, NBD_SET_SOCK, 4) = 0 [pid 5108] futex(0x7fe27a4474cc, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5107] <... futex resumed>) = 0 [pid 5107] futex(0x7fe27a4474c8, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5107] futex(0x7fe27a4474cc, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5108] ioctl(3, NBD_SET_SOCK, 4) = 0 [pid 5108] futex(0x7fe27a4474cc, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5107] <... futex resumed>) = 0 [pid 5107] futex(0x7fe27a4474c8, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5107] futex(0x7fe27a4474cc, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5108] ioctl(3, NBD_SET_FLAGS, NBD_FLAG_SEND_FLUSH|NBD_FLAG_SEND_FUA|NBD_FLAG_ROTATIONAL|NBD_FLAG_SEND_TRIM|NBD_FLAG_SEND_WRITE_ZEROES|NBD_FLAG_SEND_DF|NBD_FLAG_CAN_MULTI_CONN|NBD_FLAG_SEND_RESIZE|NBD_FLAG_SEND_CACHE|0x7800) = 0 [pid 5108] futex(0x7fe27a4474cc, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5107] <... futex resumed>) = 0 [pid 5108] futex(0x7fe27a4474c8, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5107] futex(0x7fe27a4474c8, FUTEX_WAKE_PRIVATE, 1000000 [pid 5108] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5107] <... futex resumed>) = 0 [pid 5108] openat(AT_FDCWD, "/proc/thread-self/fail-nth", O_RDWR [pid 5107] futex(0x7fe27a4474cc, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5108] <... openat resumed>) = 7 [pid 5108] write(7, "18", 2) = 2 [ 61.207363][ T5108] FAULT_INJECTION: forcing a failure. [ 61.207363][ T5108] name failslab, interval 1, probability 0, space 0, times 0 [ 61.220109][ T5108] CPU: 0 PID: 5108 Comm: syz-executor104 Not tainted 6.1.0-next-20221216-syzkaller #0 [ 61.229670][ T5108] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 [ 61.239813][ T5108] Call Trace: [ 61.243096][ T5108] [ 61.246027][ T5108] dump_stack_lvl+0xd1/0x138 [ 61.250635][ T5108] should_fail_ex.cold+0x5/0xa [ 61.255424][ T5108] should_failslab+0x9/0x20 [ 61.259938][ T5108] kmem_cache_alloc_lru+0x65/0x760 [ 61.265054][ T5108] ? alloc_inode+0x168/0x230 [ 61.269652][ T5108] ? lookup_one_len+0x10d/0x1a0 [ 61.274518][ T5108] alloc_inode+0x168/0x230 [ 61.278953][ T5108] new_inode+0x2b/0x280 [ 61.283127][ T5108] debugfs_get_inode+0x1a/0x130 [ 61.287990][ T5108] __debugfs_create_file+0x11a/0x540 [ 61.293303][ T5108] debugfs_create_u32+0x70/0xa0 [ 61.298160][ T5108] nbd_start_device+0x492/0xc30 [ 61.303025][ T5108] ? bpf_lsm_capable+0x9/0x10 [ 61.307708][ T5108] ? security_capable+0x93/0xc0 [ 61.312566][ T5108] nbd_ioctl+0x220/0xc60 [ 61.316841][ T5108] ? blkdev_bszset+0x270/0x270 [ 61.321623][ T5108] ? nbd_start_device+0xc30/0xc30 [ 61.326667][ T5108] ? trace_lock_acquire+0x1d1/0x290 [ 61.331872][ T5108] ? nbd_start_device+0xc30/0xc30 [ 61.336911][ T5108] blkdev_ioctl+0x369/0xa20 [ 61.341428][ T5108] ? blkdev_common_ioctl+0x1ba0/0x1ba0 [ 61.346905][ T5108] ? bpf_lsm_file_ioctl+0x9/0x10 [ 61.351849][ T5108] ? blkdev_common_ioctl+0x1ba0/0x1ba0 [ 61.357326][ T5108] __x64_sys_ioctl+0x197/0x210 [ 61.362094][ T5108] do_syscall_64+0x39/0xb0 [ 61.366523][ T5108] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 61.372420][ T5108] RIP: 0033:0x7fe27a3c3309 [ 61.376839][ T5108] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 11 15 00 00 90 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 b8 ff ff ff f7 d8 64 89 01 48 [ 61.396448][ T5108] RSP: 002b:00007fe27a3702e8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [pid 5108] ioctl(3, NBD_DO_IT [pid 5107] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [ 61.404874][ T5108] RAX: ffffffffffffffda RBX: 00007fe27a4474c0 RCX: 00007fe27a3c3309 [ 61.412847][ T5108] RDX: 0000000000000000 RSI: 000000000000ab03 RDI: 0000000000000003 [ 61.420816][ T5108] RBP: 00007fe27a414194 R08: 0000000000000002 R09: 0000000000003831 [ 61.428784][ T5108] R10: 0000000000000000 R11: 0000000000000246 R12: 00007fe27a4474cc [ 61.436754][ T5108] R13: 00007fe27a3702f0 R14: 00007fe27a4474c8 R15: 0000000000000002 [ 61.444742][ T5108] [ 61.450594][ T5108] debugfs: out of free dentries, can not create file 'blocksize_bits' [pid 5107] exit_group(0) = ? [pid 5108] <... ioctl resumed>) = ? [ 61.620083][ T5108] block nbd0: shutting down sockets [pid 5108] +++ exited with 0 +++ [pid 5107] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5107, si_uid=0, si_status=0, si_utime=0, si_stime=3 /* 0.03 s */} --- clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5109 attached , child_tidptr=0x555555fa85d0) = 5109 [pid 5109] set_robust_list(0x555555fa85e0, 24) = 0 [pid 5109] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5109] setpgid(0, 0) = 0 [pid 5109] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5109] write(3, "1000", 4) = 4 [pid 5109] close(3) = 0 [pid 5109] futex(0x7fe27a4474cc, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5109] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7fe27a350000 [pid 5109] mprotect(0x7fe27a351000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 5109] clone(child_stack=0x7fe27a3703f0, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID./strace-static-x86_64: Process 5110 attached , parent_tid=[5110], tls=0x7fe27a370700, child_tidptr=0x7fe27a3709d0) = 5110 [pid 5109] futex(0x7fe27a4474c8, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5109] futex(0x7fe27a4474cc, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5110] set_robust_list(0x7fe27a3709e0, 24) = 0 [pid 5110] openat(AT_FDCWD, "/dev/nbd0", O_RDONLY) = 3 [pid 5110] futex(0x7fe27a4474cc, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5109] <... futex resumed>) = 0 [pid 5110] socketpair(AF_UNIX, SOCK_STREAM, 0, [pid 5109] futex(0x7fe27a4474c8, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5110] <... socketpair resumed>[4, 5]) = 0 [pid 5109] futex(0x7fe27a4474cc, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5110] futex(0x7fe27a4474cc, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5109] <... futex resumed>) = 0 [pid 5109] futex(0x7fe27a4474c8, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5109] futex(0x7fe27a4474cc, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5110] openat(AT_FDCWD, "/dev/nbd0", O_RDONLY) = 6 [pid 5110] futex(0x7fe27a4474cc, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5109] <... futex resumed>) = 0 [pid 5109] futex(0x7fe27a4474c8, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5109] futex(0x7fe27a4474cc, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5110] ioctl(6, NBD_SET_SOCK, 4) = 0 [pid 5110] futex(0x7fe27a4474cc, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5109] <... futex resumed>) = 0 [pid 5109] futex(0x7fe27a4474c8, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5109] futex(0x7fe27a4474cc, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5110] ioctl(3, NBD_SET_SOCK, 4) = 0 [pid 5110] futex(0x7fe27a4474cc, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5109] <... futex resumed>) = 0 [pid 5110] futex(0x7fe27a4474c8, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5109] futex(0x7fe27a4474c8, FUTEX_WAKE_PRIVATE, 1000000 [pid 5110] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5109] <... futex resumed>) = 0 [pid 5110] ioctl(3, NBD_SET_FLAGS, NBD_FLAG_SEND_FLUSH|NBD_FLAG_SEND_FUA|NBD_FLAG_ROTATIONAL|NBD_FLAG_SEND_TRIM|NBD_FLAG_SEND_WRITE_ZEROES|NBD_FLAG_SEND_DF|NBD_FLAG_CAN_MULTI_CONN|NBD_FLAG_SEND_RESIZE|NBD_FLAG_SEND_CACHE|0x7800 [pid 5109] futex(0x7fe27a4474cc, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5110] <... ioctl resumed>) = 0 [pid 5110] futex(0x7fe27a4474cc, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5109] <... futex resumed>) = 0 [pid 5110] futex(0x7fe27a4474c8, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5109] futex(0x7fe27a4474c8, FUTEX_WAKE_PRIVATE, 1000000 [pid 5110] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5109] <... futex resumed>) = 0 [pid 5110] openat(AT_FDCWD, "/proc/thread-self/fail-nth", O_RDWR [pid 5109] futex(0x7fe27a4474cc, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5110] <... openat resumed>) = 7 [pid 5110] write(7, "18", 2) = 2 [ 61.745064][ T5110] FAULT_INJECTION: forcing a failure. [ 61.745064][ T5110] name failslab, interval 1, probability 0, space 0, times 0 [ 61.757737][ T5110] CPU: 0 PID: 5110 Comm: syz-executor104 Not tainted 6.1.0-next-20221216-syzkaller #0 [ 61.767279][ T5110] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 [ 61.777338][ T5110] Call Trace: [ 61.780626][ T5110] [ 61.783572][ T5110] dump_stack_lvl+0xd1/0x138 [ 61.788187][ T5110] should_fail_ex.cold+0x5/0xa [ 61.792970][ T5110] should_failslab+0x9/0x20 [ 61.797482][ T5110] kmem_cache_alloc_lru+0x65/0x760 [ 61.802605][ T5110] ? alloc_inode+0x168/0x230 [ 61.807203][ T5110] ? lookup_one_len+0x10d/0x1a0 [ 61.812083][ T5110] alloc_inode+0x168/0x230 [ 61.816499][ T5110] new_inode+0x2b/0x280 [ 61.820672][ T5110] debugfs_get_inode+0x1a/0x130 [ 61.825870][ T5110] __debugfs_create_file+0x11a/0x540 [ 61.831158][ T5110] debugfs_create_u32+0x70/0xa0 [ 61.836011][ T5110] nbd_start_device+0x492/0xc30 [ 61.840874][ T5110] ? bpf_lsm_capable+0x9/0x10 [ 61.845548][ T5110] ? security_capable+0x93/0xc0 [ 61.850415][ T5110] nbd_ioctl+0x220/0xc60 [ 61.854698][ T5110] ? blkdev_bszset+0x270/0x270 [ 61.859492][ T5110] ? nbd_start_device+0xc30/0xc30 [ 61.864528][ T5110] ? trace_lock_acquire+0x1d1/0x290 [ 61.869730][ T5110] ? nbd_start_device+0xc30/0xc30 [ 61.874769][ T5110] blkdev_ioctl+0x369/0xa20 [ 61.879298][ T5110] ? blkdev_common_ioctl+0x1ba0/0x1ba0 [ 61.884763][ T5110] ? bpf_lsm_file_ioctl+0x9/0x10 [ 61.889702][ T5110] ? blkdev_common_ioctl+0x1ba0/0x1ba0 [ 61.895161][ T5110] __x64_sys_ioctl+0x197/0x210 [ 61.899937][ T5110] do_syscall_64+0x39/0xb0 [ 61.904380][ T5110] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 61.910266][ T5110] RIP: 0033:0x7fe27a3c3309 [ 61.914672][ T5110] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 11 15 00 00 90 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 b8 ff ff ff f7 d8 64 89 01 48 [ 61.934275][ T5110] RSP: 002b:00007fe27a3702e8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [pid 5110] ioctl(3, NBD_DO_IT [pid 5109] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [ 61.942684][ T5110] RAX: ffffffffffffffda RBX: 00007fe27a4474c0 RCX: 00007fe27a3c3309 [ 61.950653][ T5110] RDX: 0000000000000000 RSI: 000000000000ab03 RDI: 0000000000000003 [ 61.958629][ T5110] RBP: 00007fe27a414194 R08: 0000000000000002 R09: 0000000000003831 [ 61.966604][ T5110] R10: 0000000000000000 R11: 0000000000000246 R12: 00007fe27a4474cc [ 61.974584][ T5110] R13: 00007fe27a3702f0 R14: 00007fe27a4474c8 R15: 0000000000000002 [ 61.982558][ T5110] [ 61.985997][ T5110] debugfs: out of free dentries, can not create file 'blocksize_bits' [pid 5109] exit_group(0) = ? [pid 5110] <... ioctl resumed>) = ? [pid 5110] +++ exited with 0 +++ [pid 5109] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5109, si_uid=0, si_status=0, si_utime=0, si_stime=4 /* 0.04 s */} --- clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555fa85d0) = 5111 ./strace-static-x86_64: Process 5111 attached [pid 5111] set_robust_list(0x555555fa85e0, 24) = 0 [pid 5111] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5111] setpgid(0, 0) = 0 [pid 5111] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5111] write(3, "1000", 4) = 4 [pid 5111] close(3) = 0 [pid 5111] futex(0x7fe27a4474cc, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5111] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7fe27a350000 [pid 5111] mprotect(0x7fe27a351000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 5111] clone(child_stack=0x7fe27a3703f0, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, parent_tid=[5112], tls=0x7fe27a370700, child_tidptr=0x7fe27a3709d0) = 5112 ./strace-static-x86_64: Process 5112 attached [pid 5111] futex(0x7fe27a4474c8, FUTEX_WAKE_PRIVATE, 1000000 [pid 5112] set_robust_list(0x7fe27a3709e0, 24 [pid 5111] <... futex resumed>) = 0 [pid 5112] <... set_robust_list resumed>) = 0 [pid 5111] futex(0x7fe27a4474cc, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5112] openat(AT_FDCWD, "/dev/nbd0", O_RDONLY) = 3 [pid 5112] futex(0x7fe27a4474cc, FUTEX_WAKE_PRIVATE, 1000000 [pid 5111] <... futex resumed>) = 0 [pid 5112] <... futex resumed>) = 1 [pid 5111] futex(0x7fe27a4474c8, FUTEX_WAKE_PRIVATE, 1000000 [pid 5112] socketpair(AF_UNIX, SOCK_STREAM, 0, [pid 5111] <... futex resumed>) = 0 [pid 5111] futex(0x7fe27a4474cc, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5112] <... socketpair resumed>[4, 5]) = 0 [pid 5112] futex(0x7fe27a4474cc, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5111] <... futex resumed>) = 0 [pid 5111] futex(0x7fe27a4474c8, FUTEX_WAKE_PRIVATE, 1000000 [pid 5112] openat(AT_FDCWD, "/dev/nbd0", O_RDONLY [pid 5111] <... futex resumed>) = 0 [pid 5111] futex(0x7fe27a4474cc, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5112] <... openat resumed>) = 6 [pid 5112] futex(0x7fe27a4474cc, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5111] <... futex resumed>) = 0 [pid 5111] futex(0x7fe27a4474c8, FUTEX_WAKE_PRIVATE, 1000000 [pid 5112] ioctl(6, NBD_SET_SOCK, 4 [pid 5111] <... futex resumed>) = 0 [ 62.127723][ T5110] block nbd0: shutting down sockets [pid 5111] futex(0x7fe27a4474cc, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5112] <... ioctl resumed>) = 0 [pid 5112] futex(0x7fe27a4474cc, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5111] <... futex resumed>) = 0 [pid 5112] futex(0x7fe27a4474c8, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5111] futex(0x7fe27a4474c8, FUTEX_WAKE_PRIVATE, 1000000 [pid 5112] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5112] ioctl(3, NBD_SET_SOCK, 4 [pid 5111] <... futex resumed>) = 0 [pid 5111] futex(0x7fe27a4474cc, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5112] <... ioctl resumed>) = 0 [pid 5112] futex(0x7fe27a4474cc, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5111] <... futex resumed>) = 0 [pid 5112] ioctl(3, NBD_SET_FLAGS, NBD_FLAG_SEND_FLUSH|NBD_FLAG_SEND_FUA|NBD_FLAG_ROTATIONAL|NBD_FLAG_SEND_TRIM|NBD_FLAG_SEND_WRITE_ZEROES|NBD_FLAG_SEND_DF|NBD_FLAG_CAN_MULTI_CONN|NBD_FLAG_SEND_RESIZE|NBD_FLAG_SEND_CACHE|0x7800 [pid 5111] futex(0x7fe27a4474c8, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5112] <... ioctl resumed>) = 0 [pid 5111] futex(0x7fe27a4474cc, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5112] futex(0x7fe27a4474cc, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5111] <... futex resumed>) = 0 [pid 5112] openat(AT_FDCWD, "/proc/thread-self/fail-nth", O_RDWR [pid 5111] futex(0x7fe27a4474c8, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5112] <... openat resumed>) = 7 [pid 5111] futex(0x7fe27a4474cc, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5112] write(7, "18", 2) = 2 [ 62.238332][ T5112] FAULT_INJECTION: forcing a failure. [ 62.238332][ T5112] name failslab, interval 1, probability 0, space 0, times 0 [ 62.251044][ T5112] CPU: 1 PID: 5112 Comm: syz-executor104 Not tainted 6.1.0-next-20221216-syzkaller #0 [ 62.260603][ T5112] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 [ 62.270670][ T5112] Call Trace: [ 62.273958][ T5112] [ 62.276906][ T5112] dump_stack_lvl+0xd1/0x138 [ 62.281509][ T5112] should_fail_ex.cold+0x5/0xa [ 62.286277][ T5112] should_failslab+0x9/0x20 [ 62.290777][ T5112] kmem_cache_alloc_lru+0x65/0x760 [ 62.295888][ T5112] ? alloc_inode+0x168/0x230 [ 62.300475][ T5112] ? lookup_one_len+0x10d/0x1a0 [ 62.305331][ T5112] alloc_inode+0x168/0x230 [ 62.309747][ T5112] new_inode+0x2b/0x280 [ 62.313924][ T5112] debugfs_get_inode+0x1a/0x130 [ 62.318798][ T5112] __debugfs_create_file+0x11a/0x540 [ 62.324087][ T5112] debugfs_create_u32+0x70/0xa0 [ 62.328933][ T5112] nbd_start_device+0x492/0xc30 [ 62.333788][ T5112] ? bpf_lsm_capable+0x9/0x10 [ 62.338461][ T5112] ? security_capable+0x93/0xc0 [ 62.343327][ T5112] nbd_ioctl+0x220/0xc60 [ 62.347579][ T5112] ? blkdev_bszset+0x270/0x270 [ 62.352341][ T5112] ? nbd_start_device+0xc30/0xc30 [ 62.357364][ T5112] ? trace_lock_acquire+0x1d1/0x290 [ 62.362575][ T5112] ? nbd_start_device+0xc30/0xc30 [ 62.367623][ T5112] blkdev_ioctl+0x369/0xa20 [ 62.372136][ T5112] ? blkdev_common_ioctl+0x1ba0/0x1ba0 [ 62.377621][ T5112] ? bpf_lsm_file_ioctl+0x9/0x10 [ 62.382559][ T5112] ? blkdev_common_ioctl+0x1ba0/0x1ba0 [ 62.388015][ T5112] __x64_sys_ioctl+0x197/0x210 [ 62.392775][ T5112] do_syscall_64+0x39/0xb0 [ 62.397200][ T5112] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 62.403107][ T5112] RIP: 0033:0x7fe27a3c3309 [ 62.407511][ T5112] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 11 15 00 00 90 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 b8 ff ff ff f7 d8 64 89 01 48 [ 62.427108][ T5112] RSP: 002b:00007fe27a3702e8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [pid 5112] ioctl(3, NBD_DO_IT [pid 5111] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [ 62.435514][ T5112] RAX: ffffffffffffffda RBX: 00007fe27a4474c0 RCX: 00007fe27a3c3309 [ 62.444952][ T5112] RDX: 0000000000000000 RSI: 000000000000ab03 RDI: 0000000000000003 [ 62.452926][ T5112] RBP: 00007fe27a414194 R08: 0000000000000002 R09: 0000000000003831 [ 62.460904][ T5112] R10: 0000000000000000 R11: 0000000000000246 R12: 00007fe27a4474cc [ 62.468871][ T5112] R13: 00007fe27a3702f0 R14: 00007fe27a4474c8 R15: 0000000000000002 [ 62.476846][ T5112] [ 62.482075][ T5112] debugfs: out of free dentries, can not create file 'blocksize_bits' [pid 5111] exit_group(0) = ? [pid 5112] <... ioctl resumed>) = ? [pid 5112] +++ exited with 0 +++ [pid 5111] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5111, si_uid=0, si_status=0, si_utime=0, si_stime=4 /* 0.04 s */} --- restart_syscall(<... resuming interrupted clone ...>) = 0 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555fa85d0) = 5113 ./strace-static-x86_64: Process 5113 attached [pid 5113] set_robust_list(0x555555fa85e0, 24) = 0 [pid 5113] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5113] setpgid(0, 0) = 0 [pid 5113] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5113] write(3, "1000", 4) = 4 [pid 5113] close(3) = 0 [pid 5113] futex(0x7fe27a4474cc, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5113] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7fe27a350000 [pid 5113] mprotect(0x7fe27a351000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 5113] clone(child_stack=0x7fe27a3703f0, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, parent_tid=[5114], tls=0x7fe27a370700, child_tidptr=0x7fe27a3709d0) = 5114 [pid 5113] futex(0x7fe27a4474c8, FUTEX_WAKE_PRIVATE, 1000000) = 0 [ 62.650477][ T5112] block nbd0: shutting down sockets [pid 5113] futex(0x7fe27a4474cc, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000}./strace-static-x86_64: Process 5114 attached [pid 5114] set_robust_list(0x7fe27a3709e0, 24) = 0 [pid 5114] openat(AT_FDCWD, "/dev/nbd0", O_RDONLY) = 3 [pid 5114] futex(0x7fe27a4474cc, FUTEX_WAKE_PRIVATE, 1000000 [pid 5113] <... futex resumed>) = 0 [pid 5113] futex(0x7fe27a4474c8, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5113] futex(0x7fe27a4474cc, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5114] <... futex resumed>) = 1 [pid 5114] socketpair(AF_UNIX, SOCK_STREAM, 0, [4, 5]) = 0 [pid 5114] futex(0x7fe27a4474cc, FUTEX_WAKE_PRIVATE, 1000000 [pid 5113] <... futex resumed>) = 0 [pid 5113] futex(0x7fe27a4474c8, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5113] futex(0x7fe27a4474cc, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5114] <... futex resumed>) = 1 [pid 5114] openat(AT_FDCWD, "/dev/nbd0", O_RDONLY) = 6 [pid 5114] futex(0x7fe27a4474cc, FUTEX_WAKE_PRIVATE, 1000000 [pid 5113] <... futex resumed>) = 0 [pid 5113] futex(0x7fe27a4474c8, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5113] futex(0x7fe27a4474cc, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5114] <... futex resumed>) = 1 [pid 5114] ioctl(6, NBD_SET_SOCK, 4) = 0 [pid 5114] futex(0x7fe27a4474cc, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5113] <... futex resumed>) = 0 [pid 5114] ioctl(3, NBD_SET_SOCK, 4 [pid 5113] futex(0x7fe27a4474c8, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5113] futex(0x7fe27a4474cc, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5114] <... ioctl resumed>) = 0 [pid 5114] futex(0x7fe27a4474cc, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5113] <... futex resumed>) = 0 [pid 5114] futex(0x7fe27a4474c8, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5113] futex(0x7fe27a4474c8, FUTEX_WAKE_PRIVATE, 1000000 [pid 5114] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5113] <... futex resumed>) = 0 [pid 5114] ioctl(3, NBD_SET_FLAGS, NBD_FLAG_SEND_FLUSH|NBD_FLAG_SEND_FUA|NBD_FLAG_ROTATIONAL|NBD_FLAG_SEND_TRIM|NBD_FLAG_SEND_WRITE_ZEROES|NBD_FLAG_SEND_DF|NBD_FLAG_CAN_MULTI_CONN|NBD_FLAG_SEND_RESIZE|NBD_FLAG_SEND_CACHE|0x7800 [pid 5113] futex(0x7fe27a4474cc, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5114] <... ioctl resumed>) = 0 [pid 5114] futex(0x7fe27a4474cc, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5113] <... futex resumed>) = 0 [pid 5114] futex(0x7fe27a4474c8, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5113] futex(0x7fe27a4474c8, FUTEX_WAKE_PRIVATE, 1000000 [pid 5114] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5113] <... futex resumed>) = 0 [pid 5114] openat(AT_FDCWD, "/proc/thread-self/fail-nth", O_RDWR [pid 5113] futex(0x7fe27a4474cc, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5114] <... openat resumed>) = 7 [pid 5114] write(7, "18", 2) = 2 [ 62.787832][ T5114] FAULT_INJECTION: forcing a failure. [ 62.787832][ T5114] name failslab, interval 1, probability 0, space 0, times 0 [ 62.800548][ T5114] CPU: 1 PID: 5114 Comm: syz-executor104 Not tainted 6.1.0-next-20221216-syzkaller #0 [ 62.810111][ T5114] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 [ 62.820168][ T5114] Call Trace: [ 62.823454][ T5114] [ 62.826376][ T5114] dump_stack_lvl+0xd1/0x138 [ 62.830965][ T5114] should_fail_ex.cold+0x5/0xa [ 62.835739][ T5114] ? security_inode_alloc+0x38/0x160 [ 62.841029][ T5114] should_failslab+0x9/0x20 [ 62.845553][ T5114] kmem_cache_alloc+0x5a/0x430 [ 62.850317][ T5114] security_inode_alloc+0x38/0x160 [ 62.855425][ T5114] inode_init_always+0xbfa/0xef0 [ 62.860378][ T5114] alloc_inode+0x82/0x230 [ 62.864741][ T5114] new_inode+0x2b/0x280 [ 62.868941][ T5114] debugfs_get_inode+0x1a/0x130 [ 62.873797][ T5114] __debugfs_create_file+0x11a/0x540 [ 62.879087][ T5114] debugfs_create_u32+0x70/0xa0 [ 62.883946][ T5114] nbd_start_device+0x492/0xc30 [ 62.888818][ T5114] ? bpf_lsm_capable+0x9/0x10 [ 62.893490][ T5114] ? security_capable+0x93/0xc0 [ 62.898335][ T5114] nbd_ioctl+0x220/0xc60 [ 62.902584][ T5114] ? blkdev_bszset+0x270/0x270 [ 62.907347][ T5114] ? nbd_start_device+0xc30/0xc30 [ 62.912374][ T5114] ? trace_lock_acquire+0x1d1/0x290 [ 62.917583][ T5114] ? nbd_start_device+0xc30/0xc30 [ 62.922618][ T5114] blkdev_ioctl+0x369/0xa20 [ 62.927138][ T5114] ? blkdev_common_ioctl+0x1ba0/0x1ba0 [ 62.932636][ T5114] ? bpf_lsm_file_ioctl+0x9/0x10 [ 62.937592][ T5114] ? blkdev_common_ioctl+0x1ba0/0x1ba0 [ 62.943051][ T5114] __x64_sys_ioctl+0x197/0x210 [ 62.947823][ T5114] do_syscall_64+0x39/0xb0 [ 62.952270][ T5114] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 62.958182][ T5114] RIP: 0033:0x7fe27a3c3309 [ 62.962590][ T5114] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 11 15 00 00 90 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 b8 ff ff ff f7 d8 64 89 01 48 [pid 5114] ioctl(3, NBD_DO_IT [pid 5113] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [ 62.982278][ T5114] RSP: 002b:00007fe27a3702e8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 62.990695][ T5114] RAX: ffffffffffffffda RBX: 00007fe27a4474c0 RCX: 00007fe27a3c3309 [ 62.998664][ T5114] RDX: 0000000000000000 RSI: 000000000000ab03 RDI: 0000000000000003 [ 63.006627][ T5114] RBP: 00007fe27a414194 R08: 0000000000000002 R09: 0000000000003831 [ 63.014599][ T5114] R10: 0000000000000000 R11: 0000000000000246 R12: 00007fe27a4474cc [ 63.022581][ T5114] R13: 00007fe27a3702f0 R14: 00007fe27a4474c8 R15: 0000000000000002 [ 63.030553][ T5114] [ 63.035393][ T5114] debugfs: out of free dentries, can not create file 'blocksize_bits' [pid 5113] exit_group(0) = ? [pid 5114] <... ioctl resumed>) = ? [pid 5114] +++ exited with 0 +++ [pid 5113] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5113, si_uid=0, si_status=0, si_utime=0, si_stime=4 /* 0.04 s */} --- restart_syscall(<... resuming interrupted clone ...>) = 0 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555fa85d0) = 5115 ./strace-static-x86_64: Process 5115 attached [pid 5115] set_robust_list(0x555555fa85e0, 24) = 0 [pid 5115] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [ 63.170075][ T5114] block nbd0: shutting down sockets [pid 5115] setpgid(0, 0) = 0 [pid 5115] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5115] write(3, "1000", 4) = 4 [pid 5115] close(3) = 0 [pid 5115] futex(0x7fe27a4474cc, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5115] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7fe27a350000 [pid 5115] mprotect(0x7fe27a351000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 5115] clone(child_stack=0x7fe27a3703f0, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID./strace-static-x86_64: Process 5116 attached [pid 5116] set_robust_list(0x7fe27a3709e0, 24 [pid 5115] <... clone resumed>, parent_tid=[5116], tls=0x7fe27a370700, child_tidptr=0x7fe27a3709d0) = 5116 [pid 5116] <... set_robust_list resumed>) = 0 [pid 5115] futex(0x7fe27a4474c8, FUTEX_WAKE_PRIVATE, 1000000 [pid 5116] openat(AT_FDCWD, "/dev/nbd0", O_RDONLY [pid 5115] <... futex resumed>) = 0 [pid 5115] futex(0x7fe27a4474cc, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5116] <... openat resumed>) = 3 [pid 5116] futex(0x7fe27a4474cc, FUTEX_WAKE_PRIVATE, 1000000 [pid 5115] <... futex resumed>) = 0 [pid 5116] <... futex resumed>) = 1 [pid 5115] futex(0x7fe27a4474c8, FUTEX_WAKE_PRIVATE, 1000000 [pid 5116] socketpair(AF_UNIX, SOCK_STREAM, 0, [pid 5115] <... futex resumed>) = 0 [pid 5116] <... socketpair resumed>[4, 5]) = 0 [pid 5115] futex(0x7fe27a4474cc, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5116] futex(0x7fe27a4474cc, FUTEX_WAKE_PRIVATE, 1000000 [pid 5115] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5116] <... futex resumed>) = 0 [pid 5115] futex(0x7fe27a4474c8, FUTEX_WAKE_PRIVATE, 1000000 [pid 5116] openat(AT_FDCWD, "/dev/nbd0", O_RDONLY [pid 5115] <... futex resumed>) = 0 [pid 5115] futex(0x7fe27a4474cc, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5116] <... openat resumed>) = 6 [pid 5116] futex(0x7fe27a4474cc, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5115] <... futex resumed>) = 0 [pid 5116] futex(0x7fe27a4474c8, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5115] futex(0x7fe27a4474c8, FUTEX_WAKE_PRIVATE, 1000000 [pid 5116] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5115] <... futex resumed>) = 0 [pid 5116] ioctl(6, NBD_SET_SOCK, 4 [pid 5115] futex(0x7fe27a4474cc, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5116] <... ioctl resumed>) = 0 [pid 5116] futex(0x7fe27a4474cc, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5115] <... futex resumed>) = 0 [pid 5115] futex(0x7fe27a4474c8, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5115] futex(0x7fe27a4474cc, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5116] ioctl(3, NBD_SET_SOCK, 4) = 0 [pid 5116] futex(0x7fe27a4474cc, FUTEX_WAKE_PRIVATE, 1000000 [pid 5115] <... futex resumed>) = 0 [pid 5116] <... futex resumed>) = 1 [pid 5115] futex(0x7fe27a4474c8, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5116] ioctl(3, NBD_SET_FLAGS, NBD_FLAG_SEND_FLUSH|NBD_FLAG_SEND_FUA|NBD_FLAG_ROTATIONAL|NBD_FLAG_SEND_TRIM|NBD_FLAG_SEND_WRITE_ZEROES|NBD_FLAG_SEND_DF|NBD_FLAG_CAN_MULTI_CONN|NBD_FLAG_SEND_RESIZE|NBD_FLAG_SEND_CACHE|0x7800 [pid 5115] futex(0x7fe27a4474cc, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5116] <... ioctl resumed>) = 0 [pid 5116] futex(0x7fe27a4474cc, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5115] <... futex resumed>) = 0 [pid 5115] futex(0x7fe27a4474c8, FUTEX_WAKE_PRIVATE, 1000000 [pid 5116] openat(AT_FDCWD, "/proc/thread-self/fail-nth", O_RDWR [pid 5115] <... futex resumed>) = 0 [pid 5115] futex(0x7fe27a4474cc, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5116] <... openat resumed>) = 7 [pid 5116] write(7, "18", 2) = 2 [ 63.287267][ T5116] FAULT_INJECTION: forcing a failure. [ 63.287267][ T5116] name failslab, interval 1, probability 0, space 0, times 0 [ 63.300328][ T5116] CPU: 0 PID: 5116 Comm: syz-executor104 Not tainted 6.1.0-next-20221216-syzkaller #0 [ 63.309926][ T5116] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 [ 63.319997][ T5116] Call Trace: [ 63.323271][ T5116] [ 63.326201][ T5116] dump_stack_lvl+0xd1/0x138 [ 63.330807][ T5116] should_fail_ex.cold+0x5/0xa [ 63.335601][ T5116] ? security_inode_alloc+0x38/0x160 [ 63.340882][ T5116] should_failslab+0x9/0x20 [ 63.345382][ T5116] kmem_cache_alloc+0x5a/0x430 [ 63.350139][ T5116] security_inode_alloc+0x38/0x160 [ 63.355244][ T5116] inode_init_always+0xbfa/0xef0 [ 63.360196][ T5116] alloc_inode+0x82/0x230 [ 63.364574][ T5116] new_inode+0x2b/0x280 [ 63.368777][ T5116] debugfs_get_inode+0x1a/0x130 [ 63.373661][ T5116] __debugfs_create_file+0x11a/0x540 [ 63.378955][ T5116] debugfs_create_u32+0x70/0xa0 [ 63.383803][ T5116] nbd_start_device+0x492/0xc30 [ 63.388673][ T5116] ? bpf_lsm_capable+0x9/0x10 [ 63.393356][ T5116] ? security_capable+0x93/0xc0 [ 63.398226][ T5116] nbd_ioctl+0x220/0xc60 [ 63.402514][ T5116] ? blkdev_bszset+0x270/0x270 [ 63.407307][ T5116] ? nbd_start_device+0xc30/0xc30 [ 63.412855][ T5116] ? trace_lock_acquire+0x1d1/0x290 [ 63.418050][ T5116] ? nbd_start_device+0xc30/0xc30 [ 63.423078][ T5116] blkdev_ioctl+0x369/0xa20 [ 63.427609][ T5116] ? blkdev_common_ioctl+0x1ba0/0x1ba0 [ 63.433109][ T5116] ? bpf_lsm_file_ioctl+0x9/0x10 [ 63.438072][ T5116] ? blkdev_common_ioctl+0x1ba0/0x1ba0 [ 63.443531][ T5116] __x64_sys_ioctl+0x197/0x210 [ 63.448305][ T5116] do_syscall_64+0x39/0xb0 [ 63.452820][ T5116] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 63.458709][ T5116] RIP: 0033:0x7fe27a3c3309 [ 63.463118][ T5116] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 11 15 00 00 90 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 b8 ff ff ff f7 d8 64 89 01 48 [ 63.482728][ T5116] RSP: 002b:00007fe27a3702e8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 63.491222][ T5116] RAX: ffffffffffffffda RBX: 00007fe27a4474c0 RCX: 00007fe27a3c3309 [ 63.499190][ T5116] RDX: 0000000000000000 RSI: 000000000000ab03 RDI: 0000000000000003 [ 63.507155][ T5116] RBP: 00007fe27a414194 R08: 0000000000000002 R09: 0000000000003831 [ 63.515135][ T5116] R10: 0000000000000000 R11: 0000000000000246 R12: 00007fe27a4474cc [ 63.523116][ T5116] R13: 00007fe27a3702f0 R14: 00007fe27a4474c8 R15: 0000000000000002 [ 63.531103][ T5116] [pid 5116] ioctl(3, NBD_DO_IT [pid 5115] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [ 63.534586][ T5116] debugfs: out of free dentries, can not create file 'blocksize_bits' [pid 5115] exit_group(0) = ? [pid 5116] <... ioctl resumed>) = ? [pid 5116] +++ exited with 0 +++ [pid 5115] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5115, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [ 63.674203][ T5116] block nbd0: shutting down sockets clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555fa85d0) = 5117 ./strace-static-x86_64: Process 5117 attached [pid 5117] set_robust_list(0x555555fa85e0, 24) = 0 [pid 5117] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5117] setpgid(0, 0) = 0 [pid 5117] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5117] write(3, "1000", 4) = 4 [pid 5117] close(3) = 0 [pid 5117] futex(0x7fe27a4474cc, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5117] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7fe27a350000 [pid 5117] mprotect(0x7fe27a351000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 5117] clone(child_stack=0x7fe27a3703f0, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, parent_tid=[5118], tls=0x7fe27a370700, child_tidptr=0x7fe27a3709d0) = 5118 [pid 5117] futex(0x7fe27a4474c8, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5117] futex(0x7fe27a4474cc, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000}./strace-static-x86_64: Process 5118 attached [pid 5118] set_robust_list(0x7fe27a3709e0, 24) = 0 [pid 5118] openat(AT_FDCWD, "/dev/nbd0", O_RDONLY) = 3 [pid 5118] futex(0x7fe27a4474cc, FUTEX_WAKE_PRIVATE, 1000000 [pid 5117] <... futex resumed>) = 0 [pid 5117] futex(0x7fe27a4474c8, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5117] futex(0x7fe27a4474cc, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5118] <... futex resumed>) = 1 [pid 5118] socketpair(AF_UNIX, SOCK_STREAM, 0, [4, 5]) = 0 [pid 5118] futex(0x7fe27a4474cc, FUTEX_WAKE_PRIVATE, 1000000 [pid 5117] <... futex resumed>) = 0 [pid 5117] futex(0x7fe27a4474c8, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5117] futex(0x7fe27a4474cc, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5118] <... futex resumed>) = 1 [pid 5118] openat(AT_FDCWD, "/dev/nbd0", O_RDONLY) = 6 [pid 5118] futex(0x7fe27a4474cc, FUTEX_WAKE_PRIVATE, 1000000 [pid 5117] <... futex resumed>) = 0 [pid 5117] futex(0x7fe27a4474c8, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5117] futex(0x7fe27a4474cc, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5118] <... futex resumed>) = 1 [pid 5118] ioctl(6, NBD_SET_SOCK, 4) = 0 [pid 5118] futex(0x7fe27a4474cc, FUTEX_WAKE_PRIVATE, 1000000 [pid 5117] <... futex resumed>) = 0 [pid 5117] futex(0x7fe27a4474c8, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5117] futex(0x7fe27a4474cc, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5118] <... futex resumed>) = 1 [pid 5118] ioctl(3, NBD_SET_SOCK, 4) = 0 [pid 5118] futex(0x7fe27a4474cc, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5117] <... futex resumed>) = 0 [pid 5118] futex(0x7fe27a4474c8, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5117] futex(0x7fe27a4474c8, FUTEX_WAKE_PRIVATE, 1000000 [pid 5118] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5117] <... futex resumed>) = 0 [pid 5118] ioctl(3, NBD_SET_FLAGS, NBD_FLAG_SEND_FLUSH|NBD_FLAG_SEND_FUA|NBD_FLAG_ROTATIONAL|NBD_FLAG_SEND_TRIM|NBD_FLAG_SEND_WRITE_ZEROES|NBD_FLAG_SEND_DF|NBD_FLAG_CAN_MULTI_CONN|NBD_FLAG_SEND_RESIZE|NBD_FLAG_SEND_CACHE|0x7800 [pid 5117] futex(0x7fe27a4474cc, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5118] <... ioctl resumed>) = 0 [pid 5118] futex(0x7fe27a4474cc, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5117] <... futex resumed>) = 0 [pid 5118] futex(0x7fe27a4474c8, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5117] futex(0x7fe27a4474c8, FUTEX_WAKE_PRIVATE, 1000000 [pid 5118] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5117] <... futex resumed>) = 0 [pid 5118] openat(AT_FDCWD, "/proc/thread-self/fail-nth", O_RDWR [pid 5117] futex(0x7fe27a4474cc, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5118] <... openat resumed>) = 7 [pid 5118] write(7, "18", 2) = 2 [ 63.795061][ T5118] FAULT_INJECTION: forcing a failure. [ 63.795061][ T5118] name failslab, interval 1, probability 0, space 0, times 0 [ 63.807733][ T5118] CPU: 0 PID: 5118 Comm: syz-executor104 Not tainted 6.1.0-next-20221216-syzkaller #0 [ 63.817272][ T5118] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 [ 63.827321][ T5118] Call Trace: [ 63.830605][ T5118] [ 63.833530][ T5118] dump_stack_lvl+0xd1/0x138 [ 63.838135][ T5118] should_fail_ex.cold+0x5/0xa [ 63.842961][ T5118] should_failslab+0x9/0x20 [ 63.847465][ T5118] kmem_cache_alloc_lru+0x65/0x760 [ 63.852597][ T5118] ? alloc_inode+0x168/0x230 [ 63.857210][ T5118] ? lookup_one_len+0x10d/0x1a0 [ 63.862072][ T5118] alloc_inode+0x168/0x230 [ 63.866522][ T5118] new_inode+0x2b/0x280 [ 63.871786][ T5118] debugfs_get_inode+0x1a/0x130 [ 63.876746][ T5118] __debugfs_create_file+0x11a/0x540 [ 63.882035][ T5118] debugfs_create_u32+0x70/0xa0 [ 63.886881][ T5118] nbd_start_device+0x492/0xc30 [ 63.891756][ T5118] ? bpf_lsm_capable+0x9/0x10 [ 63.896426][ T5118] ? security_capable+0x93/0xc0 [ 63.901280][ T5118] nbd_ioctl+0x220/0xc60 [ 63.905540][ T5118] ? blkdev_bszset+0x270/0x270 [ 63.910318][ T5118] ? nbd_start_device+0xc30/0xc30 [ 63.915360][ T5118] ? trace_lock_acquire+0x1d1/0x290 [ 63.920567][ T5118] ? nbd_start_device+0xc30/0xc30 [ 63.925609][ T5118] blkdev_ioctl+0x369/0xa20 [ 63.930126][ T5118] ? blkdev_common_ioctl+0x1ba0/0x1ba0 [ 63.935607][ T5118] ? bpf_lsm_file_ioctl+0x9/0x10 [ 63.940814][ T5118] ? blkdev_common_ioctl+0x1ba0/0x1ba0 [ 63.946289][ T5118] __x64_sys_ioctl+0x197/0x210 [ 63.951060][ T5118] do_syscall_64+0x39/0xb0 [ 63.955488][ T5118] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 63.961386][ T5118] RIP: 0033:0x7fe27a3c3309 [ 63.965804][ T5118] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 11 15 00 00 90 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 b8 ff ff ff f7 d8 64 89 01 48 [ 63.985413][ T5118] RSP: 002b:00007fe27a3702e8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [pid 5118] ioctl(3, NBD_DO_IT [pid 5117] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [ 63.993831][ T5118] RAX: ffffffffffffffda RBX: 00007fe27a4474c0 RCX: 00007fe27a3c3309 [ 64.001804][ T5118] RDX: 0000000000000000 RSI: 000000000000ab03 RDI: 0000000000000003 [ 64.009773][ T5118] RBP: 00007fe27a414194 R08: 0000000000000002 R09: 0000000000003831 [ 64.017746][ T5118] R10: 0000000000000000 R11: 0000000000000246 R12: 00007fe27a4474cc [ 64.025717][ T5118] R13: 00007fe27a3702f0 R14: 00007fe27a4474c8 R15: 0000000000000002 [ 64.033703][ T5118] [ 64.039092][ T5118] debugfs: out of free dentries, can not create file 'blocksize_bits' [pid 5117] exit_group(0) = ? [pid 5118] <... ioctl resumed>) = ? [pid 5118] +++ exited with 0 +++ [pid 5117] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5117, si_uid=0, si_status=0, si_utime=0, si_stime=5 /* 0.05 s */} --- clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555fa85d0) = 5119 ./strace-static-x86_64: Process 5119 attached [pid 5119] set_robust_list(0x555555fa85e0, 24) = 0 [pid 5119] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5119] setpgid(0, 0) = 0 [pid 5119] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5119] write(3, "1000", 4) = 4 [pid 5119] close(3) = 0 [pid 5119] futex(0x7fe27a4474cc, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5119] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7fe27a350000 [pid 5119] mprotect(0x7fe27a351000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 5119] clone(child_stack=0x7fe27a3703f0, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, parent_tid=[5120], tls=0x7fe27a370700, child_tidptr=0x7fe27a3709d0) = 5120 ./strace-static-x86_64: Process 5120 attached [pid 5119] futex(0x7fe27a4474c8, FUTEX_WAKE_PRIVATE, 1000000 [pid 5120] set_robust_list(0x7fe27a3709e0, 24 [pid 5119] <... futex resumed>) = 0 [pid 5120] <... set_robust_list resumed>) = 0 [pid 5119] futex(0x7fe27a4474cc, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5120] openat(AT_FDCWD, "/dev/nbd0", O_RDONLY) = 3 [pid 5120] futex(0x7fe27a4474cc, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5119] <... futex resumed>) = 0 [pid 5119] futex(0x7fe27a4474c8, FUTEX_WAKE_PRIVATE, 1000000 [pid 5120] socketpair(AF_UNIX, SOCK_STREAM, 0, [pid 5119] <... futex resumed>) = 0 [ 64.188141][ T5118] block nbd0: shutting down sockets [pid 5119] futex(0x7fe27a4474cc, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5120] <... socketpair resumed>[4, 5]) = 0 [pid 5120] futex(0x7fe27a4474cc, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5119] <... futex resumed>) = 0 [pid 5119] futex(0x7fe27a4474c8, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5119] futex(0x7fe27a4474cc, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5120] openat(AT_FDCWD, "/dev/nbd0", O_RDONLY) = 6 [pid 5120] futex(0x7fe27a4474cc, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5119] <... futex resumed>) = 0 [pid 5119] futex(0x7fe27a4474c8, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5119] futex(0x7fe27a4474cc, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5120] ioctl(6, NBD_SET_SOCK, 4) = 0 [pid 5120] futex(0x7fe27a4474cc, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5119] <... futex resumed>) = 0 [pid 5119] futex(0x7fe27a4474c8, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5119] futex(0x7fe27a4474cc, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5120] ioctl(3, NBD_SET_SOCK, 4) = 0 [pid 5120] futex(0x7fe27a4474cc, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5119] <... futex resumed>) = 0 [pid 5120] futex(0x7fe27a4474c8, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5119] futex(0x7fe27a4474c8, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5120] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5119] futex(0x7fe27a4474cc, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5120] ioctl(3, NBD_SET_FLAGS, NBD_FLAG_SEND_FLUSH|NBD_FLAG_SEND_FUA|NBD_FLAG_ROTATIONAL|NBD_FLAG_SEND_TRIM|NBD_FLAG_SEND_WRITE_ZEROES|NBD_FLAG_SEND_DF|NBD_FLAG_CAN_MULTI_CONN|NBD_FLAG_SEND_RESIZE|NBD_FLAG_SEND_CACHE|0x7800) = 0 [pid 5120] futex(0x7fe27a4474cc, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5119] <... futex resumed>) = 0 [pid 5120] futex(0x7fe27a4474c8, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5119] futex(0x7fe27a4474c8, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5120] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5119] futex(0x7fe27a4474cc, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5120] openat(AT_FDCWD, "/proc/thread-self/fail-nth", O_RDWR) = 7 [pid 5120] write(7, "18", 2) = 2 [ 64.331595][ T5120] FAULT_INJECTION: forcing a failure. [ 64.331595][ T5120] name failslab, interval 1, probability 0, space 0, times 0 [ 64.344377][ T5120] CPU: 0 PID: 5120 Comm: syz-executor104 Not tainted 6.1.0-next-20221216-syzkaller #0 [ 64.353941][ T5120] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 [ 64.363996][ T5120] Call Trace: [ 64.367266][ T5120] [ 64.370189][ T5120] dump_stack_lvl+0xd1/0x138 [ 64.374791][ T5120] should_fail_ex.cold+0x5/0xa [ 64.379563][ T5120] should_failslab+0x9/0x20 [ 64.384076][ T5120] kmem_cache_alloc_lru+0x65/0x760 [ 64.389196][ T5120] ? alloc_inode+0x168/0x230 [ 64.393797][ T5120] ? lookup_one_len+0x10d/0x1a0 [ 64.398686][ T5120] alloc_inode+0x168/0x230 [ 64.403137][ T5120] new_inode+0x2b/0x280 [ 64.407318][ T5120] debugfs_get_inode+0x1a/0x130 [ 64.412193][ T5120] __debugfs_create_file+0x11a/0x540 [ 64.417515][ T5120] debugfs_create_u32+0x70/0xa0 [ 64.422389][ T5120] nbd_start_device+0x492/0xc30 [ 64.427255][ T5120] ? bpf_lsm_capable+0x9/0x10 [ 64.431940][ T5120] ? security_capable+0x93/0xc0 [ 64.436802][ T5120] nbd_ioctl+0x220/0xc60 [ 64.441057][ T5120] ? blkdev_bszset+0x270/0x270 [ 64.445835][ T5120] ? nbd_start_device+0xc30/0xc30 [ 64.450877][ T5120] ? trace_lock_acquire+0x1d1/0x290 [ 64.456091][ T5120] ? nbd_start_device+0xc30/0xc30 [ 64.461129][ T5120] blkdev_ioctl+0x369/0xa20 [ 64.465646][ T5120] ? blkdev_common_ioctl+0x1ba0/0x1ba0 [ 64.471119][ T5120] ? bpf_lsm_file_ioctl+0x9/0x10 [ 64.476067][ T5120] ? blkdev_common_ioctl+0x1ba0/0x1ba0 [ 64.481543][ T5120] __x64_sys_ioctl+0x197/0x210 [ 64.486316][ T5120] do_syscall_64+0x39/0xb0 [ 64.490742][ T5120] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 64.496647][ T5120] RIP: 0033:0x7fe27a3c3309 [ 64.501063][ T5120] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 11 15 00 00 90 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 b8 ff ff ff f7 d8 64 89 01 48 [ 64.520758][ T5120] RSP: 002b:00007fe27a3702e8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [pid 5120] ioctl(3, NBD_DO_IT [pid 5119] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [ 64.529178][ T5120] RAX: ffffffffffffffda RBX: 00007fe27a4474c0 RCX: 00007fe27a3c3309 [ 64.537152][ T5120] RDX: 0000000000000000 RSI: 000000000000ab03 RDI: 0000000000000003 [ 64.545124][ T5120] RBP: 00007fe27a414194 R08: 0000000000000002 R09: 0000000000003831 [ 64.553096][ T5120] R10: 0000000000000000 R11: 0000000000000246 R12: 00007fe27a4474cc [ 64.561067][ T5120] R13: 00007fe27a3702f0 R14: 00007fe27a4474c8 R15: 0000000000000002 [ 64.569056][ T5120] [ 64.572297][ T5120] debugfs: out of free dentries, can not create file 'blocksize_bits' [pid 5119] exit_group(0) = ? [pid 5120] <... ioctl resumed>) = ? [pid 5120] +++ exited with 0 +++ [pid 5119] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5119, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- restart_syscall(<... resuming interrupted clone ...>) = 0 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555fa85d0) = 5121 ./strace-static-x86_64: Process 5121 attached [pid 5121] set_robust_list(0x555555fa85e0, 24) = 0 [pid 5121] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5121] setpgid(0, 0) = 0 [pid 5121] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5121] write(3, "1000", 4) = 4 [pid 5121] close(3) = 0 [pid 5121] futex(0x7fe27a4474cc, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5121] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7fe27a350000 [pid 5121] mprotect(0x7fe27a351000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 5121] clone(child_stack=0x7fe27a3703f0, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID./strace-static-x86_64: Process 5122 attached [pid 5122] set_robust_list(0x7fe27a3709e0, 24 [pid 5121] <... clone resumed>, parent_tid=[5122], tls=0x7fe27a370700, child_tidptr=0x7fe27a3709d0) = 5122 [pid 5122] <... set_robust_list resumed>) = 0 [pid 5121] futex(0x7fe27a4474c8, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5122] openat(AT_FDCWD, "/dev/nbd0", O_RDONLY [pid 5121] futex(0x7fe27a4474cc, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5122] <... openat resumed>) = 3 [pid 5122] futex(0x7fe27a4474cc, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5121] <... futex resumed>) = 0 [pid 5122] socketpair(AF_UNIX, SOCK_STREAM, 0, [pid 5121] futex(0x7fe27a4474c8, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5122] <... socketpair resumed>[4, 5]) = 0 [pid 5121] futex(0x7fe27a4474cc, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5122] futex(0x7fe27a4474cc, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5121] <... futex resumed>) = 0 [pid 5121] futex(0x7fe27a4474c8, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5121] futex(0x7fe27a4474cc, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5122] openat(AT_FDCWD, "/dev/nbd0", O_RDONLY) = 6 [pid 5122] futex(0x7fe27a4474cc, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5121] <... futex resumed>) = 0 [pid 5121] futex(0x7fe27a4474c8, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5121] futex(0x7fe27a4474cc, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [ 64.722750][ T5120] block nbd0: shutting down sockets [pid 5122] ioctl(6, NBD_SET_SOCK, 4) = 0 [pid 5122] futex(0x7fe27a4474cc, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5121] <... futex resumed>) = 0 [pid 5121] futex(0x7fe27a4474c8, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5121] futex(0x7fe27a4474cc, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5122] ioctl(3, NBD_SET_SOCK, 4 [pid 5121] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 5121] futex(0x7fe27a4474dc, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5121] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7fe27a32f000 [pid 5121] mprotect(0x7fe27a330000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 5121] clone(child_stack=0x7fe27a34f3f0, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, parent_tid=[5123], tls=0x7fe27a34f700, child_tidptr=0x7fe27a34f9d0) = 5123 [pid 5121] futex(0x7fe27a4474d8, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5121] futex(0x7fe27a4474dc, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000}./strace-static-x86_64: Process 5123 attached [pid 5123] set_robust_list(0x7fe27a34f9e0, 24) = 0 [pid 5123] ioctl(3, NBD_SET_FLAGS, NBD_FLAG_SEND_FLUSH|NBD_FLAG_SEND_FUA|NBD_FLAG_ROTATIONAL|NBD_FLAG_SEND_TRIM|NBD_FLAG_SEND_WRITE_ZEROES|NBD_FLAG_SEND_DF|NBD_FLAG_CAN_MULTI_CONN|NBD_FLAG_SEND_RESIZE|NBD_FLAG_SEND_CACHE|0x7800 [pid 5122] <... ioctl resumed>) = 0 [pid 5122] futex(0x7fe27a4474cc, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5122] futex(0x7fe27a4474c8, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5123] <... ioctl resumed>) = 0 [pid 5123] futex(0x7fe27a4474dc, FUTEX_WAKE_PRIVATE, 1000000 [pid 5121] <... futex resumed>) = 0 [pid 5121] futex(0x7fe27a4474c8, FUTEX_WAKE_PRIVATE, 1000000 [pid 5122] <... futex resumed>) = 0 [pid 5121] <... futex resumed>) = 1 [pid 5122] openat(AT_FDCWD, "/proc/thread-self/fail-nth", O_RDWR [pid 5121] futex(0x7fe27a4474cc, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5122] <... openat resumed>) = 7 [pid 5122] write(7, "18", 2) = 2 [pid 5122] ioctl(3, NBD_DO_IT [pid 5123] <... futex resumed>) = 1 [ 64.874148][ T5122] FAULT_INJECTION: forcing a failure. [ 64.874148][ T5122] name failslab, interval 1, probability 0, space 0, times 0 [ 64.887009][ T5122] CPU: 0 PID: 5122 Comm: syz-executor104 Not tainted 6.1.0-next-20221216-syzkaller #0 [ 64.896575][ T5122] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 [ 64.906621][ T5122] Call Trace: [ 64.909887][ T5122] [ 64.912807][ T5122] dump_stack_lvl+0xd1/0x138 [ 64.917397][ T5122] should_fail_ex.cold+0x5/0xa [ 64.922161][ T5122] should_failslab+0x9/0x20 [ 64.926656][ T5122] kmem_cache_alloc_lru+0x65/0x760 [ 64.931753][ T5122] ? alloc_inode+0x168/0x230 [ 64.936336][ T5122] ? lookup_one_len+0x10d/0x1a0 [ 64.941184][ T5122] alloc_inode+0x168/0x230 [ 64.945593][ T5122] new_inode+0x2b/0x280 [ 64.949743][ T5122] debugfs_get_inode+0x1a/0x130 [ 64.954588][ T5122] __debugfs_create_file+0x11a/0x540 [ 64.959868][ T5122] debugfs_create_u32+0x70/0xa0 [ 64.964710][ T5122] nbd_start_device+0x492/0xc30 [ 64.969556][ T5122] ? bpf_lsm_capable+0x9/0x10 [ 64.974228][ T5122] ? security_capable+0x93/0xc0 [ 64.979087][ T5122] nbd_ioctl+0x220/0xc60 [ 64.983346][ T5122] ? blkdev_bszset+0x270/0x270 [ 64.988122][ T5122] ? nbd_start_device+0xc30/0xc30 [ 64.993161][ T5122] ? trace_lock_acquire+0x1d1/0x290 [ 64.998369][ T5122] ? nbd_start_device+0xc30/0xc30 [ 65.003406][ T5122] blkdev_ioctl+0x369/0xa20 [ 65.007923][ T5122] ? blkdev_common_ioctl+0x1ba0/0x1ba0 [ 65.013397][ T5122] ? bpf_lsm_file_ioctl+0x9/0x10 [ 65.018341][ T5122] ? blkdev_common_ioctl+0x1ba0/0x1ba0 [ 65.023815][ T5122] __x64_sys_ioctl+0x197/0x210 [ 65.028585][ T5122] do_syscall_64+0x39/0xb0 [ 65.033012][ T5122] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 65.038907][ T5122] RIP: 0033:0x7fe27a3c3309 [ 65.043321][ T5122] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 11 15 00 00 90 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 b8 ff ff ff f7 d8 64 89 01 48 [ 65.062931][ T5122] RSP: 002b:00007fe27a3702e8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [pid 5123] futex(0x7fe27a4474d8, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5121] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [ 65.071348][ T5122] RAX: ffffffffffffffda RBX: 00007fe27a4474c0 RCX: 00007fe27a3c3309 [ 65.079320][ T5122] RDX: 0000000000000000 RSI: 000000000000ab03 RDI: 0000000000000003 [ 65.087288][ T5122] RBP: 00007fe27a414194 R08: 0000000000000002 R09: 0000000000003831 [ 65.095690][ T5122] R10: 0000000000000000 R11: 0000000000000246 R12: 00007fe27a4474cc [ 65.103659][ T5122] R13: 00007fe27a3702f0 R14: 00007fe27a4474c8 R15: 0000000000000002 [ 65.111647][ T5122] [ 65.114821][ T5122] debugfs: out of free dentries, can not create file 'blocksize_bits' [pid 5121] exit_group(0 [pid 5123] <... futex resumed>) = ? [pid 5121] <... exit_group resumed>) = ? [pid 5123] +++ exited with 0 +++ [pid 5122] <... ioctl resumed>) = ? [pid 5122] +++ exited with 0 +++ [pid 5121] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5121, si_uid=0, si_status=0, si_utime=0, si_stime=3 /* 0.03 s */} --- clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555fa85d0) = 5124 ./strace-static-x86_64: Process 5124 attached [pid 5124] set_robust_list(0x555555fa85e0, 24) = 0 [pid 5124] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5124] setpgid(0, 0) = 0 [pid 5124] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5124] write(3, "1000", 4) = 4 [pid 5124] close(3) = 0 [pid 5124] futex(0x7fe27a4474cc, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5124] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7fe27a350000 [pid 5124] mprotect(0x7fe27a351000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 5124] clone(child_stack=0x7fe27a3703f0, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, parent_tid=[5125], tls=0x7fe27a370700, child_tidptr=0x7fe27a3709d0) = 5125 [pid 5124] futex(0x7fe27a4474c8, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5124] futex(0x7fe27a4474cc, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000}./strace-static-x86_64: Process 5125 attached [pid 5125] set_robust_list(0x7fe27a3709e0, 24) = 0 [pid 5125] openat(AT_FDCWD, "/dev/nbd0", O_RDONLY) = 3 [pid 5125] futex(0x7fe27a4474cc, FUTEX_WAKE_PRIVATE, 1000000 [pid 5124] <... futex resumed>) = 0 [pid 5124] futex(0x7fe27a4474c8, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5125] <... futex resumed>) = 1 [pid 5124] futex(0x7fe27a4474cc, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5125] socketpair(AF_UNIX, SOCK_STREAM, 0, [4, 5]) = 0 [pid 5125] futex(0x7fe27a4474cc, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5124] <... futex resumed>) = 0 [pid 5125] futex(0x7fe27a4474c8, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5124] futex(0x7fe27a4474c8, FUTEX_WAKE_PRIVATE, 1000000 [pid 5125] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5124] <... futex resumed>) = 0 [pid 5125] openat(AT_FDCWD, "/dev/nbd0", O_RDONLY [pid 5124] futex(0x7fe27a4474cc, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5125] <... openat resumed>) = 6 [pid 5125] futex(0x7fe27a4474cc, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5124] <... futex resumed>) = 0 [pid 5125] futex(0x7fe27a4474c8, FUTEX_WAIT_PRIVATE, 0, NULL [ 65.249288][ T5122] block nbd0: shutting down sockets [pid 5124] futex(0x7fe27a4474c8, FUTEX_WAKE_PRIVATE, 1000000 [pid 5125] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5124] <... futex resumed>) = 0 [pid 5125] ioctl(6, NBD_SET_SOCK, 4 [pid 5124] futex(0x7fe27a4474cc, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000}) = -1 ETIMEDOUT (Connection timed out) [pid 5124] futex(0x7fe27a4474dc, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5124] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7fe27a32f000 [pid 5124] mprotect(0x7fe27a330000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 5124] clone(child_stack=0x7fe27a34f3f0, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, parent_tid=[5126], tls=0x7fe27a34f700, child_tidptr=0x7fe27a34f9d0) = 5126 [pid 5124] futex(0x7fe27a4474d8, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5124] futex(0x7fe27a4474dc, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000}./strace-static-x86_64: Process 5126 attached [pid 5126] set_robust_list(0x7fe27a34f9e0, 24) = 0 [pid 5126] ioctl(3, NBD_SET_SOCK, 4 [pid 5125] <... ioctl resumed>) = 0 [pid 5125] futex(0x7fe27a4474cc, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5125] futex(0x7fe27a4474c8, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5124] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 5124] futex(0x7fe27a4474c8, FUTEX_WAKE_PRIVATE, 1000000 [pid 5125] <... futex resumed>) = 0 [pid 5124] <... futex resumed>) = 1 [pid 5125] ioctl(3, NBD_SET_FLAGS, NBD_FLAG_SEND_FLUSH|NBD_FLAG_SEND_FUA|NBD_FLAG_ROTATIONAL|NBD_FLAG_SEND_TRIM|NBD_FLAG_SEND_WRITE_ZEROES|NBD_FLAG_SEND_DF|NBD_FLAG_CAN_MULTI_CONN|NBD_FLAG_SEND_RESIZE|NBD_FLAG_SEND_CACHE|0x7800 [pid 5124] futex(0x7fe27a4474cc, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5125] <... ioctl resumed>) = 0 [pid 5125] futex(0x7fe27a4474cc, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5124] <... futex resumed>) = 0 [pid 5125] futex(0x7fe27a4474c8, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5124] futex(0x7fe27a4474c8, FUTEX_WAKE_PRIVATE, 1000000 [pid 5125] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5124] <... futex resumed>) = 0 [pid 5125] openat(AT_FDCWD, "/proc/thread-self/fail-nth", O_RDWR [pid 5126] <... ioctl resumed>) = -1 EBUSY (Device or resource busy) [pid 5124] futex(0x7fe27a4474cc, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5126] futex(0x7fe27a4474dc, FUTEX_WAKE_PRIVATE, 1000000 [pid 5125] <... openat resumed>) = 7 [pid 5126] <... futex resumed>) = 0 [pid 5125] write(7, "18", 2) = 2 [pid 5125] ioctl(3, NBD_DO_IT [ 65.400741][ T5126] block nbd0: Device being setup by another task [pid 5126] futex(0x7fe27a4474d8, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5124] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [ 65.444213][ T5125] ------------[ cut here ]------------ [ 65.449694][ T5125] kernfs: can not remove 'nr_tags', no directory [ 65.456617][ T5125] WARNING: CPU: 1 PID: 5125 at fs/kernfs/dir.c:1651 kernfs_remove_by_name_ns+0x101/0x120 [ 65.467067][ T5125] Modules linked in: [ 65.471484][ T5125] CPU: 0 PID: 5125 Comm: syz-executor104 Not tainted 6.1.0-next-20221216-syzkaller #0 [ 65.481234][ T5125] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 [ 65.491343][ T5125] RIP: 0010:kernfs_remove_by_name_ns+0x101/0x120 [ 65.497686][ T5125] Code: c3 e8 f3 76 7b ff 4c 89 e7 41 bc fe ff ff ff e8 45 e9 5c ff eb da e8 de 76 7b ff 4c 89 ee 48 c7 c7 60 fa 5e 8a e8 09 ef ba 07 <0f> 0b 41 bc fe ff ff ff eb bc e8 60 86 c9 ff e9 61 ff ff ff e8 56 [ 65.517376][ T5125] RSP: 0018:ffffc90003dbfa30 EFLAGS: 00010282 [ 65.523687][ T5125] RAX: 0000000000000000 RBX: ffffffff8d07e7e8 RCX: 0000000000000000 [ 65.531749][ T5125] RDX: ffff888075d28000 RSI: ffffffff81667acc RDI: fffff520007b7f38 [ 65.539841][ T5125] RBP: 0000000000000000 R08: 0000000000000005 R09: 0000000000000000 [ 65.547894][ T5125] R10: 0000000080000000 R11: 0000000000000000 R12: 0000000000000000 [ 65.555942][ T5125] R13: ffffffff8aa496c0 R14: 0000000000000000 R15: 0000000000000001 [ 65.563984][ T5125] FS: 00007fe27a370700(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 [ 65.572986][ T5125] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 65.579588][ T5125] CR2: 00007fe27a4044b0 CR3: 0000000026dec000 CR4: 00000000003506f0 [pid 5124] exit_group(0) = ? [pid 5126] <... futex resumed>) = ? [pid 5126] +++ exited with 0 +++ [ 65.587622][ T5125] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 65.595665][ T5125] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 65.603953][ T5125] Call Trace: [ 65.607256][ T5125] [ 65.610208][ T5125] remove_files+0x96/0x1c0 [ 65.614739][ T5125] sysfs_remove_group+0x8b/0x170 [ 65.619712][ T5125] sysfs_remove_groups+0x60/0xa0 [ 65.624749][ T5125] __kobject_del+0x89/0x1f0 [ 65.629634][ T5125] kobject_del+0x40/0x60 [ 65.634168][ T5125] blk_mq_sysfs_unregister_hctxs+0x24b/0x2d0 [ 65.640193][ T5125] ? blk_mq_sysfs_unregister+0x3f0/0x3f0 [ 65.645950][ T5125] ? blk_mq_debugfs_register_hctxs+0x140/0x140 [ 65.652223][ T5125] blk_mq_update_nr_hw_queues+0x471/0xf60 [ 65.657962][ T5125] ? blk_mq_map_swqueue+0x11f0/0x11f0 [ 65.663420][ T5125] nbd_start_device+0x153/0xc30 [ 65.668294][ T5125] ? bpf_lsm_capable+0x9/0x10 [ 65.673050][ T5125] ? security_capable+0x93/0xc0 [ 65.677918][ T5125] nbd_ioctl+0x220/0xc60 [ 65.682330][ T5125] ? blkdev_bszset+0x270/0x270 [ 65.687144][ T5125] ? nbd_start_device+0xc30/0xc30 [ 65.692257][ T5125] ? trace_lock_acquire+0x1d1/0x290 [ 65.697476][ T5125] ? nbd_start_device+0xc30/0xc30 [ 65.702594][ T5125] blkdev_ioctl+0x369/0xa20 [ 65.707134][ T5125] ? blkdev_common_ioctl+0x1ba0/0x1ba0 [ 65.712698][ T5125] ? bpf_lsm_file_ioctl+0x9/0x10 [ 65.717656][ T5125] ? blkdev_common_ioctl+0x1ba0/0x1ba0 [ 65.723197][ T5125] __x64_sys_ioctl+0x197/0x210 [ 65.727988][ T5125] do_syscall_64+0x39/0xb0 [ 65.732515][ T5125] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 65.738436][ T5125] RIP: 0033:0x7fe27a3c3309 [ 65.742943][ T5125] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 11 15 00 00 90 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 b8 ff ff ff f7 d8 64 89 01 48 [ 65.762604][ T5125] RSP: 002b:00007fe27a3702e8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 65.771107][ T5125] RAX: ffffffffffffffda RBX: 00007fe27a4474c0 RCX: 00007fe27a3c3309 [ 65.779087][ T5125] RDX: 0000000000000000 RSI: 000000000000ab03 RDI: 0000000000000003 [ 65.787108][ T5125] RBP: 00007fe27a414194 R08: 0000000000000002 R09: 0000000000003831 [ 65.795219][ T5125] R10: 0000000000000000 R11: 0000000000000246 R12: 00007fe27a4474cc [ 65.803233][ T5125] R13: 00007fe27a3702f0 R14: 00007fe27a4474c8 R15: 0000000000000002 [ 65.811255][ T5125] [ 65.814269][ T5125] Kernel panic - not syncing: kernel: panic_on_warn set ... [ 65.821536][ T5125] CPU: 0 PID: 5125 Comm: syz-executor104 Not tainted 6.1.0-next-20221216-syzkaller #0 [ 65.831065][ T5125] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 [ 65.841109][ T5125] Call Trace: [ 65.844378][ T5125] [ 65.847304][ T5125] dump_stack_lvl+0xd1/0x138 [ 65.851905][ T5125] panic+0x2cc/0x626 [ 65.855795][ T5125] ? panic_print_sys_info.part.0+0x110/0x110 [ 65.861783][ T5125] ? kernfs_remove_by_name_ns+0x101/0x120 [ 65.867503][ T5125] check_panic_on_warn.cold+0x19/0x35 [ 65.872882][ T5125] __warn+0xf2/0x1a0 [ 65.876786][ T5125] ? __wake_up_klogd.part.0+0x99/0xf0 [ 65.882162][ T5125] ? kernfs_remove_by_name_ns+0x101/0x120 [ 65.887895][ T5125] report_bug+0x1c0/0x210 [ 65.892236][ T5125] handle_bug+0x3c/0x70 [ 65.896401][ T5125] exc_invalid_op+0x18/0x50 [ 65.901000][ T5125] asm_exc_invalid_op+0x1a/0x20 [ 65.905852][ T5125] RIP: 0010:kernfs_remove_by_name_ns+0x101/0x120 [ 65.912192][ T5125] Code: c3 e8 f3 76 7b ff 4c 89 e7 41 bc fe ff ff ff e8 45 e9 5c ff eb da e8 de 76 7b ff 4c 89 ee 48 c7 c7 60 fa 5e 8a e8 09 ef ba 07 <0f> 0b 41 bc fe ff ff ff eb bc e8 60 86 c9 ff e9 61 ff ff ff e8 56 [ 65.931917][ T5125] RSP: 0018:ffffc90003dbfa30 EFLAGS: 00010282 [ 65.937989][ T5125] RAX: 0000000000000000 RBX: ffffffff8d07e7e8 RCX: 0000000000000000 [ 65.945959][ T5125] RDX: ffff888075d28000 RSI: ffffffff81667acc RDI: fffff520007b7f38 [ 65.953931][ T5125] RBP: 0000000000000000 R08: 0000000000000005 R09: 0000000000000000 [ 65.962074][ T5125] R10: 0000000080000000 R11: 0000000000000000 R12: 0000000000000000 [ 65.970042][ T5125] R13: ffffffff8aa496c0 R14: 0000000000000000 R15: 0000000000000001 [ 65.978022][ T5125] ? vprintk+0x8c/0xa0 [ 65.982106][ T5125] remove_files+0x96/0x1c0 [ 65.986528][ T5125] sysfs_remove_group+0x8b/0x170 [ 65.991474][ T5125] sysfs_remove_groups+0x60/0xa0 [ 65.996418][ T5125] __kobject_del+0x89/0x1f0 [ 66.000933][ T5125] kobject_del+0x40/0x60 [ 66.005184][ T5125] blk_mq_sysfs_unregister_hctxs+0x24b/0x2d0 [ 66.011180][ T5125] ? blk_mq_sysfs_unregister+0x3f0/0x3f0 [ 66.016824][ T5125] ? blk_mq_debugfs_register_hctxs+0x140/0x140 [ 66.022993][ T5125] blk_mq_update_nr_hw_queues+0x471/0xf60 [ 66.028735][ T5125] ? blk_mq_map_swqueue+0x11f0/0x11f0 [ 66.034124][ T5125] nbd_start_device+0x153/0xc30 [ 66.038987][ T5125] ? bpf_lsm_capable+0x9/0x10 [ 66.043670][ T5125] ? security_capable+0x93/0xc0 [ 66.048531][ T5125] nbd_ioctl+0x220/0xc60 [ 66.052786][ T5125] ? blkdev_bszset+0x270/0x270 [ 66.057563][ T5125] ? nbd_start_device+0xc30/0xc30 [ 66.062602][ T5125] ? trace_lock_acquire+0x1d1/0x290 [ 66.067827][ T5125] ? nbd_start_device+0xc30/0xc30 [ 66.072868][ T5125] blkdev_ioctl+0x369/0xa20 [ 66.077391][ T5125] ? blkdev_common_ioctl+0x1ba0/0x1ba0 [ 66.082868][ T5125] ? bpf_lsm_file_ioctl+0x9/0x10 [ 66.087812][ T5125] ? blkdev_common_ioctl+0x1ba0/0x1ba0 [ 66.093287][ T5125] __x64_sys_ioctl+0x197/0x210 [ 66.098059][ T5125] do_syscall_64+0x39/0xb0 [ 66.102486][ T5125] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 66.108381][ T5125] RIP: 0033:0x7fe27a3c3309 [ 66.112798][ T5125] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 11 15 00 00 90 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 b8 ff ff ff f7 d8 64 89 01 48 [ 66.132406][ T5125] RSP: 002b:00007fe27a3702e8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 66.140826][ T5125] RAX: ffffffffffffffda RBX: 00007fe27a4474c0 RCX: 00007fe27a3c3309 [ 66.148796][ T5125] RDX: 0000000000000000 RSI: 000000000000ab03 RDI: 0000000000000003 [ 66.156765][ T5125] RBP: 00007fe27a414194 R08: 0000000000000002 R09: 0000000000003831 [ 66.164734][ T5125] R10: 0000000000000000 R11: 0000000000000246 R12: 00007fe27a4474cc [ 66.172705][ T5125] R13: 00007fe27a3702f0 R14: 00007fe27a4474c8 R15: 0000000000000002 [ 66.180693][ T5125] [ 66.183867][ T5125] Kernel Offset: disabled [ 66.188259][ T5125] Rebooting in 86400 seconds..