------------[ cut here ]------------
======================================================
WARNING: possible circular locking dependency detected
6.8.0-syzkaller-08951-gfe46a7dd189e #0 Not tainted
------------------------------------------------------
syz-executor156/5058 is trying to acquire lock:
ffffffff8d6bdea0 (console_owner){..-.}-{0:0}, at: console_trylock_spinning kernel/printk/printk.c:1997 [inline]
ffffffff8d6bdea0 (console_owner){..-.}-{0:0}, at: vprintk_emit kernel/printk/printk.c:2341 [inline]
ffffffff8d6bdea0 (console_owner){..-.}-{0:0}, at: vprintk_emit+0x42d/0x5a0 kernel/printk/printk.c:2297
but task is already holding lock:
ffff8880b942a858 (&base->lock){-.-.}-{2:2}, at: lock_timer_base+0x5d/0x220 kernel/time/timer.c:1051
which lock already depends on the new lock.
the existing dependency chain (in reverse order) is:
-> #4 (&base->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_timer_base+0x5d/0x220 kernel/time/timer.c:1051
__mod_timer+0x426/0xdc0 kernel/time/timer.c:1132
worker_enter_idle+0x425/0x570 kernel/workqueue.c:1059
create_worker+0x4a0/0x7c0 kernel/workqueue.c:2833
maybe_create_worker kernel/workqueue.c:3079 [inline]
manage_workers kernel/workqueue.c:3131 [inline]
worker_thread+0xa19/0xf70 kernel/workqueue.c:3391
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 (&pool->lock){-.-.}-{2:2}:
__raw_spin_lock include/linux/spinlock_api_smp.h:133 [inline]
_raw_spin_lock+0x2e/0x40 kernel/locking/spinlock.c:154
__queue_work+0x39e/0x1170 kernel/workqueue.c:2360
queue_work_on+0xf4/0x120 kernel/workqueue.c:2435
queue_work include/linux/workqueue.h:605 [inline]
rpm_suspend+0xe36/0x11c0 drivers/base/power/runtime.c:662
rpm_idle+0x58c/0x700 drivers/base/power/runtime.c:536
__pm_runtime_idle+0xbc/0x160 drivers/base/power/runtime.c:1104
pm_runtime_put include/linux/pm_runtime.h:448 [inline]
__device_attach+0x382/0x4b0 drivers/base/dd.c:1048
bus_probe_device+0x17f/0x1c0 drivers/base/bus.c:532
device_add+0x1188/0x1ab0 drivers/base/core.c:3639
serial_base_port_add+0x357/0x4b0 drivers/tty/serial/serial_base_bus.c:178
serial_core_port_device_add drivers/tty/serial/serial_core.c:3353 [inline]
serial_core_register_port+0x13d/0x1b70 drivers/tty/serial/serial_core.c:3394
serial8250_register_8250_port+0x1410/0x2090 drivers/tty/serial/8250/8250_core.c:1138
serial_pnp_probe+0x47d/0x890 drivers/tty/serial/8250/8250_pnp.c:478
pnp_device_probe+0x2a5/0x4d0 drivers/pnp/driver.c:111
call_driver_probe drivers/base/dd.c:579 [inline]
really_probe+0x23a/0xcb0 drivers/base/dd.c:658
__driver_probe_device+0x1de/0x4b0 drivers/base/dd.c:800
driver_probe_device+0x4c/0x1b0 drivers/base/dd.c:830
__driver_attach+0x283/0x580 drivers/base/dd.c:1216
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
serial8250_init+0xbe/0x4c0 drivers/tty/serial/8250/8250_core.c:1239
do_one_initcall+0x128/0x690 init/main.c:1241
do_initcall_level init/main.c:1303 [inline]
do_initcalls init/main.c:1319 [inline]
do_basic_setup init/main.c:1338 [inline]
kernel_init_freeable+0x69d/0xc40 init/main.c:1550
kernel_init+0x1c/0x2a0 init/main.c:1439
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 (&dev->power.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
__pm_runtime_resume+0xa9/0x170 drivers/base/power/runtime.c:1171
pm_runtime_get include/linux/pm_runtime.h:396 [inline]
__uart_start+0x1b0/0x440 drivers/tty/serial/serial_core.c:148
uart_write+0x301/0x5a0 drivers/tty/serial/serial_core.c:615
process_output_block drivers/tty/n_tty.c:574 [inline]
n_tty_write+0x423/0x1150 drivers/tty/n_tty.c:2379
iterate_tty_write drivers/tty/tty_io.c:1021 [inline]
file_tty_write.constprop.0+0x518/0x9b0 drivers/tty/tty_io.c:1096
tty_write drivers/tty/tty_io.c:1117 [inline]
redirected_tty_write drivers/tty/tty_io.c:1140 [inline]
redirected_tty_write+0xaa/0xd0 drivers/tty/tty_io.c:1120
call_write_iter include/linux/fs.h:2108 [inline]
new_sync_write fs/read_write.c:497 [inline]
vfs_write+0x6db/0x1100 fs/read_write.c:590
ksys_write+0x12f/0x260 fs/read_write.c:643
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
-> #1 (&port_lock_key){-.-.}-{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
uart_port_lock_irqsave include/linux/serial_core.h:616 [inline]
serial8250_console_write+0xaa6/0x1090 drivers/tty/serial/8250/8250_port.c:3403
console_emit_next_record kernel/printk/printk.c:2907 [inline]
console_flush_all+0x53f/0xd70 kernel/printk/printk.c:2973
console_unlock+0xae/0x290 kernel/printk/printk.c:3042
vprintk_emit kernel/printk/printk.c:2342 [inline]
vprintk_emit+0x11a/0x5a0 kernel/printk/printk.c:2297
vprintk+0x7f/0xa0 kernel/printk/printk_safe.c:45
_printk+0xc8/0x100 kernel/printk/printk.c:2367
register_console+0xa7b/0x1060 kernel/printk/printk.c:3548
univ8250_console_init+0x35/0x50 drivers/tty/serial/8250/8250_core.c:717
console_init+0xcc/0x5e0 kernel/printk/printk.c:3694
start_kernel+0x259/0x490 init/main.c:1012
x86_64_start_reservations+0x18/0x30 arch/x86/kernel/head64.c:509
x86_64_start_kernel+0xb2/0xc0 arch/x86/kernel/head64.c:490
common_startup_64+0x13e/0x148
-> #0 (console_owner){..-.}-{0:0}:
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/0x540 kernel/locking/lockdep.c:5719
console_trylock_spinning kernel/printk/printk.c:1997 [inline]
vprintk_emit kernel/printk/printk.c:2341 [inline]
vprintk_emit+0x442/0x5a0 kernel/printk/printk.c:2297
vprintk+0x7f/0xa0 kernel/printk/printk_safe.c:45
_printk+0xc8/0x100 kernel/printk/printk.c:2367
__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_enable_ip+0xc3/0x120 kernel/softirq.c:362
spin_unlock_bh include/linux/spinlock.h:396 [inline]
__sock_map_delete net/core/sock_map.c:424 [inline]
sock_map_delete_elem+0xfd/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_run2+0x151/0x420 kernel/trace/bpf_trace.c:2420
__bpf_trace_timer_start+0xc7/0x100 include/trace/events/timer.h:52
trace_timer_start include/trace/events/timer.h:52 [inline]
enqueue_timer+0x2b4/0x520 kernel/time/timer.c:663
internal_add_timer kernel/time/timer.c:688 [inline]
__mod_timer+0x8d7/0xdc0 kernel/time/timer.c:1183
add_timer+0x62/0x90 kernel/time/timer.c:1296
dsp_cmx_send+0xc15/0x1760 drivers/isdn/mISDN/dsp_cmx.c:1839
call_timer_fn+0x1a0/0x5b0 kernel/time/timer.c:1792
expire_timers kernel/time/timer.c:1843 [inline]
__run_timers+0x74b/0xab0 kernel/time/timer.c:2408
__run_timer_base kernel/time/timer.c:2419 [inline]
__run_timer_base kernel/time/timer.c:2412 [inline]
run_timer_base+0x111/0x190 kernel/time/timer.c:2428
run_timer_softirq+0x1a/0x40 kernel/time/timer.c:2438
__do_softirq+0x218/0x8de kernel/softirq.c:554
invoke_softirq kernel/softirq.c:428 [inline]
__irq_exit_rcu kernel/softirq.c:633 [inline]
irq_exit_rcu+0xb9/0x120 kernel/softirq.c:645
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1043 [inline]
sysvec_apic_timer_interrupt+0x95/0xb0 arch/x86/kernel/apic/apic.c:1043
asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702
arch_atomic_add_return arch/x86/include/asm/atomic.h:85 [inline]
arch_atomic_sub_return arch/x86/include/asm/atomic.h:91 [inline]
raw_atomic_sub_return include/linux/atomic/atomic-arch-fallback.h:787 [inline]
raw_atomic_dec_return include/linux/atomic/atomic-arch-fallback.h:1238 [inline]
atomic_dec_return include/linux/atomic/atomic-instrumented.h:611 [inline]
page_table_check_clear.part.0+0x3f9/0x7f0 mm/page_table_check.c:85
page_table_check_clear mm/page_table_check.c:68 [inline]
__page_table_check_pte_clear+0x31c/0x570 mm/page_table_check.c:158
page_table_check_pte_clear include/linux/page_table_check.h:49 [inline]
ptep_get_and_clear_full arch/x86/include/asm/pgtable.h:1302 [inline]
zap_pte_range mm/memory.c:1452 [inline]
zap_pmd_range mm/memory.c:1597 [inline]
zap_pud_range mm/memory.c:1626 [inline]
zap_p4d_range mm/memory.c:1647 [inline]
unmap_page_range+0x17ff/0x2af0 mm/memory.c:1668
unmap_single_vma+0x194/0x2b0 mm/memory.c:1714
unmap_vmas+0x22f/0x490 mm/memory.c:1758
exit_mmap+0x1c1/0xb60 mm/mmap.c:3287
__mmput+0x12a/0x4d0 kernel/fork.c:1345
mmput+0x62/0x70 kernel/fork.c:1367
exit_mm kernel/exit.c:569 [inline]
do_exit+0x999/0x2be0 kernel/exit.c:865
do_group_exit+0xd3/0x2a0 kernel/exit.c:1027
__do_sys_exit_group kernel/exit.c:1038 [inline]
__se_sys_exit_group kernel/exit.c:1036 [inline]
__x64_sys_exit_group+0x3e/0x50 kernel/exit.c:1036
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_owner --> &pool->lock --> &base->lock
Possible unsafe locking scenario:
CPU0 CPU1
---- ----
lock(&base->lock);
lock(&pool->lock);
lock(&base->lock);
lock(console_owner);
*** DEADLOCK ***
8 locks held by syz-executor156/5058:
#0: ffff88807e69b120 (&mm->mmap_lock){++++}-{3:3}, at: mmap_read_lock include/linux/mmap_lock.h:146 [inline]
#0: ffff88807e69b120 (&mm->mmap_lock){++++}-{3:3}, at: exit_mmap+0x107/0xb60 mm/mmap.c:3271
#1: ffffffff8d7b08e0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:298 [inline]
#1: ffffffff8d7b08e0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:750 [inline]
#1: ffffffff8d7b08e0 (rcu_read_lock){....}-{1:2}, at: __pte_offset_map+0x42/0x540 mm/pgtable-generic.c:285
#2: ffff888074b2f078 (ptlock_ptr(ptdesc)#2){+.+.}-{2:2}, at: spin_lock include/linux/spinlock.h:351 [inline]
#2: ffff888074b2f078 (ptlock_ptr(ptdesc)#2){+.+.}-{2:2}, at: __pte_offset_map_lock+0xf1/0x300 mm/pgtable-generic.c:373
#3: ffffffff8d7b08e0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:298 [inline]
#3: ffffffff8d7b08e0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:750 [inline]
#3: ffffffff8d7b08e0 (rcu_read_lock){....}-{1:2}, at: page_ext_get+0x34/0x310 mm/page_ext.c:508
#4: ffffc90000007cb0 ((&dsp_spl_tl)){+.-.}-{0:0}, at: call_timer_fn+0x11a/0x5b0 kernel/time/timer.c:1789
#5: ffffffff8ef32c18 (dsp_lock){..-.}-{2:2}, at: dsp_cmx_send+0x23/0x1760 drivers/isdn/mISDN/dsp_cmx.c:1632
#6: ffff8880b942a858 (&base->lock){-.-.}-{2:2}, at: lock_timer_base+0x5d/0x220 kernel/time/timer.c:1051
#7: ffffffff8d7b08e0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:298 [inline]
#7: ffffffff8d7b08e0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:750 [inline]
#7: ffffffff8d7b08e0 (rcu_read_lock){....}-{1:2}, at: __bpf_trace_run kernel/trace/bpf_trace.c:2380 [inline]
#7: ffffffff8d7b08e0 (rcu_read_lock){....}-{1:2}, at: bpf_trace_run2+0xe4/0x420 kernel/trace/bpf_trace.c:2420
stack backtrace:
CPU: 0 PID: 5058 Comm: syz-executor156 Not tainted 6.8.0-syzkaller-08951-gfe46a7dd189e #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024
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/0x540 kernel/locking/lockdep.c:5719
console_trylock_spinning kernel/printk/printk.c:1997 [inline]
vprintk_emit kernel/printk/printk.c:2341 [inline]
vprintk_emit+0x442/0x5a0 kernel/printk/printk.c:2297
vprintk+0x7f/0xa0 kernel/printk/printk_safe.c:45
_printk+0xc8/0x100 kernel/printk/printk.c:2367
__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_enable_ip+0xc3/0x120 kernel/softirq.c:362
Code: 00 e8 81 6c 0b 00 e8 4c 69 42 00 fb 65 8b 05 cc 34 b2 7e 85 c0 74 52 5b 5d c3 cc cc cc cc 65 8b 05 4e e9 b0 7e 85 c0 75 9e 90 <0f> 0b 90 eb 98 e8 73 67 42 00 eb 99 48 89 ef e8 f9 df 19 00 eb a2
RSP: 0018:ffffc90000007788 EFLAGS: 00010046
RAX: 0000000000000000 RBX: 0000000000000201 RCX: 1ffffffff1f3d467
RDX: 0000000000000000 RSI: 0000000000000201 RDI: ffffffff88cb3a2d
RBP: ffffffff88cb3a2d R08: 0000000000000000 R09: ffffed100fa3303d
R10: ffff88807d1981eb R11: ffffffff93472c78 R12: ffff888022ce3580
R13: ffffffff81a75260 R14: 0000000000000000 R15: 0000000000000000
spin_unlock_bh include/linux/spinlock.h:396 [inline]
__sock_map_delete net/core/sock_map.c:424 [inline]
sock_map_delete_elem+0xfd/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_run2+0x151/0x420 kernel/trace/bpf_trace.c:2420
__bpf_trace_timer_start+0xc7/0x100 include/trace/events/timer.h:52
trace_timer_start include/trace/events/timer.h:52 [inline]
enqueue_timer+0x2b4/0x520 kernel/time/timer.c:663
internal_add_timer kernel/time/timer.c:688 [inline]
__mod_timer+0x8d7/0xdc0 kernel/time/timer.c:1183
add_timer+0x62/0x90 kernel/time/timer.c:1296
dsp_cmx_send+0xc15/0x1760 drivers/isdn/mISDN/dsp_cmx.c:1839
call_timer_fn+0x1a0/0x5b0 kernel/time/timer.c:1792
expire_timers kernel/time/timer.c:1843 [inline]
__run_timers+0x74b/0xab0 kernel/time/timer.c:2408
__run_timer_base kernel/time/timer.c:2419 [inline]
__run_timer_base kernel/time/timer.c:2412 [inline]
run_timer_base+0x111/0x190 kernel/time/timer.c:2428
run_timer_softirq+0x1a/0x40 kernel/time/timer.c:2438
__do_softirq+0x218/0x8de kernel/softirq.c:554
invoke_softirq kernel/softirq.c:428 [inline]
__irq_exit_rcu kernel/softirq.c:633 [inline]
irq_exit_rcu+0xb9/0x120 kernel/softirq.c:645
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1043 [inline]
sysvec_apic_timer_interrupt+0x95/0xb0 arch/x86/kernel/apic/apic.c:1043
asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702
RIP: 0010:arch_atomic_add_return arch/x86/include/asm/atomic.h:85 [inline]
RIP: 0010:arch_atomic_sub_return arch/x86/include/asm/atomic.h:91 [inline]
RIP: 0010:raw_atomic_sub_return include/linux/atomic/atomic-arch-fallback.h:787 [inline]
RIP: 0010:raw_atomic_dec_return include/linux/atomic/atomic-arch-fallback.h:1238 [inline]
RIP: 0010:atomic_dec_return include/linux/atomic/atomic-instrumented.h:611 [inline]
RIP: 0010:page_table_check_clear.part.0+0x3f9/0x7f0 mm/page_table_check.c:85
Code: ff 8b 44 24 08 85 c0 0f 85 75 01 00 00 e8 5f e6 9a ff 48 8d 7b 04 be 04 00 00 00 e8 51 25 f5 ff b8 ff ff ff ff f0 0f c1 43 04 <8d> 58 ff 31 ff 89 de e8 1b e1 9a ff 85 db 0f 89 80 fe ff ff e8 2e
RSP: 0018:ffffc9000355f808 EFLAGS: 00000213
RAX: 0000000000000002 RBX: ffff8880192743d8 RCX: ffffffff81f2125f
RDX: ffffed100324e87c RSI: 0000000000000004 RDI: ffff8880192743dc
RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed100324e87b
R10: ffff8880192743df R11: 0000000000000003 R12: ffff888019274390
R13: 0000000000000000 R14: 0000000000000001 R15: dffffc0000000000
page_table_check_clear mm/page_table_check.c:68 [inline]
__page_table_check_pte_clear+0x31c/0x570 mm/page_table_check.c:158
page_table_check_pte_clear include/linux/page_table_check.h:49 [inline]
ptep_get_and_clear_full arch/x86/include/asm/pgtable.h:1302 [inline]
zap_pte_range mm/memory.c:1452 [inline]
zap_pmd_range mm/memory.c:1597 [inline]
zap_pud_range mm/memory.c:1626 [inline]
zap_p4d_range mm/memory.c:1647 [inline]
unmap_page_range+0x17ff/0x2af0 mm/memory.c:1668
unmap_single_vma+0x194/0x2b0 mm/memory.c:1714
unmap_vmas+0x22f/0x490 mm/memory.c:1758
exit_mmap+0x1c1/0xb60 mm/mmap.c:3287
__mmput+0x12a/0x4d0 kernel/fork.c:1345
mmput+0x62/0x70 kernel/fork.c:1367
exit_mm kernel/exit.c:569 [inline]
do_exit+0x999/0x2be0 kernel/exit.c:865
do_group_exit+0xd3/0x2a0 kernel/exit.c:1027
__do_sys_exit_group kernel/exit.c:1038 [inline]
__se_sys_exit_group kernel/exit.c:1036 [inline]
__x64_sys_exit_group+0x3e/0x50 kernel/exit.c:1036
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:0x7f3912372f09
Code: Unable to access opcode bytes at 0x7f3912372edf.
RSP: 002b:00007ffc85e0dc58 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f3912372f09
RDX: 000000000000003c RSI: 00000000000000e7 RDI: 0000000000000000
RBP: 00007f39123ee2b0 R08: ffffffffffffffb8 R09: 0000000000000006
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f39123ee2b0
R13: 0000000000000000 R14: 00007f39123eed00 R15: 00007f3912344140
WARNING: CPU: 0 PID: 5058 at kernel/softirq.c:362 __local_bh_enable_ip+0xc3/0x120 kernel/softirq.c:362
Modules linked in:
CPU: 0 PID: 5058 Comm: syz-executor156 Not tainted 6.8.0-syzkaller-08951-gfe46a7dd189e #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024
RIP: 0010:__local_bh_enable_ip+0xc3/0x120 kernel/softirq.c:362
Code: 00 e8 81 6c 0b 00 e8 4c 69 42 00 fb 65 8b 05 cc 34 b2 7e 85 c0 74 52 5b 5d c3 cc cc cc cc 65 8b 05 4e e9 b0 7e 85 c0 75 9e 90 <0f> 0b 90 eb 98 e8 73 67 42 00 eb 99 48 89 ef e8 f9 df 19 00 eb a2
RSP: 0018:ffffc90000007788 EFLAGS: 00010046
RAX: 0000000000000000 RBX: 0000000000000201 RCX: 1ffffffff1f3d467
RDX: 0000000000000000 RSI: 0000000000000201 RDI: ffffffff88cb3a2d
RBP: ffffffff88cb3a2d R08: 0000000000000000 R09: ffffed100fa3303d
R10: ffff88807d1981eb R11: ffffffff93472c78 R12: ffff888022ce3580
R13: ffffffff81a75260 R14: 0000000000000000 R15: 0000000000000000
FS: 0000000000000000(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f39123ef110 CR3: 000000007ddc6000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
spin_unlock_bh include/linux/spinlock.h:396 [inline]
__sock_map_delete net/core/sock_map.c:424 [inline]
sock_map_delete_elem+0xfd/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_run2+0x151/0x420 kernel/trace/bpf_trace.c:2420
__bpf_trace_timer_start+0xc7/0x100 include/trace/events/timer.h:52
trace_timer_start include/trace/events/timer.h:52 [inline]
enqueue_timer+0x2b4/0x520 kernel/time/timer.c:663
internal_add_timer kernel/time/timer.c:688 [inline]
__mod_timer+0x8d7/0xdc0 kernel/time/timer.c:1183
add_timer+0x62/0x90 kernel/time/timer.c:1296
dsp_cmx_send+0xc15/0x1760 drivers/isdn/mISDN/dsp_cmx.c:1839
call_timer_fn+0x1a0/0x5b0 kernel/time/timer.c:1792
expire_timers kernel/time/timer.c:1843 [inline]
__run_timers+0x74b/0xab0 kernel/time/timer.c:2408
__run_timer_base kernel/time/timer.c:2419 [inline]
__run_timer_base kernel/time/timer.c:2412 [inline]
run_timer_base+0x111/0x190 kernel/time/timer.c:2428
run_timer_softirq+0x1a/0x40 kernel/time/timer.c:2438
__do_softirq+0x218/0x8de kernel/softirq.c:554
invoke_softirq kernel/softirq.c:428 [inline]
__irq_exit_rcu kernel/softirq.c:633 [inline]
irq_exit_rcu+0xb9/0x120 kernel/softirq.c:645
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1043 [inline]
sysvec_apic_timer_interrupt+0x95/0xb0 arch/x86/kernel/apic/apic.c:1043
asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702
RIP: 0010:arch_atomic_add_return arch/x86/include/asm/atomic.h:85 [inline]
RIP: 0010:arch_atomic_sub_return arch/x86/include/asm/atomic.h:91 [inline]
RIP: 0010:raw_atomic_sub_return include/linux/atomic/atomic-arch-fallback.h:787 [inline]
RIP: 0010:raw_atomic_dec_return include/linux/atomic/atomic-arch-fallback.h:1238 [inline]
RIP: 0010:atomic_dec_return include/linux/atomic/atomic-instrumented.h:611 [inline]
RIP: 0010:page_table_check_clear.part.0+0x3f9/0x7f0 mm/page_table_check.c:85
Code: ff 8b 44 24 08 85 c0 0f 85 75 01 00 00 e8 5f e6 9a ff 48 8d 7b 04 be 04 00 00 00 e8 51 25 f5 ff b8 ff ff ff ff f0 0f c1 43 04 <8d> 58 ff 31 ff 89 de e8 1b e1 9a ff 85 db 0f 89 80 fe ff ff e8 2e
RSP: 0018:ffffc9000355f808 EFLAGS: 00000213
RAX: 0000000000000002 RBX: ffff8880192743d8 RCX: ffffffff81f2125f
RDX: ffffed100324e87c RSI: 0000000000000004 RDI: ffff8880192743dc
RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed100324e87b
R10: ffff8880192743df R11: 0000000000000003 R12: ffff888019274390
R13: 0000000000000000 R14: 0000000000000001 R15: dffffc0000000000
page_table_check_clear mm/page_table_check.c:68 [inline]
__page_table_check_pte_clear+0x31c/0x570 mm/page_table_check.c:158
page_table_check_pte_clear include/linux/page_table_check.h:49 [inline]
ptep_get_and_clear_full arch/x86/include/asm/pgtable.h:1302 [inline]
zap_pte_range mm/memory.c:1452 [inline]
zap_pmd_range mm/memory.c:1597 [inline]
zap_pud_range mm/memory.c:1626 [inline]
zap_p4d_range mm/memory.c:1647 [inline]
unmap_page_range+0x17ff/0x2af0 mm/memory.c:1668
unmap_single_vma+0x194/0x2b0 mm/memory.c:1714
unmap_vmas+0x22f/0x490 mm/memory.c:1758
exit_mmap+0x1c1/0xb60 mm/mmap.c:3287
__mmput+0x12a/0x4d0 kernel/fork.c:1345
mmput+0x62/0x70 kernel/fork.c:1367
exit_mm kernel/exit.c:569 [inline]
do_exit+0x999/0x2be0 kernel/exit.c:865
do_group_exit+0xd3/0x2a0 kernel/exit.c:1027
__do_sys_exit_group kernel/exit.c:1038 [inline]
__se_sys_exit_group kernel/exit.c:1036 [inline]
__x64_sys_exit_group+0x3e/0x50 kernel/exit.c:1036
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:0x7f3912372f09
Code: Unable to access opcode bytes at 0x7f3912372edf.
RSP: 002b:00007ffc85e0dc58 EFLAGS: 00000246
ORIG_RAX: 00000000000000e7
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f3912372f09
RDX: 000000000000003c RSI: 00000000000000e7 RDI: 0000000000000000
RBP: 00007f39123ee2b0 R08: ffffffffffffffb8 R09: 0000000000000006
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f39123ee2b0
----------------
Code disassembly (best guess):
0: ff 8b 44 24 08 85 decl -0x7af7dbbc(%rbx)
6: c0 0f 85 rorb $0x85,(%rdi)
9: 75 01 jne 0xc
b: 00 00 add %al,(%rax)
d: e8 5f e6 9a ff call 0xff9ae671
12: 48 8d 7b 04 lea 0x4(%rbx),%rdi
16: be 04 00 00 00 mov $0x4,%esi
1b: e8 51 25 f5 ff call 0xfff52571
20: b8 ff ff ff ff mov $0xffffffff,%eax
25: f0 0f c1 43 04 lock xadd %eax,0x4(%rbx)
* 2a: 8d 58 ff lea -0x1(%rax),%ebx <-- trapping instruction
2d: 31 ff xor %edi,%edi
2f: 89 de mov %ebx,%esi
31: e8 1b e1 9a ff call 0xff9ae151
36: 85 db test %ebx,%ebx
38: 0f 89 80 fe ff ff jns 0xfffffebe
3e: e8 .byte 0xe8
3f: 2e cs