INFO: task syz-executor.0:7675 blocked for more than 143 seconds. Not tainted 6.9.0-syzkaller-10312-g1b0361620970 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:23648 pid:7675 tgid:7672 ppid:5106 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5408 [inline] __schedule+0xf15/0x5d00 kernel/sched/core.c:6745 __schedule_loop kernel/sched/core.c:6822 [inline] schedule+0xe7/0x350 kernel/sched/core.c:6837 io_schedule+0xbf/0x130 kernel/sched/core.c:9043 folio_wait_bit_common+0x3d8/0x9b0 mm/filemap.c:1307 folio_put_wait_locked mm/filemap.c:1471 [inline] do_read_cache_folio+0x2e2/0x540 mm/filemap.c:3770 read_mapping_folio include/linux/pagemap.h:894 [inline] read_part_sector+0xf6/0x440 block/partitions/core.c:712 adfspart_check_POWERTEC+0x8f/0x710 block/partitions/acorn.c:454 check_partition block/partitions/core.c:138 [inline] blk_add_partitions block/partitions/core.c:579 [inline] bdev_disk_changed+0x7e5/0x1620 block/partitions/core.c:683 blkdev_get_whole+0x187/0x290 block/bdev.c:680 bdev_open+0x2e7/0xe90 block/bdev.c:889 blkdev_open+0x17b/0x1f0 block/fops.c:615 do_dentry_open+0x8da/0x1900 fs/open.c:955 do_open fs/namei.c:3650 [inline] path_openat+0x1e3a/0x29f0 fs/namei.c:3807 do_filp_open+0x1dc/0x430 fs/namei.c:3834 do_sys_openat2+0x17a/0x1e0 fs/open.c:1406 do_sys_open fs/open.c:1421 [inline] __do_sys_openat fs/open.c:1437 [inline] __se_sys_openat fs/open.c:1432 [inline] __x64_sys_openat+0x175/0x210 fs/open.c:1432 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcf/0x260 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f7c05e7bae0 RSP: 002b:00007f7c06bc6c00 EFLAGS: 00000293 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f7c05e7bae0 RDX: 0000000000000000 RSI: 00007f7c06bc6ca0 RDI: 00000000ffffff9c RBP: 00007f7c06bc6ca0 R08: 0000000000000000 R09: 002364626e2f7665 R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000000 R13: 000000000000000b R14: 00007f7c05fabf80 R15: 00007ffcb9a59258 INFO: task syz-executor.0:7678 blocked for more than 144 seconds. Not tainted 6.9.0-syzkaller-10312-g1b0361620970 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:29000 pid:7678 tgid:7672 ppid:5106 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5408 [inline] __schedule+0xf15/0x5d00 kernel/sched/core.c:6745 __schedule_loop kernel/sched/core.c:6822 [inline] schedule+0xe7/0x350 kernel/sched/core.c:6837 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6894 __mutex_lock_common kernel/locking/mutex.c:684 [inline] __mutex_lock+0x5b8/0x9c0 kernel/locking/mutex.c:752 bdev_release+0x166/0x710 block/bdev.c:1059 blkdev_release+0x15/0x20 block/fops.c:623 __fput+0x408/0xbb0 fs/file_table.c:422 task_work_run+0x14e/0x250 kernel/task_work.c:180 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+0x278/0x2a0 kernel/entry/common.c:218 do_syscall_64+0xdc/0x260 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f7c05e7cee9 RSP: 002b:00007f7c06ba60c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: 0000000000000000 RBX: 00007f7c05fac050 RCX: 00007f7c05e7cee9 RDX: 0000000000000000 RSI: 000000000000ab03 RDI: 0000000000000003 RBP: 00007f7c05ec949e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007f7c05fac050 R15: 00007ffcb9a59258 Showing all locks held in the system: 3 locks held by kworker/u8:1/12: #0: ffff88802a5d3148 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x12bf/0x1b60 kernel/workqueue.c:3206 #1: ffffc90000117d80 ((work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_one_work+0x957/0x1b60 kernel/workqueue.c:3207 #2: ffffffff8f749a68 (rtnl_mutex){+.+.}-{3:3}, at: addrconf_dad_work+0xcf/0x1500 net/ipv6/addrconf.c:4193 1 lock held by khungtaskd/30: #0: ffffffff8dbb1760 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:329 [inline] #0: ffffffff8dbb1760 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:781 [inline] #0: ffffffff8dbb1760 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x75/0x340 kernel/locking/lockdep.c:6614 2 locks held by getty/4838: #0: ffff88802af8f0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243 #1: ffffc90002f062f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xfc8/0x1490 drivers/tty/n_tty.c:2201 3 locks held by kworker/u9:10/5118: #0: ffff8880289d0148 ((wq_completion)hci5){+.+.}-{0:0}, at: process_one_work+0x12bf/0x1b60 kernel/workqueue.c:3206 #1: ffffc90003bffd80 ((work_completion)(&hdev->cmd_sync_work)){+.+.}-{0:0}, at: process_one_work+0x957/0x1b60 kernel/workqueue.c:3207 #2: ffff88805f5ccd88 (&hdev->req_lock){+.+.}-{3:3}, at: hci_cmd_sync_work+0x170/0x410 net/bluetooth/hci_sync.c:309 3 locks held by kworker/0:3/5155: #0: ffff888015480948 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x12bf/0x1b60 kernel/workqueue.c:3206 #1: ffffc90003affd80 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work+0x957/0x1b60 kernel/workqueue.c:3207 #2: ffffffff8f749a68 (rtnl_mutex){+.+.}-{3:3}, at: linkwatch_event+0x51/0xc0 net/core/link_watch.c:276 1 lock held by syz-executor.0/7675: #0: ffff8880214294c8 (&disk->open_mutex){+.+.}-{3:3}, at: bdev_open+0x43c/0xe90 block/bdev.c:877 1 lock held by syz-executor.0/7678: #0: ffff8880214294c8 (&disk->open_mutex){+.+.}-{3:3}, at: bdev_release+0x166/0x710 block/bdev.c:1059 1 lock held by syz-executor.1/8723: #0: ffff88802142d4c8 (&disk->open_mutex){+.+.}-{3:3}, at: bdev_release+0x166/0x710 block/bdev.c:1059 1 lock held by syz-executor.1/8724: #0: ffff88802142d4c8 (&disk->open_mutex){+.+.}-{3:3}, at: bdev_open+0x43c/0xe90 block/bdev.c:877 1 lock held by syz-executor.4/8796: #0: ffffffff8f749a68 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:79 [inline] #0: ffffffff8f749a68 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x372/0xe60 net/core/rtnetlink.c:6592 2 locks held by syz-executor.3/8817: #0: ffffffff8f749a68 (rtnl_mutex){+.+.}-{3:3}, at: tun_detach drivers/net/tun.c:698 [inline] #0: ffffffff8f749a68 (rtnl_mutex){+.+.}-{3:3}, at: tun_chr_close+0x3e/0x250 drivers/net/tun.c:3500 #1: ffffffff8dbbcef8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock+0x282/0x3b0 kernel/rcu/tree_exp.h:291 1 lock held by syz-executor.1/8833: #0: ffffffff8f749a68 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:79 [inline] #0: ffffffff8f749a68 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x372/0xe60 net/core/rtnetlink.c:6592 1 lock held by syz-executor.2/8837: #0: ffffffff8dbbcef8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock+0x1a4/0x3b0 kernel/rcu/tree_exp.h:323 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 30 Comm: khungtaskd Not tainted 6.9.0-syzkaller-10312-g1b0361620970 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x116/0x1f0 lib/dump_stack.c:114 nmi_cpu_backtrace+0x27b/0x390 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x29c/0x300 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+0xf86/0x1240 kernel/hung_task.c:379 kthread+0x2c1/0x3a0 kernel/kthread.c:389 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 8801 Comm: syz-executor.0 Not tainted 6.9.0-syzkaller-10312-g1b0361620970 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 RIP: 0010:__sanitizer_cov_trace_pc+0x48/0x60 kernel/kcov.c:212 Code: f6 c4 01 74 35 8b 82 1c 16 00 00 85 c0 74 2b 8b 82 f8 15 00 00 83 f8 02 75 20 48 8b 8a 00 16 00 00 8b 92 fc 15 00 00 48 8b 01 <48> 83 c0 01 48 39 d0 73 07 48 89 01 48 89 34 c1 c3 cc cc cc cc 0f RSP: 0018:ffffc900031bfa88 EFLAGS: 00000246 RAX: 000000000003ffff RBX: 0000000000000000 RCX: ffffc900142d5000 RDX: 0000000000040000 RSI: ffffffff888ea458 RDI: 0000000000000005 RBP: 0000000000000000 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: ffff888055ecd000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 FS: 00007f5e0c4616c0(0000) GS:ffff8880b9300000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055556014f938 CR3: 000000002f050000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: get_synthinfo_nospec sound/core/seq/oss/seq_oss_synth.c:333 [inline] get_synthdev+0x28/0x210 sound/core/seq/oss/seq_oss_synth.c:346 snd_seq_oss_synth_info+0x1c/0xf0 sound/core/seq/oss/seq_oss_synth.c:474 note_off_event+0x30/0x5e0 sound/core/seq/oss/seq_oss_event.c:339 old_event sound/core/seq/oss/seq_oss_event.c:99 [inline] snd_seq_oss_process_event+0x1f71/0x2550 sound/core/seq/oss/seq_oss_event.c:88 insert_queue sound/core/seq/oss/seq_oss_rw.c:167 [inline] snd_seq_oss_write+0x234/0x7b0 sound/core/seq/oss/seq_oss_rw.c:135 odev_write+0x57/0xa0 sound/core/seq/oss/seq_oss.c:168 vfs_write+0x29a/0x1140 fs/read_write.c:588 ksys_write+0x12f/0x260 fs/read_write.c:643 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcf/0x260 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f5e0b67cee9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 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 73 01 c3 48 c7 c1 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f5e0c4610c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f5e0b7ac050 RCX: 00007f5e0b67cee9 RDX: 00000000fffffe0d RSI: 0000000020000180 RDI: 0000000000000003 RBP: 00007f5e0b6c949e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007f5e0b7ac050 R15: 00007ffcb84c5df8