INFO: task systemd-udevd:21261 blocked for more than 140 seconds. Not tainted 4.19.211-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. systemd-udevd D26624 21261 4696 0x00000100 Call Trace: context_switch kernel/sched/core.c:2828 [inline] __schedule+0x887/0x2040 kernel/sched/core.c:3517 schedule+0x8d/0x1b0 kernel/sched/core.c:3561 io_schedule+0xb5/0x120 kernel/sched/core.c:5181 wait_on_page_bit_common mm/filemap.c:1123 [inline] wait_on_page_bit+0x2c5/0x3f0 mm/filemap.c:1156 wait_on_page_locked include/linux/pagemap.h:531 [inline] wait_on_page_read mm/filemap.c:2795 [inline] do_read_cache_page+0x8ed/0x1170 mm/filemap.c:2834 read_mapping_page include/linux/pagemap.h:402 [inline] read_dev_sector+0xbf/0x500 block/partition-generic.c:671 read_part_sector block/partitions/check.h:38 [inline] adfspart_check_ICS+0x114/0xe70 block/partitions/acorn.c:366 check_partition+0x390/0x690 block/partitions/check.c:167 rescan_partitions+0x1b5/0x970 block/partition-generic.c:535 kauditd_printk_skb: 86 callbacks suppressed audit: type=1804 audit(1674876591.788:750): pid=23175 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=invalid_pcr cause=open_writers comm="syz-executor.3" name="/root/syzkaller-testdir2568461242/syzkaller.X2ROeF/2876/bus" dev="sda1" ino=13897 res=1 bdev_disk_changed+0x179/0x1b0 fs/block_dev.c:1435 __blkdev_get+0x1282/0x1480 fs/block_dev.c:1561 audit: type=1804 audit(1674876591.858:751): pid=23175 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=invalid_pcr cause=ToMToU comm="syz-executor.3" name="/root/syzkaller-testdir2568461242/syzkaller.X2ROeF/2876/bus" dev="sda1" ino=13897 res=1 blkdev_get+0xb0/0x940 fs/block_dev.c:1627 blkdev_open+0x202/0x290 fs/block_dev.c:1788 do_dentry_open+0x4aa/0x1160 fs/open.c:796 do_last fs/namei.c:3421 [inline] path_openat+0x793/0x2df0 fs/namei.c:3537 do_filp_open+0x18c/0x3f0 fs/namei.c:3567 do_sys_open+0x3b3/0x520 fs/open.c:1085 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7fc640a43840 Code: Bad RIP value. RSP: 002b:00007ffcac6ca458 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 000055f951d37160 RCX: 00007fc640a43840 RDX: 000055f9505c8fe3 RSI: 00000000000a0800 RDI: 000055f951d36eb0 RBP: 00007ffcac6ca5d0 R08: 000055f9505c8670 R09: 0000000000000010 R10: 000055f9505c8d0c R11: 0000000000000246 R12: 00007ffcac6ca520 R13: 000055f951d28f90 R14: 0000000000000003 R15: 000000000000000e INFO: task syz-executor.4:21263 blocked for more than 140 seconds. Not tainted 4.19.211-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.4 D28648 21263 19970 0x00000004 Call Trace: context_switch kernel/sched/core.c:2828 [inline] __schedule+0x887/0x2040 kernel/sched/core.c:3517 schedule+0x8d/0x1b0 kernel/sched/core.c:3561 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:3619 __mutex_lock_common kernel/locking/mutex.c:1016 [inline] __mutex_lock+0x5f0/0x1190 kernel/locking/mutex.c:1078 blkdev_put+0x30/0x520 fs/block_dev.c:1839 blkdev_close+0x86/0xb0 fs/block_dev.c:1888 __fput+0x2ce/0x890 fs/file_table.c:278 task_work_run+0x148/0x1c0 kernel/task_work.c:113 tracehook_notify_resume include/linux/tracehook.h:193 [inline] exit_to_usermode_loop+0x251/0x2a0 arch/x86/entry/common.c:167 prepare_exit_to_usermode arch/x86/entry/common.c:198 [inline] syscall_return_slowpath arch/x86/entry/common.c:271 [inline] do_syscall_64+0x538/0x620 arch/x86/entry/common.c:296 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7fed21f28f7b Code: Bad RIP value. RSP: 002b:00007ffc681f7cd0 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000004 RCX: 00007fed21f28f7b RDX: 00007fed21aeb3c8 RSI: ffffffffffffffff RDI: 0000000000000003 RBP: 00007fed22098980 R08: 0000000000000000 R09: 00007fed21aeb000 R10: 00007fed21aeb3d0 R11: 0000000000000293 R12: 00000000001507ca R13: 00007ffc681f7dd0 R14: 00007fed22097050 R15: 0000000000000032 Showing all locks held in the system: 1 lock held by khungtaskd/1570: #0: 0000000001a31a9d (rcu_read_lock){....}, at: debug_show_all_locks+0x53/0x265 kernel/locking/lockdep.c:4441 1 lock held by in:imklog/7797: #0: 0000000033417106 (&f->f_pos_lock){+.+.}, at: __fdget_pos+0x26f/0x310 fs/file.c:767 2 locks held by agetty/7778: #0: 00000000991dcf73 (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:272 #1: 00000000e045710b (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x217/0x1950 drivers/tty/n_tty.c:2154 3 locks held by kworker/u4:9/27433: 3 locks held by kworker/u4:1/31255: 1 lock held by systemd-udevd/21261: #0: 000000000671e44c (&bdev->bd_mutex){+.+.}, at: __blkdev_get+0x1d0/0x1480 fs/block_dev.c:1478 1 lock held by syz-executor.4/21263: #0: 000000000671e44c (&bdev->bd_mutex){+.+.}, at: blkdev_put+0x30/0x520 fs/block_dev.c:1839 1 lock held by syz-executor.4/21841: #0: 000000000671e44c (&bdev->bd_mutex){+.+.}, at: __blkdev_get+0x1d0/0x1480 fs/block_dev.c:1478 1 lock held by syz-executor.4/21848: #0: 000000000671e44c (&bdev->bd_mutex){+.+.}, at: __blkdev_get+0x1d0/0x1480 fs/block_dev.c:1478 1 lock held by syz-executor.4/21852: #0: 000000000671e44c (&bdev->bd_mutex){+.+.}, at: __blkdev_get+0x1d0/0x1480 fs/block_dev.c:1478 1 lock held by syz-executor.4/23192: 3 locks held by syz-executor.1/23240: ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 1570 Comm: khungtaskd Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1fc/0x2ef lib/dump_stack.c:118 nmi_cpu_backtrace.cold+0x63/0xa2 lib/nmi_backtrace.c:101 nmi_trigger_cpumask_backtrace+0x1a6/0x1f0 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:203 [inline] watchdog+0x991/0xe60 kernel/hung_task.c:287 kthread+0x33f/0x460 kernel/kthread.c:259 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 617 Comm: kworker/u4:3 Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023 Workqueue: phy16 ieee80211_iface_work RIP: 0010:lookup_object lib/debugobjects.c:156 [inline] RIP: 0010:debug_object_activate+0x172/0x450 lib/debugobjects.c:474 Code: 8b ab c0 fb 36 8d 31 db 48 85 ed 74 48 49 bd 00 00 00 00 00 fc ff df 48 8d 7d 18 83 c3 01 48 89 f8 48 c1 e8 03 42 80 3c 28 00 <0f> 85 1d 02 00 00 4c 3b 65 18 0f 84 c7 00 00 00 48 89 e8 48 c1 e8 RSP: 0018:ffff8880b401f250 EFLAGS: 00000046 RAX: 1ffff110146a8ec7 RBX: 0000000000000003 RCX: ffffffff814bdebb RDX: 1ffffffff1a77eab RSI: 0000000000000004 RDI: ffff8880a3547638 RBP: ffff8880a3547620 R08: ffffffff8d3bf548 R09: 0000000000000286 R10: ffffffff8d3bf54b R11: 000000004470b61e R12: ffff8880b3a62508 R13: dffffc0000000000 R14: 1ffff11016803e4c R15: ffffffff89f85e80 FS: 0000000000000000(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f28d336d718 CR3: 000000003c939000 CR4: 00000000003406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: debug_rcu_head_queue kernel/rcu/rcu.h:193 [inline] __call_rcu.constprop.0+0x31/0x7f0 kernel/rcu/tree.c:2977 cfg80211_bss_update+0x47a/0x2590 net/wireless/scan.c:967 cfg80211_inform_bss_frame_data+0x69c/0xeb0 net/wireless/scan.c:1283 ieee80211_bss_info_update+0x42d/0x1800 net/mac80211/scan.c:105 ieee80211_rx_bss_info net/mac80211/ibss.c:1125 [inline] ieee80211_rx_mgmt_probe_beacon+0xb4f/0x15c0 net/mac80211/ibss.c:1607 ieee80211_ibss_rx_queued_mgmt+0xe27/0x18b0 net/mac80211/ibss.c:1634 ieee80211_iface_work+0x5c4/0x8a0 net/mac80211/iface.c:1341 process_one_work+0x864/0x1570 kernel/workqueue.c:2153 worker_thread+0x64c/0x1130 kernel/workqueue.c:2296 kthread+0x33f/0x460 kernel/kthread.c:259 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415