------------[ cut here ]------------
======================================================
WARNING: possible circular locking dependency detected
6.9.0-rc1-syzkaller-00009-g7033999ecd7b #0 Not tainted
------------------------------------------------------
syz-executor.0/5217 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:
ffff88806b32c9d8 (hrtimer_bases.lock){-.-.}-{2:2}
, at: __run_hrtimer kernel/time/hrtimer.c:1696 [inline]
, 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
       __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:151 [inline]
       _raw_spin_unlock_irqrestore+0x31/0x80 kernel/locking/spinlock.c:194
       spin_unlock_irqrestore include/linux/spinlock.h:406 [inline]
       rmqueue_bulk mm/page_alloc.c:2155 [inline]
       __rmqueue_pcplist+0x1035/0x1b00 mm/page_alloc.c:2826
       rmqueue_pcplist mm/page_alloc.c:2868 [inline]
       rmqueue mm/page_alloc.c:2905 [inline]
       get_page_from_freelist+0xbaa/0x3780 mm/page_alloc.c:3314
       __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]
       jbd2_alloc_handle include/linux/jbd2.h:1591 [inline]
       new_handle fs/jbd2/transaction.c:476 [inline]
       jbd2__journal_start+0x1dc/0x730 fs/jbd2/transaction.c:503
       __ext4_journal_start_sb+0x358/0x660 fs/ext4/ext4_jbd2.c:112
       __ext4_journal_start fs/ext4/ext4_jbd2.h:326 [inline]
       ext4_rmdir+0x63e/0xf20 fs/ext4/namei.c:3175
       vfs_rmdir fs/namei.c:4209 [inline]
       vfs_rmdir+0x203/0x660 fs/namei.c:4186
       do_rmdir+0x3a2/0x410 fs/namei.c:4268
       __do_sys_unlinkat fs/namei.c:4444 [inline]
       __se_sys_unlinkat fs/namei.c:4438 [inline]
       __x64_sys_unlinkat+0xf3/0x130 fs/namei.c:4438
       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+0x6d/0x75

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 ***

7 locks held by syz-executor.0/5217:
 #0: ffff888020c0e420 (sb_writers#5){.+.+}-{0:0}, at: do_rmdir+0x1e4/0x410 fs/namei.c:4252
 #1: ffff88802fcbd400 (&type->i_mutex_dir_key#3/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:828 [inline]
 #1: ffff88802fcbd400 (&type->i_mutex_dir_key#3/1){+.+.}-{3:3}, at: do_rmdir+0x235/0x410 fs/namei.c:4256
 #2: ffff8880328f2200 (&type->i_mutex_dir_key#3){++++}-{3:3}, at: inode_lock include/linux/fs.h:793 [inline]
 #2: ffff8880328f2200 (&type->i_mutex_dir_key#3){++++}-{3:3}, at: vfs_rmdir fs/namei.c:4198 [inline]
 #2: ffff8880328f2200 (&type->i_mutex_dir_key#3){++++}-{3:3}, at: vfs_rmdir+0xe9/0x660 fs/namei.c:4186
 #3: ffff88806b3445d8 (&pcp->lock){+.+.}-{2:2}, at: spin_trylock include/linux/spinlock.h:361 [inline]
 #3: ffff88806b3445d8 (&pcp->lock){+.+.}-{2:2}, at: rmqueue_pcplist mm/page_alloc.c:2855 [inline]
 #3: ffff88806b3445d8 (&pcp->lock){+.+.}-{2:2}, at: rmqueue mm/page_alloc.c:2905 [inline]
 #3: ffff88806b3445d8 (&pcp->lock){+.+.}-{2:2}, at: get_page_from_freelist+0xb39/0x3780 mm/page_alloc.c:3314
 #4: ffff88806b32c9d8 (hrtimer_bases.lock){-.-.}-{2:2}, at: __run_hrtimer kernel/time/hrtimer.c:1696 [inline]
 #4: ffff88806b32c9d8 (hrtimer_bases.lock){-.-.}-{2:2}, at: __hrtimer_run_queues+0x2c0/0xcc0 kernel/time/hrtimer.c:1756
 #5: ffffffff8e64ba60 (fill_pool_map-wait-type-override){+.+.}-{3:3}, at: debug_objects_fill_pool lib/debugobjects.c:614 [inline]
 #5: ffffffff8e64ba60 (fill_pool_map-wait-type-override){+.+.}-{3:3}, at: debug_object_activate+0x13e/0x540 lib/debugobjects.c:704
 #6: ffffffff8dbb14a0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:329 [inline]
 #6: ffffffff8dbb14a0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:781 [inline]
 #6: ffffffff8dbb14a0 (rcu_read_lock){....}-{1:2}, at: __bpf_trace_run kernel/trace/bpf_trace.c:2380 [inline]
 #6: ffffffff8dbb14a0 (rcu_read_lock){....}-{1:2}, at: bpf_trace_run4+0x107/0x460 kernel/trace/bpf_trace.c:2422

