------------[ cut here ]------------ ====================================================== WARNING: possible circular locking dependency detected 6.9.0-rc1-syzkaller-00206-g4535e1a4174c #0 Not tainted ------------------------------------------------------ syz-executor.1/5785 is trying to acquire lock: ffffffff8db9f218 ((console_sem).lock){-...}-{2:2}, at: down_trylock+0x12/0x70 kernel/locking/semaphore.c:139 but task is already holding lock: ffff88806b02c9d8 (hrtimer_bases.lock){-.-.}-{2:2}, at: __run_hrtimer kernel/time/hrtimer.c:1696 [inline] ffff88806b02c9d8 (hrtimer_bases.lock){-.-.}-{2:2}, at: __hrtimer_run_queues+0x2c0/0xcc0 kernel/time/hrtimer.c:1756 which lock already depends on the new lock. the existing dependency chain (in reverse order) is: -> #4 (hrtimer_bases.lock){-.-.}-{2:2}: __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0x3a/0x60 kernel/locking/spinlock.c:162 lock_hrtimer_base kernel/time/hrtimer.c:175 [inline] hrtimer_start_range_ns+0xe7/0xe10 kernel/time/hrtimer.c:1303 hrtimer_start_expires include/linux/hrtimer.h:289 [inline] do_start_rt_bandwidth kernel/sched/rt.c:120 [inline] start_rt_bandwidth kernel/sched/rt.c:131 [inline] inc_rt_group kernel/sched/rt.c:1188 [inline] inc_rt_tasks kernel/sched/rt.c:1231 [inline] __enqueue_rt_entity kernel/sched/rt.c:1406 [inline] enqueue_rt_entity kernel/sched/rt.c:1455 [inline] enqueue_task_rt+0x854/0xcb0 kernel/sched/rt.c:1490 enqueue_task+0xaf/0x350 kernel/sched/core.c:2116 __sched_setscheduler.constprop.0+0x12e2/0x2a80 kernel/sched/core.c:7904 _sched_setscheduler kernel/sched/core.c:7951 [inline] sched_setscheduler_nocheck kernel/sched/core.c:7998 [inline] sched_set_fifo+0xb1/0x110 kernel/sched/core.c:8022 irq_thread+0xf9/0x670 kernel/irq/manage.c:1309 kthread+0x2c1/0x3a0 kernel/kthread.c:388 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:243 -> #3 (&rt_b->rt_runtime_lock){-...}-{2:2}: __raw_spin_lock include/linux/spinlock_api_smp.h:133 [inline] _raw_spin_lock+0x2e/0x40 kernel/locking/spinlock.c:154 __enable_runtime kernel/sched/rt.c:832 [inline] rq_online_rt+0xb3/0x3b0 kernel/sched/rt.c:2434 set_rq_online.part.0+0xf9/0x140 kernel/sched/core.c:9587 set_rq_online kernel/sched/core.c:9579 [inline] sched_cpu_activate+0x20f/0x450 kernel/sched/core.c:9696 cpuhp_invoke_callback+0x435/0xbe0 kernel/cpu.c:194 cpuhp_thread_fun+0x480/0x6f0 kernel/cpu.c:1092 smpboot_thread_fn+0x661/0xa10 kernel/smpboot.c:164 kthread+0x2c1/0x3a0 kernel/kthread.c:388 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:243 -> #2 (&rq->__lock){-.-.}-{2:2}: _raw_spin_lock_nested+0x31/0x40 kernel/locking/spinlock.c:378 raw_spin_rq_lock_nested+0x29/0x130 kernel/sched/core.c:559 raw_spin_rq_lock kernel/sched/sched.h:1385 [inline] rq_lock kernel/sched/sched.h:1699 [inline] task_fork_fair+0x70/0x240 kernel/sched/fair.c:12635 sched_cgroup_fork+0x3cf/0x510 kernel/sched/core.c:4845 copy_process+0x4106/0x9160 kernel/fork.c:2498 kernel_clone+0xfd/0x980 kernel/fork.c:2796 user_mode_thread+0xb4/0xf0 kernel/fork.c:2874 rest_init+0x23/0x2b0 init/main.c:697 start_kernel+0x3a3/0x490 init/main.c:1074 x86_64_start_reservations+0x18/0x30 arch/x86/kernel/head64.c:507 x86_64_start_kernel+0xb2/0xc0 arch/x86/kernel/head64.c:488 common_startup_64+0x13e/0x148 -> #1 (&p->pi_lock){-.-.}-{2:2}: __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0x3a/0x60 kernel/locking/spinlock.c:162 class_raw_spinlock_irqsave_constructor include/linux/spinlock.h:553 [inline] try_to_wake_up+0x9a/0x13e0 kernel/sched/core.c:4262 up+0x79/0xb0 kernel/locking/semaphore.c:191 __up_console_sem kernel/printk/printk.c:340 [inline] __console_unlock kernel/printk/printk.c:2731 [inline] console_unlock+0x23e/0x290 kernel/printk/printk.c:3050 vga_remove_vgacon drivers/pci/vgaarb.c:186 [inline] vga_remove_vgacon+0x90/0xd0 drivers/pci/vgaarb.c:167 __aperture_remove_legacy_vga_devices drivers/video/aperture.c:331 [inline] aperture_remove_conflicting_pci_devices+0x17f/0x210 drivers/video/aperture.c:374 virtio_gpu_pci_quirk drivers/gpu/drm/virtio/virtgpu_drv.c:61 [inline] virtio_gpu_probe+0x408/0x4e0 drivers/gpu/drm/virtio/virtgpu_drv.c:92 virtio_dev_probe+0x5ff/0x9b0 drivers/virtio/virtio.c:311 call_driver_probe drivers/base/dd.c:578 [inline] really_probe+0x23e/0xa90 drivers/base/dd.c:656 __driver_probe_device+0x1de/0x440 drivers/base/dd.c:798 driver_probe_device+0x4c/0x1b0 drivers/base/dd.c:828 __driver_attach+0x283/0x580 drivers/base/dd.c:1214 bus_for_each_dev+0x13c/0x1d0 drivers/base/bus.c:368 bus_add_driver+0x2ed/0x640 drivers/base/bus.c:673 driver_register+0x15c/0x4b0 drivers/base/driver.c:246 do_one_initcall+0x128/0x700 init/main.c:1238 do_initcall_level init/main.c:1300 [inline] do_initcalls init/main.c:1316 [inline] do_basic_setup init/main.c:1335 [inline] kernel_init_freeable+0x69d/0xca0 init/main.c:1548 kernel_init+0x1c/0x2b0 init/main.c:1437 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:243 -> #0 ((console_sem).lock){-...}-{2:2}: check_prev_add kernel/locking/lockdep.c:3134 [inline] check_prevs_add kernel/locking/lockdep.c:3253 [inline] validate_chain kernel/locking/lockdep.c:3869 [inline] __lock_acquire+0x2478/0x3b30 kernel/locking/lockdep.c:5137 lock_acquire kernel/locking/lockdep.c:5754 [inline] lock_acquire+0x1b1/0x560 kernel/locking/lockdep.c:5719 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0x3a/0x60 kernel/locking/spinlock.c:162 down_trylock+0x12/0x70 kernel/locking/semaphore.c:139 __down_trylock_console_sem+0x40/0x140 kernel/printk/printk.c:323 console_trylock kernel/printk/printk.c:2684 [inline] console_trylock_spinning kernel/printk/printk.c:1958 [inline] vprintk_emit kernel/printk/printk.c:2347 [inline] vprintk_emit+0xe4/0x5a0 kernel/printk/printk.c:2303 vprintk+0x7f/0xa0 kernel/printk/printk_safe.c:45 _printk+0xc8/0x100 kernel/printk/printk.c:2373 __report_bug lib/bug.c:195 [inline] report_bug+0x4ac/0x580 lib/bug.c:219 handle_bug+0x3d/0x70 arch/x86/kernel/traps.c:239 exc_invalid_op+0x17/0x50 arch/x86/kernel/traps.c:260 asm_exc_invalid_op+0x1a/0x20 arch/x86/include/asm/idtentry.h:621 __local_bh_disable_ip+0xb8/0xd0 kernel/softirq.c:307 __raw_spin_lock_bh include/linux/spinlock_api_smp.h:125 [inline] _raw_spin_lock_bh+0x17/0x40 kernel/locking/spinlock.c:178 spin_lock_bh include/linux/spinlock.h:356 [inline] __sock_map_delete net/core/sock_map.c:414 [inline] sock_map_delete_elem+0xc8/0x150 net/core/sock_map.c:446 ___bpf_prog_run+0x3e51/0xae80 kernel/bpf/core.c:1997 __bpf_prog_run32+0xc1/0x100 kernel/bpf/core.c:2236 bpf_dispatcher_nop_func include/linux/bpf.h:1234 [inline] __bpf_prog_run include/linux/filter.h:657 [inline] bpf_prog_run include/linux/filter.h:664 [inline] __bpf_trace_run kernel/trace/bpf_trace.c:2381 [inline] bpf_trace_run4+0x176/0x460 kernel/trace/bpf_trace.c:2422 trace_mm_page_alloc include/trace/events/kmem.h:177 [inline] __alloc_pages+0x3ad/0x2460 mm/page_alloc.c:4597 __alloc_pages_node include/linux/gfp.h:238 [inline] alloc_pages_node include/linux/gfp.h:261 [inline] alloc_slab_page mm/slub.c:2175 [inline] allocate_slab mm/slub.c:2338 [inline] new_slab+0xcc/0x3a0 mm/slub.c:2391 ___slab_alloc+0x66d/0x1790 mm/slub.c:3525 __slab_alloc.constprop.0+0x56/0xb0 mm/slub.c:3610 __slab_alloc_node mm/slub.c:3663 [inline] slab_alloc_node mm/slub.c:3835 [inline] kmem_cache_alloc+0x2e9/0x320 mm/slub.c:3852 kmem_cache_zalloc include/linux/slab.h:739 [inline] fill_pool+0x275/0x5d0 lib/debugobjects.c:168 debug_objects_fill_pool lib/debugobjects.c:615 [inline] debug_object_activate+0x151/0x540 lib/debugobjects.c:704 debug_hrtimer_activate kernel/time/hrtimer.c:423 [inline] debug_activate kernel/time/hrtimer.c:478 [inline] enqueue_hrtimer+0x25/0x3c0 kernel/time/hrtimer.c:1090 __run_hrtimer kernel/time/hrtimer.c:1709 [inline] __hrtimer_run_queues+0xaac/0xcc0 kernel/time/hrtimer.c:1756 hrtimer_interrupt+0x31b/0x800 kernel/time/hrtimer.c:1818 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1032 [inline] __sysvec_apic_timer_interrupt+0x10f/0x450 arch/x86/kernel/apic/apic.c:1049 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1043 [inline] sysvec_apic_timer_interrupt+0x90/0xb0 arch/x86/kernel/apic/apic.c:1043 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 preempt_schedule_irq+0x4c/0x90 kernel/sched/core.c:7068 irqentry_exit+0x36/0x90 kernel/entry/common.c:354 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 arch_atomic64_read arch/x86/include/asm/atomic64_64.h:15 [inline] raw_atomic64_read include/linux/atomic/atomic-arch-fallback.h:2583 [inline] raw_atomic_long_read include/linux/atomic/atomic-long.h:38 [inline] atomic_long_read include/linux/atomic/atomic-instrumented.h:3189 [inline] zone_page_state include/linux/vmstat.h:210 [inline] __zone_watermark_unusable_free mm/page_alloc.c:2948 [inline] zone_watermark_fast mm/page_alloc.c:3065 [inline] get_page_from_freelist+0x1875/0x3780 mm/page_alloc.c:3257 __alloc_pages+0x22b/0x2460 mm/page_alloc.c:4575 __alloc_pages_node include/linux/gfp.h:238 [inline] alloc_pages_node include/linux/gfp.h:261 [inline] alloc_slab_page mm/slub.c:2175 [inline] allocate_slab mm/slub.c:2338 [inline] new_slab+0xcc/0x3a0 mm/slub.c:2391 ___slab_alloc+0x66d/0x1790 mm/slub.c:3525 __slab_alloc.constprop.0+0x56/0xb0 mm/slub.c:3610 __slab_alloc_node mm/slub.c:3663 [inline] slab_alloc_node mm/slub.c:3835 [inline] kmem_cache_alloc+0x2e9/0x320 mm/slub.c:3852 kmem_cache_zalloc include/linux/slab.h:739 [inline] fill_pool+0x275/0x5d0 lib/debugobjects.c:168 debug_objects_fill_pool lib/debugobjects.c:615 [inline] __debug_object_init+0xf7/0x480 lib/debugobjects.c:627 hrtimer_init_sleeper_on_stack+0x24/0xa0 kernel/time/hrtimer.c:448 futex_setup_timer+0x4a/0xf0 kernel/futex/core.c:142 futex_wait+0xd0/0x380 kernel/futex/waitwake.c:694 do_futex+0x22b/0x350 kernel/futex/syscalls.c:102 __do_sys_futex kernel/futex/syscalls.c:179 [inline] __se_sys_futex kernel/futex/syscalls.c:160 [inline] __x64_sys_futex+0x1e1/0x4c0 kernel/futex/syscalls.c:160 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xd2/0x260 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x72/0x7a other info that might help us debug this: Chain exists of: (console_sem).lock --> &rt_b->rt_runtime_lock --> hrtimer_bases.lock Possible unsafe locking scenario: CPU0 CPU1 ---- ---- lock(hrtimer_bases.lock); lock(&rt_b->rt_runtime_lock); lock(hrtimer_bases.lock); lock((console_sem).lock); *** DEADLOCK *** 4 locks held by syz-executor.1/5785: #0: ffffffff8e64bfa0 (fill_pool_map-wait-type-override){+.+.}-{3:3}, at: debug_objects_fill_pool lib/debugobjects.c:614 [inline] #0: ffffffff8e64bfa0 (fill_pool_map-wait-type-override){+.+.}-{3:3}, at: __debug_object_init+0xbf/0x480 lib/debugobjects.c:627 #1: ffff88806b02c9d8 (hrtimer_bases.lock){-.-.}-{2:2}, at: __run_hrtimer kernel/time/hrtimer.c:1696 [inline] #1: ffff88806b02c9d8 (hrtimer_bases.lock){-.-.}-{2:2}, at: __hrtimer_run_queues+0x2c0/0xcc0 kernel/time/hrtimer.c:1756 #2: ffffffff8e64bfa0 (fill_pool_map-wait-type-override){+.+.}-{3:3}, at: debug_objects_fill_pool lib/debugobjects.c:614 [inline] #2: ffffffff8e64bfa0 (fill_pool_map-wait-type-override){+.+.}-{3:3}, at: debug_object_activate+0x13e/0x540 lib/debugobjects.c:704 #3: ffffffff8dbb14a0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:329 [inline] #3: ffffffff8dbb14a0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:781 [inline] #3: ffffffff8dbb14a0 (rcu_read_lock){....}-{1:2}, at: __bpf_trace_run kernel/trace/bpf_trace.c:2380 [inline] #3: ffffffff8dbb14a0 (rcu_read_lock){....}-{1:2}, at: bpf_trace_run4+0x107/0x460 kernel/trace/bpf_trace.c:2422 stack backtrace: CPU: 0 PID: 5785 Comm: syz-executor.1 Not tainted 6.9.0-rc1-syzkaller-00206-g4535e1a4174c #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x116/0x1f0 lib/dump_stack.c:114 check_noncircular+0x31a/0x400 kernel/locking/lockdep.c:2187 check_prev_add kernel/locking/lockdep.c:3134 [inline] check_prevs_add kernel/locking/lockdep.c:3253 [inline] validate_chain kernel/locking/lockdep.c:3869 [inline] __lock_acquire+0x2478/0x3b30 kernel/locking/lockdep.c:5137 lock_acquire kernel/locking/lockdep.c:5754 [inline] lock_acquire+0x1b1/0x560 kernel/locking/lockdep.c:5719 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0x3a/0x60 kernel/locking/spinlock.c:162 down_trylock+0x12/0x70 kernel/locking/semaphore.c:139 __down_trylock_console_sem+0x40/0x140 kernel/printk/printk.c:323 console_trylock kernel/printk/printk.c:2684 [inline] console_trylock_spinning kernel/printk/printk.c:1958 [inline] vprintk_emit kernel/printk/printk.c:2347 [inline] vprintk_emit+0xe4/0x5a0 kernel/printk/printk.c:2303 vprintk+0x7f/0xa0 kernel/printk/printk_safe.c:45 _printk+0xc8/0x100 kernel/printk/printk.c:2373 __report_bug lib/bug.c:195 [inline] report_bug+0x4ac/0x580 lib/bug.c:219 handle_bug+0x3d/0x70 arch/x86/kernel/traps.c:239 exc_invalid_op+0x17/0x50 arch/x86/kernel/traps.c:260 asm_exc_invalid_op+0x1a/0x20 arch/x86/include/asm/idtentry.h:621 RIP: 0010:__local_bh_disable_ip+0xb8/0xd0 kernel/softirq.c:307 Code: c1 ea 03 80 3c 02 00 75 29 48 89 9d c0 14 00 00 5b 5d c3 cc cc cc cc 31 ff 31 db e8 c2 2c 1a 00 eb c9 e8 9b 06 8c 09 eb 82 90 <0f> 0b 90 e9 5a ff ff ff e8 8b e1 96 00 eb d0 66 0f 1f 84 00 00 00 RSP: 0018:ffffc90000007528 EFLAGS: 00010006 RAX: 0000000000010003 RBX: 0000000000000201 RCX: ffffffff88d481cc RDX: 1ffff11009313b38 RSI: 0000000000000201 RDI: ffffffff88d48218 RBP: 0000000000000000 R08: 0000000000000004 R09: 00000000000063b3 R10: 0000000000000000 R11: 0000000000000003 R12: ffffc90003d79000 R13: ffffffff81a805c0 R14: 0000000000000000 R15: 0000000000000000 __raw_spin_lock_bh include/linux/spinlock_api_smp.h:125 [inline] _raw_spin_lock_bh+0x17/0x40 kernel/locking/spinlock.c:178 spin_lock_bh include/linux/spinlock.h:356 [inline] __sock_map_delete net/core/sock_map.c:414 [inline] sock_map_delete_elem+0xc8/0x150 net/core/sock_map.c:446 ___bpf_prog_run+0x3e51/0xae80 kernel/bpf/core.c:1997 __bpf_prog_run32+0xc1/0x100 kernel/bpf/core.c:2236 bpf_dispatcher_nop_func include/linux/bpf.h:1234 [inline] __bpf_prog_run include/linux/filter.h:657 [inline] bpf_prog_run include/linux/filter.h:664 [inline] __bpf_trace_run kernel/trace/bpf_trace.c:2381 [inline] bpf_trace_run4+0x176/0x460 kernel/trace/bpf_trace.c:2422 trace_mm_page_alloc include/trace/events/kmem.h:177 [inline] __alloc_pages+0x3ad/0x2460 mm/page_alloc.c:4597 __alloc_pages_node include/linux/gfp.h:238 [inline] alloc_pages_node include/linux/gfp.h:261 [inline] alloc_slab_page mm/slub.c:2175 [inline] allocate_slab mm/slub.c:2338 [inline] new_slab+0xcc/0x3a0 mm/slub.c:2391 ___slab_alloc+0x66d/0x1790 mm/slub.c:3525 __slab_alloc.constprop.0+0x56/0xb0 mm/slub.c:3610 __slab_alloc_node mm/slub.c:3663 [inline] slab_alloc_node mm/slub.c:3835 [inline] kmem_cache_alloc+0x2e9/0x320 mm/slub.c:3852 kmem_cache_zalloc include/linux/slab.h:739 [inline] fill_pool+0x275/0x5d0 lib/debugobjects.c:168 debug_objects_fill_pool lib/debugobjects.c:615 [inline] debug_object_activate+0x151/0x540 lib/debugobjects.c:704 debug_hrtimer_activate kernel/time/hrtimer.c:423 [inline] debug_activate kernel/time/hrtimer.c:478 [inline] enqueue_hrtimer+0x25/0x3c0 kernel/time/hrtimer.c:1090 __run_hrtimer kernel/time/hrtimer.c:1709 [inline] __hrtimer_run_queues+0xaac/0xcc0 kernel/time/hrtimer.c:1756 hrtimer_interrupt+0x31b/0x800 kernel/time/hrtimer.c:1818 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1032 [inline] __sysvec_apic_timer_interrupt+0x10f/0x450 arch/x86/kernel/apic/apic.c:1049 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1043 [inline] sysvec_apic_timer_interrupt+0x90/0xb0 arch/x86/kernel/apic/apic.c:1043 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:preempt_schedule_irq+0x4c/0x90 kernel/sched/core.c:7068 Code: df 55 65 48 8b 2d c4 a0 23 75 53 48 89 eb 48 c1 eb 03 48 01 c3 bf 01 00 00 00 e8 8f 60 7d f6 e8 ba 54 b4 f6 fb bf 01 00 00 00 4f 92 ff ff 9c 58 fa f6 c4 02 75 1e bf 01 00 00 00 e8 ed 0c 7d RSP: 0018:ffffc900037df3a8 EFLAGS: 00000206 RAX: 000000000000075f RBX: ffffed1009342000 RCX: 1ffffffff28416c0 RDX: 0000000000000000 RSI: ffffffff8b2cc840 RDI: 0000000000000001 RBP: ffff888049a10000 R08: 0000000000000001 R09: fffffbfff2841630 R10: ffffffff9420b187 R11: 0000000000000001 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 irqentry_exit+0x36/0x90 kernel/entry/common.c:354 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:zone_page_state include/linux/vmstat.h:212 [inline] RIP: 0010:__zone_watermark_unusable_free mm/page_alloc.c:2948 [inline] RIP: 0010:zone_watermark_fast mm/page_alloc.c:3065 [inline] RIP: 0010:get_page_from_freelist+0x1875/0x3780 mm/page_alloc.c:3257 Code: 7c 24 20 48 b8 00 00 00 00 00 fc ff df 4c 8b 54 24 40 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 59 17 00 00 49 8b 82 d0 06 00 00 <31> d2 48 85 c0 48 0f 48 c2 49 01 c7 e9 80 f7 ff ff 83 c3 01 49 83 RSP: 0018:ffffc900037df478 EFLAGS: 00000246 RAX: 0000000000000000 RBX: 0000000000002a74 RCX: ffffffff81dcca59 RDX: 1ffff1100fffafc2 RSI: 0000000000000008 RDI: ffff88807ffd7e10 RBP: ffff88807ffd7760 R08: 0000000000000000 R09: ffffed100fffafc2 R10: ffff88807ffd7740 R11: 0000000000000000 R12: 0000000000000002 R13: 000000000001e78c R14: dffffc0000000000 R15: 0000000000000000 __alloc_pages+0x22b/0x2460 mm/page_alloc.c:4575 __alloc_pages_node include/linux/gfp.h:238 [inline] alloc_pages_node include/linux/gfp.h:261 [inline] alloc_slab_page mm/slub.c:2175 [inline] allocate_slab mm/slub.c:2338 [inline] new_slab+0xcc/0x3a0 mm/slub.c:2391 ___slab_alloc+0x66d/0x1790 mm/slub.c:3525 __slab_alloc.constprop.0+0x56/0xb0 mm/slub.c:3610 __slab_alloc_node mm/slub.c:3663 [inline] slab_alloc_node mm/slub.c:3835 [inline] kmem_cache_alloc+0x2e9/0x320 mm/slub.c:3852 kmem_cache_zalloc include/linux/slab.h:739 [inline] fill_pool+0x275/0x5d0 lib/debugobjects.c:168 debug_objects_fill_pool lib/debugobjects.c:615 [inline] __debug_object_init+0xf7/0x480 lib/debugobjects.c:627 hrtimer_init_sleeper_on_stack+0x24/0xa0 kernel/time/hrtimer.c:448 futex_setup_timer+0x4a/0xf0 kernel/futex/core.c:142 futex_wait+0xd0/0x380 kernel/futex/waitwake.c:694 do_futex+0x22b/0x350 kernel/futex/syscalls.c:102 __do_sys_futex kernel/futex/syscalls.c:179 [inline] __se_sys_futex kernel/futex/syscalls.c:160 [inline] __x64_sys_futex+0x1e1/0x4c0 kernel/futex/syscalls.c:160 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xd2/0x260 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x72/0x7a RIP: 0033:0x7f100067dda9 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:00007ffca5caa9c8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: ffffffffffffffda RBX: 000000000000f5f9 RCX: 00007f100067dda9 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007f10007abf8c RBP: 0000000000000032 R08: 00007f10007abf8c R09: 00007f10007abf8c R10: 00007ffca5caab00 R11: 0000000000000246 R12: 00007f10007abf8c R13: 000000000000f62b R14: 00007ffca5caab20 R15: 00007ffca5caab00 WARNING: CPU: 0 PID: 5785 at kernel/softirq.c:307 __local_bh_disable_ip+0xb8/0xd0 kernel/softirq.c:307 Modules linked in: CPU: 0 PID: 5785 Comm: syz-executor.1 Not tainted 6.9.0-rc1-syzkaller-00206-g4535e1a4174c #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014 RIP: 0010:__local_bh_disable_ip+0xb8/0xd0 kernel/softirq.c:307 Code: c1 ea 03 80 3c 02 00 75 29 48 89 9d c0 14 00 00 5b 5d c3 cc cc cc cc 31 ff 31 db e8 c2 2c 1a 00 eb c9 e8 9b 06 8c 09 eb 82 90 <0f> 0b 90 e9 5a ff ff ff e8 8b e1 96 00 eb d0 66 0f 1f 84 00 00 00 RSP: 0018:ffffc90000007528 EFLAGS: 00010006 RAX: 0000000000010003 RBX: 0000000000000201 RCX: ffffffff88d481cc RDX: 1ffff11009313b38 RSI: 0000000000000201 RDI: ffffffff88d48218 RBP: 0000000000000000 R08: 0000000000000004 R09: 00000000000063b3 R10: 0000000000000000 R11: 0000000000000003 R12: ffffc90003d79000 R13: ffffffff81a805c0 R14: 0000000000000000 R15: 0000000000000000 FS: 000055557e686480(0000) GS:ffff88806b000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b30f23000 CR3: 000000002d696000 CR4: 0000000000350ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __raw_spin_lock_bh include/linux/spinlock_api_smp.h:125 [inline] _raw_spin_lock_bh+0x17/0x40 kernel/locking/spinlock.c:178 spin_lock_bh include/linux/spinlock.h:356 [inline] __sock_map_delete net/core/sock_map.c:414 [inline] sock_map_delete_elem+0xc8/0x150 net/core/sock_map.c:446 ___bpf_prog_run+0x3e51/0xae80 kernel/bpf/core.c:1997 __bpf_prog_run32+0xc1/0x100 kernel/bpf/core.c:2236 bpf_dispatcher_nop_func include/linux/bpf.h:1234 [inline] __bpf_prog_run include/linux/filter.h:657 [inline] bpf_prog_run include/linux/filter.h:664 [inline] __bpf_trace_run kernel/trace/bpf_trace.c:2381 [inline] bpf_trace_run4+0x176/0x460 kernel/trace/bpf_trace.c:2422 trace_mm_page_alloc include/trace/events/kmem.h:177 [inline] __alloc_pages+0x3ad/0x2460 mm/page_alloc.c:4597 __alloc_pages_node include/linux/gfp.h:238 [inline] alloc_pages_node include/linux/gfp.h:261 [inline] alloc_slab_page mm/slub.c:2175 [inline] allocate_slab mm/slub.c:2338 [inline] new_slab+0xcc/0x3a0 mm/slub.c:2391 ___slab_alloc+0x66d/0x1790 mm/slub.c:3525 __slab_alloc.constprop.0+0x56/0xb0 mm/slub.c:3610 __slab_alloc_node mm/slub.c:3663 [inline] slab_alloc_node mm/slub.c:3835 [inline] kmem_cache_alloc+0x2e9/0x320 mm/slub.c:3852 kmem_cache_zalloc include/linux/slab.h:739 [inline] fill_pool+0x275/0x5d0 lib/debugobjects.c:168 debug_objects_fill_pool lib/debugobjects.c:615 [inline] debug_object_activate+0x151/0x540 lib/debugobjects.c:704 debug_hrtimer_activate kernel/time/hrtimer.c:423 [inline] debug_activate kernel/time/hrtimer.c:478 [inline] enqueue_hrtimer+0x25/0x3c0 kernel/time/hrtimer.c:1090 __run_hrtimer kernel/time/hrtimer.c:1709 [inline] __hrtimer_run_queues+0xaac/0xcc0 kernel/time/hrtimer.c:1756 hrtimer_interrupt+0x31b/0x800 kernel/time/hrtimer.c:1818 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1032 [inline] __sysvec_apic_timer_interrupt+0x10f/0x450 arch/x86/kernel/apic/apic.c:1049 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1043 [inline] sysvec_apic_timer_interrupt+0x90/0xb0 arch/x86/kernel/apic/apic.c:1043 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:preempt_schedule_irq+0x4c/0x90 kernel/sched/core.c:7068 Code: df 55 65 48 8b 2d c4 a0 23 75 53 48 89 eb 48 c1 eb 03 48 01 c3 bf 01 00 00 00 e8 8f 60 7d f6 e8 ba 54 b4 f6 fb bf 01 00 00 00 4f 92 ff ff 9c 58 fa f6 c4 02 75 1e bf 01 00 00 00 e8 ed 0c 7d RSP: 0018:ffffc900037df3a8 EFLAGS: 00000206 RAX: 000000000000075f RBX: ffffed1009342000 RCX: 1ffffffff28416c0 RDX: 0000000000000000 RSI: ffffffff8b2cc840 RDI: 0000000000000001 RBP: ffff888049a10000 R08: 0000000000000001 R09: fffffbfff2841630 R10: ffffffff9420b187 R11: 0000000000000001 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 irqentry_exit+0x36/0x90 kernel/entry/common.c:354 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:zone_page_state include/linux/vmstat.h:212 [inline] RIP: 0010:__zone_watermark_unusable_free mm/page_alloc.c:2948 [inline] RIP: 0010:zone_watermark_fast mm/page_alloc.c:3065 [inline] RIP: 0010:get_page_from_freelist+0x1875/0x3780 mm/page_alloc.c:3257 Code: 7c 24 20 48 b8 00 00 00 00 00 fc ff df 4c 8b 54 24 40 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 59 17 00 00 49 8b 82 d0 06 00 00 <31> d2 48 85 c0 48 0f 48 c2 49 01 c7 e9 80 f7 ff ff 83 c3 01 49 83 RSP: 0018:ffffc900037df478 EFLAGS: 00000246 RAX: 0000000000000000 RBX: 0000000000002a74 RCX: ffffffff81dcca59 RDX: 1ffff1100fffafc2 RSI: 0000000000000008 RDI: ffff88807ffd7e10 RBP: ffff88807ffd7760 R08: 0000000000000000 R09: ffffed100fffafc2 R10: ffff88807ffd7740 R11: 0000000000000000 R12: 0000000000000002 R13: 000000000001e78c R14: dffffc0000000000 R15: 0000000000000000 __alloc_pages+0x22b/0x2460 mm/page_alloc.c:4575 __alloc_pages_node include/linux/gfp.h:238 [inline] alloc_pages_node include/linux/gfp.h:261 [inline] alloc_slab_page mm/slub.c:2175 [inline] allocate_slab mm/slub.c:2338 [inline] new_slab+0xcc/0x3a0 mm/slub.c:2391 ___slab_alloc+0x66d/0x1790 mm/slub.c:3525 __slab_alloc.constprop.0+0x56/0xb0 mm/slub.c:3610 __slab_alloc_node mm/slub.c:3663 [inline] slab_alloc_node mm/slub.c:3835 [inline] kmem_cache_alloc+0x2e9/0x320 mm/slub.c:3852 kmem_cache_zalloc include/linux/slab.h:739 [inline] fill_pool+0x275/0x5d0 lib/debugobjects.c:168 debug_objects_fill_pool lib/debugobjects.c:615 [inline] __debug_object_init+0xf7/0x480 lib/debugobjects.c:627 hrtimer_init_sleeper_on_stack+0x24/0xa0 kernel/time/hrtimer.c:448 futex_setup_timer+0x4a/0xf0 kernel/futex/core.c:142 futex_wait+0xd0/0x380 kernel/futex/waitwake.c:694 do_futex+0x22b/0x350 kernel/futex/syscalls.c:102 __do_sys_futex kernel/futex/syscalls.c:179 [inline] __se_sys_futex kernel/futex/syscalls.c:160 [inline] __x64_sys_futex+0x1e1/0x4c0 kernel/futex/syscalls.c:160 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xd2/0x260 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x72/0x7a RIP: 0033:0x7f100067dda9 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:00007ffca5caa9c8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: ffffffffffffffda RBX: 000000000000f5f9 RCX: 00007f100067dda9 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007f10007abf8c RBP: 0000000000000032 R08: 00007f10007abf8c R09: 00007f10007abf8c R10: 00007ffca5caab00 R11: 0000000000000246 R12: 00007f10007abf8c R13: 000000000000f62b R14: 00007ffca5caab20 R15: 00007ffca5caab00 ---------------- Code disassembly (best guess): 0: df 55 65 fists 0x65(%rbp) 3: 48 8b 2d c4 a0 23 75 mov 0x7523a0c4(%rip),%rbp # 0x7523a0ce a: 53 push %rbx b: 48 89 eb mov %rbp,%rbx e: 48 c1 eb 03 shr $0x3,%rbx 12: 48 01 c3 add %rax,%rbx 15: bf 01 00 00 00 mov $0x1,%edi 1a: e8 8f 60 7d f6 call 0xf67d60ae 1f: e8 ba 54 b4 f6 call 0xf6b454de 24: fb sti 25: bf 01 00 00 00 mov $0x1,%edi * 2a: e8 4f 92 ff ff call 0xffff927e <-- trapping instruction 2f: 9c pushf 30: 58 pop %rax 31: fa cli 32: f6 c4 02 test $0x2,%ah 35: 75 1e jne 0x55 37: bf 01 00 00 00 mov $0x1,%edi 3c: e8 .byte 0xe8 3d: ed in (%dx),%eax 3e: 0c 7d or $0x7d,%al