syzbot


INFO: task hung in btrfs_close_devices

Status: auto-obsoleted due to no activity on 2024/11/15 12:50
Subsystems: btrfs
[Documentation on labels]
First crash: 301d, last: 185d

Sample crash report:
INFO: task syz-executor:7791 blocked for more than 143 seconds.
      Not tainted 6.11.0-rc3-syzkaller-00271-g85652baa895b #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor    state:D stack:20784 pid:7791  tgid:7791  ppid:1      flags:0x00004006
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5188 [inline]
 __schedule+0x17ae/0x4a10 kernel/sched/core.c:6529
 __schedule_loop kernel/sched/core.c:6606 [inline]
 schedule+0x14b/0x320 kernel/sched/core.c:6621
 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6678
 __mutex_lock_common kernel/locking/mutex.c:684 [inline]
 __mutex_lock+0x6a4/0xd70 kernel/locking/mutex.c:752
 btrfs_close_devices+0xc0/0x5c0 fs/btrfs/volumes.c:1158
 close_ctree+0x795/0xd20 fs/btrfs/disk-io.c:4382
 generic_shutdown_super+0x136/0x2d0 fs/super.c:642
 kill_anon_super+0x3b/0x70 fs/super.c:1237
 btrfs_kill_super+0x41/0x50 fs/btrfs/super.c:2121
 deactivate_locked_super+0xc4/0x130 fs/super.c:473
 cleanup_mnt+0x41f/0x4b0 fs/namespace.c:1373
 task_work_run+0x24f/0x310 kernel/task_work.c:228
 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline]
 exit_to_user_mode_loop kernel/entry/common.c:114 [inline]
 exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline]
 __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline]
 syscall_exit_to_user_mode+0x168/0x370 kernel/entry/common.c:218
 do_syscall_64+0x100/0x230 arch/x86/entry/common.c:89
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7ff205d7b1a7
RSP: 002b:00007ffcf2d187c8 EFLAGS: 00000202 ORIG_RAX: 00000000000000a6
RAX: 0000000000000000 RBX: 0000000000000064 RCX: 00007ff205d7b1a7
RDX: 0000000000000200 RSI: 0000000000000009 RDI: 00007ffcf2d19970
RBP: 00007ff205de77b4 R08: 000055556951466b R09: 0000000000000000
R10: 0000000000001000 R11: 0000000000000202 R12: 00007ffcf2d19970
R13: 00007ff205de77b4 R14: 00005555694f14a8 R15: 00007ffcf2d1aa30
 </TASK>
INFO: task syz.1.314:8155 blocked for more than 143 seconds.
      Not tainted 6.11.0-rc3-syzkaller-00271-g85652baa895b #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.1.314       state:D stack:23776 pid:8155  tgid:8154  ppid:7857   flags:0x00000004
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5188 [inline]
 __schedule+0x17ae/0x4a10 kernel/sched/core.c:6529
 __schedule_loop kernel/sched/core.c:6606 [inline]
 schedule+0x14b/0x320 kernel/sched/core.c:6621
 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6678
 __mutex_lock_common kernel/locking/mutex.c:684 [inline]
 __mutex_lock+0x6a4/0xd70 kernel/locking/mutex.c:752
 btrfs_control_ioctl+0x2c9/0x3e0 fs/btrfs/super.c:2240
 vfs_ioctl fs/ioctl.c:51 [inline]
 __do_sys_ioctl fs/ioctl.c:907 [inline]
 __se_sys_ioctl+0xfc/0x170 fs/ioctl.c:893
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f2c65379e79
RSP: 002b:00007f2c660e0038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f2c65515f80 RCX: 00007f2c65379e79
RDX: 0000000020000180 RSI: 0000000050009404 RDI: 0000000000000006
RBP: 00007f2c653e7916 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f2c65515f80 R15: 00007ffc23a362f8
 </TASK>
