syzbot


INFO: task hung in fuse_simple_request (3)

Status: upstream: reported on 2025/03/01 01:36
Reported-by: syzbot+b46f8ec1218dbb83850d@syzkaller.appspotmail.com
First crash: 57d, last: 20d
Similar bugs (6)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-5.15 INFO: task hung in fuse_simple_request (2) 3 189d 307d 0/3 auto-obsoleted due to no activity on 2025/01/28 01:40
linux-5.15 INFO: task hung in fuse_simple_request 12 549d 647d 0/3 auto-obsoleted due to no activity on 2024/02/03 13:59
upstream INFO: task hung in fuse_simple_request fuse C inconclusive error 273 216d 1596d 0/28 upstream: reported C repro on 2020/12/13 21:13
linux-6.1 INFO: task hung in fuse_simple_request 6 526d 614d 0/3 auto-obsoleted due to no activity on 2024/02/26 14:29
linux-6.1 INFO: task hung in fuse_simple_request (2) 15 6d20h 310d 0/3 upstream: reported on 2024/06/21 20:45
upstream INFO: task can't die in request_wait_answer fuse C error 14 1167d 1677d 0/28 auto-obsoleted due to no activity on 2023/04/16 22:02

Sample crash report:
INFO: task syz.3.380:5722 blocked for more than 144 seconds.
      Not tainted 5.15.179-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.3.380       state:D stack:26744 pid: 5722 ppid:  4177 flags:0x00004006
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5029 [inline]
 __schedule+0x12c4/0x45b0 kernel/sched/core.c:6375
 schedule+0x11b/0x1f0 kernel/sched/core.c:6458
 request_wait_answer fs/fuse/dev.c:411 [inline]
 __fuse_request_send fs/fuse/dev.c:430 [inline]
 fuse_simple_request+0x112f/0x1a00 fs/fuse/dev.c:515
 fuse_flush+0x5d2/0x800 fs/fuse/file.c:517
 filp_close+0xad/0x150 fs/open.c:1363
 __range_close fs/file.c:694 [inline]
 __close_range+0x229/0x570 fs/file.c:749
 __do_sys_close_range fs/open.c:1408 [inline]
 __se_sys_close_range fs/open.c:1405 [inline]
 __x64_sys_close_range+0x76/0x80 fs/open.c:1405
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7fd3e38de169
RSP: 002b:00007fff00411178 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4
RAX: ffffffffffffffda RBX: 00007fd3e3af8ba0 RCX: 00007fd3e38de169
RDX: 0000000000000000 RSI: 000000000000001e RDI: 0000000000000003
RBP: 00007fd3e3af8ba0 R08: 0000000000000150 R09: 000000130041146f
R10: 00000000003ffc8c R11: 0000000000000246 R12: 0000000000029a53
R13: 00007fd3e3af6fa0 R14: ffffffffffffffff R15: 00007fff00411290
 </TASK>

Showing all locks held in the system:
2 locks held by kworker/0:0/7:
 #0: ffff88814beddd38 ((wq_completion)smc_hs_wq){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2283
 #1: ffffc90000cc7d20 ((work_completion)(&smc->connect_work)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2285
1 lock held by khungtaskd/27:
 #0: ffffffff8cb1f4e0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30
2 locks held by kworker/u4:1/144:
 #0: ffff8880b8e3a318 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0xa8/0x140 kernel/sched/core.c:483
 #1: ffff8880b8f27848 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x53d/0x810 kernel/sched/psi.c:891
3 locks held by kworker/0:2/1111:
2 locks held by getty/3924:
 #0: ffff88802d03d098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:252
 #1: ffffc90002cd62e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6af/0x1db0 drivers/tty/n_tty.c:2158
1 lock held by syz-executor/4166:
 #0: ffff888147376468 (&lo->lo_mutex){+.+.}-{3:3}, at: __loop_clr_fd+0xa9/0xbe0 drivers/block/loop.c:1365
2 locks held by syz-executor/4168:
 #0: ffff888021052118 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_put+0xfb/0x790 block/bdev.c:915
 #1: ffff8881473cc468 (&lo->lo_mutex){+.+.}-{3:3}, at: __loop_clr_fd+0xa9/0xbe0 drivers/block/loop.c:1365
2 locks held by kworker/1:7/4218:
 #0: ffff888017472138 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2283
 #1: ffffc900030ffd20 ((work_completion)(&rew.rew_work)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2285
