INFO: task udevd:5791 blocked for more than 143 seconds. Not tainted syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:udevd state:D stack:24808 pid:5791 ppid:5161 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5380 [inline] __schedule+0x14d2/0x44d0 kernel/sched/core.c:6699 schedule+0xbd/0x170 kernel/sched/core.c:6773 io_schedule+0x80/0xd0 kernel/sched/core.c:9022 folio_wait_bit_common+0x6eb/0xf70 mm/filemap.c:1329 folio_put_wait_locked mm/filemap.c:1493 [inline] do_read_cache_folio+0x1c0/0x7e0 mm/filemap.c:3786 read_mapping_folio include/linux/pagemap.h:898 [inline] read_part_sector+0xd2/0x350 block/partitions/core.c:718 adfspart_check_POWERTEC+0x8d/0xf00 block/partitions/acorn.c:454 check_partition block/partitions/core.c:138 [inline] blk_add_partitions block/partitions/core.c:600 [inline] bdev_disk_changed+0x73a/0x1410 block/partitions/core.c:689 blkdev_get_whole+0x30d/0x390 block/bdev.c:672 blkdev_get_by_dev+0x279/0x600 block/bdev.c:814 blkdev_open+0x152/0x360 block/fops.c:589 do_dentry_open+0x8c6/0x1500 fs/open.c:929 do_open fs/namei.c:3640 [inline] path_openat+0x274b/0x3190 fs/namei.c:3797 do_filp_open+0x1c5/0x3d0 fs/namei.c:3824 do_sys_openat2+0x12c/0x1c0 fs/open.c:1421 do_sys_open fs/open.c:1436 [inline] __do_sys_openat fs/open.c:1452 [inline] __se_sys_openat fs/open.c:1447 [inline] __x64_sys_openat+0x139/0x160 fs/open.c:1447 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x55/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f772cea7407 RSP: 002b:00007ffccc2b4fc0 EFLAGS: 00000202 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f772d571880 RCX: 00007f772cea7407 RDX: 00000000000a0800 RSI: 0000562c2dcca6d0 RDI: ffffffffffffff9c RBP: 0000562c2dcca910 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000202 R12: 0000562c2dcdde20 R13: 0000562c2dce2410 R14: 0000000000000000 R15: 0000562c2dcdde20 INFO: task udevd:5803 blocked for more than 144 seconds. Not tainted syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:udevd state:D stack:25736 pid:5803 ppid:5161 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5380 [inline] __schedule+0x14d2/0x44d0 kernel/sched/core.c:6699 schedule+0xbd/0x170 kernel/sched/core.c:6773 io_schedule+0x80/0xd0 kernel/sched/core.c:9022 folio_wait_bit_common+0x6eb/0xf70 mm/filemap.c:1329 folio_put_wait_locked mm/filemap.c:1493 [inline] do_read_cache_folio+0x1c0/0x7e0 mm/filemap.c:3786 read_mapping_folio include/linux/pagemap.h:898 [inline] read_part_sector+0xd2/0x350 block/partitions/core.c:718 adfspart_check_POWERTEC+0x8d/0xf00 block/partitions/acorn.c:454 check_partition block/partitions/core.c:138 [inline] blk_add_partitions block/partitions/core.c:600 [inline] bdev_disk_changed+0x73a/0x1410 block/partitions/core.c:689 blkdev_get_whole+0x30d/0x390 block/bdev.c:672 blkdev_get_by_dev+0x279/0x600 block/bdev.c:814 blkdev_open+0x152/0x360 block/fops.c:589 do_dentry_open+0x8c6/0x1500 fs/open.c:929 do_open fs/namei.c:3640 [inline] path_openat+0x274b/0x3190 fs/namei.c:3797 do_filp_open+0x1c5/0x3d0 fs/namei.c:3824 do_sys_openat2+0x12c/0x1c0 fs/open.c:1421 do_sys_open fs/open.c:1436 [inline] __do_sys_openat fs/open.c:1452 [inline] __se_sys_openat fs/open.c:1447 [inline] __x64_sys_openat+0x139/0x160 fs/open.c:1447 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x55/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f772cea7407 RSP: 002b:00007ffccc2b4fc0 EFLAGS: 00000202 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f772d571880 RCX: 00007f772cea7407 RDX: 00000000000a0800 RSI: 0000562c2dcdbaa0 RDI: ffffffffffffff9c RBP: 0000562c2dcca910 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000202 R12: 0000562c2dcca500 R13: 0000562c2dce2410 R14: 0000000000000000 R15: 0000562c2dcca500 Showing all locks held in the system: 1 lock held by khungtaskd/29: #0: ffffffff8cd2fee0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:334 [inline] #0: ffffffff8cd2fee0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:786 [inline] #0: ffffffff8cd2fee0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x290 kernel/locking/lockdep.c:6633 2 locks held by kworker/u4:3/49: 2 locks held by kworker/u4:11/3452: #0: ffff888018753538 ((wq_completion)iou_exit){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2609 [inline] #0: ffff888018753538 ((wq_completion)iou_exit){+.+.}-{0:0}, at: process_scheduled_works+0x957/0x15b0 kernel/workqueue.c:2711 #1: ffffc9000cd57d00 ((work_completion)(&ctx->exit_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2609 [inline] #1: ffffc9000cd57d00 ((work_completion)(&ctx->exit_work)){+.+.}-{0:0}, at: process_scheduled_works+0x957/0x15b0 kernel/workqueue.c:2711 2 locks held by getty/5554: #0: ffff88802d1730a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc9000326e2f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x425/0x1380 drivers/tty/n_tty.c:2217 1 lock held by udevd/5791: #0: ffff888021cad4c8 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev+0x121/0x600 block/bdev.c:805 1 lock held by udevd/5803: #0: ffff8880218d74c8 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev+0x121/0x600 block/bdev.c:805 2 locks held by kworker/0:10/7687: #0: ffff888017872538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2609 [inline] #0: ffff888017872538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_scheduled_works+0x957/0x15b0 kernel/workqueue.c:2711 #1: ffffc9000bb3fd00 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2609 [inline] #1: ffffc9000bb3fd00 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_scheduled_works+0x957/0x15b0 kernel/workqueue.c:2711 1 lock held by syz.1.2670/12905: #0: ffff8880218d74c8 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev+0x121/0x600 block/bdev.c:805 2 locks held by syz.4.3064/14219: 3 locks held by syz.3.3074/14242: #0: ffffffff8dfaf790 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x351/0x5e0 net/core/net_namespace.c:516 #1: ffffffff8dfbc5c8 (rtnl_mutex){+.+.}-{3:3}, at: ip6gre_exit_batch_net+0xc3/0x490 net/ipv6/ip6_gre.c:1644 #2: ffffffff8cd358b8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:292 [inline] #2: ffffffff8cd358b8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x448/0x830 kernel/rcu/tree_exp.h:1004 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 29 Comm: khungtaskd Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025 Call Trace: dump_stack_lvl+0x16c/0x230 lib/dump_stack.c:106 nmi_cpu_backtrace+0x39b/0x3d0 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x17a/0x2f0 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+0xf41/0xf80 kernel/hung_task.c:379 kthread+0x2fa/0x390 kernel/kthread.c:388 ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:152 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:293 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 14219 Comm: syz.4.3064 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025 RIP: 0010:__sanitizer_cov_trace_pc+0x45/0x60 kernel/kcov.c:221 Code: ff 00 74 11 81 fa 00 01 00 00 75 35 83 b9 1c 16 00 00 00 74 2c 8b 91 f8 15 00 00 83 fa 02 75 21 48 8b 91 00 16 00 00 48 8b 32 <48> 8d 7e 01 8b 89 fc 15 00 00 48 39 cf 73 08 48 89 3a 48 89 44 f2 RSP: 0018:ffffc9000fade480 EFLAGS: 00000246 RAX: ffffffff813ae979 RBX: ffffc9000fadf880 RCX: ffff888023900000 RDX: ffffc900114d5000 RSI: 000000000007ffff RDI: ffffc9000fadf880 RBP: ffffc9000fadf880 R08: ffff888023900000 R09: 0000000000000003 R10: 0000000000000004 R11: 0000000000000002 R12: ffffc9000fae0000 R13: 1ffff92001f5bcbb R14: ffffc9000fad8000 R15: dffffc0000000000 FS: 00007f1d5014f6c0(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005555800605c8 CR3: 0000000057520000 CR4: 00000000003506f0 Call Trace: __read_once_word_nocheck+0x9/0x10 include/asm-generic/rwonce.h:66 deref_stack_reg+0x1bd/0x240 arch/x86/kernel/unwind_orc.c:406 unwind_next_frame+0x1789/0x2970 arch/x86/kernel/unwind_orc.c:648 arch_stack_walk+0x144/0x190 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x9c/0xe0 kernel/stacktrace.c:122 kasan_save_stack mm/kasan/common.c:45 [inline] kasan_set_track+0x4e/0x70 mm/kasan/common.c:52 kasan_save_free_info+0x2e/0x50 mm/kasan/generic.c:522 ____kasan_slab_free+0x126/0x1e0 mm/kasan/common.c:236 kasan_slab_free include/linux/kasan.h:164 [inline] slab_free_hook mm/slub.c:1811 [inline] slab_free_freelist_hook+0x130/0x1b0 mm/slub.c:1837 slab_free mm/slub.c:3830 [inline] __kmem_cache_free+0xba/0x1f0 mm/slub.c:3843 hash_net4_resize+0xc60/0x1b40 net/netfilter/ipset/ip_set_hash_gen.h:739 call_ad+0x43f/0xae0 net/netfilter/ipset/ip_set_core.c:1757 ip_set_ad+0x787/0x930 net/netfilter/ipset/ip_set_core.c:1841 nfnetlink_rcv_msg+0xb49/0x1130 net/netfilter/nfnetlink.c:302 netlink_rcv_skb+0x216/0x480 net/netlink/af_netlink.c:2545 nfnetlink_rcv+0x274/0x2180 net/netfilter/nfnetlink.c:659 netlink_unicast_kernel net/netlink/af_netlink.c:1320 [inline] netlink_unicast+0x751/0x8d0 net/netlink/af_netlink.c:1346 netlink_sendmsg+0x8c1/0xbe0 net/netlink/af_netlink.c:1894 sock_sendmsg_nosec net/socket.c:730 [inline] __sock_sendmsg net/socket.c:745 [inline] ____sys_sendmsg+0x5bf/0x950 net/socket.c:2595 ___sys_sendmsg+0x220/0x290 net/socket.c:2649 __sys_sendmsg net/socket.c:2678 [inline] __do_sys_sendmsg net/socket.c:2687 [inline] __se_sys_sendmsg+0x1a5/0x270 net/socket.c:2685 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x55/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f1d4f38f749 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f1d5014f038 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007f1d4f5e5fa0 RCX: 00007f1d4f38f749 RDX: 00000000240008c4 RSI: 0000200000000000 RDI: 0000000000000008 RBP: 00007f1d4f413f91 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f1d4f5e6038 R14: 00007f1d4f5e5fa0 R15: 00007ffdf70f89b8