==================================================================
BUG: KASAN: use-after-free in smc_fback_error_report+0x96/0xa0 net/smc/af_smc.c:670
Read of size 8 at addr ffff88801419b0e8 by task swapper/1/0

CPU: 1 PID: 0 Comm: swapper/1 Not tainted 5.17.0-rc8-syzkaller-00003-g56e337f2cf13 #0
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.14.0-2 04/01/2014
Call Trace:
 <IRQ>
 __dump_stack lib/dump_stack.c:88 [inline]
 dump_stack_lvl+0xcd/0x134 lib/dump_stack.c:106
 print_address_description.constprop.0.cold+0x8d/0x303 mm/kasan/report.c:255
 __kasan_report mm/kasan/report.c:442 [inline]
 kasan_report.cold+0x83/0xdf mm/kasan/report.c:459
 smc_fback_error_report+0x96/0xa0 net/smc/af_smc.c:670
 sk_error_report+0x35/0x310 net/core/sock.c:340
 tcp_write_err net/ipv4/tcp_timer.c:71 [inline]
 tcp_write_timeout net/ipv4/tcp_timer.c:276 [inline]
 tcp_retransmit_timer+0x20c2/0x3320 net/ipv4/tcp_timer.c:512
 tcp_write_timer_handler+0x5e6/0xbc0 net/ipv4/tcp_timer.c:622
 tcp_write_timer+0xa2/0x2b0 net/ipv4/tcp_timer.c:642
 call_timer_fn+0x1a5/0x6b0 kernel/time/timer.c:1421
 expire_timers kernel/time/timer.c:1466 [inline]
 __run_timers.part.0+0x67c/0xa30 kernel/time/timer.c:1734
 __run_timers kernel/time/timer.c:1715 [inline]
 run_timer_softirq+0xb3/0x1d0 kernel/time/timer.c:1747
 __do_softirq+0x29b/0x9c2 kernel/softirq.c:558
 invoke_softirq kernel/softirq.c:432 [inline]
 __irq_exit_rcu+0x123/0x180 kernel/softirq.c:637
 irq_exit_rcu+0x5/0x20 kernel/softirq.c:649
 sysvec_apic_timer_interrupt+0x93/0xc0 arch/x86/kernel/apic/apic.c:1097
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:638
RIP: 0010:default_idle+0xb/0x10 arch/x86/kernel/process.c:734
Code: f8 e9 8c fd ff ff 4c 89 f7 e8 d1 f8 6f f8 e9 3a fd ff ff cc cc cc cc cc cc cc cc cc cc cc cc eb 07 0f 00 2d b7 b0 57 00 fb f4 <c3> 0f 1f 40 00 41 54 be 08 00 00 00 53 65 48 8b 1c 25 00 70 02 00
RSP: 0018:ffffc9000065fdf8 EFLAGS: 00000202
RAX: 0000000000c77f49 RBX: ffff888011924180 RCX: ffffffff894c17a1
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000
RBP: 0000000000000001 R08: 0000000000000001 R09: ffff88802cb3acd3
R10: ffffed100596759a R11: 0000000000000000 R12: ffffed1002324830
R13: 0000000000000001 R14: ffffffff8d93f350 R15: 0000000000000000
 default_idle_call+0x87/0xd0 kernel/sched/idle.c:112
 cpuidle_idle_call kernel/sched/idle.c:194 [inline]
 do_idle+0x401/0x590 kernel/sched/idle.c:306
 cpu_startup_entry+0x14/0x20 kernel/sched/idle.c:403
 start_secondary+0x265/0x340 arch/x86/kernel/smpboot.c:272
 secondary_startup_64_no_verify+0xc3/0xcb
 </TASK>

