syzbot


INFO: task hung in chown_common

Status: closed as invalid on 2018/12/31 08:00
Subsystems: fs
[Documentation on labels]
Reported-by: syzbot+070510d9d9192069b5df@syzkaller.appspotmail.com
First crash: 2313d, last: 2205d
Similar bugs (10)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.19 INFO: task hung in chown_common (2) 1 673d 673d 0/1 upstream: reported on 2023/01/05 10:16
upstream INFO: task hung in chown_common (3) fuse 11 1358d 1408d 0/28 auto-closed as invalid on 2021/05/20 23:06
android-414 INFO: task hung in chown_common 1 2018d 2018d 0/1 auto-closed as invalid on 2019/10/25 08:39
upstream INFO: task hung in chown_common (5) fuse 1 714d 714d 0/28 auto-obsoleted due to no activity on 2023/04/09 00:18
linux-6.1 INFO: task hung in chown_common 2 178d 179d 0/3 auto-obsoleted due to no activity on 2024/08/22 06:21
android-49 INFO: task hung in chown_common 10 2267d 2313d 0/3 auto-closed as invalid on 2019/02/22 14:39
upstream INFO: task hung in chown_common (2) fs 1 1657d 1657d 0/28 auto-closed as invalid on 2020/07/25 16:03
upstream INFO: task hung in chown_common (4) v9fs C error inconclusive 7 850d 977d 0/28 closed as invalid on 2022/10/12 18:37
linux-5.15 INFO: task hung in chown_common 5 178d 181d 0/3 auto-obsoleted due to no activity on 2024/08/22 04:01
linux-4.19 INFO: task hung in chown_common 2 1078d 1116d 0/1 auto-closed as invalid on 2022/03/26 21:13

Sample crash report:
IPv6: ADDRCONF(NETDEV_CHANGE): veth1: link becomes ready
IPv6: ADDRCONF(NETDEV_CHANGE): veth0: link becomes ready
8021q: adding VLAN 0 to HW filter on device team0
kernel msg: ebtables bug: please report to author: EBT_ENTRY_OR_ENTRIES shouldn't be set in distinguisher
kernel msg: ebtables bug: please report to author: EBT_ENTRY_OR_ENTRIES shouldn't be set in distinguisher
INFO: task syz-executor0:14883 blocked for more than 140 seconds.
      Not tainted 4.19.0+ #81
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
syz-executor0   D25208 14883   5598 0x00000004
Call Trace:
 context_switch kernel/sched/core.c:2826 [inline]
 __schedule+0x8cf/0x21d0 kernel/sched/core.c:3474
 schedule+0xfe/0x460 kernel/sched/core.c:3518
 __rwsem_down_write_failed_common+0xc9a/0x15e0 kernel/locking/rwsem-xadd.c:577
 rwsem_down_write_failed+0xe/0x10 kernel/locking/rwsem-xadd.c:606
 call_rwsem_down_write_failed+0x17/0x30 arch/x86/lib/rwsem.S:117
 __down_write arch/x86/include/asm/rwsem.h:142 [inline]
 down_write+0xa5/0x130 kernel/locking/rwsem.c:72
 inode_lock include/linux/fs.h:738 [inline]
 chown_common+0x3a9/0x730 fs/open.c:629
 do_fchownat+0x16e/0x250 fs/open.c:662
 __do_sys_lchown fs/open.c:687 [inline]
 __se_sys_lchown fs/open.c:685 [inline]
 __x64_sys_lchown+0x7e/0xc0 fs/open.c:685
 do_syscall_64+0x1b9/0x820 arch/x86/entry/common.c:290
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x457569
Code: 83 c4 18 c3 e8 d8 64 00 00 48 8b 04 24 48 8b 4c 24 08 48 89 01 e8 d7 2d fc ff e8 22 7a fc ff b8 02 00 00 00 48 8d 0d 2a 60 09 <01> 87 01 8b 05 22 60 09 01 83 f8 01 0f 85 8a 00 00 00 b8 01 00 00
RSP: 002b:00007fcf50b3fc78 EFLAGS: 00000246 ORIG_RAX: 000000000000005e
RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000457569
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000600
RBP: 000000000072c0e0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007fcf50b406d4
R13: 00000000004c26bb R14: 00000000004d37f8 R15: 00000000ffffffff

