netlink: 'syz-executor.1': attribute type 1 has an invalid length.
IPVS: ftp: loaded support on port[0] = 21
IPv6: ADDRCONF(NETDEV_UP): bond38: link is not ready
8021q: adding VLAN 0 to HW filter on device bond38
==================================================================
BUG: KASAN: use-after-free in geneve6_xmit_skb drivers/net/geneve.c:911 [inline]
BUG: KASAN: use-after-free in geneve_xmit+0x27d4/0x2e60 drivers/net/geneve.c:940
Read of size 8 at addr ffff88803e870a20 by task syz-executor.2/30431
CPU: 1 PID: 30431 Comm: syz-executor.2 Not tainted 4.19.211-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/26/2022
Call Trace:
<IRQ>
__dump_stack lib/dump_stack.c:77 [inline]
dump_stack+0x1fc/0x2ef lib/dump_stack.c:118
print_address_description.cold+0x54/0x219 mm/kasan/report.c:256
kasan_report_error.cold+0x8a/0x1b9 mm/kasan/report.c:354
kasan_report mm/kasan/report.c:412 [inline]
__asan_report_load8_noabort+0x88/0x90 mm/kasan/report.c:433
geneve6_xmit_skb drivers/net/geneve.c:911 [inline]
geneve_xmit+0x27d4/0x2e60 drivers/net/geneve.c:940
__netdev_start_xmit include/linux/netdevice.h:4349 [inline]
netdev_start_xmit include/linux/netdevice.h:4363 [inline]
xmit_one net/core/dev.c:3256 [inline]
dev_hard_start_xmit+0x1a8/0x920 net/core/dev.c:3272
__dev_queue_xmit+0x269d/0x2e00 net/core/dev.c:3838
neigh_hh_output include/net/neighbour.h:491 [inline]
neigh_output include/net/neighbour.h:499 [inline]
ip6_finish_output2+0xde7/0x2290 net/ipv6/ip6_output.c:120
ip6_finish_output+0x89b/0x10f0 net/ipv6/ip6_output.c:192
NF_HOOK_COND include/linux/netfilter.h:278 [inline]
ip6_output+0x205/0x770 net/ipv6/ip6_output.c:209
dst_output include/net/dst.h:455 [inline]
NF_HOOK include/linux/netfilter.h:289 [inline]
mld_sendpack+0x674/0x1060 net/ipv6/mcast.c:1681
mld_send_initial_cr.part.0+0x106/0x150 net/ipv6/mcast.c:2098
mld_send_initial_cr net/ipv6/mcast.c:1196 [inline]
mld_dad_timer_expire+0x183/0x5e0 net/ipv6/mcast.c:2117
call_timer_fn+0x177/0x700 kernel/time/timer.c:1338
expire_timers+0x243/0x4e0 kernel/time/timer.c:1375
__run_timers kernel/time/timer.c:1696 [inline]
run_timer_softirq+0x21c/0x670 kernel/time/timer.c:1709
__do_softirq+0x265/0x980 kernel/softirq.c:292
invoke_softirq kernel/softirq.c:372 [inline]
irq_exit+0x215/0x260 kernel/softirq.c:412
exiting_irq arch/x86/include/asm/apic.h:536 [inline]
smp_apic_timer_interrupt+0x136/0x550 arch/x86/kernel/apic/apic.c:1098
apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:894
</IRQ>
RIP: 0010:__read_once_size include/linux/compiler.h:263 [inline]
RIP: 0010:__rcu_read_unlock+0xcc/0x160 kernel/rcu/tree_plugin.h:427
Code: 8c 00 00 00 c7 83 70 03 00 00 00 00 00 80 48 8d bb 74 03 00 00 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 0f b6 14 02 <48> 89 f8 83 e0 07 83 c0 03 38 d0 7c 04 84 d2 75 62 8b 83 74 03 00
RSP: 0018:ffff88809db2fa30 EFLAGS: 00000a07 ORIG_RAX: ffffffffffffff13
RAX: dffffc0000000000 RBX: ffff8880987cc280 RCX: ffffc90007677000
RDX: 0000000000000000 RSI: ffffffff81d86cc1 RDI: ffff8880987cc5f4
RBP: ffff8880987cc5f0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000001 R11: 0000000000000000 R12: ffff8880ae237a80
R13: 0000000000000000 R14: ffff8880a3d3ebc0 R15: 0000000000000000
rcu_read_unlock include/linux/rcupdate.h:680 [inline]
ext4_get_group_desc+0x1d6/0x4e0 fs/ext4/balloc.c:284
recently_deleted fs/ext4/ialloc.c:680 [inline]
find_inode_bit+0x1a0/0x520 fs/ext4/ialloc.c:724
__ext4_new_inode+0x160c/0x5a20 fs/ext4/ialloc.c:916
ext4_mkdir+0x396/0xe10 fs/ext4/namei.c:2696
vfs_mkdir+0x508/0x7a0 fs/namei.c:3819
do_mkdirat+0x262/0x2d0 fs/namei.c:3842
do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x7ff87069c409
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ff86f011168 EFLAGS: 00000246 ORIG_RAX: 0000000000000053
RAX: ffffffffffffffda RBX: 00007ff8707aef80 RCX: 00007ff87069c409
netlink: 12 bytes leftover after parsing attributes in process `syz-executor.1'.
RDX: 0000000000000000 RSI: 0000000000000010 RDI: 00000000200005c0
RBP: 00007ff8706f7367 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffca85e6d7f R14: 00007ff86f011300 R15: 0000000000022000
Allocated by task 30350:
kmem_cache_alloc+0x122/0x370 mm/slab.c:3559
sock_alloc_inode+0x19/0x250 net/socket.c:244
alloc_inode+0x5d/0x180 fs/inode.c:211
new_inode_pseudo+0x14/0xe0 fs/inode.c:911
sock_alloc+0x3c/0x260 net/socket.c:567
__sock_create+0xba/0x740 net/socket.c:1329
udp_sock_create6+0xd1/0x550 net/ipv6/ip6_udp_tunnel.c:22
udp_sock_create include/net/udp_tunnel.h:61 [inline]
geneve_create_sock drivers/net/geneve.c:409 [inline]
geneve_socket_create drivers/net/geneve.c:524 [inline]
geneve_sock_add+0x883/0xee0 drivers/net/geneve.c:610
geneve_open+0x9a/0x1c0 drivers/net/geneve.c:646
__dev_open+0x207/0x3a0 net/core/dev.c:1402
__dev_change_flags+0x501/0x660 net/core/dev.c:7679
dev_change_flags+0x7e/0x140 net/core/dev.c:7748
devinet_ioctl+0x13c9/0x1b40 net/ipv4/devinet.c:1106
inet_ioctl+0x1ea/0x360 net/ipv4/af_inet.c:954
sock_do_ioctl+0xce/0x300 net/socket.c:1015
sock_ioctl+0x2ef/0x5d0 net/socket.c:1135
vfs_ioctl fs/ioctl.c:46 [inline]
file_ioctl fs/ioctl.c:501 [inline]
do_vfs_ioctl+0xcdb/0x12e0 fs/ioctl.c:688
ksys_ioctl+0x9b/0xc0 fs/ioctl.c:705
__do_sys_ioctl fs/ioctl.c:712 [inline]
__se_sys_ioctl fs/ioctl.c:710 [inline]
__x64_sys_ioctl+0x6f/0xb0 fs/ioctl.c:710
do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
entry_SYSCALL_64_after_hwframe+0x49/0xbe
Freed by task 30427:
__cache_free mm/slab.c:3503 [inline]
kmem_cache_free+0x7f/0x260 mm/slab.c:3765
destroy_inode+0xb9/0x110 fs/inode.c:268
iput_final fs/inode.c:1555 [inline]
iput+0x4f1/0x860 fs/inode.c:1581
__sock_release net/socket.c:611 [inline]
sock_release+0x174/0x1d0 net/socket.c:619
__geneve_sock_release.part.0+0x15d/0x1e0 drivers/net/geneve.c:558
__geneve_sock_release drivers/net/geneve.c:578 [inline]
geneve_sock_release+0x1bf/0x290 drivers/net/geneve.c:576
geneve_stop+0x198/0x200 drivers/net/geneve.c:667
__dev_close_many+0x1ab/0x2e0 net/core/dev.c:1485
__dev_close net/core/dev.c:1497 [inline]
__dev_change_flags+0x273/0x660 net/core/dev.c:7677
dev_change_flags+0x7e/0x140 net/core/dev.c:7748
devinet_ioctl+0x13c9/0x1b40 net/ipv4/devinet.c:1106
inet_ioctl+0x1ea/0x360 net/ipv4/af_inet.c:954
sock_do_ioctl+0xce/0x300 net/socket.c:1015
sock_ioctl+0x2ef/0x5d0 net/socket.c:1135
vfs_ioctl fs/ioctl.c:46 [inline]
file_ioctl fs/ioctl.c:501 [inline]
do_vfs_ioctl+0xcdb/0x12e0 fs/ioctl.c:688
ksys_ioctl+0x9b/0xc0 fs/ioctl.c:705
__do_sys_ioctl fs/ioctl.c:712 [inline]
__se_sys_ioctl fs/ioctl.c:710 [inline]
__x64_sys_ioctl+0x6f/0xb0 fs/ioctl.c:710
do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
entry_SYSCALL_64_after_hwframe+0x49/0xbe
The buggy address belongs to the object at ffff88803e870a00
which belongs to the cache sock_inode_cache of size 992
The buggy address is located 32 bytes inside of
992-byte region [ffff88803e870a00, ffff88803e870de0)
The buggy address belongs to the page:
page:ffffea0000fa1c00 count:1 mapcount:0 mapping:ffff8880b59c3240 index:0xffff88803e870ffd
flags: 0xfff00000000100(slab)
raw: 00fff00000000100 ffffea0002266448 ffffea000139bac8 ffff8880b59c3240
raw: ffff88803e870ffd ffff88803e870100 0000000100000003 0000000000000000
page dumped because: kasan: bad access detected
Memory state around the buggy address:
ffff88803e870900: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc
ffff88803e870980: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
>ffff88803e870a00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
^
ffff88803e870a80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
ffff88803e870b00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
==================================================================
----------------
Code disassembly (best guess):
0: 8c 00 mov %es,(%rax)
2: 00 00 add %al,(%rax)
4: c7 83 70 03 00 00 00 movl $0x80000000,0x370(%rbx)
b: 00 00 80
e: 48 8d bb 74 03 00 00 lea 0x374(%rbx),%rdi
15: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax
1c: fc ff df
1f: 48 89 fa mov %rdi,%rdx
22: 48 c1 ea 03 shr $0x3,%rdx
26: 0f b6 14 02 movzbl (%rdx,%rax,1),%edx
* 2a: 48 89 f8 mov %rdi,%rax <-- trapping instruction
2d: 83 e0 07 and $0x7,%eax
30: 83 c0 03 add $0x3,%eax
33: 38 d0 cmp %dl,%al
35: 7c 04 jl 0x3b
37: 84 d2 test %dl,%dl
39: 75 62 jne 0x9d
3b: 8b .byte 0x8b
3c: 83 .byte 0x83
3d: 74 03 je 0x42