UDF-fs: error (device loop2): udf_process_sequence: Block 100 of volume descriptor sequence is corrupted or we could not read it ================================================================== BUG: KASAN: use-after-free in ip_tunnel_xmit+0x24b4/0x33e0 net/ipv4/ip_tunnel.c:659 Read of size 4 at addr ffff88809547f0f0 by task syz-executor.0/9947 CPU: 1 PID: 9947 Comm: syz-executor.0 Not tainted 4.14.298-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 Call Trace: __dump_stack lib/dump_stack.c:17 [inline] dump_stack+0x1b2/0x281 lib/dump_stack.c:58 print_address_description.cold+0x54/0x1d3 mm/kasan/report.c:252 kasan_report_error.cold+0x8a/0x191 mm/kasan/report.c:351 kasan_report mm/kasan/report.c:409 [inline] __asan_report_load4_noabort+0x68/0x70 mm/kasan/report.c:429 ip_tunnel_xmit+0x24b4/0x33e0 net/ipv4/ip_tunnel.c:659 ipgre_xmit+0x412/0x780 net/ipv4/ip_gre.c:670 __netdev_start_xmit include/linux/netdevice.h:4054 [inline] netdev_start_xmit include/linux/netdevice.h:4063 [inline] xmit_one net/core/dev.c:3005 [inline] dev_hard_start_xmit+0x188/0x890 net/core/dev.c:3021 __dev_queue_xmit+0x1d7f/0x2480 net/core/dev.c:3521 UDF-fs: error (device loop2): udf_process_sequence: Block 2016 of volume descriptor sequence is corrupted or we could not read it packet_snd+0x13aa/0x26f0 net/packet/af_packet.c:3032 packet_sendmsg+0x12ed/0x33a0 net/packet/af_packet.c:3061 sock_sendmsg_nosec net/socket.c:646 [inline] sock_sendmsg+0xb5/0x100 net/socket.c:656 ___sys_sendmsg+0x6c8/0x800 net/socket.c:2062 __sys_sendmsg+0xa3/0x120 net/socket.c:2096 SYSC_sendmsg net/socket.c:2107 [inline] SyS_sendmsg+0x27/0x40 net/socket.c:2103 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x5e/0xd3 Allocated by task 9947: save_stack mm/kasan/kasan.c:447 [inline] set_track mm/kasan/kasan.c:459 [inline] kasan_kmalloc+0xeb/0x160 mm/kasan/kasan.c:551 __do_kmalloc_node mm/slab.c:3682 [inline] __kmalloc_node_track_caller+0x4c/0x70 mm/slab.c:3696 __kmalloc_reserve net/core/skbuff.c:137 [inline] pskb_expand_head+0x128/0xd30 net/core/skbuff.c:1472 __skb_cow include/linux/skbuff.h:2974 [inline] skb_cow_head include/linux/skbuff.h:3008 [inline] ipgre_xmit+0x462/0x780 net/ipv4/ip_gre.c:649 __netdev_start_xmit include/linux/netdevice.h:4054 [inline] netdev_start_xmit include/linux/netdevice.h:4063 [inline] xmit_one net/core/dev.c:3005 [inline] dev_hard_start_xmit+0x188/0x890 net/core/dev.c:3021 __dev_queue_xmit+0x1d7f/0x2480 net/core/dev.c:3521 packet_snd+0x13aa/0x26f0 net/packet/af_packet.c:3032 packet_sendmsg+0x12ed/0x33a0 net/packet/af_packet.c:3061 sock_sendmsg_nosec net/socket.c:646 [inline] sock_sendmsg+0xb5/0x100 net/socket.c:656 ___sys_sendmsg+0x6c8/0x800 net/socket.c:2062 __sys_sendmsg+0xa3/0x120 net/socket.c:2096 SYSC_sendmsg net/socket.c:2107 [inline] SyS_sendmsg+0x27/0x40 net/socket.c:2103 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x5e/0xd3 Freed by task 9947: save_stack mm/kasan/kasan.c:447 [inline] set_track mm/kasan/kasan.c:459 [inline] kasan_slab_free+0xc3/0x1a0 mm/kasan/kasan.c:524 __cache_free mm/slab.c:3496 [inline] kfree+0xc9/0x250 mm/slab.c:3815 skb_free_head net/core/skbuff.c:563 [inline] pskb_expand_head+0x895/0xd30 net/core/skbuff.c:1505 __pskb_pull_tail+0xd9/0x14a0 net/core/skbuff.c:1908 pskb_may_pull include/linux/skbuff.h:2181 [inline] ip_tunnel_xmit+0x1405/0x33e0 net/ipv4/ip_tunnel.c:651 ipgre_xmit+0x412/0x780 net/ipv4/ip_gre.c:670 __netdev_start_xmit include/linux/netdevice.h:4054 [inline] netdev_start_xmit include/linux/netdevice.h:4063 [inline] xmit_one net/core/dev.c:3005 [inline] dev_hard_start_xmit+0x188/0x890 net/core/dev.c:3021 __dev_queue_xmit+0x1d7f/0x2480 net/core/dev.c:3521 packet_snd+0x13aa/0x26f0 net/packet/af_packet.c:3032 packet_sendmsg+0x12ed/0x33a0 net/packet/af_packet.c:3061 sock_sendmsg_nosec net/socket.c:646 [inline] sock_sendmsg+0xb5/0x100 net/socket.c:656 ___sys_sendmsg+0x6c8/0x800 net/socket.c:2062 __sys_sendmsg+0xa3/0x120 net/socket.c:2096 SYSC_sendmsg net/socket.c:2107 [inline] SyS_sendmsg+0x27/0x40 net/socket.c:2103 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x5e/0xd3 The buggy address belongs to the object at ffff88809547f040 which belongs to the cache kmalloc-512 of size 512 The buggy address is located 176 bytes inside of 512-byte region [ffff88809547f040, ffff88809547f240) The buggy address belongs to the page: page:ffffea0002551fc0 count:1 mapcount:0 mapping:ffff88809547f040 index:0xffff88809547fcc0 flags: 0xfff00000000100(slab) raw: 00fff00000000100 ffff88809547f040 ffff88809547fcc0 0000000100000002 raw: ffffea0002a41f20 ffffea0002c68ee0 ffff88813fe74940 0000000000000000 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff88809547ef80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ffff88809547f000: fc fc fc fc fc fc fc fc fb fb fb fb fb fb fb fb >ffff88809547f080: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ^ ffff88809547f100: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ffff88809547f180: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ==================================================================