Showing all locks held in the system:
1 lock held by khungtaskd/982:
 #0: 00000000ce52f1ff (rcu_read_lock){....}, at: debug_show_all_locks+0xd0/0x424 kernel/locking/lockdep.c:4379
1 lock held by rsyslogd/5468:
 #0: 0000000006cf33aa (&f->f_pos_lock){+.+.}, at: __fdget_pos+0x1bb/0x200 fs/file.c:766
2 locks held by getty/5558:
 #0: 000000005d9cdc2f (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:353
 #1: 00000000aae097d5 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140
2 locks held by getty/5559:
 #0: 00000000c3511964 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:353
 #1: 000000008fc6b4db (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140
2 locks held by getty/5560:
 #0: 000000001fb44434 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:353
 #1: 000000000778d292 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140
2 locks held by getty/5561:
 #0: 0000000093f9806d (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:353
 #1: 00000000c776428e (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140
2 locks held by getty/5562:
 #0: 0000000039e258c0 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:353
 #1: 00000000cb5c1852 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140
2 locks held by getty/5563:
 #0: 000000003926a342 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:353
 #1: 000000002a02dfe6 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140
2 locks held by getty/5564:
 #0: 000000000281931e (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:353
 #1: 000000008adbd9a5 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140
2 locks held by syz-executor0/14878:
 #0: 000000004314047c (sb_writers#23){.+.+}, at: sb_start_write include/linux/fs.h:1566 [inline]
 #0: 000000004314047c (sb_writers#23){.+.+}, at: mnt_want_write+0x3f/0xc0 fs/namespace.c:360
 #1: 00000000850cfa76 (&sb->s_type->i_mutex_key#28){+.+.}, at: inode_lock include/linux/fs.h:738 [inline]
 #1: 00000000850cfa76 (&sb->s_type->i_mutex_key#28){+.+.}, at: chown_common+0x3a9/0x730 fs/open.c:629
2 locks held by syz-executor0/14883:
 #0: 000000004314047c (sb_writers#23){.+.+}, at: sb_start_write include/linux/fs.h:1566 [inline]
 #0: 000000004314047c (sb_writers#23){.+.+}, at: mnt_want_write+0x3f/0xc0 fs/namespace.c:360
 #1: 00000000850cfa76 (&sb->s_type->i_mutex_key#28){+.+.}, at: inode_lock include/linux/fs.h:738 [inline]
 #1: 00000000850cfa76 (&sb->s_type->i_mutex_key#28){+.+.}, at: chown_common+0x3a9/0x730 fs/open.c:629
1 lock held by syz-executor0/14906:
 #0: 000000000fe84470 (&type->s_umount_key#78/1){+.+.}, at: alloc_super fs/super.c:226 [inline]
 #0: 000000000fe84470 (&type->s_umount_key#78/1){+.+.}, at: sget_userns+0x2e5/0xf10 fs/super.c:519

=============================================

NMI backtrace for cpu 1
CPU: 1 PID: 982 Comm: khungtaskd Not tainted 4.19.0+ #81
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 __dump_stack lib/dump_stack.c:77 [inline]
 dump_stack+0x244/0x39d lib/dump_stack.c:113
 nmi_cpu_backtrace.cold.1+0x5c/0xa1 lib/nmi_backtrace.c:101
 nmi_trigger_cpumask_backtrace+0x1b3/0x1ed lib/nmi_backtrace.c:62
 arch_trigger_cpumask_backtrace+0x14/0x20 arch/x86/kernel/apic/hw_nmi.c:38
 trigger_all_cpu_backtrace include/linux/nmi.h:144 [inline]
 check_hung_uninterruptible_tasks kernel/hung_task.c:204 [inline]
 watchdog+0xb3e/0x1050 kernel/hung_task.c:265
 kthread+0x35a/0x420 kernel/kthread.c:246
 ret_from_fork+0x3a/0x50 arch/x86/entry/entry_64.S:350
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0 skipped: idling at native_safe_halt+0x6/0x10 arch/x86/include/asm/irqflags.h:57

