INFO: task syz-executor.1:5485 blocked for more than 143 seconds.
Not tainted 6.7.0-syzkaller-12824-g9d64bf433c53 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.1 state:D stack:25072 pid:5485 tgid:5485 ppid:5085 flags:0x00004006
Call Trace:
context_switch kernel/sched/core.c:5400 [inline]
__schedule+0x177f/0x4960 kernel/sched/core.c:6727
__schedule_loop kernel/sched/core.c:6802 [inline]
schedule+0x149/0x260 kernel/sched/core.c:6817
wait_extent_bit fs/btrfs/extent-io-tree.c:822 [inline]
lock_extent+0x69d/0x850 fs/btrfs/extent-io-tree.c:1868
btrfs_page_mkwrite+0x743/0x10c0 fs/btrfs/inode.c:8176
do_page_mkwrite+0x197/0x470 mm/memory.c:2966
wp_page_shared mm/memory.c:3353 [inline]
do_wp_page+0x20e3/0x4c80 mm/memory.c:3493
handle_pte_fault mm/memory.c:5160 [inline]
__handle_mm_fault+0x26a3/0x72b0 mm/memory.c:5285
handle_mm_fault+0x27e/0x770 mm/memory.c:5450
do_user_addr_fault arch/x86/mm/fault.c:1364 [inline]
handle_page_fault arch/x86/mm/fault.c:1507 [inline]
exc_page_fault+0x456/0x870 arch/x86/mm/fault.c:1563
asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:570
RIP: 0033:0x7fd1b945de2b
RSP: 002b:00007ffdc9f59558 EFLAGS: 00010202
RAX: 0000000020000140 RBX: 00007ffdc9f59668 RCX: 000000000078696e
RDX: 0000000000000006 RSI: 00000000696e696d RDI: 0000000020000140
RBP: 0000000000000032 R08: 00007fd1b9400000 R09: 00007ffdc9fc30b0
R10: 00007ffdc9fc3080 R11: 0000000000008908 R12: 00007fd1b9005df8
R13: fffffffffffffffe R14: 00007fd1b9000000 R15: 00007fd1b9005e00
INFO: task syz-executor.1:5532 blocked for more than 144 seconds.
Not tainted 6.7.0-syzkaller-12824-g9d64bf433c53 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.1 state:D stack:22392 pid:5532 tgid:5485 ppid:5085 flags:0x00004006
Call Trace:
context_switch kernel/sched/core.c:5400 [inline]
__schedule+0x177f/0x4960 kernel/sched/core.c:6727
__schedule_loop kernel/sched/core.c:6802 [inline]
schedule+0x149/0x260 kernel/sched/core.c:6817
schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6874
rwsem_down_write_slowpath+0xeea/0x13b0 kernel/locking/rwsem.c:1178
__down_write_common+0x1aa/0x200 kernel/locking/rwsem.c:1306
inode_lock include/linux/fs.h:802 [inline]
btrfs_inode_lock+0x4d/0xd0 fs/btrfs/inode.c:387
btrfs_buffered_write+0x230/0x1380 fs/btrfs/file.c:1207
btrfs_do_write_iter+0x2bb/0x1190 fs/btrfs/file.c:1690
call_write_iter include/linux/fs.h:2085 [inline]
iter_file_splice_write+0xbcf/0x14e0 fs/splice.c:743
do_splice_from fs/splice.c:941 [inline]
direct_splice_actor+0xf6/0x1e0 fs/splice.c:1164
splice_direct_to_actor+0x54e/0xc80 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/0xdb0 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+0xf5/0x230 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x63/0x6b
RIP: 0033:0x7fd1b947cda9
RSP: 002b:00007fd1ba2530c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000028
RAX: ffffffffffffffda RBX: 00007fd1b95ac050 RCX: 00007fd1b947cda9
RDX: 0000000000000000 RSI: 0000000000000007 RDI: 0000000000000006
RBP: 00007fd1b94c947a R08: 0000000000000000 R09: 0000000000000000
R10: 0001000000201005 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000006e R14: 00007fd1b95ac050 R15: 00007ffdc9f59478
INFO: task syz-executor.1:5533 blocked for more than 145 seconds.
Not tainted 6.7.0-syzkaller-12824-g9d64bf433c53 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.1 state:D stack:22576 pid:5533 tgid:5485 ppid:5085 flags:0x00004006
Call Trace:
context_switch kernel/sched/core.c:5400 [inline]
__schedule+0x177f/0x4960 kernel/sched/core.c:6727
__schedule_loop kernel/sched/core.c:6802 [inline]
schedule+0x149/0x260 kernel/sched/core.c:6817
io_schedule+0x8c/0x100 kernel/sched/core.c:9023
folio_wait_bit_common+0x881/0x12b0 mm/filemap.c:1274
btrfs_page_mkwrite+0x60d/0x10c0 fs/btrfs/inode.c:8166
do_page_mkwrite+0x197/0x470 mm/memory.c:2966
wp_page_shared mm/memory.c:3353 [inline]
do_wp_page+0x20e3/0x4c80 mm/memory.c:3493
handle_pte_fault mm/memory.c:5160 [inline]
__handle_mm_fault+0x26a3/0x72b0 mm/memory.c:5285
handle_mm_fault+0x27e/0x770 mm/memory.c:5450
do_user_addr_fault arch/x86/mm/fault.c:1415 [inline]
handle_page_fault arch/x86/mm/fault.c:1507 [inline]
exc_page_fault+0x2ad/0x870 arch/x86/mm/fault.c:1563
asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:570
RIP: 0010:rep_movs_alternative+0x33/0x70 arch/x86/lib/copy_user_64.S:58
Code: 40 83 f9 08 73 21 85 c9 74 0f 8a 06 88 07 48 ff c7 48 ff c6 48 ff c9 75 f1 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 48 8b 06 <48> 89 07 48 83 c6 08 48 83 c7 08 83 e9 08 74 df 83 f9 08 73 e8 eb
RSP: 0018:ffffc90009e4f530 EFLAGS: 00050206
RAX: 0000000000000000 RBX: 0000000020000098 RCX: 0000000000000038
RDX: 0000000000000000 RSI: ffffc90009e4f5e0 RDI: 0000000020000060
RBP: ffffc90009e4f690 R08: ffffc90009e4f617 R09: 1ffff920013c9ec2
R10: dffffc0000000000 R11: fffff520013c9ec3 R12: 0000000000000038
R13: ffffc90009e4f5e0 R14: 0000000020000060 R15: ffffc90009e4f5e0
copy_user_generic arch/x86/include/asm/uaccess_64.h:112 [inline]
raw_copy_to_user arch/x86/include/asm/uaccess_64.h:133 [inline]
_copy_to_user+0x86/0xa0 lib/usercopy.c:41
copy_to_user include/linux/uaccess.h:191 [inline]
fiemap_fill_next_extent+0x235/0x410 fs/ioctl.c:145
emit_last_fiemap_cache fs/btrfs/extent_io.c:2555 [inline]
extent_fiemap+0x1b9c/0x1fe0 fs/btrfs/extent_io.c:3082
btrfs_fiemap+0x178/0x1e0 fs/btrfs/inode.c:7844
ioctl_fiemap fs/ioctl.c:220 [inline]
do_vfs_ioctl+0x19ea/0x2b40 fs/ioctl.c:811
__do_sys_ioctl fs/ioctl.c:869 [inline]
__se_sys_ioctl+0x81/0x170 fs/ioctl.c:857
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xf5/0x230 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x63/0x6b
RIP: 0033:0x7fd1b947cda9
RSP: 002b:00007fd1ba2320c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007fd1b95ac120 RCX: 00007fd1b947cda9
RDX: 0000000020000040 RSI: 00000000c020660b RDI: 0000000000000005
RBP: 00007fd1b94c947a R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000006e R14: 00007fd1b95ac120 R15: 00007ffdc9f59478
Showing all locks held in the system:
1 lock held by ksoftirqd/1/22:
1 lock held by khungtaskd/29:
#0: ffffffff8d92ef20 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:298 [inline]
#0: ffffffff8d92ef20 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:750 [inline]
#0: ffffffff8d92ef20 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6614
3 locks held by kworker/u4:6/1096:
2 locks held by getty/4812:
#0: ffff88802a73c0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243
#1: ffffc90002f062f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6b4/0x1e10 drivers/tty/n_tty.c:2201
1 lock held by syz-executor.0/5084:
1 lock held by syz-executor.2/5095:
5 locks held by kworker/u5:8/5105:
#0: ffff88801fa30938 ((wq_completion)hci6){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2608 [inline]
#0: ffff88801fa30938 ((wq_completion)hci6){+.+.}-{0:0}, at: process_scheduled_works+0x825/0x1420 kernel/workqueue.c:2706
#1: ffffc9000450fd20 ((work_completion)(&hdev->cmd_sync_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2608 [inline]
#1: ffffc9000450fd20 ((work_completion)(&hdev->cmd_sync_work)){+.+.}-{0:0}, at: process_scheduled_works+0x825/0x1420 kernel/workqueue.c:2706
#2: ffff8880343b9060 (&hdev->req_lock){+.+.}-{3:3}, at: hci_cmd_sync_work+0x1e0/0x400 net/bluetooth/hci_sync.c:305
#3: ffff8880343b8078 (&hdev->lock){+.+.}-{3:3}, at: hci_abort_conn_sync+0x1ea/0xdd0 net/bluetooth/hci_sync.c:5337
#4: ffffffff8d9348b8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:325 [inline]
#4: ffffffff8d9348b8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x46c/0x890 kernel/rcu/tree_exp.h:996
2 locks held by kworker/1:8/5155:
#0: ffff88801308a938 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2608 [inline]
#0: ffff88801308a938 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_scheduled_works+0x825/0x1420 kernel/workqueue.c:2706
#1: ffffc9000489fd20 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2608 [inline]
#1: ffffc9000489fd20 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_scheduled_works+0x825/0x1420 kernel/workqueue.c:2706
3 locks held by syz-executor.1/5485:
#0: ffff88802d587b50 (&vma->vm_lock->lock){++++}-{3:3}, at: vma_start_read include/linux/mm.h:663 [inline]
#0: ffff88802d587b50 (&vma->vm_lock->lock){++++}-{3:3}, at: lock_vma_under_rcu+0x2f9/0x730 mm/memory.c:5606
#1: ffff888023e38518 (sb_pagefaults#3){.+.+}-{0:0}, at: do_page_mkwrite+0x197/0x470 mm/memory.c:2966
#2: ffff8880506053d8 (&ei->i_mmap_lock){++++}-{3:3}, at: btrfs_page_mkwrite+0x603/0x10c0 fs/btrfs/inode.c:8165
2 locks held by syz-executor.1/5532:
#0: ffff888023e38420 (sb_writers#13){.+.+}-{0:0}, at: direct_splice_actor+0x4a/0x1e0 fs/splice.c:1163
#1: ffff888050605550 (&sb->s_type->i_mutex_key#20){++++}-{3:3}, at: inode_lock include/linux/fs.h:802 [inline]
#1: ffff888050605550 (&sb->s_type->i_mutex_key#20){++++}-{3:3}, at: btrfs_inode_lock+0x4d/0xd0 fs/btrfs/inode.c:387
4 locks held by syz-executor.1/5533:
#0: ffff888050605550 (&sb->s_type->i_mutex_key#20){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:812 [inline]
#0: ffff888050605550 (&sb->s_type->i_mutex_key#20){++++}-{3:3}, at: btrfs_inode_lock+0x60/0xd0 fs/btrfs/inode.c:379
#1: ffff88807e750b20 (&mm->mmap_lock){++++}-{3:3}, at: mmap_read_trylock include/linux/mmap_lock.h:165 [inline]
#1: ffff88807e750b20 (&mm->mmap_lock){++++}-{3:3}, at: get_mmap_lock_carefully mm/memory.c:5477 [inline]
#1: ffff88807e750b20 (&mm->mmap_lock){++++}-{3:3}, at: lock_mm_and_find_vma+0x32/0x2d0 mm/memory.c:5537
#2: ffff888023e38518 (sb_pagefaults#3){.+.+}-{0:0}, at: do_page_mkwrite+0x197/0x470 mm/memory.c:2966
#3: ffff8880506053d8 (&ei->i_mmap_lock){++++}-{3:3}, at: btrfs_page_mkwrite+0x603/0x10c0 fs/btrfs/inode.c:8165
3 locks held by udevd/5730:
2 locks held by syz-executor.4/8890:
3 locks held by syz-executor.1/8900:
3 locks held by udevd/8901:
=============================================
NMI backtrace for cpu 1
CPU: 1 PID: 29 Comm: khungtaskd Not tainted 6.7.0-syzkaller-12824-g9d64bf433c53 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0x1e7/0x2d0 lib/dump_stack.c:106
nmi_cpu_backtrace+0x498/0x4d0 lib/nmi_backtrace.c:113
nmi_trigger_cpumask_backtrace+0x198/0x310 lib/nmi_backtrace.c:62
trigger_all_cpu_backtrace include/linux/nmi.h:160 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:222 [inline]
watchdog+0xfaf/0xff0 kernel/hung_task.c:379
kthread+0x2d3/0x370 kernel/kthread.c:388
ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:147
ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:242
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 8901 Comm: udevadm Not tainted 6.7.0-syzkaller-12824-g9d64bf433c53 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023
RIP: 0010:get_current arch/x86/include/asm/current.h:42 [inline]
RIP: 0010:__sanitizer_cov_trace_pc+0x8/0x60 kernel/kcov.c:206
Code: 1f 00 f3 0f 1e fa 53 48 89 fb e8 13 00 00 00 48 8b 3d 44 c8 a7 0b 48 89 de 5b e9 53 cd 51 00 0f 1f 00 f3 0f 1e fa 48 8b 04 24 <65> 48 8b 0d 20 c5 74 7e 65 8b 15 21 c5 74 7e f7 c2 00 01 ff 00 74
RSP: 0018:ffffc90009d5f978 EFLAGS: 00000246
RAX: ffffffff844edaff RBX: 0000000000000000 RCX: ffff88804be89dc0
RDX: ffff88804be89dc0 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc90009d5fcc8 R08: ffffffff844edaf5 R09: 1ffff11005e91497
R10: dffffc0000000000 R11: ffffed1005e91498 R12: ffff88802f48a4b8
R13: 1ffff920013abf4c R14: ffff88802f48a3f0 R15: 0000000000000000
FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fffa6abdff8 CR3: 000000002d828000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
process_measurement+0x19cf/0x21c0 security/integrity/ima/ima_main.c:399
ima_file_mmap+0x1f2/0x2b0 security/integrity/ima/ima_main.c:449
vm_mmap_pgoff+0x148/0x420 mm/util.c:552
ksys_mmap_pgoff+0x4ff/0x6d0 mm/mmap.c:1425
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xf5/0x230 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x63/0x6b
RIP: 0033:0x7fadcecc8b74
Code: 63 08 44 89 e8 5b 41 5c 41 5d c3 41 89 ca 41 f7 c1 ff 0f 00 00 74 0c c7 05 f5 46 01 00 16 00 00 00 eb 17 b8 09 00 00 00 0f 05 <48> 3d 00 f0 ff ff 76 0c f7 d8 89 05 dc 46 01 00 48 83 c8 ff c3 0f
RSP: 002b:00007fffa6abddd8 EFLAGS: 00000246 ORIG_RAX: 0000000000000009
RAX: ffffffffffffffda RBX: 00007fffa6abde18 RCX: 00007fadcecc8b74
RDX: 0000000000000005 RSI: 0000000000123000 RDI: 00007fadce677000
RBP: 00007fffa6abe570 R08: 0000000000000003 R09: 0000000000028000
R10: 0000000000000812 R11: 0000000000000246 R12: 00007fadcecac9c0
R13: 00007fffa6abe5f8 R14: 0000000000027f38 R15: 0000000000000000