syzbot


INFO: task hung in dev_ioctl (3)

Status: auto-closed as invalid on 2021/04/01 04:28
Subsystems: net
[Documentation on labels]
First crash: 1429d, last: 1300d
Similar bugs (11)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: task hung in dev_ioctl (4) net 1 1164d 1164d 0/27 auto-closed as invalid on 2021/08/15 15:56
linux-4.14 INFO: task hung in dev_ioctl 1 827d 827d 0/1 auto-closed as invalid on 2022/08/17 13:11
android-49 INFO: task hung in dev_ioctl 1 2209d 2209d 0/3 auto-closed as invalid on 2019/02/22 12:59
upstream INFO: task hung in dev_ioctl (2) net 1 1922d 1922d 0/27 closed as invalid on 2019/05/08 13:05
android-414 INFO: task hung in dev_ioctl 2 2125d 2146d 0/1 auto-closed as invalid on 2019/03/27 22:33
android-414 INFO: task hung in dev_ioctl (2) 1 1699d 1698d 0/1 auto-closed as invalid on 2020/03/28 22:15
linux-6.1 INFO: task hung in dev_ioctl 3 37d 54d 0/3 upstream: reported on 2024/05/31 11:34
upstream INFO: task hung in rtnetlink_rcv_msg net C inconclusive inconclusive 1970 15d 1979d 27/27 fixed on 2024/07/09 19:14
upstream INFO: task hung in dev_ioctl net 2 2123d 2151d 0/27 auto-closed as invalid on 2019/03/30 00:48
linux-5.15 INFO: task hung in dev_ioctl 2 57d 63d 0/3 upstream: reported on 2024/05/22 11:00
upstream INFO: task hung in dev_ioctl (5) net 20 1007d 1052d 0/27 auto-closed as invalid on 2022/01/19 01:57

Sample crash report:
INFO: task syz-executor.3:13781 blocked for more than 143 seconds.
      Not tainted 5.10.0-rc5-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.3  state:D stack:29640 pid:13781 ppid:  8529 flags:0x00004004
Call Trace:
 context_switch kernel/sched/core.c:3779 [inline]
 __schedule+0x893/0x2130 kernel/sched/core.c:4528
 schedule+0xcf/0x270 kernel/sched/core.c:4606
 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:4665
 __mutex_lock_common kernel/locking/mutex.c:1033 [inline]
 __mutex_lock+0x3e2/0x10e0 kernel/locking/mutex.c:1103
 dev_ioctl+0x271/0xc40 net/core/dev_ioctl.c:535
 sock_ioctl+0x57b/0x730 net/socket.c:1112
 vfs_ioctl fs/ioctl.c:48 [inline]
 __do_sys_ioctl fs/ioctl.c:753 [inline]
 __se_sys_ioctl fs/ioctl.c:739 [inline]
 __x64_sys_ioctl+0x193/0x200 fs/ioctl.c:739
 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46
 entry_SYSCALL_64_after_hwframe+0x44/0xa9
RIP: 0033:0x45deb9
RSP: 002b:00007fcd5445cc78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 000000000001f3c0 RCX: 000000000045deb9
RDX: 0000000020000000 RSI: 00000000000089f6 RDI: 0000000000000003
RBP: 000000000118bf60 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 000000000118bf2c
R13: 00007fff4529556f R14: 00007fcd5445d9c0 R15: 000000000118bf2c
INFO: task syz-executor.1:13794 blocked for more than 143 seconds.
      Not tainted 5.10.0-rc5-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.1  state:D stack:28504 pid:13794 ppid:  8525 flags:0x00004004
Call Trace:
 context_switch kernel/sched/core.c:3779 [inline]
 __schedule+0x893/0x2130 kernel/sched/core.c:4528
 schedule+0xcf/0x270 kernel/sched/core.c:4606
 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:4665
 __mutex_lock_common kernel/locking/mutex.c:1033 [inline]
 __mutex_lock+0x3e2/0x10e0 kernel/locking/mutex.c:1103
 dev_ioctl+0x271/0xc40 net/core/dev_ioctl.c:535
 sock_ioctl+0x57b/0x730 net/socket.c:1112
 vfs_ioctl fs/ioctl.c:48 [inline]
 __do_sys_ioctl fs/ioctl.c:753 [inline]
 __se_sys_ioctl fs/ioctl.c:739 [inline]
 __x64_sys_ioctl+0x193/0x200 fs/ioctl.c:739
 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46
 entry_SYSCALL_64_after_hwframe+0x44/0xa9
