INFO: task syz.1.68:6170 blocked for more than 143 seconds. Not tainted 6.11.0-rc1-syzkaller-00044-g22f546873149 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.1.68 state:D stack:26872 pid:6170 tgid:6116 ppid:5762 flags:0x00000004 Call Trace: 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 percpu_rwsem_wait+0x3c2/0x450 kernel/locking/percpu-rwsem.c:162 __percpu_down_read+0xee/0x130 kernel/locking/percpu-rwsem.c:177 percpu_down_read include/linux/percpu-rwsem.h:65 [inline] __sb_start_write include/linux/fs.h:1675 [inline] sb_start_write include/linux/fs.h:1811 [inline] file_start_write+0x1fd/0x250 include/linux/fs.h:2876 direct_splice_actor+0x49/0x220 fs/splice.c:1163 splice_direct_to_actor+0x58e/0xc90 fs/splice.c:1108 do_splice_direct_actor fs/splice.c:1207 [inline] do_splice_direct+0x28c/0x3e0 fs/splice.c:1233 do_sendfile+0x56d/0xe20 fs/read_write.c:1295 __do_sys_sendfile64 fs/read_write.c:1362 [inline] __se_sys_sendfile64+0x17c/0x1e0 fs/read_write.c:1348 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:0x7faeda9773b9 RSP: 002b:00007faedb7d0048 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 00007faedab06058 RCX: 00007faeda9773b9 RDX: 0000000000000000 RSI: 0000000000000006 RDI: 0000000000000007 RBP: 00007faeda9e48e6 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000100800001 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007faedab06058 R15: 00007ffc659a4358 INFO: task syz.1.68:6171 blocked for more than 144 seconds. Not tainted 6.11.0-rc1-syzkaller-00044-g22f546873149 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.1.68 state:D stack:27424 pid:6171 tgid:6116 ppid:5762 flags:0x00000004 Call Trace: 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 percpu_rwsem_wait+0x3c2/0x450 kernel/locking/percpu-rwsem.c:162 __percpu_down_read+0xee/0x130 kernel/locking/percpu-rwsem.c:177 percpu_down_read include/linux/percpu-rwsem.h:65 [inline] __sb_start_write include/linux/fs.h:1675 [inline] sb_start_write+0x184/0x1c0 include/linux/fs.h:1811 mnt_want_write+0x3f/0x90 fs/namespace.c:515 open_last_lookups fs/namei.c:3636 [inline] path_openat+0x779/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:0x7faeda9773b9 RSP: 002b:00007faedb7af048 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007faedab06130 RCX: 00007faeda9773b9 RDX: 000000000000275a RSI: 0000000020000000 RDI: ffffffffffffff9c RBP: 00007faeda9e48e6 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007faedab06130 R15: 00007ffc659a4358 INFO: task syz.1.68:6173 blocked for more than 145 seconds. Not tainted 6.11.0-rc1-syzkaller-00044-g22f546873149 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.1.68 state:D stack:27424 pid:6173 tgid:6116 ppid:5762 flags:0x00000004 Call Trace: 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 percpu_rwsem_wait+0x3c2/0x450 kernel/locking/percpu-rwsem.c:162 __percpu_down_read+0xee/0x130 kernel/locking/percpu-rwsem.c:177 percpu_down_read include/linux/percpu-rwsem.h:65 [inline] __sb_start_write include/linux/fs.h:1675 [inline] sb_start_write+0x184/0x1c0 include/linux/fs.h:1811 file_start_write include/linux/fs.h:2876 [inline] vfs_write+0x227/0xc90 fs/read_write.c:586 ksys_write+0x1a0/0x2c0 fs/read_write.c:643 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:0x7faeda9773b9 RSP: 002b:00007faedb78e048 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007faedab06208 RCX: 00007faeda9773b9 RDX: 000000000000000b RSI: 0000000020000ec0 RDI: 0000000000000004 RBP: 00007faeda9e48e6 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007faedab06208 R15: 00007ffc659a4358 INFO: task syz.1.68:6175 blocked for more than 145 seconds. Not tainted 6.11.0-rc1-syzkaller-00044-g22f546873149 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.1.68 state:D stack:27424 pid:6175 tgid:6116 ppid:5762 flags:0x00000004 Call Trace: 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 percpu_rwsem_wait+0x3c2/0x450 kernel/locking/percpu-rwsem.c:162 __percpu_down_read+0xee/0x130 kernel/locking/percpu-rwsem.c:177 percpu_down_read include/linux/percpu-rwsem.h:65 [inline] __sb_start_write include/linux/fs.h:1675 [inline] sb_start_write+0x184/0x1c0 include/linux/fs.h:1811 mnt_want_write+0x3f/0x90 fs/namespace.c:515 filename_create+0x184/0x540 fs/namei.c:3972 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:0x7faeda9773b9 RSP: 002b:00007faedb76d048 EFLAGS: 00000246 ORIG_RAX: 0000000000000102 RAX: ffffffffffffffda RBX: 00007faedab062e0 RCX: 00007faeda9773b9 RDX: 0000000000000000 RSI: 0000000020000000 RDI: ffffffffffffff9c RBP: 00007faeda9e48e6 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007faedab062e0 R15: 00007ffc659a4358 Showing all locks held in the system: 1 lock held by khungtaskd/30: #0: ffffffff8e7377a0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:326 [inline] #0: ffffffff8e7377a0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:838 [inline] #0: ffffffff8e7377a0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6620 4 locks held by kworker/u8:2/35: #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: ffffc90000ab7d00 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3207 [inline] #1: ffffc90000ab7d00 (net_cleanup_work){+.+.}-{0:0}, at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3312 #2: ffffffff8fa60ad0 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0x16a/0xcc0 net/core/net_namespace.c:594 #3: ffffffff8fa6d648 (rtnl_mutex){+.+.}-{3:3}, at: default_device_exit_batch+0xe9/0xa90 net/core/dev.c:11874 5 locks held by kworker/u8:4/75: 3 locks held by kworker/u8:5/965: 1 lock held by dhcpcd/4881: #0: ffffffff8fa6d648 (rtnl_mutex){+.+.}-{3:3}, at: devinet_ioctl+0x2ce/0x1bc0 net/ipv4/devinet.c:1101 2 locks held by getty/4969: #0: ffff88802b0dc0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc9000311b2f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6b5/0x1e10 drivers/tty/n_tty.c:2211 1 lock held by udevd/5219: #0: ffff8880206254c8 (&disk->open_mutex){+.+.}-{3:3}, at: bdev_open+0xf0/0xc60 block/bdev.c:897 3 locks held by kworker/0:6/5267: #0: ffff888015480948 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3206 [inline] #0: ffff888015480948 ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0x90a/0x1830 kernel/workqueue.c:3312 #1: ffffc90003dffd00 (free_ipc_work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3207 [inline] #1: ffffc90003dffd00 (free_ipc_work){+.+.}-{0:0}, at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3312 #2: ffffffff8e73cb78 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:296 [inline] #2: ffffffff8e73cb78 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x381/0x830 kernel/rcu/tree_exp.h:958 1 lock held by syz.1.68/6170: #0: ffff888067642420 (sb_writers#27){++++}-{0:0}, at: direct_splice_actor+0x49/0x220 fs/splice.c:1163 1 lock held by syz.1.68/6171: #0: ffff888067642420 ( sb_writers #27 ){++++}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:515 2 locks held by syz.1.68/6173: #0: ffff88802144efc8 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0x24e/0x310 fs/file.c:1191 #1: ffff888067642420 (sb_writers#27){++++}-{0:0}, at: file_start_write include/linux/fs.h:2876 [inline] #1: ffff888067642420 (sb_writers#27){++++}-{0:0}, at: vfs_write+0x227/0xc90 fs/read_write.c:586 1 lock held by syz.1.68/6175: #0: ffff888067642420 (sb_writers#27){++++}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:515 1 lock held by syz.0.71/6465: #0: ffff88801befe420 (sb_writers#27){++++}-{0:0}, at: direct_splice_actor+0x49/0x220 fs/splice.c:1163 1 lock held by syz.0.71/6468: #0: ffff88801befe420 (sb_writers#27){++++}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:515 2 locks held by syz.0.71/6471: #0: ffff88807ec079c8 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0x24e/0x310 fs/file.c:1191 #1: ffff88801befe420 (sb_writers#27){++++}-{0:0}, at: file_start_write include/linux/fs.h:2876 [inline] #1: ffff88801befe420 (sb_writers#27){++++}-{0:0}, at: vfs_write+0x227/0xc90 fs/read_write.c:586 1 lock held by syz.0.71/6474: #0: ffff88801befe420 (sb_writers#27){++++}-{0:0} , at: mnt_want_write+0x3f/0x90 fs/namespace.c:515 1 lock held by syz.0.71/6484: #0: ffff88801befe420 (sb_writers#27){++++}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:515 4 locks held by syz-executor/7465: #0: ffff88805b190d80 (&hdev->req_lock){+.+.}-{3:3}, at: hci_dev_do_close net/bluetooth/hci_core.c:488 [inline] #0: ffff88805b190d80 (&hdev->req_lock){+.+.}-{3:3}, at: hci_unregister_dev+0x203/0x510 net/bluetooth/hci_core.c:2699 #1: ffff88805b190078 (&hdev->lock){+.+.}-{3:3}, at: hci_dev_close_sync+0x572/0x11a0 net/bluetooth/hci_sync.c:5110 #2: ffffffff8fbd8e68 (hci_cb_list_lock){+.+.}-{3:3}, at: hci_disconn_cfm include/net/bluetooth/hci_core.h:1977 [inline] #2: ffffffff8fbd8e68 (hci_cb_list_lock){+.+.}-{3:3}, at: hci_conn_hash_flush+0xa6/0x240 net/bluetooth/hci_conn.c:2592 #3: ffffffff8e73cb78 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:328 [inline] #3: ffffffff8e73cb78 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x451/0x830 kernel/rcu/tree_exp.h:958 1 lock held by syz-executor/7943: 1 lock held by syz-executor/8381: #0: ffffffff8fa6d648 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:79 [inline] #0: ffffffff8fa6d648 (rtnl_mutex){+.+.}-{3:3}, at: __rtnl_newlink net/core/rtnetlink.c:3720 [inline] #0: ffffffff8fa6d648 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_newlink+0xab7/0x20a0 net/core/rtnetlink.c:3743 1 lock held by syz.4.348/8435: #0: ffff8880206254c8 (&disk->open_mutex){+.+.}-{3:3}, at: loop_reread_partitions drivers/block/loop.c:533 [inline] #0: ffff8880206254c8 (&disk->open_mutex){+.+.}-{3:3}, at: loop_set_status+0x6f3/0x900 drivers/block/loop.c:1303 1 lock held by syz.4.348/8436: ============================================= NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.11.0-rc1-syzkaller-00044-g22f546873149 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024 Call Trace: __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+0xfee/0x1030 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 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 7943 Comm: syz-executor Not tainted 6.11.0-rc1-syzkaller-00044-g22f546873149 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024 RIP: 0010:security_file_open+0x6c/0x750 security/security.c:2988 Code: 85 db 74 31 48 8d 6b 18 48 89 e8 48 c1 e8 03 42 80 3c 38 00 74 08 48 89 ef e8 60 86 97 fd 4c 8b 5d 00 4c 89 e7 41 ff d3 66 90 <85> c0 75 3d e8 0b 73 33 fd eb b1 49 8d 9c 24 f8 00 00 00 48 89 d8 RSP: 0018:ffffc90003d0f7e8 EFLAGS: 00000246 RAX: 0000000000000000 RBX: ffffffff8e07f9e0 RCX: dffffc0000000000 RDX: ffff888069911e00 RSI: 0000000000000001 RDI: 0000000000000003 RBP: ffffffff8e07f9f8 R08: ffffffff84652ffd R09: 1ffffffff1fece9d R10: dffffc0000000000 R11: fffffbfff1fece9e R12: ffff88807c673180 R13: ffff88807c673180 R14: ffff8880618fdb38 R15: dffffc0000000000 FS: 000055557f2e2500(0000) GS:ffff8880b9200000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055a3d36ce328 CR3: 0000000064cba000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: do_dentry_open+0x38e/0x1440 fs/open.c:946 vfs_open+0x3e/0x330 fs/open.c:1089 do_open fs/namei.c:3727 [inline] path_openat+0x2b3e/0x3470 fs/namei.c:3886 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:0x7efc9a575d50 Code: 48 89 44 24 20 75 93 44 89 54 24 0c e8 19 8e 02 00 44 8b 54 24 0c 89 da 48 89 ee 41 89 c0 bf 9c ff ff ff b8 01 01 00 00 0f 05 <48> 3d 00 f0 ff ff 77 38 44 89 c7 89 44 24 0c e8 6c 8e 02 00 8b 44 RSP: 002b:00007ffff0644e10 EFLAGS: 00000293 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007efc9a575d50 RDX: 0000000000000000 RSI: 00007ffff0644f40 RDI: 00000000ffffff9c RBP: 00007ffff0644f40 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000293 R12: 00007ffff0645fc0 R13: 00007efc9a5e4784 R14: 000055557f2e24a8 R15: 0000000000000005