INFO: task syz.2.323:8178 blocked for more than 144 seconds.
      Not tainted 6.11.0-rc3-syzkaller-00271-g85652baa895b #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.2.323       state:D stack:25112 pid:8178  tgid:8160  ppid:7484   flags:0x00000004
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5188 [inline]
 __schedule+0x17ae/0x4a10 kernel/sched/core.c:6529
 __schedule_loop kernel/sched/core.c:6606 [inline]
 schedule+0x14b/0x320 kernel/sched/core.c:6621
 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6678
 rwsem_down_write_slowpath+0xeeb/0x13b0 kernel/locking/rwsem.c:1178
 __down_write_common kernel/locking/rwsem.c:1306 [inline]
 __down_write kernel/locking/rwsem.c:1315 [inline]
 down_write+0x1d7/0x220 kernel/locking/rwsem.c:1580
 inode_lock include/linux/fs.h:799 [inline]
 open_last_lookups fs/namei.c:3644 [inline]
 path_openat+0x7fb/0x3470 fs/namei.c:3883
 do_filp_open+0x235/0x490 fs/namei.c:3913
 do_sys_openat2+0x13e/0x1d0 fs/open.c:1416
 do_sys_open fs/open.c:1431 [inline]
 __do_sys_openat fs/open.c:1447 [inline]
 __se_sys_openat fs/open.c:1442 [inline]
 __x64_sys_openat+0x247/0x2a0 fs/open.c:1442
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f91ad179e79
RSP: 002b:00007f91acbde038 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 00007f91ad316058 RCX: 00007f91ad179e79
RDX: 0000000000141042 RSI: 0000000020000040 RDI: ffffffffffffff9c
RBP: 00007f91ad1e7916 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f91ad316058 R15: 00007ffd65b3bda8
 </TASK>
INFO: task syz.2.323:8183 blocked for more than 144 seconds.
      Not tainted 6.11.0-rc3-syzkaller-00271-g85652baa895b #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.2.323       state:D stack:27424 pid:8183  tgid:8160  ppid:7484   flags:0x00000004
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5188 [inline]
 __schedule+0x17ae/0x4a10 kernel/sched/core.c:6529
 __schedule_loop kernel/sched/core.c:6606 [inline]
 schedule+0x14b/0x320 kernel/sched/core.c:6621
 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6678
 rwsem_down_write_slowpath+0xeeb/0x13b0 kernel/locking/rwsem.c:1178
 __down_write_common kernel/locking/rwsem.c:1306 [inline]
 __down_write kernel/locking/rwsem.c:1315 [inline]
 down_write_nested+0x1e0/0x220 kernel/locking/rwsem.c:1696
 inode_lock_nested include/linux/fs.h:834 [inline]
 filename_create+0x260/0x540 fs/namei.c:3979
 do_mkdirat+0xbd/0x3a0 fs/namei.c:4225
 __do_sys_mkdir fs/namei.c:4253 [inline]
 __se_sys_mkdir fs/namei.c:4251 [inline]
 __x64_sys_mkdir+0x6c/0x80 fs/namei.c:4251
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f91ad179e79
RSP: 002b:00007f91acbbd038 EFLAGS: 00000246 ORIG_RAX: 0000000000000053
RAX: ffffffffffffffda RBX: 00007f91ad316130 RCX: 00007f91ad179e79
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000000
RBP: 00007f91ad1e7916 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f91ad316130 R15: 00007ffd65b3bda8
 </TASK>
INFO: task syz.2.323:8184 blocked for more than 144 seconds.
      Not tainted 6.11.0-rc3-syzkaller-00271-g85652baa895b #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.2.323       state:D stack:27424 pid:8184  tgid:8160  ppid:7484   flags:0x00000004
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5188 [inline]
 __schedule+0x17ae/0x4a10 kernel/sched/core.c:6529
 __schedule_loop kernel/sched/core.c:6606 [inline]
 schedule+0x14b/0x320 kernel/sched/core.c:6621
 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6678
 rwsem_down_write_slowpath+0xeeb/0x13b0 kernel/locking/rwsem.c:1178
 __down_write_common kernel/locking/rwsem.c:1306 [inline]
 __down_write kernel/locking/rwsem.c:1315 [inline]
 down_write_nested+0x1e0/0x220 kernel/locking/rwsem.c:1696
 inode_lock_nested include/linux/fs.h:834 [inline]
 filename_create+0x260/0x540 fs/namei.c:3979
 do_mkdirat+0xbd/0x3a0 fs/namei.c:4225
 __do_sys_mkdirat fs/namei.c:4248 [inline]
 __se_sys_mkdirat fs/namei.c:4246 [inline]
 __x64_sys_mkdirat+0x87/0xa0 fs/namei.c:4246
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f91ad179e79
RSP: 002b:00007f91acb9c038 EFLAGS: 00000246 ORIG_RAX: 0000000000000102
RAX: ffffffffffffffda RBX: 00007f91ad316208 RCX: 00007f91ad179e79
RDX: 0000000000000000 RSI: 0000000020000340 RDI: ffffffffffffff9c
RBP: 00007f91ad1e7916 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000001 R14: 00007f91ad316208 R15: 00007ffd65b3bda8
 </TASK>