RIP: 0033:0x45deb9
RSP: 002b:00007f88e2fccc78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 0000000000013480 RCX: 000000000045deb9
RDX: 0000000020000080 RSI: 00000000000089f2 RDI: 0000000000000004
RBP: 000000000118bf60 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 000000000118bf2c
R13: 00007ffcea0772bf R14: 00007f88e2fcd9c0 R15: 000000000118bf2c
INFO: task syz-executor.1:13801 blocked for more than 143 seconds.
      Not tainted 5.10.0-rc5-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.1  state:D stack:29640 pid:13801 ppid:  8525 flags:0x00000004
Call Trace:
 context_switch kernel/sched/core.c:3779 [inline]
 __schedule+0x893/0x2130 kernel/sched/core.c:4528
 schedule+0xcf/0x270 kernel/sched/core.c:4606
 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:4665
 __mutex_lock_common kernel/locking/mutex.c:1033 [inline]
 __mutex_lock+0x3e2/0x10e0 kernel/locking/mutex.c:1103
 dev_ioctl+0x271/0xc40 net/core/dev_ioctl.c:535
 sock_ioctl+0x57b/0x730 net/socket.c:1112
 vfs_ioctl fs/ioctl.c:48 [inline]
 __do_sys_ioctl fs/ioctl.c:753 [inline]
 __se_sys_ioctl fs/ioctl.c:739 [inline]
 __x64_sys_ioctl+0x193/0x200 fs/ioctl.c:739
 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46
 entry_SYSCALL_64_after_hwframe+0x44/0xa9
RIP: 0033:0x45deb9
RSP: 002b:00007f88e2fabc78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 0000000000013480 RCX: 000000000045deb9
RDX: 0000000020000080 RSI: 00000000000089f1 RDI: 0000000000000008
RBP: 000000000118c008 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 000000000118bfd4
R13: 00007ffcea0772bf R14: 00007f88e2fac9c0 R15: 000000000118bfd4
INFO: task syz-executor.1:13820 blocked for more than 144 seconds.
      Not tainted 5.10.0-rc5-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.1  state:D stack:28448 pid:13820 ppid:  8525 flags:0x00004004
Call Trace:
 context_switch kernel/sched/core.c:3779 [inline]
 __schedule+0x893/0x2130 kernel/sched/core.c:4528
 schedule+0xcf/0x270 kernel/sched/core.c:4606
 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:4665
 __mutex_lock_common kernel/locking/mutex.c:1033 [inline]
 __mutex_lock+0x3e2/0x10e0 kernel/locking/mutex.c:1103
 dev_ioctl+0x271/0xc40 net/core/dev_ioctl.c:535
 sock_ioctl+0x57b/0x730 net/socket.c:1112
 vfs_ioctl fs/ioctl.c:48 [inline]
 __do_sys_ioctl fs/ioctl.c:753 [inline]
 __se_sys_ioctl fs/ioctl.c:739 [inline]
 __x64_sys_ioctl+0x193/0x200 fs/ioctl.c:739
 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46
 entry_SYSCALL_64_after_hwframe+0x44/0xa9
RIP: 0033:0x45deb9
RSP: 002b:00007f88e2f8ac78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 0000000000013480 RCX: 000000000045deb9
RDX: 0000000020000080 RSI: 00000000000089f2 RDI: 0000000000000004
RBP: 000000000118c0b0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 000000000118c07c
R13: 00007ffcea0772bf R14: 00007f88e2f8b9c0 R15: 000000000118c07c
INFO: task syz-executor.5:13805 blocked for more than 144 seconds.
      Not tainted 5.10.0-rc5-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.5  state:D stack:29640 pid:13805 ppid:  8533 flags:0x00000004
Call Trace:
 context_switch kernel/sched/core.c:3779 [inline]
 __schedule+0x893/0x2130 kernel/sched/core.c:4528
 schedule+0xcf/0x270 kernel/sched/core.c:4606
 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:4665
 __mutex_lock_common kernel/locking/mutex.c:1033 [inline]
 __mutex_lock+0x3e2/0x10e0 kernel/locking/mutex.c:1103
 br_del_bridge+0x14/0x110 net/bridge/br_if.c:469
 br_ioctl_deviceless_stub+0x28b/0x770 net/bridge/br_ioctl.c:375
 sock_ioctl+0x411/0x730 net/socket.c:1145
 vfs_ioctl fs/ioctl.c:48 [inline]
 __do_sys_ioctl fs/ioctl.c:753 [inline]
 __se_sys_ioctl fs/ioctl.c:739 [inline]
 __x64_sys_ioctl+0x193/0x200 fs/ioctl.c:739
 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46
 entry_SYSCALL_64_after_hwframe+0x44/0xa9
