================================================================== BUG: KASAN: slab-out-of-bounds in skb_gro_receive+0xf5f/0x10e0 net/core/skbuff.c:3826 Read of size 16 at addr ffff88808e2b7ff0 by task syz-executor019/7758 CPU: 0 PID: 7758 Comm: syz-executor019 Not tainted 5.1.0-rc6+ #191 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+0x172/0x1f0 lib/dump_stack.c:113 print_address_description.cold+0x7c/0x20d mm/kasan/report.c:187 kasan_report.cold+0x1b/0x40 mm/kasan/report.c:317 __asan_report_load16_noabort+0x14/0x20 mm/kasan/generic_report.c:133 skb_gro_receive+0xf5f/0x10e0 net/core/skbuff.c:3826 udp_gro_receive_segment net/ipv4/udp_offload.c:384 [inline] call_gro_receive include/linux/netdevice.h:2349 [inline] udp_gro_receive+0xc63/0x1080 net/ipv4/udp_offload.c:415 udp4_gro_receive+0x763/0xeb0 net/ipv4/udp_offload.c:479 inet_gro_receive+0xe72/0x1110 net/ipv4/af_inet.c:1510 dev_gro_receive+0x1cd0/0x23c0 net/core/dev.c:5581 napi_gro_frags+0x36b/0xd10 net/core/dev.c:5843 tun_get_user+0x2f24/0x3fb0 drivers/net/tun.c:1981 tun_chr_write_iter+0xbd/0x156 drivers/net/tun.c:2027 call_write_iter include/linux/fs.h:1866 [inline] do_iter_readv_writev+0x5e1/0x8e0 fs/read_write.c:681 do_iter_write fs/read_write.c:957 [inline] do_iter_write+0x184/0x610 fs/read_write.c:938 vfs_writev+0x1b3/0x2f0 fs/read_write.c:1002 do_writev+0x15e/0x370 fs/read_write.c:1037 __do_sys_writev fs/read_write.c:1110 [inline] __se_sys_writev fs/read_write.c:1107 [inline] __x64_sys_writev+0x75/0xb0 fs/read_write.c:1107 do_syscall_64+0x103/0x610 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x441cc0 Code: 05 48 3d 01 f0 ff ff 0f 83 9d 09 fc ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 83 3d 51 93 29 00 00 75 14 b8 14 00 00 00 0f 05 <48> 3d 01 f0 ff ff 0f 83 74 09 fc ff c3 48 83 ec 08 e8 ba 2b 00 00 RSP: 002b:00007ffe31187c38 EFLAGS: 00000246 ORIG_RAX: 0000000000000014 RAX: ffffffffffffffda RBX: 00007ffe31187c70 RCX: 0000000000441cc0 RDX: 0000000000000001 RSI: 00007ffe31187c90 RDI: 00000000000000f0 RBP: 0000000000000000 R08: 000000000000ffff R09: 00000000015f8668 R10: 0000000020000040 R11: 0000000000000246 R12: 000000000000b0e0 R13: 0000000000402b50 R14: 0000000000000000 R15: 0000000000000000 Allocated by task 6032: save_stack+0x45/0xd0 mm/kasan/common.c:75 set_track mm/kasan/common.c:87 [inline] __kasan_kmalloc mm/kasan/common.c:497 [inline] __kasan_kmalloc.constprop.0+0xcf/0xe0 mm/kasan/common.c:470 kasan_slab_alloc+0xf/0x20 mm/kasan/common.c:505 slab_post_alloc_hook mm/slab.h:437 [inline] slab_alloc mm/slab.c:3393 [inline] kmem_cache_alloc+0x11a/0x6f0 mm/slab.c:3555 kmem_cache_zalloc include/linux/slab.h:732 [inline] copy_signal kernel/fork.c:1522 [inline] copy_process.part.0+0x2161/0x7980 kernel/fork.c:1913 copy_process kernel/fork.c:1709 [inline] _do_fork+0x257/0xfd0 kernel/fork.c:2226 __do_sys_clone kernel/fork.c:2333 [inline] __se_sys_clone kernel/fork.c:2327 [inline] __x64_sys_clone+0xbf/0x150 kernel/fork.c:2327 do_syscall_64+0x103/0x610 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe Freed by task 9: save_stack+0x45/0xd0 mm/kasan/common.c:75 set_track mm/kasan/common.c:87 [inline] __kasan_slab_free+0x102/0x150 mm/kasan/common.c:459 kasan_slab_free+0xe/0x10 mm/kasan/common.c:467 __cache_free mm/slab.c:3499 [inline] kmem_cache_free+0x86/0x260 mm/slab.c:3765 free_signal_struct kernel/fork.c:707 [inline] put_signal_struct kernel/fork.c:713 [inline] __put_task_struct+0x2e4/0x4e0 kernel/fork.c:727 put_task_struct include/linux/sched/task.h:98 [inline] delayed_put_task_struct+0x1ec/0x340 kernel/exit.c:181 __rcu_reclaim kernel/rcu/rcu.h:227 [inline] rcu_do_batch kernel/rcu/tree.c:2475 [inline] invoke_rcu_callbacks kernel/rcu/tree.c:2788 [inline] rcu_core+0x916/0x13a0 kernel/rcu/tree.c:2769 __do_softirq+0x266/0x95a kernel/softirq.c:293 The buggy address belongs to the object at ffff88808e2b77c0 which belongs to the cache signal_cache of size 1328 The buggy address is located 768 bytes to the right of 1328-byte region [ffff88808e2b77c0, ffff88808e2b7cf0) The buggy address belongs to the page: page:ffffea000238ad80 count:1 mapcount:0 mapping:ffff88812c294780 index:0x0 compound_mapcount: 0 flags: 0x1fffc0000010200(slab|head) raw: 01fffc0000010200 ffffea0002207308 ffffea000236ca88 ffff88812c294780 raw: 0000000000000000 ffff88808e2b60c0 0000000100000005 0000000000000000 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff88808e2b7e80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff88808e2b7f00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc >ffff88808e2b7f80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ^ ffff88808e2b8000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff88808e2b8080: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ==================================================================