INFO: task syz.2.323:8188 blocked for more than 145 seconds.
      Not tainted 6.11.0-rc3-syzkaller-00271-g85652baa895b #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.2.323       state:D stack:27424 pid:8188  tgid:8160  ppid:7484   flags:0x00004006
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5188 [inline]
 __schedule+0x17ae/0x4a10 kernel/sched/core.c:6529
 __schedule_loop kernel/sched/core.c:6606 [inline]
 schedule+0x14b/0x320 kernel/sched/core.c:6621
 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6678
 rwsem_down_write_slowpath+0xeeb/0x13b0 kernel/locking/rwsem.c:1178
 __down_write_common kernel/locking/rwsem.c:1306 [inline]
 __down_write kernel/locking/rwsem.c:1315 [inline]
 down_write_nested+0x1e0/0x220 kernel/locking/rwsem.c:1696
 inode_lock_nested include/linux/fs.h:834 [inline]
 filename_create+0x260/0x540 fs/namei.c:3979
 do_mkdirat+0xbd/0x3a0 fs/namei.c:4225
 __do_sys_mkdir fs/namei.c:4253 [inline]
 __se_sys_mkdir fs/namei.c:4251 [inline]
 __x64_sys_mkdir+0x6c/0x80 fs/namei.c:4251
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f91ad179e79
RSP: 002b:00007f91acb7b038 EFLAGS: 00000246 ORIG_RAX: 0000000000000053
RAX: ffffffffffffffda RBX: 00007f91ad3162e0 RCX: 00007f91ad179e79
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 00000000200004c0
RBP: 00007f91ad1e7916 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000001 R14: 00007f91ad3162e0 R15: 00007ffd65b3bda8
 </TASK>
INFO: task syz.2.323:8192 blocked for more than 145 seconds.
      Not tainted 6.11.0-rc3-syzkaller-00271-g85652baa895b #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.2.323       state:D stack:27424 pid:8192  tgid:8160  ppid:7484   flags:0x00000004
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5188 [inline]
 __schedule+0x17ae/0x4a10 kernel/sched/core.c:6529
 __schedule_loop kernel/sched/core.c:6606 [inline]
 schedule+0x14b/0x320 kernel/sched/core.c:6621
 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6678
 rwsem_down_read_slowpath kernel/locking/rwsem.c:1086 [inline]
 __down_read_common kernel/locking/rwsem.c:1250 [inline]
 __down_read kernel/locking/rwsem.c:1263 [inline]
 down_read+0x705/0xa40 kernel/locking/rwsem.c:1528
 inode_lock_shared include/linux/fs.h:809 [inline]
 lookup_slow+0x45/0x70 fs/namei.c:1734
 walk_component+0x2e1/0x410 fs/namei.c:2039
 lookup_last fs/namei.c:2542 [inline]
 path_lookupat+0x16f/0x450 fs/namei.c:2566
 filename_lookup+0x256/0x610 fs/namei.c:2595
 user_path_at+0x3a/0x60 fs/namei.c:3002
 do_mount fs/namespace.c:3809 [inline]
 __do_sys_mount fs/namespace.c:4020 [inline]
 __se_sys_mount+0x297/0x3c0 fs/namespace.c:3997
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f91ad179e79
RSP: 002b:00007f91acb5a038 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007f91ad3163b8 RCX: 00007f91ad179e79
RDX: 0000000020000080 RSI: 00000000200000c0 RDI: 0000000000000000
RBP: 00007f91ad1e7916 R08: 0000000020003640 R09: 0000000000000000
R10: 0000000001008009 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000001 R14: 00007f91ad3163b8 R15: 00007ffd65b3bda8
 </TASK>