RIP: 0033:0x45deb9
RSP: 002b:00007fe3cabcdc78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 000000000001e900 RCX: 000000000045deb9
RDX: 00000000200000c0 RSI: 00000000000089a1 RDI: 0000000000000005
RBP: 000000000118c008 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 000000000118bfd4
R13: 00007ffe3d7d62df R14: 00007fe3cabce9c0 R15: 000000000118bfd4

Showing all locks held in the system:
4 locks held by kworker/u4:4/291:
 #0: ffff8880b9f34958 (&rq->lock){-.-.}-{2:2}, at: rq_lock kernel/sched/sched.h:1292 [inline]
 #0: ffff8880b9f34958 (&rq->lock){-.-.}-{2:2}, at: __schedule+0x21a/0x2130 kernel/sched/core.c:4446
 #1: ffff8880b9f20048 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x305/0x440 kernel/sched/psi.c:833
 #2: ffff8880b9f24798 (&base->lock){-.-.}-{2:2}, at: __mod_timer+0x60c/0xe30 kernel/time/timer.c:1041
 #3: ffffffff8f145000 (&obj_hash[i].lock){-.-.}-{2:2}, at: debug_object_activate+0x12e/0x3e0 lib/debugobjects.c:656
1 lock held by khungtaskd/1647:
 #0: ffffffff8b3378e0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6254
1 lock held by in:imklog/8397:
 #0: ffff888014b6fc70 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe9/0x100 fs/file.c:932
3 locks held by kworker/0:4/9837:
 #0: ffff888147543538 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline]
 #0: ffff888147543538 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: atomic64_set include/asm-generic/atomic-instrumented.h:856 [inline]
 #0: ffff888147543538 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: atomic_long_set include/asm-generic/atomic-long.h:41 [inline]
 #0: ffff888147543538 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:616 [inline]
 #0: ffff888147543538 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:643 [inline]
 #0: ffff888147543538 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x821/0x15a0 kernel/workqueue.c:2243
 #1: ffffc90016ae7da8 ((addr_chk_work).work){+.+.}-{0:0}, at: process_one_work+0x854/0x15a0 kernel/workqueue.c:2247
 #2: ffffffff8c927488 (rtnl_mutex){+.+.}-{3:3}, at: addrconf_verify_work+0xa/0x20 net/ipv6/addrconf.c:4568
2 locks held by syz-executor.2/13775:
1 lock held by syz-executor.3/13781:
 #0: ffffffff8c927488 (rtnl_mutex){+.+.}-{3:3}, at: dev_ioctl+0x271/0xc40 net/core/dev_ioctl.c:535
1 lock held by syz-executor.1/13794:
 #0: ffffffff8c927488 (rtnl_mutex){+.+.}-{3:3}, at: dev_ioctl+0x271/0xc40 net/core/dev_ioctl.c:535
1 lock held by syz-executor.1/13801:
 #0: ffffffff8c927488 (rtnl_mutex){+.+.}-{3:3}, at: dev_ioctl+0x271/0xc40 net/core/dev_ioctl.c:535
1 lock held by syz-executor.1/13820:
 #0: ffffffff8c927488 (rtnl_mutex){+.+.}-{3:3}, at: dev_ioctl+0x271/0xc40 net/core/dev_ioctl.c:535
2 locks held by syz-executor.5/13805:
 #0: ffffffff8c908228 (br_ioctl_mutex){+.+.}-{3:3}, at: sock_ioctl+0x3f5/0x730 net/socket.c:1143
 #1: ffffffff8c927488 (rtnl_mutex){+.+.}-{3:3}, at: br_del_bridge+0x14/0x110 net/bridge/br_if.c:469

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