Crashes (35):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2018/10/26 12:44 upstream e5f6d9afa341 a8292de9 .config console log report ci-upstream-kasan-gce-smack-root
2018/10/25 11:31 upstream 01aa9d518eae a8292de9 .config console log report ci-upstream-kasan-gce-smack-root
2018/10/24 08:57 upstream 44786880df19 a8292de9 .config console log report ci-upstream-kasan-gce-root
2018/10/22 20:41 upstream 84df9525b0c2 ecb386fe .config console log report ci-upstream-kasan-gce-root
2018/10/21 17:06 upstream 23469de647c4 ecb386fe .config console log report ci-upstream-kasan-gce-selinux-root
2018/10/21 08:52 upstream b0d04fb56b31 ecb386fe .config console log report ci-upstream-kasan-gce-root
2018/10/14 21:05 upstream 3a27203102eb caf12900 .config console log report ci-upstream-kasan-gce-smack-root
2018/10/10 16:31 upstream 3d647e62686f 5b11ac2c .config console log report ci-upstream-kasan-gce-smack-root
2018/10/09 05:11 upstream 0854ba5ff5c9 8b311eaf .config console log report ci-upstream-kasan-gce-root
2018/10/09 05:03 upstream 0854ba5ff5c9 8b311eaf .config console log report ci-upstream-kasan-gce-selinux-root
2018/10/06 18:01 upstream 091a1eaa0e30 8b311eaf .config console log report ci-upstream-kasan-gce-root
2018/10/05 03:49 upstream d2467adb6610 8b311eaf .config console log report ci-upstream-kasan-gce-root
2018/10/01 16:23 upstream 17b57b1883c1 48a50c6b .config console log report ci-upstream-kasan-gce-smack-root
2018/09/29 20:23 upstream 82ec752cce8b 41e4b329 .config console log report ci-upstream-kasan-gce-root
2018/09/09 00:47 upstream d7b686ebf704 6b5120a4 .config console log report ci-upstream-kasan-gce-selinux-root
2018/09/04 15:11 upstream 60c1f89241d4 a4718693 .config console log report ci-upstream-kasan-gce-root
2018/08/18 13:52 upstream 1f7a4c73a739 db1858f6 .config console log report ci-upstream-kasan-gce-root
2018/08/08 05:38 upstream 1236568ee3cb 1beb8136 .config console log report ci-upstream-kasan-gce-root
2018/08/03 00:39 upstream e30cb13c5a09 5b7e23bb .config console log report ci-upstream-kasan-gce-root
2018/08/01 13:03 upstream c1d61e7fe376 1477993e .config console log report ci-upstream-kasan-gce-root
2018/08/01 10:06 upstream c1d61e7fe376 1477993e .config console log report ci-upstream-kasan-gce-root
2018/08/01 00:13 upstream c1d61e7fe376 1477993e .config console log report ci-upstream-kasan-gce
2018/07/31 08:11 upstream 527838d470e3 1a381291 .config console log report ci-upstream-kasan-gce-root
2018/07/30 15:19 upstream acb1872577b3 1a381291 .config console log report ci-upstream-kasan-gce-root
2018/07/29 23:56 upstream 3cfb6772d4cf 1a381291 .config console log report ci-upstream-kasan-gce-root
2018/07/21 10:51 upstream 48e5aee81f32 8cc079c3 .config console log report ci-upstream-kasan-gce-root
2018/07/20 04:58 upstream fb7d1bcf1602 49f35839 .config console log report ci-upstream-kasan-gce-root
2018/07/18 18:47 upstream 3c53776e29f8 809256c3 .config console log report ci-upstream-kasan-gce-root
2018/07/17 14:12 upstream 30b06abfb92b 13761366 .config console log report ci-upstream-kasan-gce-root
2018/07/15 04:48 upstream c31496dbacc2 92a49505 .config console log report ci-upstream-kasan-gce-root
2018/07/10 19:24 upstream 092150a25cb7 9fa03fa5 .config console log report ci-upstream-kasan-gce-root
2018/08/13 01:24 linux-next 4110b42356f3 7a88b141 .config console log report ci-upstream-linux-next-kasan-gce-root
2018/08/12 00:16 linux-next 4110b42356f3 7a88b141 .config console log report ci-upstream-linux-next-kasan-gce-root
2018/08/04 08:37 linux-next 116b181bb646 df7f6947 .config console log report ci-upstream-linux-next-kasan-gce-root
2018/07/11 03:44 linux-next 3951bd9fe3e2 2e0e3130 .config console log report ci-upstream-linux-next-kasan-gce-root
* Struck through repros no longer work on HEAD.