syzbot


INFO: task hung in filename_create

Status: auto-closed as invalid on 2019/02/22 14:19
First crash: 2058d, last: 2058d
Similar bugs (11)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.19 INFO: task hung in filename_create 6 1476d 1576d 0/1 auto-closed as invalid on 2020/03/17 23:03
upstream INFO: task hung in filename_create (2) fs 11 1460d 1564d 0/25 auto-closed as invalid on 2020/03/04 11:54
android-49 INFO: task hung in filename_create C 44 1925d 1696d 0/3 public: reported C repro on 2019/04/13 00:00
upstream INFO: task hung in filename_create (3) fs 16 925d 1081d 0/25 auto-closed as invalid on 2021/08/20 18:08
linux-4.19 INFO: task hung in filename_create (3) 3 753d 816d 0/1 auto-closed as invalid on 2022/03/11 04:15
linux-4.19 INFO: task hung in filename_create (2) 1 1017d 1017d 0/1 auto-closed as invalid on 2021/06/20 16:38
linux-4.14 INFO: task hung in filename_create 2 1449d 1453d 0/1 auto-closed as invalid on 2020/04/14 04:42
linux-4.19 INFO: task hung in filename_create (4) 2 386d 450d 0/1 auto-obsoleted due to no activity on 2023/03/13 04:19
android-44 INFO: task hung in filename_create (2) 1 1679d 1679d 0/2 auto-closed as invalid on 2019/10/25 08:49
upstream INFO: task hung in filename_create (4) fs C error error 54 7d06h 712d 0/25 upstream: reported C repro on 2021/12/21 22:55
upstream INFO: task hung in filename_create fs 121 1769d 2055d 0/25 closed as dup on 2018/09/08 15:39

Sample crash report:
binder: 7693:7694 transaction failed 29189/-22, size 0-0 line 3011
binder: 7693:7694 transaction failed 29189/-22, size 0-0 line 3011
binder: undelivered TRANSACTION_ERROR: 29189
binder: undelivered TRANSACTION_ERROR: 29189
tmpfs: Bad mount option !z>0@\
INFO: task syz-executor6:7676 blocked for more than 120 seconds.
      Not tainted 4.4.125-g38f41ec #21
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
syz-executor6   D ffff8801d411fc08 27992  7676   3841 0x20020004
 ffff8801d411fc08 ffff8801d6a04800 0000000000000001 0000000000000007
 ffff8801d6a04800 ffff8801db21fdb8 ffff8801db21fde0 ffff8801db21f4d8
 ffff8801db21f4c0 ffff8800bb9db000 ffff8801d6a04800 0000000000000000
Call Trace:
 [<ffffffff8376b82a>] schedule+0x7a/0x1b0 kernel/sched/core.c:3359
 [<ffffffff8376c023>] schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:3392
 [<ffffffff837705e6>] __mutex_lock_common kernel/locking/mutex.c:582 [inline]
 [<ffffffff837705e6>] mutex_lock_nested+0x306/0x850 kernel/locking/mutex.c:621
 [<ffffffff81551b96>] filename_create+0x166/0x460 fs/namei.c:3463
 [<ffffffff81553fd9>] user_path_create fs/namei.c:3521 [inline]
 [<ffffffff81553fd9>] SYSC_mkdirat fs/namei.c:3663 [inline]
 [<ffffffff81553fd9>] SyS_mkdirat fs/namei.c:3655 [inline]
 [<ffffffff81553fd9>] SYSC_mkdir fs/namei.c:3682 [inline]
 [<ffffffff81553fd9>] SyS_mkdir+0xb9/0x260 fs/namei.c:3680
 [<ffffffff81006d91>] do_syscall_32_irqs_on arch/x86/entry/common.c:392 [inline]
 [<ffffffff81006d91>] do_fast_syscall_32+0x321/0x8a0 arch/x86/entry/common.c:459
 [<ffffffff8377b2aa>] sysenter_flags_fixed+0xd/0x17
2 locks held by syz-executor6/7676:
 #0:  (sb_writers#13){.+.+.+}, at: [<ffffffff81583f1f>] sb_start_write include/linux/fs.h:1498 [inline]
 #0:  (sb_writers#13){.+.+.+}, at: [<ffffffff81583f1f>] mnt_want_write+0x3f/0xb0 fs/namespace.c:391
 #1:  (&sb->s_type->i_mutex_key#17/1){+.+.+.}, at: [<ffffffff81551b96>] filename_create+0x166/0x460 fs/namei.c:3463
Sending NMI to all CPUs:
NMI backtrace for cpu 0
CPU: 0 PID: 7700 Comm: syz-executor6 Not tainted 4.4.125-g38f41ec #21
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
task: ffff8801d393c800 task.stack: ffff8801d22b0000
RIP: 0010:[<ffffffff815b33fa>]  [<ffffffff815b33fa>] do_make_slave fs/pnode.c:84 [inline]
RIP: 0010:[<ffffffff815b33fa>]  [<ffffffff815b33fa>] change_mnt_propagation+0xaa/0xae0 fs/pnode.c:130
RSP: 0018:ffff8801d22b7a78  EFLAGS: 00000246
RAX: 0000000000040000 RBX: ffff8801b7b61c00 RCX: ffffffff815b33d8
RDX: 1ffff10015a3a2c4 RSI: ffffc90009b13000 RDI: ffff8800ad1d1620
RBP: ffff8801d22b7ad0 R08: ffff8801b7b61c68 R09: 0000000000000001
R10: 0000000000000000 R11: 1ffff1003a456f1c R12: ffff8800ad1d1600
R13: dffffc0000000000 R14: ffffed0036f6c384 R15: ffff8801d2e75600
FS:  0000000000000000(0000) GS:ffff8801db200000(0063) knlGS:00000000f575fb40
CS:  0010 DS: 002b ES: 002b CR0: 0000000080050033
CR2: 0000000000608b20 CR3: 00000001d6880000 CR4: 0000000000160670
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Stack:
 ffff8801d22b7aa0 ffffffff8157eb2c 0000000000000000 ffff8801b7b61c20
 ffff8801b7b61ce0 00040000d22b7ad0 dffffc0000000000 ffff8801b7b61c00
 ffff8801b7b61c90 ffff8801d2e75600 ffff8801d22b7b70 ffff8801d22b7b98