NMI backtrace for cpu 1
CPU: 1 PID: 1647 Comm: khungtaskd Not tainted 5.10.0-rc5-syzkaller #0
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+0x107/0x163 lib/dump_stack.c:118
 nmi_cpu_backtrace.cold+0x44/0xd7 lib/nmi_backtrace.c:105
 nmi_trigger_cpumask_backtrace+0x1b3/0x230 lib/nmi_backtrace.c:62
 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline]
 check_hung_uninterruptible_tasks kernel/hung_task.c:209 [inline]
 watchdog+0xd43/0xfa0 kernel/hung_task.c:294
 kthread+0x3b1/0x4a0 kernel/kthread.c:292
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:296
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 13775 Comm: syz-executor.2 Not tainted 5.10.0-rc5-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:lock_is_held_type+0x0/0x100 kernel/locking/lockdep.c:5465
Code: 65 c7 05 1b 97 1c 77 00 00 00 00 83 c0 01 89 85 b0 08 00 00 89 85 cc 08 00 00 5b 5d c3 c3 66 90 66 2e 0f 1f 84 00 00 00 00 00 <41> 57 41 56 41 89 f6 41 55 41 54 55 48 89 fd 53 48 83 ec 08 e8 97
RSP: 0018:ffffc9000184eba8 EFLAGS: 00000202
RAX: 0000000000000001 RBX: 0000000000000000 RCX: ffffffff815625b1
RDX: 1ffffffff1667f3e RSI: 00000000ffffffff RDI: ffffffff8b337820
RBP: 1ffff92000309d7a R08: 0000000000000000 R09: ffffffff8ceca78f
R10: fffffbfff19d94f1 R11: 0000000000000000 R12: 0000000000000001
R13: 0000000000000001 R14: 1ffff92000309d95 R15: ffff88814425f800
FS:  00007fc7e239d700(0000) GS:ffff8880b9e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fbb1df0e000 CR3: 0000000029f8e000 CR4: 0000000000350ef0
Call Trace:
 lock_is_held include/linux/lockdep.h:271 [inline]
 rcu_read_lock_sched_held+0x3a/0x70 kernel/rcu/update.c:123
 trace_lock_release include/trace/events/lock.h:58 [inline]
 lock_release+0x5b7/0x710 kernel/locking/lockdep.c:5448
 __mutex_unlock_slowpath+0x81/0x610 kernel/locking/mutex.c:1228
 tcf_idr_check_alloc+0x29e/0x3b0 net/sched/act_api.c:508
 tcf_police_init+0x347/0x13a0 net/sched/act_police.c:81
 tcf_action_init_1+0x1a3/0x990 net/sched/act_api.c:993
 tcf_exts_validate+0x138/0x420 net/sched/cls_api.c:3058
 tcindex_set_parms+0x189/0x20d0 net/sched/cls_tcindex.c:342
 tcindex_change+0x212/0x320 net/sched/cls_tcindex.c:546
 tc_new_tfilter+0x1398/0x2130 net/sched/cls_api.c:2129
 rtnetlink_rcv_msg+0x80e/0xad0 net/core/rtnetlink.c:5553
 netlink_rcv_skb+0x153/0x420 net/netlink/af_netlink.c:2494
 netlink_unicast_kernel net/netlink/af_netlink.c:1304 [inline]
 netlink_unicast+0x533/0x7d0 net/netlink/af_netlink.c:1330
 netlink_sendmsg+0x856/0xd90 net/netlink/af_netlink.c:1919
 sock_sendmsg_nosec net/socket.c:651 [inline]
 sock_sendmsg+0xcf/0x120 net/socket.c:671
 ____sys_sendmsg+0x6e8/0x810 net/socket.c:2353
 ___sys_sendmsg+0xf3/0x170 net/socket.c:2407
 __sys_sendmsg+0xe5/0x1b0 net/socket.c:2440
 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46
 entry_SYSCALL_64_after_hwframe+0x44/0xa9
RIP: 0033:0x45deb9
Code: 0d b4 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 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 0f 83 db b3 fb ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007fc7e239cc78 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 000000000002e6c0 RCX: 000000000045deb9
RDX: 0000000000000000 RSI: 00000000200001c0 RDI: 0000000000000003
RBP: 000000000118c008 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 000000000118bfd4
R13: 00007ffc7d6b71df R14: 00007fc7e239d9c0 R15: 000000000118bfd4

Crashes (7):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/11/29 20:58 upstream aae5ab854e38 a0092f9d .config console log report info ci-upstream-kasan-gce-root
2020/08/25 10:46 upstream 6a9dc5fd6170 344da168 .config console log report ci-upstream-kasan-gce-selinux-root
2020/10/17 17:07 net-old f355a55f8202 fea47c01 .config console log report info ci-upstream-net-this-kasan-gce
2020/09/29 01:55 net-old 1aad8049909a 1b88c6d5 .config console log report info ci-upstream-net-this-kasan-gce
2020/09/27 02:02 net-old 059432495e20 2d5ea0cb .config console log report info ci-upstream-net-this-kasan-gce
2020/09/25 20:45 net-old ad2b9b0f8d01 4a006f63 .config console log report info ci-upstream-net-this-kasan-gce
2021/01/01 04:21 net-next-old 3db1a3fa9880 79264ae3 .config console log report info ci-upstream-net-kasan-gce
* Struck through repros no longer work on HEAD.