stack backtrace:
CPU: 3 PID: 5217 Comm: syz-executor.0 Not tainted 6.9.0-rc1-syzkaller-00009-g7033999ecd7b #0
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014
Call Trace:
 <IRQ>
 __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 db f6 8b 09 eb 82 90 <0f> 0b 90 e9 5a ff ff ff e8 db dd 96 00 eb d0 66 0f 1f 84 00 00 00
RSP: 0018:ffffc900008f8528 EFLAGS: 00010006
RAX: 0000000080010005 RBX: 0000000000000201 RCX: ffffffff88d468cc
RDX: 1ffff11002329f38 RSI: 0000000000000201 RDI: ffffffff88d46918
RBP: 0000000000000000 R08: 0000000000000004 R09: 0000000000000008
R10: 0000000000000000 R11: 0000000000000006 R12: ffff88801dd8ca80
R13: ffffffff81a80400 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
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702
RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline]
RIP: 0010:_raw_spin_unlock_irqrestore+0x31/0x80 kernel/locking/spinlock.c:194
Code: f5 53 48 8b 74 24 10 48 89 fb 48 83 c7 18 e8 36 34 8a f6 48 89 df e8 8e b0 8a f6 f7 c5 00 02 00 00 75 23 9c 58 f6 c4 02 75 37 <bf> 01 00 00 00 e8 95 eb 7b f6 65 8b 05 b6 7b 22 75 85 c0 74 16 5b
RSP: 0018:ffffc9000345f4f0 EFLAGS: 00000246
RAX: 0000000000000006 RBX: ffff88807ffd7d40 RCX: 1ffffffff2841aa8
RDX: 0000000000000000 RSI: ffffffff8b2cc840 RDI: ffffffff8b8f4720
RBP: 0000000000000202 R08: 0000000000000001 R09: fffffbfff2841630
R10: ffffffff9420b187 R11: 0000000000000020 R12: dffffc0000000000
R13: ffff88806b3445c0 R14: ffffffffffffffc1 R15: 000000000000003f
 spin_unlock_irqrestore include/linux/spinlock.h:406 [inline]
 rmqueue_bulk mm/page_alloc.c:2155 [inline]
 __rmqueue_pcplist+0x1035/0x1b00 mm/page_alloc.c:2826
 rmqueue_pcplist mm/page_alloc.c:2868 [inline]
 rmqueue mm/page_alloc.c:2905 [inline]
 get_page_from_freelist+0xbaa/0x3780 mm/page_alloc.c:3314
 __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]
 jbd2_alloc_handle include/linux/jbd2.h:1591 [inline]
 new_handle fs/jbd2/transaction.c:476 [inline]
 jbd2__journal_start+0x1dc/0x730 fs/jbd2/transaction.c:503
 __ext4_journal_start_sb+0x358/0x660 fs/ext4/ext4_jbd2.c:112
 __ext4_journal_start fs/ext4/ext4_jbd2.h:326 [inline]
 ext4_rmdir+0x63e/0xf20 fs/ext4/namei.c:3175
 vfs_rmdir fs/namei.c:4209 [inline]
 vfs_rmdir+0x203/0x660 fs/namei.c:4186
 do_rmdir+0x3a2/0x410 fs/namei.c:4268
 __do_sys_unlinkat fs/namei.c:4444 [inline]
 __se_sys_unlinkat fs/namei.c:4438 [inline]
 __x64_sys_unlinkat+0xf3/0x130 fs/namei.c:4438
 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+0x6d/0x75
RIP: 0033:0x7fa3ad47d587
Code: 73 01 c3 48 c7 c1 b0 ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 b8 07 01 00 00 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:00007ffdd8b4ff88 EFLAGS: 00000207 ORIG_RAX: 0000000000000107
RAX: ffffffffffffffda RBX: 0000000000000065 RCX: 00007fa3ad47d587
RDX: 0000000000000200 RSI: 00007ffdd8b51100 RDI: 00000000ffffff9c
RBP: 00007fa3ad4c93b9 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000100 R11: 0000000000000207 R12: 00007ffdd8b51100
R13: 00007fa3ad4c93b9 R14: 000000000000e369 R15: 0000000000000003
 </TASK>