INFO: task syz.2.323:8196 blocked for more than 146 seconds.
      Not tainted 6.11.0-rc3-syzkaller-00271-g85652baa895b #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.2.323       state:D stack:27424 pid:8196  tgid:8160  ppid:7484   flags:0x00000004
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5188 [inline]
 __schedule+0x17ae/0x4a10 kernel/sched/core.c:6529
 __schedule_loop kernel/sched/core.c:6606 [inline]
 schedule+0x14b/0x320 kernel/sched/core.c:6621
 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6678
 rwsem_down_read_slowpath kernel/locking/rwsem.c:1086 [inline]
 __down_read_common kernel/locking/rwsem.c:1250 [inline]
 __down_read kernel/locking/rwsem.c:1263 [inline]
 down_read+0x705/0xa40 kernel/locking/rwsem.c:1528
 inode_lock_shared include/linux/fs.h:809 [inline]
 open_last_lookups fs/namei.c:3646 [inline]
 path_openat+0x7ec/0x3470 fs/namei.c:3883
 do_filp_open+0x235/0x490 fs/namei.c:3913
 do_sys_openat2+0x13e/0x1d0 fs/open.c:1416
 do_sys_open fs/open.c:1431 [inline]
 __do_sys_open fs/open.c:1439 [inline]
 __se_sys_open fs/open.c:1435 [inline]
 __x64_sys_open+0x225/0x270 fs/open.c:1435
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f91ad179e79
RSP: 002b:00007f91acb39038 EFLAGS: 00000246 ORIG_RAX: 0000000000000002
RAX: ffffffffffffffda RBX: 00007f91ad316490 RCX: 00007f91ad179e79
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000200
RBP: 00007f91ad1e7916 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000001 R14: 00007f91ad316490 R15: 00007ffd65b3bda8
 </TASK>
INFO: task syz.2.323:8198 blocked for more than 146 seconds.
      Not tainted 6.11.0-rc3-syzkaller-00271-g85652baa895b #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.2.323       state:D stack:26912 pid:8198  tgid:8160  ppid:7484   flags:0x00000004
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5188 [inline]
 __schedule+0x17ae/0x4a10 kernel/sched/core.c:6529
 __schedule_loop kernel/sched/core.c:6606 [inline]
 schedule+0x14b/0x320 kernel/sched/core.c:6621
 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6678
 rwsem_down_read_slowpath kernel/locking/rwsem.c:1086 [inline]
 __down_read_common kernel/locking/rwsem.c:1250 [inline]
 __down_read kernel/locking/rwsem.c:1263 [inline]
 down_read+0x705/0xa40 kernel/locking/rwsem.c:1528
 inode_lock_shared include/linux/fs.h:809 [inline]
 lookup_slow+0x45/0x70 fs/namei.c:1734
 walk_component fs/namei.c:2039 [inline]
 link_path_walk+0x99b/0xea0 fs/namei.c:2404
 path_lookupat+0xa9/0x450 fs/namei.c:2565
 filename_lookup+0x256/0x610 fs/namei.c:2595
 user_path_at+0x3a/0x60 fs/namei.c:3002
 do_mount fs/namespace.c:3809 [inline]
 __do_sys_mount fs/namespace.c:4020 [inline]
 __se_sys_mount+0x297/0x3c0 fs/namespace.c:3997
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f91ad179e79
RSP: 002b:00007f91acb18038 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007f91ad316568 RCX: 00007f91ad179e79
RDX: 0000000000000000 RSI: 0000000020000180 RDI: 0000000000000000
RBP: 00007f91ad1e7916 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f91ad316568 R15: 00007ffd65b3bda8
 </TASK>
INFO: task syz.2.323:8202 blocked for more than 147 seconds.
      Not tainted 6.11.0-rc3-syzkaller-00271-g85652baa895b #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.2.323       state:D stack:27424 pid:8202  tgid:8160  ppid:7484   flags:0x00000004
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5188 [inline]
 __schedule+0x17ae/0x4a10 kernel/sched/core.c:6529
 __schedule_loop kernel/sched/core.c:6606 [inline]
 schedule+0x14b/0x320 kernel/sched/core.c:6621
 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6678
 rwsem_down_read_slowpath kernel/locking/rwsem.c:1086 [inline]
 __down_read_common kernel/locking/rwsem.c:1250 [inline]
 __down_read kernel/locking/rwsem.c:1263 [inline]
 down_read+0x705/0xa40 kernel/locking/rwsem.c:1528
 inode_lock_shared include/linux/fs.h:809 [inline]
 lookup_slow+0x45/0x70 fs/namei.c:1734
 walk_component+0x2e1/0x410 fs/namei.c:2039
 lookup_last fs/namei.c:2542 [inline]
 path_lookupat+0x16f/0x450 fs/namei.c:2566
 filename_lookup+0x256/0x610 fs/namei.c:2595
 kern_path+0x35/0x50 fs/namei.c:2703
 lookup_bdev block/bdev.c:1157 [inline]
 bdev_file_open_by_path+0xd1/0x480 block/bdev.c:1030
 btrfs_scan_one_device+0x133/0xab0 fs/btrfs/volumes.c:1399
 btrfs_control_ioctl+0x165/0x3e0 fs/btrfs/super.c:2263
 vfs_ioctl fs/ioctl.c:51 [inline]
 __do_sys_ioctl fs/ioctl.c:907 [inline]
 __se_sys_ioctl+0xfc/0x170 fs/ioctl.c:893
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f91ad179e79
RSP: 002b:00007f91acaf7038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f91ad316640 RCX: 00007f91ad179e79
RDX: 0000000020000180 RSI: 0000000090009427 RDI: 0000000000000008
RBP: 00007f91ad1e7916 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000001 R14: 00007f91ad316640 R15: 00007ffd65b3bda8
 </TASK>