4 locks held by udevd/4318:
 #0: ffff88801c254e80 (&p->lock){+.+.}-{3:3}, at: seq_read_iter+0xae/0xd10 fs/seq_file.c:182
 #1: ffff88802bc31088 (&of->mutex){+.+.}-{3:3}, at: kernfs_seq_start+0x50/0x3b0 fs/kernfs/file.c:112
 #2: ffff8880244661d8 (kn->active#32){++++}-{0:0}, at: kernfs_seq_start+0x6f/0x3b0 fs/kernfs/file.c:113
 #3: ffff88807495f1a8 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:760 [inline]
 #3: ffff88807495f1a8 (&dev->mutex){....}-{3:3}, at: uevent_show+0x17e/0x340 drivers/base/core.c:2408
2 locks held by kworker/u4:7/4426:
 #0: ffff888017479138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2283
 #1: ffffc900031dfd20 ((work_completion)(&ctx->exit_work)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2285
3 locks held by kworker/0:9/4826:
6 locks held by kworker/1:11/4978:
 #0: ffff88801c7a9538 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2283
 #1: ffffc900037e7d20 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2285
 #2: ffff888147b4b220 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:760 [inline]
 #2: ffff888147b4b220 (&dev->mutex){....}-{3:3}, at: hub_event+0x208/0x54c0 drivers/usb/core/hub.c:5781
 #3: ffff888056941220 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:760 [inline]
 #3: ffff888056941220 (&dev->mutex){....}-{3:3}, at: __device_attach+0x8a/0x570 drivers/base/dd.c:954
 #4: ffff88807495f1a8 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:760 [inline]
 #4: ffff88807495f1a8 (&dev->mutex){....}-{3:3}, at: __device_attach+0x8a/0x570 drivers/base/dd.c:954
 #5: ffffffff8cb239b0 (rcu_state.barrier_mutex){+.+.}-{3:3}, at: rcu_barrier+0x9c/0x4e0 kernel/rcu/tree.c:4039
1 lock held by syz.5.540/6807:
 #0: ffff8880269100e0 (&type->s_umount_key#127/1){+.+.}-{3:3}, at: alloc_super+0x210/0x940 fs/super.c:229
6 locks held by syz-executor/8293:
 #0: ffff88807eda0460 (sb_writers#8){.+.+}-{0:0}, at: vfs_write+0x29a/0xe50 fs/read_write.c:590
 #1: ffff888061bffc88 (&of->mutex){+.+.}-{3:3}, at: kernfs_fop_write_iter+0x1e7/0x4f0 fs/kernfs/file.c:287
 #2: ffff88802456f0f0 (kn->active#293){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x20b/0x4f0 fs/kernfs/file.c:288
 #3: ffffffff8d584148 (nsim_bus_dev_list_lock){+.+.}-{3:3}, at: del_device_store+0xf1/0x470 drivers/net/netdevsim/bus.c:344
 #4: ffff88807e820178 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:760 [inline]
 #4: ffff88807e820178 (&dev->mutex){....}-{3:3}, at: __device_driver_lock drivers/base/dd.c:1044 [inline]
 #4: ffff88807e820178 (&dev->mutex){....}-{3:3}, at: device_release_driver_internal+0xc2/0x7f0 drivers/base/dd.c:1259
 #5: ffffffff8cb23aa8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:290 [inline]
 #5: ffffffff8cb23aa8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x280/0x740 kernel/rcu/tree_exp.h:845
1 lock held by sed/8456:

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