WARNING: CPU: 3 PID: 5217 at kernel/softirq.c:307 __local_bh_disable_ip+0xb8/0xd0 kernel/softirq.c:307
Modules linked in:
CPU: 3 PID: 5217 Comm: syz-executor.0 Not tainted 6.9.0-rc1-syzkaller-00009-g7033999ecd7b #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 db f6 8b 09 eb 82 90 <0f> 0b 90 e9 5a ff ff ff e8 db dd 96 00 eb d0 66 0f 1f 84 00 00 00
RSP: 0018:ffffc900008f8528 EFLAGS: 00010006
RAX: 0000000080010005 RBX: 0000000000000201 RCX: ffffffff88d468cc
RDX: 1ffff11002329f38 RSI: 0000000000000201 RDI: ffffffff88d46918
RBP: 0000000000000000 R08: 0000000000000004 R09: 0000000000000008
R10: 0000000000000000 R11: 0000000000000006 R12: ffff88801dd8ca80
R13: ffffffff81a80400 R14: 0000000000000000 R15: 0000000000000000
FS:  000055556dcdb480(0000) GS:ffff88806b300000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055556dce4938 CR3: 0000000026a38000 CR4: 0000000000350ef0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <IRQ>
 __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
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702
RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline]
RIP: 0010:_raw_spin_unlock_irqrestore+0x31/0x80 kernel/locking/spinlock.c:194
Code: f5 53 48 8b 74 24 10 48 89 fb 48 83 c7 18 e8 36 34 8a f6 48 89 df e8 8e b0 8a f6 f7 c5 00 02 00 00 75 23 9c 58 f6 c4 02 75 37 <bf> 01 00 00 00 e8 95 eb 7b f6 65 8b 05 b6 7b 22 75 85 c0 74 16 5b
RSP: 0018:ffffc9000345f4f0 EFLAGS: 00000246
RAX: 0000000000000006 RBX: ffff88807ffd7d40 RCX: 1ffffffff2841aa8
RDX: 0000000000000000 RSI: ffffffff8b2cc840 RDI: ffffffff8b8f4720
RBP: 0000000000000202 R08: 0000000000000001 R09: fffffbfff2841630
R10: ffffffff9420b187 R11: 0000000000000020 R12: dffffc0000000000
R13: ffff88806b3445c0 R14: ffffffffffffffc1 R15: 000000000000003f
 spin_unlock_irqrestore include/linux/spinlock.h:406 [inline]
 rmqueue_bulk mm/page_alloc.c:2155 [inline]
 __rmqueue_pcplist+0x1035/0x1b00 mm/page_alloc.c:2826
 rmqueue_pcplist mm/page_alloc.c:2868 [inline]
 rmqueue mm/page_alloc.c:2905 [inline]
 get_page_from_freelist+0xbaa/0x3780 mm/page_alloc.c:3314
 __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]
 jbd2_alloc_handle include/linux/jbd2.h:1591 [inline]
 new_handle fs/jbd2/transaction.c:476 [inline]
 jbd2__journal_start+0x1dc/0x730 fs/jbd2/transaction.c:503
 __ext4_journal_start_sb+0x358/0x660 fs/ext4/ext4_jbd2.c:112
 __ext4_journal_start fs/ext4/ext4_jbd2.h:326 [inline]
 ext4_rmdir+0x63e/0xf20 fs/ext4/namei.c:3175
 vfs_rmdir fs/namei.c:4209 [inline]
 vfs_rmdir+0x203/0x660 fs/namei.c:4186
 do_rmdir+0x3a2/0x410 fs/namei.c:4268
 __do_sys_unlinkat fs/namei.c:4444 [inline]
 __se_sys_unlinkat fs/namei.c:4438 [inline]
 __x64_sys_unlinkat+0xf3/0x130 fs/namei.c:4438
 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+0x6d/0x75
RIP: 0033:0x7fa3ad47d587
Code: 73 01 c3 48 c7 c1 b0 ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 b8 07 01 00 00 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:00007ffdd8b4ff88 EFLAGS: 00000207 ORIG_RAX: 0000000000000107
RAX: ffffffffffffffda RBX: 0000000000000065 RCX: 00007fa3ad47d587
RDX: 0000000000000200 RSI: 00007ffdd8b51100 RDI: 00000000ffffff9c
RBP: 00007fa3ad4c93b9 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000100 R11: 0000000000000207 R12: 00007ffdd8b51100
R13: 00007fa3ad4c93b9 R14: 000000000000e369 R15: 0000000000000003
 </TASK>
----------------
Code disassembly (best guess):
   0:	f5                   	cmc
   1:	53                   	push   %rbx
   2:	48 8b 74 24 10       	mov    0x10(%rsp),%rsi
   7:	48 89 fb             	mov    %rdi,%rbx
   a:	48 83 c7 18          	add    $0x18,%rdi
   e:	e8 36 34 8a f6       	call   0xf68a3449
  13:	48 89 df             	mov    %rbx,%rdi
  16:	e8 8e b0 8a f6       	call   0xf68ab0a9
  1b:	f7 c5 00 02 00 00    	test   $0x200,%ebp
  21:	75 23                	jne    0x46
  23:	9c                   	pushf
  24:	58                   	pop    %rax
  25:	f6 c4 02             	test   $0x2,%ah
  28:	75 37                	jne    0x61
* 2a:	bf 01 00 00 00       	mov    $0x1,%edi <-- trapping instruction
  2f:	e8 95 eb 7b f6       	call   0xf67bebc9
  34:	65 8b 05 b6 7b 22 75 	mov    %gs:0x75227bb6(%rip),%eax        # 0x75227bf1
  3b:	85 c0                	test   %eax,%eax
  3d:	74 16                	je     0x55
  3f:	5b                   	pop    %rbx