squashfs: SQUASHFS error: Please update your kernel ================================================================== BUG: KASAN: slab-out-of-bounds in _decode_session6+0xf56/0x1370 net/ipv6/xfrm6_policy.c:137 Read of size 1 at addr ffff8880117dcbe3 by task syz-executor.2/14001 CPU: 0 PID: 14001 Comm: syz-executor.2 Not tainted 4.19.177-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __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_load1_noabort+0x88/0x90 mm/kasan/report.c:430 _decode_session6+0xf56/0x1370 net/ipv6/xfrm6_policy.c:137 __xfrm_decode_session+0x5a/0x130 net/xfrm/xfrm_policy.c:2299 xfrm_decode_session_reverse include/net/xfrm.h:1245 [inline] icmpv6_route_lookup+0x324/0x4e0 net/ipv6/icmp.c:372 icmp6_send+0x157d/0x22a0 net/ipv6/icmp.c:555 icmpv6_send+0xde/0x210 net/ipv6/ip6_icmp.c:43 ip6_link_failure+0x26/0x4e0 net/ipv6/route.c:2297 dst_link_failure include/net/dst.h:438 [inline] ipip6_tunnel_xmit net/ipv6/sit.c:1001 [inline] sit_tunnel_xmit+0x19c5/0x28d0 net/ipv6/sit.c:1038 __netdev_start_xmit include/linux/netdevice.h:4335 [inline] netdev_start_xmit include/linux/netdevice.h:4349 [inline] xmit_one net/core/dev.c:3256 [inline] dev_hard_start_xmit+0x1a8/0x920 net/core/dev.c:3272 sch_direct_xmit+0x2d6/0xf50 net/sched/sch_generic.c:332 qdisc_restart net/sched/sch_generic.c:395 [inline] __qdisc_run+0x4d0/0x1640 net/sched/sch_generic.c:403 __dev_xmit_skb net/core/dev.c:3500 [inline] __dev_queue_xmit+0x1518/0x2e00 net/core/dev.c:3807 neigh_output include/net/neighbour.h:501 [inline] ip6_finish_output2+0x113d/0x2290 net/ipv6/ip6_output.c:120 ip6_finish_output+0x795/0xe50 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] ip6_xmit+0xdbf/0x20a0 net/ipv6/ip6_output.c:313 inet6_csk_xmit+0x2fb/0x5c0 net/ipv6/inet6_connection_sock.c:139 __tcp_transmit_skb+0x1bb2/0x33f0 net/ipv4/tcp_output.c:1148 tcp_transmit_skb net/ipv4/tcp_output.c:1164 [inline] tcp_send_syn_data net/ipv4/tcp_output.c:3489 [inline] tcp_connect+0x1128/0x24e0 net/ipv4/tcp_output.c:3528 tcp_v6_connect+0x1add/0x2110 net/ipv6/tcp_ipv6.c:321 __inet_stream_connect+0x7e4/0xe00 net/ipv4/af_inet.c:655 tcp_sendmsg_fastopen net/ipv4/tcp.c:1187 [inline] tcp_sendmsg_locked+0x225d/0x2f60 net/ipv4/tcp.c:1234 tcp_sendmsg+0x2b/0x40 net/ipv4/tcp.c:1462 inet_sendmsg+0x132/0x5a0 net/ipv4/af_inet.c:798 sock_sendmsg_nosec net/socket.c:622 [inline] sock_sendmsg+0xc3/0x120 net/socket.c:632 ___sys_sendmsg+0x7bb/0x8e0 net/socket.c:2115 __sys_sendmsg net/socket.c:2153 [inline] __do_sys_sendmsg net/socket.c:2162 [inline] __se_sys_sendmsg net/socket.c:2160 [inline] __x64_sys_sendmsg+0x132/0x220 net/socket.c:2160 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x465ef9 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 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f2f2f753188 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 000000000056c0b0 RCX: 0000000000465ef9 RDX: 0000000020008014 RSI: 0000000020000b40 RDI: 0000000000000003 RBP: 00000000004bcd1c R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056c0b0 R13: 00007ffc29bec01f R14: 00007f2f2f753300 R15: 0000000000022000 Allocated by task 13728: kmem_cache_alloc+0x122/0x370 mm/slab.c:3559 getname_flags+0xce/0x590 fs/namei.c:140 do_sys_open+0x26c/0x520 fs/open.c:1079 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe Freed by task 13728: __cache_free mm/slab.c:3503 [inline] kmem_cache_free+0x7f/0x260 mm/slab.c:3765 putname+0xe1/0x120 fs/namei.c:261 do_sys_open+0x2ba/0x520 fs/open.c:1094 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 ffff8880117dccc0 which belongs to the cache names_cache of size 4096 The buggy address is located 221 bytes to the left of 4096-byte region [ffff8880117dccc0, ffff8880117ddcc0) The buggy address belongs to the page: page:ffffea000045f700 count:1 mapcount:0 mapping:ffff88813be83e40 index:0x0 compound_mapcount: 0 flags: 0xfff00000008100(slab|head) raw: 00fff00000008100 ffffea0000465588 ffffea000045f788 ffff88813be83e40 raw: 0000000000000000 ffff8880117dccc0 0000000100000001 0000000000000000 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff8880117dca80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff8880117dcb00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc >ffff8880117dcb80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ^ ffff8880117dcc00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff8880117dcc80: fc fc fc fc fc fc fc fc fb fb fb fb fb fb fb fb ==================================================================