Call Trace:
 [<ffffffff8157f2b9>] umount_tree+0x389/0x8c0 fs/namespace.c:1500
 [<ffffffff81587779>] attach_recursive_mnt+0x739/0x8c0 fs/namespace.c:2034
 [<ffffffff81587a68>] graft_tree+0x168/0x1f0 fs/namespace.c:2098
 [<ffffffff8158a19a>] do_loopback fs/namespace.c:2219 [inline]
 [<ffffffff8158a19a>] do_mount+0x1f8a/0x2900 fs/namespace.c:2826
 [<ffffffff8161c286>] C_SYSC_mount fs/compat.c:824 [inline]
 [<ffffffff8161c286>] compat_SyS_mount+0x106/0x1180 fs/compat.c:789
 [<ffffffff81006d91>] do_syscall_32_irqs_on arch/x86/entry/common.c:392 [inline]
 [<ffffffff81006d91>] do_fast_syscall_32+0x321/0x8a0 arch/x86/entry/common.c:459
 [<ffffffff8377b2aa>] sysenter_flags_fixed+0xd/0x17
Code: 01 ee eb 33 e8 a8 e2 da ff 49 8d 7c 24 20 48 89 fa 48 c1 ea 03 42 80 3c 2a 00 0f 85 a4 09 00 00 41 80 3e 00 4d 8b bf 70 ff ff ff <0f> 85 85 09 00 00 4c 3b 7b 20 74 69 e8 75 e2 da ff 49 8d bc 24 
NMI backtrace for cpu 1
CPU: 1 PID: 487 Comm: khungtaskd Not tainted 4.4.125-g38f41ec #21
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
task: ffff8800bb360000 task.stack: ffff8800bb378000
RIP: 0010:[<ffffffff810c3f87>]  [<ffffffff810c3f87>] native_apic_mem_write arch/x86/include/asm/apic.h:94 [inline]
RIP: 0010:[<ffffffff810c3f87>]  [<ffffffff810c3f87>] __default_send_IPI_dest_field arch/x86/include/asm/ipi.h:119 [inline]
RIP: 0010:[<ffffffff810c3f87>]  [<ffffffff810c3f87>] _flat_send_IPI_mask arch/x86/kernel/apic/apic_flat_64.c:61 [inline]
RIP: 0010:[<ffffffff810c3f87>]  [<ffffffff810c3f87>] flat_send_IPI_mask+0xf7/0x1a0 arch/x86/kernel/apic/apic_flat_64.c:69
RSP: 0018:ffff8800bb37fcb8  EFLAGS: 00000046
RAX: 0000000003000000 RBX: 0000000000000c00 RCX: 0000000000000000
RDX: 0000000000000c00 RSI: 0000000000000000 RDI: ffffffffff5fb300
RBP: ffff8800bb37fce0 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000000246
R13: 0000000000000003 R14: ffffffff8426f5a0 R15: 0000000000000002
FS:  0000000000000000(0000) GS:ffff8801db300000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f1e0603f000 CR3: 00000001d3b22000 CR4: 0000000000160670
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Stack:
 ffffffff8426f5a0 ffffffff847f0b40 fffffbfff08fdc1c dffffc0000000000
 ffff8801db31bca0 ffff8800bb37fd00 ffffffff810b9abb ffffffff839f6dc0
 0000000000000003 ffff8800bb37fd60 ffffffff81d11764 ffffffff8141b993
Call Trace:
 [<ffffffff810b9abb>] nmi_raise_cpu_backtrace+0x5b/0x70 arch/x86/kernel/apic/hw_nmi.c:33
 [<ffffffff81d11764>] nmi_trigger_all_cpu_backtrace+0x4a4/0x550 lib/nmi_backtrace.c:85
 [<ffffffff810b9b54>] arch_trigger_all_cpu_backtrace+0x14/0x20 arch/x86/kernel/apic/hw_nmi.c:38
 [<ffffffff813695ca>] trigger_all_cpu_backtrace include/linux/nmi.h:44 [inline]
 [<ffffffff813695ca>] check_hung_task kernel/hung_task.c:125 [inline]
 [<ffffffff813695ca>] check_hung_uninterruptible_tasks kernel/hung_task.c:182 [inline]
 [<ffffffff813695ca>] watchdog+0x6fa/0xae0 kernel/hung_task.c:238
 [<ffffffff81190b48>] kthread+0x268/0x300 kernel/kthread.c:211
 [<ffffffff83779d95>] ret_from_fork+0x55/0x80 arch/x86/entry/entry_64.S:510
Code: b3 5f ff f6 c4 10 75 e1 44 89 e8 c1 e0 18 89 04 25 10 b3 5f ff 44 89 fa 09 da 80 cf 04 41 83 ff 02 0f 44 d3 89 14 25 00 b3 5f ff <41> f7 c4 00 02 00 00 74 1a e8 2b 33 17 00 4c 89 e7 57 9d 0f 1f 

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2018/04/15 19:05 https://android.googlesource.com/kernel/common android-4.4 38f41ec1cb31 7a67784c .config console log report ci-android-44-kasan-gce-386
* Struck through repros no longer work on HEAD.