NMI backtrace for cpu 1
CPU: 1 PID: 27 Comm: khungtaskd Not tainted 5.15.179-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025
Call Trace:
 <TASK>
 __dump_stack lib/dump_stack.c:88 [inline]
 dump_stack_lvl+0x1e3/0x2d0 lib/dump_stack.c:106
 nmi_cpu_backtrace+0x46a/0x4a0 lib/nmi_backtrace.c:111
 nmi_trigger_cpumask_backtrace+0x181/0x2a0 lib/nmi_backtrace.c:62
 trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline]
 check_hung_uninterruptible_tasks kernel/hung_task.c:212 [inline]
 watchdog+0xe72/0xeb0 kernel/hung_task.c:369
 kthread+0x3f6/0x4f0 kernel/kthread.c:334
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287
 </TASK>
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 3534 Comm: klogd Not tainted 5.15.179-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025
RIP: 0010:orc_find arch/x86/kernel/unwind_orc.c:-1 [inline]
RIP: 0010:unwind_next_frame+0x2f6/0x1fa0 arch/x86/kernel/unwind_orc.c:448
Code: c1 48 c7 c6 fc ff ff ff 48 8d 8c 31 b4 8e 15 8e 4c 39 e1 0f 83 80 0b 00 00 48 c7 c0 b4 8e 15 8e 49 29 c4 48 c7 c6 80 bf 7c 8e <49> c1 fc 02 4f 8d 34 64 4d 01 f6 49 01 f6 0f 85 fd 00 00 00 e9 d7
RSP: 0018:ffffc90002d3f368 EFLAGS: 00000246
RAX: ffffffff8e64fd74 RBX: ffffffff8e64fd78 RCX: ffffffff8e64fd7c
RDX: dffffc0000000000 RSI: ffffffff8ef3e5a6 RDI: ffffffff8e64fd78
RBP: ffffffff8e64fd78 R08: 0000000000000003 R09: ffffc90002d3f510
R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000000
R13: ffffffff884f2504 R14: ffffffff8e64fd7c R15: ffffc90002d3f420
FS:  00007f3b3a621380(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000560b59db3950 CR3: 000000002bf47000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <NMI>
 </NMI>
 <TASK>
 arch_stack_walk+0x10d/0x140 arch/x86/kernel/stacktrace.c:25
 stack_trace_save+0x113/0x1c0 kernel/stacktrace.c:122
 kasan_save_stack mm/kasan/common.c:38 [inline]
 kasan_set_track mm/kasan/common.c:46 [inline]
 set_alloc_info mm/kasan/common.c:434 [inline]
 __kasan_slab_alloc+0x8e/0xc0 mm/kasan/common.c:467
 kasan_slab_alloc include/linux/kasan.h:254 [inline]
 slab_post_alloc_hook+0x53/0x380 mm/slab.h:519
 slab_alloc_node mm/slub.c:3220 [inline]
 kmem_cache_alloc_node+0x121/0x2c0 mm/slub.c:3256
 __alloc_skb+0xdd/0x590 net/core/skbuff.c:415
 alloc_skb include/linux/skbuff.h:1162 [inline]
 alloc_skb_with_frags+0xa3/0x780 net/core/skbuff.c:6170
 sock_alloc_send_pskb+0x915/0xa50 net/core/sock.c:2533
 unix_dgram_sendmsg+0x702/0x2090 net/unix/af_unix.c:1798
 sock_sendmsg_nosec net/socket.c:704 [inline]
 __sock_sendmsg net/socket.c:716 [inline]
 __sys_sendto+0x564/0x720 net/socket.c:2063
 __do_sys_sendto net/socket.c:2075 [inline]
 __se_sys_sendto net/socket.c:2071 [inline]
 __x64_sys_sendto+0xda/0xf0 net/socket.c:2071
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7f3b3a7839b5
Code: 8b 44 24 08 48 83 c4 28 48 98 c3 48 98 c3 41 89 ca 64 8b 04 25 18 00 00 00 85 c0 75 26 45 31 c9 45 31 c0 b8 2c 00 00 00 0f 05 <48> 3d 00 f0 ff ff 76 7a 48 8b 15 44 c4 0c 00 f7 d8 64 89 02 48 83
RSP: 002b:00007fffd97cacc8 EFLAGS: 00000246 ORIG_RAX: 000000000000002c
RAX: ffffffffffffffda RBX: 0000000000000002 RCX: 00007f3b3a7839b5
RDX: 0000000000000046 RSI: 0000564894142a90 RDI: 0000000000000003
RBP: 000056489413a910 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000004000 R11: 0000000000000246 R12: 0000000000000013
R13: 00007f3b3a911212 R14: 00007fffd97cadc8 R15: 0000000000000000
 </TASK>
vkms_vblank_simulate: vblank timer overrun

Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/04/07 12:43 linux-5.15.y 0c935c049b5c 1c65791e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: task hung in fuse_simple_request
2025/04/01 20:42 linux-5.15.y 0c935c049b5c b8645499 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: task hung in fuse_simple_request
2025/03/01 01:35 linux-5.15.y c16c81c81336 67cf5345 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: task hung in fuse_simple_request
* Struck through repros no longer work on HEAD.