Future hung task reports are suppressed, see sysctl kernel.hung_task_warnings
INFO: task syz.0.352:8304 blocked for more than 147 seconds.
      Not tainted 6.11.0-rc3-syzkaller-00271-g85652baa895b #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.0.352       state:D stack:24688 pid:8304  tgid:8303  ppid:7521   flags:0x00004004
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5188 [inline]
 __schedule+0x17ae/0x4a10 kernel/sched/core.c:6529
 __schedule_loop kernel/sched/core.c:6606 [inline]
 schedule+0x14b/0x320 kernel/sched/core.c:6621
 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6678
 rwsem_down_read_slowpath kernel/locking/rwsem.c:1086 [inline]
 __down_read_common kernel/locking/rwsem.c:1250 [inline]
 __down_read kernel/locking/rwsem.c:1263 [inline]
 down_read+0x705/0xa40 kernel/locking/rwsem.c:1528
 __super_lock fs/super.c:58 [inline]
 super_lock+0x27c/0x400 fs/super.c:120
 super_lock_shared fs/super.c:139 [inline]
 iterate_supers+0x8c/0x190 fs/super.c:931
 quota_sync_all fs/quota/quota.c:69 [inline]
 __do_sys_quotactl fs/quota/quota.c:938 [inline]
 __se_sys_quotactl+0x38e/0xa30 fs/quota/quota.c:917
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fb847179e79
RSP: 002b:00007fb847f00038 EFLAGS: 00000246 ORIG_RAX: 00000000000000b3
RAX: ffffffffffffffda RBX: 00007fb847315f80 RCX: 00007fb847179e79
RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff80000101
RBP: 00007fb8471e7916 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007fb847315f80 R15: 00007ffea2dc3768
 </TASK>
Future hung task reports are suppressed, see sysctl kernel.hung_task_warnings

Showing all locks held in the system:
1 lock held by khungtaskd/30:
 #0: ffffffff8e7382e0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:326 [inline]
 #0: ffffffff8e7382e0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:838 [inline]
 #0: ffffffff8e7382e0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6626
2 locks held by kworker/u8:3/52:
5 locks held by kworker/u8:7/2510:
 #0: ffff8880162e3148 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3206 [inline]
 #0: ffff8880162e3148 ((wq_completion)netns){+.+.}-{0:0}, at: process_scheduled_works+0x90a/0x1830 kernel/workqueue.c:3312
 #1: ffffc900090afd00 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3207 [inline]
 #1: ffffc900090afd00 (net_cleanup_work){+.+.}-{0:0}, at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3312
 #2: ffffffff8fa63990 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0x16a/0xcc0 net/core/net_namespace.c:594
 #3: ffffffff8fa70548 (rtnl_mutex){+.+.}-{3:3}, at: default_device_exit_batch+0xe9/0xa90 net/core/dev.c:11883
 #4: ffffffff8e73d6b8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:296 [inline]
 #4: ffffffff8e73d6b8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x381/0x830 kernel/rcu/tree_exp.h:958
3 locks held by kworker/u8:8/2928:
 #0: ffff888015489148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3206 [inline]
 #0: ffff888015489148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_scheduled_works+0x90a/0x1830 kernel/workqueue.c:3312
 #1: ffffc900098bfd00 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3207 [inline]
 #1: ffffc900098bfd00 ((linkwatch_work).work){+.+.}-{0:0}, at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3312
 #2: ffffffff8fa70548 (rtnl_mutex){+.+.}-{3:3}, at: linkwatch_event+0xe/0x60 net/core/link_watch.c:276
3 locks held by kworker/u8:12/3000:
 #0: ffff88802a0c2948 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3206 [inline]
 #0: ffff88802a0c2948 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_scheduled_works+0x90a/0x1830 kernel/workqueue.c:3312
 #1: ffffc90009c9fd00 ((work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3207 [inline]
 #1: ffffc90009c9fd00 ((work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3312
 #2: ffffffff8fa70548 (rtnl_mutex){+.+.}-{3:3}, at: addrconf_dad_work+0xd0/0x16f0 net/ipv6/addrconf.c:4194