general protection fault, probably for non-canonical address 0xdead000000000016: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 0 Comm: swapper/1 Not tainted 5.17.0-rc8-syzkaller-00003-g56e337f2cf13 #0
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.14.0-2 04/01/2014
RIP: 0010:nearest_obj include/linux/slab_def.h:93 [inline]
RIP: 0010:print_address_description.constprop.0.cold+0xe6/0x303 mm/kasan/report.c:261
Code: 08 0f 84 11 01 00 00 a8 01 0f 85 1e 01 00 00 48 8b 45 00 f6 c4 02 0f 84 43 ff ff ff 49 8b 5e 18 4c 89 e0 4c 89 e5 49 2b 46 28 <8b> 73 14 48 89 df 48 99 48 f7 fe 8b 43 24 48 29 d5 83 e8 01 0f af
RSP: 0018:ffffc90000728ac8 EFLAGS: 00010086
RAX: ffff88801419b0e8 RBX: dead000000000002 RCX: 0000000000000000
RDX: ffffea0000506681 RSI: ffffffff815f25f8 RDI: fffff520000e514b
RBP: ffff88801419b0e8 R08: 0000000000000000 R09: 0000000000000000
R10: ffffffff815ecc8e R11: 0000000000000000 R12: ffff88801419b0e8
R13: ffffffff88c60926 R14: ffffea00005066c0 R15: ffff888025e7cd30
FS:  0000000000000000(0000) GS:ffff88802cb00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b33440000 CR3: 0000000018849000 CR4: 0000000000150ee0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <IRQ>
 __kasan_report mm/kasan/report.c:442 [inline]
 kasan_report.cold+0x83/0xdf mm/kasan/report.c:459
 smc_fback_error_report+0x96/0xa0 net/smc/af_smc.c:670
 sk_error_report+0x35/0x310 net/core/sock.c:340
 tcp_write_err net/ipv4/tcp_timer.c:71 [inline]
 tcp_write_timeout net/ipv4/tcp_timer.c:276 [inline]
 tcp_retransmit_timer+0x20c2/0x3320 net/ipv4/tcp_timer.c:512
 tcp_write_timer_handler+0x5e6/0xbc0 net/ipv4/tcp_timer.c:622
 tcp_write_timer+0xa2/0x2b0 net/ipv4/tcp_timer.c:642
 call_timer_fn+0x1a5/0x6b0 kernel/time/timer.c:1421
 expire_timers kernel/time/timer.c:1466 [inline]
 __run_timers.part.0+0x67c/0xa30 kernel/time/timer.c:1734
 __run_timers kernel/time/timer.c:1715 [inline]
 run_timer_softirq+0xb3/0x1d0 kernel/time/timer.c:1747
 __do_softirq+0x29b/0x9c2 kernel/softirq.c:558
 invoke_softirq kernel/softirq.c:432 [inline]
 __irq_exit_rcu+0x123/0x180 kernel/softirq.c:637
 irq_exit_rcu+0x5/0x20 kernel/softirq.c:649
 sysvec_apic_timer_interrupt+0x93/0xc0 arch/x86/kernel/apic/apic.c:1097
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:638
RIP: 0010:default_idle+0xb/0x10 arch/x86/kernel/process.c:734
Code: f8 e9 8c fd ff ff 4c 89 f7 e8 d1 f8 6f f8 e9 3a fd ff ff cc cc cc cc cc cc cc cc cc cc cc cc eb 07 0f 00 2d b7 b0 57 00 fb f4 <c3> 0f 1f 40 00 41 54 be 08 00 00 00 53 65 48 8b 1c 25 00 70 02 00
RSP: 0018:ffffc9000065fdf8 EFLAGS: 00000202
RAX: 0000000000c77f49 RBX: ffff888011924180 RCX: ffffffff894c17a1
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000
RBP: 0000000000000001 R08: 0000000000000001 R09: ffff88802cb3acd3
R10: ffffed100596759a R11: 0000000000000000 R12: ffffed1002324830
R13: 0000000000000001 R14: ffffffff8d93f350 R15: 0000000000000000
 default_idle_call+0x87/0xd0 kernel/sched/idle.c:112
 cpuidle_idle_call kernel/sched/idle.c:194 [inline]
 do_idle+0x401/0x590 kernel/sched/idle.c:306
 cpu_startup_entry+0x14/0x20 kernel/sched/idle.c:403
 start_secondary+0x265/0x340 arch/x86/kernel/smpboot.c:272
 secondary_startup_64_no_verify+0xc3/0xcb
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:nearest_obj include/linux/slab_def.h:93 [inline]
RIP: 0010:print_address_description.constprop.0.cold+0xe6/0x303 mm/kasan/report.c:261
Code: 08 0f 84 11 01 00 00 a8 01 0f 85 1e 01 00 00 48 8b 45 00 f6 c4 02 0f 84 43 ff ff ff 49 8b 5e 18 4c 89 e0 4c 89 e5 49 2b 46 28 <8b> 73 14 48 89 df 48 99 48 f7 fe 8b 43 24 48 29 d5 83 e8 01 0f af
RSP: 0018:ffffc90000728ac8 EFLAGS: 00010086
RAX: ffff88801419b0e8 RBX: dead000000000002 RCX: 0000000000000000
RDX: ffffea0000506681 RSI: ffffffff815f25f8 RDI: fffff520000e514b
RBP: ffff88801419b0e8 R08: 0000000000000000 R09: 0000000000000000
R10: ffffffff815ecc8e R11: 0000000000000000 R12: ffff88801419b0e8
R13: ffffffff88c60926 R14: ffffea00005066c0 R15: ffff888025e7cd30
FS:  0000000000000000(0000) GS:ffff88802cb00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b33440000 CR3: 0000000018849000 CR4: 0000000000150ee0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
   0:	f8                   	clc
   1:	e9 8c fd ff ff       	jmpq   0xfffffd92
   6:	4c 89 f7             	mov    %r14,%rdi
   9:	e8 d1 f8 6f f8       	callq  0xf86ff8df
   e:	e9 3a fd ff ff       	jmpq   0xfffffd4d
  13:	cc                   	int3
  14:	cc                   	int3
  15:	cc                   	int3
  16:	cc                   	int3
  17:	cc                   	int3
  18:	cc                   	int3
  19:	cc                   	int3
  1a:	cc                   	int3
  1b:	cc                   	int3
  1c:	cc                   	int3
  1d:	cc                   	int3
  1e:	cc                   	int3
  1f:	eb 07                	jmp    0x28
  21:	0f 00 2d b7 b0 57 00 	verw   0x57b0b7(%rip)        # 0x57b0df
  28:	fb                   	sti
  29:	f4                   	hlt
* 2a:	c3                   	retq <-- trapping instruction
  2b:	0f 1f 40 00          	nopl   0x0(%rax)
  2f:	41 54                	push   %r12
  31:	be 08 00 00 00       	mov    $0x8,%esi
  36:	53                   	push   %rbx
  37:	65 48 8b 1c 25 00 70 	mov    %gs:0x27000,%rbx
  3e:	02 00