==================================================================
BUG: KASAN: slab-use-after-free in kernel_sock_shutdown+0x39/0x70
Read of size 8 at addr ffff8881b6ab6c60 by task syz.0.5761/26789

CPU: 0 UID: 0 PID: 26789 Comm: syz.0.5761 Not tainted syzkaller #0 PREEMPT(full) 
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014
Call Trace:
 <TASK>
 dump_stack_lvl+0xe8/0x150
 print_address_description+0x55/0x1e0
 print_report+0x58/0x70
 kasan_report+0x117/0x150
 kernel_sock_shutdown+0x39/0x70
 udp_tunnel_sock_release+0x6f/0x80
 rxe_net_del+0x121/0x2e0
 rxe_dellink+0x15/0x20
 nldev_dellink+0x304/0x3d0
 rdma_nl_rcv+0x6d1/0xa10
 netlink_unicast+0x75c/0x8e0
 netlink_sendmsg+0x813/0xb40
 ____sys_sendmsg+0x972/0x9f0
 ___sys_sendmsg+0x2a5/0x360
 __x64_sys_sendmsg+0x1bd/0x2a0
 do_syscall_64+0x174/0xf80
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f733239ce59
Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 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 e8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f733319d028 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007f7332616090 RCX: 00007f733239ce59
RDX: 0000000000000004 RSI: 00002000000002c0 RDI: 0000000000000011
RBP: 00007f7332432d6f R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f7332616128 R14: 00007f7332616090 R15: 00007ffd9976b7b8
 </TASK>

Allocated by task 13788:
 kasan_save_track+0x3e/0x80
 __kasan_slab_alloc+0x6c/0x80
 kmem_cache_alloc_lru_noprof+0x2b8/0x640
 sock_alloc_inode+0x2c/0x190
 alloc_inode+0x6a/0x1b0
 __sock_create+0x12d/0x9d0
 udp_sock_create4+0xca/0x480
 rxe_setup_udp_tunnel+0x151/0x790
 rxe_net_init+0xaf/0x330
 rxe_newlink+0xd3/0x1c0
 nldev_newlink+0x5bc/0x650
 rdma_nl_rcv+0x6d1/0xa10
 netlink_unicast+0x75c/0x8e0
 netlink_sendmsg+0x813/0xb40
 ____sys_sendmsg+0x972/0x9f0
 ___sys_sendmsg+0x2a5/0x360
 __x64_sys_sendmsg+0x1bd/0x2a0
 do_syscall_64+0x174/0xf80
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

Freed by task 0:
 kasan_save_track+0x3e/0x80
 kasan_save_free_info+0x46/0x50
 __kasan_slab_free+0x5c/0x80
 kmem_cache_free+0x182/0x650
 rcu_core+0x7cd/0x1070
 handle_softirqs+0x22a/0x840
 __irq_exit_rcu+0xca/0x220
 irq_exit_rcu+0x9/0x30
 sysvec_apic_timer_interrupt+0xa6/0xc0
 asm_sysvec_apic_timer_interrupt+0x1a/0x20

Last potentially related work creation:
 kasan_save_stack+0x3e/0x60
 kasan_record_aux_stack+0xbd/0xd0
 call_rcu+0xee/0x890
 evict+0x95b/0xb10
 rxe_net_del+0x121/0x2e0
 rxe_dellink+0x15/0x20
 nldev_dellink+0x304/0x3d0
 rdma_nl_rcv+0x6d1/0xa10
 netlink_unicast+0x75c/0x8e0
 netlink_sendmsg+0x813/0xb40
 ____sys_sendmsg+0x972/0x9f0
 ___sys_sendmsg+0x2a5/0x360
 __x64_sys_sendmsg+0x1bd/0x2a0
 do_syscall_64+0x174/0xf80
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

The buggy address belongs to the object at ffff8881b6ab6c00
 which belongs to the cache sock_inode_cache of size 1344
The buggy address is located 96 bytes inside of
 freed 1344-byte region [ffff8881b6ab6c00, ffff8881b6ab7140)

The buggy address belongs to the physical page:
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x1b6ab0
head: order:3 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0
memcg:ffff8881b6ab7e01
flags: 0x57ff00000000040(head|node=1|zone=2|lastcpupid=0x7ff)
page_type: f5(slab)
raw: 057ff00000000040 ffff8881604153c0 dead000000000100 dead000000000122
raw: 0000000000000000 0000000800150015 00000000f5000000 ffff8881b6ab7e01
head: 057ff00000000040 ffff8881604153c0 dead000000000100 dead000000000122
head: 0000000000000000 0000000800150015 00000000f5000000 ffff8881b6ab7e01
head: 057ff00000000003 fffffffffffffe01 00000000ffffffff 00000000ffffffff
head: ffffffffffffffff 0000000000000000 00000000ffffffff 0000000000000008
page dumped because: kasan: bad access detected
page_owner tracks the page as allocated
page last allocated via order 3, migratetype Reclaimable, gfp_mask 0xd20d0(__GFP_RECLAIMABLE|__GFP_IO|__GFP_FS|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC), pid 8899, tgid 8896 (syz.1.862), ts 151803045496, free_ts 142244428515
 post_alloc_hook+0x231/0x280
 get_page_from_freelist+0x24ba/0x2540
 __alloc_frozen_pages_noprof+0x18d/0x380
 allocate_slab+0x77/0x660
 refill_objects+0x339/0x3d0
 __pcs_replace_empty_main+0x321/0x720
 kmem_cache_alloc_lru_noprof+0x37c/0x640
 sock_alloc_inode+0x2c/0x190
 alloc_inode+0x6a/0x1b0
 __sock_create+0x12d/0x9d0
 __sys_socket+0xd6/0x1b0
 __x64_sys_socket+0x7a/0x90
 do_syscall_64+0x174/0xf80
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
page last free pid 7024 tgid 7024 stack trace:
 __free_frozen_pages+0xbc7/0xd30
 __slab_free+0x274/0x2c0
 qlist_free_all+0x99/0x100
 kasan_quarantine_reduce+0x148/0x160
 __kasan_slab_alloc+0x22/0x80
 kmem_cache_alloc_noprof+0x2bc/0x650
 do_getname+0x2e/0x250
 do_sys_openat2+0xca/0x200
 __x64_sys_openat+0x138/0x170
 do_syscall_64+0x174/0xf80
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

Memory state around the buggy address:
 ffff8881b6ab6b00: fb fb fb fb fb fb fb fb fc fc fc fc fc fc fc fc
 ffff8881b6ab6b80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
>ffff8881b6ab6c00: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
                                                       ^
 ffff8881b6ab6c80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
 ffff8881b6ab6d00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
==================================================================