2 locks held by dhcpcd/4886:
 #0: ffff88805b467678 (nlk_cb_mutex-ROUTE){+.+.}-{3:3}, at: __netlink_dump_start+0x119/0x790 net/netlink/af_netlink.c:2404
 #1: ffffffff8fa70548 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:79 [inline]
 #1: ffffffff8fa70548 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_dumpit+0x99/0x200 net/core/rtnetlink.c:6506
2 locks held by getty/4973:
 #0: ffff88802abfa0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243
 #1: ffffc9000312b2f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6ac/0x1e00 drivers/tty/n_tty.c:2211
2 locks held by syz-executor/7791:
 #0: ffff8880675280e0 (&type->s_umount_key#52){++++}-{3:3}, at: __super_lock fs/super.c:56 [inline]
 #0: ffff8880675280e0 (&type->s_umount_key#52){++++}-{3:3}, at: __super_lock_excl fs/super.c:71 [inline]
 #0: ffff8880675280e0 (&type->s_umount_key#52){++++}-{3:3}, at: deactivate_super+0xb5/0xf0 fs/super.c:505
 #1: ffffffff8ecace28 (uuid_mutex){+.+.}-{3:3}, at: btrfs_close_devices+0xc0/0x5c0 fs/btrfs/volumes.c:1158
1 lock held by syz.1.314/8155:
 #0: ffffffff8ecace28 (uuid_mutex){+.+.}-{3:3}, at: btrfs_control_ioctl+0x2c9/0x3e0 fs/btrfs/super.c:2240
2 locks held by syz.2.323/8161:
1 lock held by syz.2.323/8178:
 #0: ffff8880779e4180 (&type->i_mutex_dir_key#28){++++}-{3:3}, at: inode_lock include/linux/fs.h:799 [inline]
 #0: ffff8880779e4180 (&type->i_mutex_dir_key#28){++++}-{3:3}, at: open_last_lookups fs/namei.c:3644 [inline]
 #0: ffff8880779e4180 (&type->i_mutex_dir_key#28){++++}-{3:3}, at: path_openat+0x7fb/0x3470 fs/namei.c:3883
1 lock held by syz.2.323/8183:
 #0: ffff8880779e4180 (&type->i_mutex_dir_key#27/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:834 [inline]
 #0: ffff8880779e4180 (&type->i_mutex_dir_key#27/1){+.+.}-{3:3}, at: filename_create+0x260/0x540 fs/namei.c:3979
1 lock held by syz.2.323/8184:
 #0: ffff8880779e4180 (&type->i_mutex_dir_key#27/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:834 [inline]
 #0: ffff8880779e4180 (&type->i_mutex_dir_key#27/1){+.+.}-{3:3}, at: filename_create+0x260/0x540 fs/namei.c:3979
1 lock held by syz.2.323/8188:
 #0: ffff8880779e4180 (&type->i_mutex_dir_key#27/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:834 [inline]
 #0: ffff8880779e4180 (&type->i_mutex_dir_key#27/1){+.+.}-{3:3}, at: filename_create+0x260/0x540 fs/namei.c:3979
1 lock held by syz.2.323/8192:
 #0: ffff8880779e4180 (&type->i_mutex_dir_key#28){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:809 [inline]
 #0: ffff8880779e4180 (&type->i_mutex_dir_key#28){++++}-{3:3}, at: lookup_slow+0x45/0x70 fs/namei.c:1734
1 lock held by syz.2.323/8196:
 #0: ffff8880779e4180 (&type->i_mutex_dir_key#28){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:809 [inline]
 #0: ffff8880779e4180 (&type->i_mutex_dir_key#28){++++}-{3:3}, at: open_last_lookups fs/namei.c:3646 [inline]
 #0: ffff8880779e4180 (&type->i_mutex_dir_key#28){++++}-{3:3}, at: path_openat+0x7ec/0x3470 fs/namei.c:3883
1 lock held by syz.2.323/8198:
 #0: ffff8880779e4180 (&type->i_mutex_dir_key#28){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:809 [inline]
 #0: ffff8880779e4180 (&type->i_mutex_dir_key#28){++++}-{3:3}, at: lookup_slow+0x45/0x70 fs/namei.c:1734
