------------[ cut here ]------------
WARNING: CPU: 0 PID: 3608 at net/ipv4/tcp_input.c:2132 tcp_timeout_mark_lost net/ipv4/tcp_input.c:2132 [inline]
WARNING: CPU: 0 PID: 3608 at net/ipv4/tcp_input.c:2132 tcp_enter_loss+0xdb2/0x1050 net/ipv4/tcp_input.c:2145
Modules linked in:
CPU: 0 PID: 3608 Comm: sshd Not tainted 5.19.0-syzkaller-13930-g7ebfc85e2cd7 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/22/2022
RIP: 0010:tcp_timeout_mark_lost net/ipv4/tcp_input.c:2132 [inline]
RIP: 0010:tcp_enter_loss+0xdb2/0x1050 net/ipv4/tcp_input.c:2145
Code: 00 00 89 ab 48 09 00 00 e9 b6 fc ff ff 48 8d 83 c8 0a 00 00 48 89 44 24 08 4c 8d b3 64 08 00 00 e9 ea f7 ff ff e8 be 2c 9d f9 <0f> 0b e9 b1 f6 ff ff e8 b2 2c 9d f9 0f 0b e9 7c fb ff ff e8 f6 83
RSP: 0018:ffffc90000007ac8 EFLAGS: 00010246
RAX: 0000000000000000 RBX: ffff888020960000 RCX: 0000000000000100
RDX: ffff88807dc88000 RSI: ffffffff87deda52 RDI: 0000000000000004
RBP: 0000000000000009 R08: 0000000000000004 R09: 0000000000000011
R10: 0000000000000009 R11: 0000000000000002 R12: 0000000000000011
R13: 0000000000000008 R14: 0000000000000001 R15: 0000000000000009
FS: 00007ff8c8ae4800(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f988e75f718 CR3: 0000000020445000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
tcp_retransmit_timer+0x25a3/0x33d0 net/ipv4/tcp_timer.c:503
tcp_write_timer_handler net/ipv4/tcp_timer.c:620 [inline]
tcp_write_timer_handler+0x4de/0x9f0 net/ipv4/tcp_timer.c:594
tcp_write_timer+0xa2/0x2b0 net/ipv4/tcp_timer.c:637
call_timer_fn+0x1a0/0x6b0 kernel/time/timer.c:1474
expire_timers kernel/time/timer.c:1519 [inline]
__run_timers.part.0+0x674/0xa80 kernel/time/timer.c:1790
__run_timers kernel/time/timer.c:1768 [inline]
run_timer_softirq+0xb3/0x1d0 kernel/time/timer.c:1803
__do_softirq+0x1d3/0x9c6 kernel/softirq.c:571
invoke_softirq kernel/softirq.c:445 [inline]
__irq_exit_rcu+0x123/0x180 kernel/softirq.c:650
irq_exit_rcu+0x5/0x20 kernel/softirq.c:662
sysvec_apic_timer_interrupt+0x93/0xc0 arch/x86/kernel/apic/apic.c:1106
asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:649
RIP: 0010:__raw_spin_unlock_irq include/linux/spinlock_api_smp.h:160 [inline]
RIP: 0010:_raw_spin_unlock_irq+0x25/0x40 kernel/locking/spinlock.c:202
Code: 0f 1f 44 00 00 55 48 8b 74 24 08 48 89 fd 48 83 c7 18 e8 ce 76 dd f7 48 89 ef e8 56 f8 dd f7 e8 a1 81 00 f8 fb bf 01 00 00 00 66 b9 d0 f7 65 8b 05 8f 72 80 76 85 c0 74 02 5d c3 e8 0e 78 7e
RSP: 0018:ffffc900038efbe0 EFLAGS: 00000206
RAX: 00000000001b59e7 RBX: 0000000000002b5c RCX: 1ffffffff2123bce
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000001
RBP: ffff88807a59b890 R08: 0000000000000001 R09: ffffffff908db9f7
R10: 0000000000000001 R11: 0000000000000000 R12: 0000000000000000
R13: dffffc0000000000 R14: ffff88807a59b800 R15: ffff88807743a1d0
spin_unlock_irq include/linux/spinlock.h:399 [inline]
pipe_read+0x6a5/0x1100 fs/pipe.c:332
call_read_iter include/linux/fs.h:2186 [inline]
new_sync_read fs/read_write.c:389 [inline]
vfs_read+0x7f6/0x930 fs/read_write.c:470
ksys_read+0x1e8/0x250 fs/read_write.c:607
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7ff8c8c288fe
================================
WARNING: inconsistent lock state
5.19.0-syzkaller-13930-g7ebfc85e2cd7 #0 Not tainted
--------------------------------
inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage.
sshd/3608 [HC0[0]:SC1[1]:HE1:SE0] takes:
ffffffff8c0bee78 (vmap_area_lock){+.?.}-{2:2}, at: spin_lock include/linux/spinlock.h:349 [inline]
ffffffff8c0bee78 (vmap_area_lock){+.?.}-{2:2}, at: find_vmap_area+0x1c/0x130 mm/vmalloc.c:1836
{SOFTIRQ-ON-W} state was registered at:
lock_acquire kernel/locking/lockdep.c:5666 [inline]
lock_acquire+0x1ab/0x570 kernel/locking/lockdep.c:5631
__raw_spin_lock include/linux/spinlock_api_smp.h:133 [inline]
_raw_spin_lock+0x2a/0x40 kernel/locking/spinlock.c:154
spin_lock include/linux/spinlock.h:349 [inline]
alloc_vmap_area+0xa0b/0x1d50 mm/vmalloc.c:1617
__get_vm_area_node+0x142/0x3f0 mm/vmalloc.c:2484
get_vm_area_caller+0x43/0x50 mm/vmalloc.c:2537
__ioremap_caller.constprop.0+0x292/0x600 arch/x86/mm/ioremap.c:280
acpi_os_ioremap include/acpi/acpi_io.h:13 [inline]
acpi_map drivers/acpi/osl.c:296 [inline]
acpi_os_map_iomem+0x463/0x550 drivers/acpi/osl.c:355
acpi_tb_acquire_table+0xd8/0x209 drivers/acpi/acpica/tbdata.c:142
acpi_tb_validate_table drivers/acpi/acpica/tbdata.c:317 [inline]
acpi_tb_validate_table+0x50/0x8c drivers/acpi/acpica/tbdata.c:308
acpi_tb_verify_temp_table+0x84/0x674 drivers/acpi/acpica/tbdata.c:504
acpi_reallocate_root_table+0x374/0x3e0 drivers/acpi/acpica/tbxface.c:180
acpi_early_init+0x13a/0x438 drivers/acpi/bus.c:1214
start_kernel+0x3cf/0x48f init/main.c:1099
secondary_startup_64_no_verify+0xce/0xdb
irq event stamp: 1793386
hardirqs last enabled at (1793386): [] __up_console_sem+0xae/0xc0 kernel/printk/printk.c:264
hardirqs last disabled at (1793385): [] __up_console_sem+0x93/0xc0 kernel/printk/printk.c:262
softirqs last enabled at (1792436): [] tcp_sendmsg+0x36/0x40 net/ipv4/tcp.c:1484
softirqs last disabled at (1792489): [] invoke_softirq kernel/softirq.c:445 [inline]
softirqs last disabled at (1792489): [] __irq_exit_rcu+0x123/0x180 kernel/softirq.c:650
other info that might help us debug this:
Possible unsafe locking scenario:
CPU0
----
lock(vmap_area_lock);
lock(vmap_area_lock);
*** DEADLOCK ***
3 locks held by sshd/3608:
#0: ffff88807a59b868 (&pipe->mutex/1){+.+.}-{3:3}, at: __pipe_lock fs/pipe.c:103 [inline]
#0: ffff88807a59b868 (&pipe->mutex/1){+.+.}-{3:3}, at: pipe_read+0x139/0x1100 fs/pipe.c:244
#1: ffffc90000007d70 ((&icsk->icsk_retransmit_timer)){+.-.}-{0:0}, at: lockdep_copy_map include/linux/lockdep.h:31 [inline]
#1: ffffc90000007d70 ((&icsk->icsk_retransmit_timer)){+.-.}-{0:0}, at: call_timer_fn+0xd5/0x6b0 kernel/time/timer.c:1464
#2: ffff8880209600b0 (slock-AF_INET){+.-.}-{2:2}, at: spin_lock include/linux/spinlock.h:349 [inline]
#2: ffff8880209600b0 (slock-AF_INET){+.-.}-{2:2}, at: tcp_write_timer+0x26/0x2b0 net/ipv4/tcp_timer.c:635
stack backtrace:
CPU: 0 PID: 3608 Comm: sshd Not tainted 5.19.0-syzkaller-13930-g7ebfc85e2cd7 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/22/2022
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0xcd/0x134 lib/dump_stack.c:106
print_usage_bug kernel/locking/lockdep.c:3961 [inline]
valid_state kernel/locking/lockdep.c:3973 [inline]
mark_lock_irq kernel/locking/lockdep.c:4176 [inline]
mark_lock.part.0.cold+0x18/0xd8 kernel/locking/lockdep.c:4632
mark_lock kernel/locking/lockdep.c:4596 [inline]
mark_usage kernel/locking/lockdep.c:4527 [inline]
__lock_acquire+0x11d9/0x56d0 kernel/locking/lockdep.c:5007
lock_acquire kernel/locking/lockdep.c:5666 [inline]
lock_acquire+0x1ab/0x570 kernel/locking/lockdep.c:5631
__raw_spin_lock include/linux/spinlock_api_smp.h:133 [inline]
_raw_spin_lock+0x2a/0x40 kernel/locking/spinlock.c:154
spin_lock include/linux/spinlock.h:349 [inline]
find_vmap_area+0x1c/0x130 mm/vmalloc.c:1836
check_heap_object mm/usercopy.c:176 [inline]
__check_object_size mm/usercopy.c:250 [inline]
__check_object_size+0x1f8/0x700 mm/usercopy.c:212
check_object_size include/linux/thread_info.h:199 [inline]
__copy_from_user_inatomic include/linux/uaccess.h:62 [inline]
copy_from_user_nmi arch/x86/lib/usercopy.c:47 [inline]
copy_from_user_nmi+0xcb/0x130 arch/x86/lib/usercopy.c:31
copy_code arch/x86/kernel/dumpstack.c:91 [inline]
show_opcodes+0x59/0xb0 arch/x86/kernel/dumpstack.c:121
show_iret_regs+0xd/0x33 arch/x86/kernel/dumpstack.c:149
__show_regs+0x1e/0x60 arch/x86/kernel/process_64.c:74
show_trace_log_lvl+0x25b/0x2ba arch/x86/kernel/dumpstack.c:292
__warn+0xe2/0x190 kernel/panic.c:621
report_bug+0x1bc/0x210 lib/bug.c:198
handle_bug+0x3c/0x60 arch/x86/kernel/traps.c:316
exc_invalid_op+0x14/0x40 arch/x86/kernel/traps.c:336
asm_exc_invalid_op+0x16/0x20 arch/x86/include/asm/idtentry.h:568
RIP: 0010:tcp_timeout_mark_lost net/ipv4/tcp_input.c:2132 [inline]
RIP: 0010:tcp_enter_loss+0xdb2/0x1050 net/ipv4/tcp_input.c:2145
Code: 00 00 89 ab 48 09 00 00 e9 b6 fc ff ff 48 8d 83 c8 0a 00 00 48 89 44 24 08 4c 8d b3 64 08 00 00 e9 ea f7 ff ff e8 be 2c 9d f9 <0f> 0b e9 b1 f6 ff ff e8 b2 2c 9d f9 0f 0b e9 7c fb ff ff e8 f6 83
RSP: 0018:ffffc90000007ac8 EFLAGS: 00010246
RAX: 0000000000000000 RBX: ffff888020960000 RCX: 0000000000000100
RDX: ffff88807dc88000 RSI: ffffffff87deda52 RDI: 0000000000000004
RBP: 0000000000000009 R08: 0000000000000004 R09: 0000000000000011
R10: 0000000000000009 R11: 0000000000000002 R12: 0000000000000011
R13: 0000000000000008 R14: 0000000000000001 R15: 0000000000000009
tcp_retransmit_timer+0x25a3/0x33d0 net/ipv4/tcp_timer.c:503
tcp_write_timer_handler net/ipv4/tcp_timer.c:620 [inline]
tcp_write_timer_handler+0x4de/0x9f0 net/ipv4/tcp_timer.c:594
tcp_write_timer+0xa2/0x2b0 net/ipv4/tcp_timer.c:637
call_timer_fn+0x1a0/0x6b0 kernel/time/timer.c:1474
expire_timers kernel/time/timer.c:1519 [inline]
__run_timers.part.0+0x674/0xa80 kernel/time/timer.c:1790
__run_timers kernel/time/timer.c:1768 [inline]
run_timer_softirq+0xb3/0x1d0 kernel/time/timer.c:1803
__do_softirq+0x1d3/0x9c6 kernel/softirq.c:571
invoke_softirq kernel/softirq.c:445 [inline]
__irq_exit_rcu+0x123/0x180 kernel/softirq.c:650
irq_exit_rcu+0x5/0x20 kernel/softirq.c:662
sysvec_apic_timer_interrupt+0x93/0xc0 arch/x86/kernel/apic/apic.c:1106
asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:649
RIP: 0010:__raw_spin_unlock_irq include/linux/spinlock_api_smp.h:160 [inline]
RIP: 0010:_raw_spin_unlock_irq+0x25/0x40 kernel/locking/spinlock.c:202
Code: 0f 1f 44 00 00 55 48 8b 74 24 08 48 89 fd 48 83 c7 18 e8 ce 76 dd f7 48 89 ef e8 56 f8 dd f7 e8 a1 81 00 f8 fb bf 01 00 00 00 66 b9 d0 f7 65 8b 05 8f 72 80 76 85 c0 74 02 5d c3 e8 0e 78 7e
RSP: 0018:ffffc900038efbe0 EFLAGS: 00000206
RAX: 00000000001b59e7 RBX: 0000000000002b5c RCX: 1ffffffff2123bce
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000001
RBP: ffff88807a59b890 R08: 0000000000000001 R09: ffffffff908db9f7
R10: 0000000000000001 R11: 0000000000000000 R12: 0000000000000000
R13: dffffc0000000000 R14: ffff88807a59b800 R15: ffff88807743a1d0
spin_unlock_irq include/linux/spinlock.h:399 [inline]
pipe_read+0x6a5/0x1100 fs/pipe.c:332
call_read_iter include/linux/fs.h:2186 [inline]
new_sync_read fs/read_write.c:389 [inline]
vfs_read+0x7f6/0x930 fs/read_write.c:470
ksys_read+0x1e8/0x250 fs/read_write.c:607
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7ff8c8c288fe
Code: c0 e9 e6 fe ff ff 50 48 8d 3d 0e c7 09 00 e8 c9 cf 01 00 66 0f 1f 84 00 00 00 00 00 64 8b 04 25 18 00 00 00 85 c0 75 14 0f 05 <48> 3d 00 f0 ff ff 77 5a c3 66 0f 1f 84 00 00 00 00 00 48 83 ec 28
RSP: 002b:00007fffa13ae038 EFLAGS: 00000246 ORIG_RAX: 0000000000000000
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007ff8c8c288fe
RDX: 0000000000004000 RSI: 00007fffa13ae048 RDI: 0000000000000009
RBP: 0000557f24a213c0 R08: 0000557f24a0cc40 R09: 00007fffa13bf080
R10: 00007fffa13bf0f0 R11: 0000000000000246 R12: 000000000000003e
R13: 0000557f24a200b0 R14: 00007fffa13ae048 R15: 0000557f24a0d6b0
Code: c0 e9 e6 fe ff ff 50 48 8d 3d 0e c7 09 00 e8 c9 cf 01 00 66 0f 1f 84 00 00 00 00 00 64 8b 04 25 18 00 00 00 85 c0 75 14 0f 05 <48> 3d 00 f0 ff ff 77 5a c3 66 0f 1f 84 00 00 00 00 00 48 83 ec 28
RSP: 002b:00007fffa13ae038 EFLAGS: 00000246 ORIG_RAX: 0000000000000000
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007ff8c8c288fe
RDX: 0000000000004000 RSI: 00007fffa13ae048 RDI: 0000000000000009
RBP: 0000557f24a213c0 R08: 0000557f24a0cc40 R09: 00007fffa13bf080
R10: 00007fffa13bf0f0 R11: 0000000000000246 R12: 000000000000003e
R13: 0000557f24a200b0 R14: 00007fffa13ae048 R15: 0000557f24a0d6b0
----------------
Code disassembly (best guess):
0: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1)
5: 55 push %rbp
6: 48 8b 74 24 08 mov 0x8(%rsp),%rsi
b: 48 89 fd mov %rdi,%rbp
e: 48 83 c7 18 add $0x18,%rdi
12: e8 ce 76 dd f7 callq 0xf7dd76e5
17: 48 89 ef mov %rbp,%rdi
1a: e8 56 f8 dd f7 callq 0xf7ddf875
1f: e8 a1 81 00 f8 callq 0xf80081c5
24: fb sti
25: bf 01 00 00 00 mov $0x1,%edi
* 2a: e8 66 b9 d0 f7 callq 0xf7d0b995 <-- trapping instruction
2f: 65 8b 05 8f 72 80 76 mov %gs:0x7680728f(%rip),%eax # 0x768072c5
36: 85 c0 test %eax,%eax
38: 74 02 je 0x3c
3a: 5d pop %rbp
3b: c3 retq
3c: e8 .byte 0xe8
3d: 0e (bad)
3e: 78 7e js 0xbe