2 locks held by syz.2.323/8202:
 #0: ffffffff8ecace28 (uuid_mutex){+.+.}-{3:3}, at: btrfs_control_ioctl+0x150/0x3e0 fs/btrfs/super.c:2258
 #1: ffff8880779e4180 (&type->i_mutex_dir_key#28){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:809 [inline]
 #1: ffff8880779e4180 (&type->i_mutex_dir_key#28){++++}-{3:3}, at: lookup_slow+0x45/0x70 fs/namei.c:1734
1 lock held by syz.0.352/8304:
 #0: ffff8880675280e0 (&type->s_umount_key#52){++++}-{3:3}, at: __super_lock fs/super.c:58 [inline]
 #0: ffff8880675280e0 (&type->s_umount_key#52){++++}-{3:3}, at: super_lock+0x27c/0x400 fs/super.c:120
1 lock held by udevd/8553:
 #0: ffffffff8ecace28 (uuid_mutex){+.+.}-{3:3}, at: btrfs_control_ioctl+0x150/0x3e0 fs/btrfs/super.c:2258
1 lock held by udevd/8576:
 #0: ffffffff8ecace28 (uuid_mutex){+.+.}-{3:3}, at: btrfs_control_ioctl+0x150/0x3e0 fs/btrfs/super.c:2258
1 lock held by syz.1.367/8610:
 #0: ffff8880675280e0 (&type->s_umount_key#52){++++}-{3:3}, at: __super_lock fs/super.c:58 [inline]
 #0: ffff8880675280e0 (&type->s_umount_key#52){++++}-{3:3}, at: super_lock+0x27c/0x400 fs/super.c:120
1 lock held by syz.4.421/9221:
 #0: ffffffff8ecace28 (uuid_mutex){+.+.}-{3:3}, at: btrfs_get_tree_super fs/btrfs/super.c:1835 [inline]
 #0: ffffffff8ecace28 (uuid_mutex){+.+.}-{3:3}, at: btrfs_get_tree+0x2dc/0x1920 fs/btrfs/super.c:2114
1 lock held by syz.3.516/9277:
 #0: ffffffff8ecace28 (uuid_mutex){+.+.}-{3:3}, at: btrfs_get_tree_super fs/btrfs/super.c:1835 [inline]
 #0: ffffffff8ecace28 (uuid_mutex){+.+.}-{3:3}, at: btrfs_get_tree+0x2dc/0x1920 fs/btrfs/super.c:2114
1 lock held by syz.1.578/9496:
 #0: ffff8880675280e0 (&type->s_umount_key#52){++++}-{3:3}, at: __super_lock fs/super.c:58 [inline]
 #0: ffff8880675280e0 (&type->s_umount_key#52){++++}-{3:3}, at: super_lock+0x27c/0x400 fs/super.c:120
1 lock held by syz.1.578/9497:
 #0: ffff8880675280e0 (&type->s_umount_key#52){++++}-{3:3}, at: __super_lock fs/super.c:58 [inline]
 #0: ffff8880675280e0 (&type->s_umount_key#52){++++}-{3:3}, at: super_lock+0x27c/0x400 fs/super.c:120
1 lock held by syz-executor/9640:
 #0: ffffffff8fa70548 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:79 [inline]
 #0: ffffffff8fa70548 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x6e6/0xcf0 net/core/rtnetlink.c:6644
1 lock held by syz-executor/9705:
 #0: ffffffff8fa70548 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:79 [inline]
 #0: ffffffff8fa70548 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x6e6/0xcf0 net/core/rtnetlink.c:6644
1 lock held by syz-executor/9800:
 #0: ffffffff8fa70548 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:79 [inline]
 #0: ffffffff8fa70548 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x6e6/0xcf0 net/core/rtnetlink.c:6644
1 lock held by syz-executor/9802:
 #0: ffffffff8fa70548 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:79 [inline]
 #0: ffffffff8fa70548 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x6e6/0xcf0 net/core/rtnetlink.c:6644
1 lock held by syz.2.666/9804:
 #0: ffffffff8fa70548 (rtnl_mutex){+.+.}-{3:3}, at: tun_detach drivers/net/tun.c:698 [inline]
 #0: ffffffff8fa70548 (rtnl_mutex){+.+.}-{3:3}, at: tun_chr_close+0x3e/0x1b0 drivers/net/tun.c:3510

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

NMI backtrace for cpu 1
CPU: 1 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.11.0-rc3-syzkaller-00271-g85652baa895b #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024
Call Trace:
 <TASK>
 __dump_stack lib/dump_stack.c:93 [inline]
 dump_stack_lvl+0x241/0x360 lib/dump_stack.c:119
 nmi_cpu_backtrace+0x49c/0x4d0 lib/nmi_backtrace.c:113
 nmi_trigger_cpumask_backtrace+0x198/0x320 lib/nmi_backtrace.c:62
 trigger_all_cpu_backtrace include/linux/nmi.h:162 [inline]
 check_hung_uninterruptible_tasks kernel/hung_task.c:223 [inline]
 watchdog+0xff4/0x1040 kernel/hung_task.c:379
 kthread+0x2f0/0x390 kernel/kthread.c:389
 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
 </TASK>
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 UID: 0 PID: 2951 Comm: kworker/u8:9 Not tainted 6.11.0-rc3-syzkaller-00271-g85652baa895b #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024
Workqueue: events_unbound cfg80211_wiphy_work
RIP: 0010:__orc_find arch/x86/kernel/unwind_orc.c:102 [inline]
RIP: 0010:orc_find arch/x86/kernel/unwind_orc.c:227 [inline]
RIP: 0010:unwind_next_frame+0x510/0x2a00 arch/x86/kernel/unwind_orc.c:494
Code: 48 89 d8 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df 0f b6 04 08 84 c0 75 34 48 63 2b 48 01 dd 48 89 ef 4c 89 f6 e8 60 60 52 00 <48> 8d 43 04 4c 39 f5 4c 0f 46 e8 48 8d 43 fc 4c 0f 47 e0 4c 0f 46
RSP: 0018:ffffc90009a7f308 EFLAGS: 00000293
RAX: 0000000000000000 RBX: ffffffff900f0a3c RCX: ffff88802bc9bc00
RDX: 0000000000000000 RSI: ffffffff81f773f6 RDI: ffffffff81f77400
RBP: ffffffff81f77400 R08: ffffffff81412c60 R09: ffffc90009a7f4d0
R10: 0000000000000003 R11: ffffffff817f3050 R12: ffffffff900f0a3c
R13: ffffffff900f0a3c R14: ffffffff81f773f6 R15: ffffffff900f0a38
FS:  0000000000000000(0000) GS:ffff8880b9200000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000561f786afd18 CR3: 000000007ceb6000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <NMI>
 </NMI>
 <TASK>
 arch_stack_walk+0x151/0x1b0 arch/x86/kernel/stacktrace.c:25
 stack_trace_save+0x118/0x1d0 kernel/stacktrace.c:122
 kasan_save_stack mm/kasan/common.c:47 [inline]
 kasan_save_track+0x3f/0x80 mm/kasan/common.c:68
 kasan_save_free_info+0x40/0x50 mm/kasan/generic.c:579
 poison_slab_object+0xe0/0x150 mm/kasan/common.c:240
 __kasan_slab_free+0x37/0x60 mm/kasan/common.c:256
 kasan_slab_free include/linux/kasan.h:184 [inline]
 slab_free_hook mm/slub.c:2252 [inline]
 slab_free mm/slub.c:4473 [inline]
 kfree+0x149/0x360 mm/slub.c:4594
 ieee80211_rx_mgmt_probe_beacon net/mac80211/ibss.c:1580 [inline]
 ieee80211_ibss_rx_queued_mgmt+0x1b1e/0x2d70 net/mac80211/ibss.c:1606
 ieee80211_iface_process_skb net/mac80211/iface.c:1588 [inline]
 ieee80211_iface_work+0x8a5/0xf20 net/mac80211/iface.c:1642
 cfg80211_wiphy_work+0x2db/0x490 net/wireless/core.c:440
 process_one_work kernel/workqueue.c:3231 [inline]
 process_scheduled_works+0xa2c/0x1830 kernel/workqueue.c:3312
 worker_thread+0x86d/0xd40 kernel/workqueue.c:3390
 kthread+0x2f0/0x390 kernel/kthread.c:389
 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
 </TASK>

Crashes (4):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/08/17 12:46 upstream 85652baa895b dbc93b08 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in btrfs_close_devices
2024/06/06 10:11 upstream 2df0193e62cf 121701b6 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root INFO: task hung in btrfs_close_devices
2024/04/24 00:59 upstream 71b1543c83d6 21339d7b .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root INFO: task hung in btrfs_close_devices
2024/06/01 21:01 linux-next 0e1980c40b6e 3113787f .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root INFO: task hung in btrfs_close_devices
* Struck through repros no longer work on HEAD.