IPv6: ADDRCONF(NETDEV_CHANGE): macvlan0: link becomes ready IPv6: ADDRCONF(NETDEV_CHANGE): veth1_virt_wifi: link becomes ready IPv6: ADDRCONF(NETDEV_CHANGE): veth0_virt_wifi: link becomes ready IPv6: ADDRCONF(NETDEV_UP): veth1_vlan: link is not ready ================================================================== BUG: KASAN: slab-out-of-bounds in memcpy include/linux/string.h:376 [inline] BUG: KASAN: slab-out-of-bounds in ext4_write_inline_data.isra.4+0x27a/0x480 fs/ext4/inline.c:251 Write of size 70 at addr ffff88809ceea4ef by task syz-executor.4/9625 CPU: 1 PID: 9625 Comm: syz-executor.4 Not tainted 4.14.228-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:17 [inline] dump_stack+0x14b/0x1e7 lib/dump_stack.c:58 print_address_description.cold.6+0x9/0x1ca mm/kasan/report.c:252 kasan_report_error mm/kasan/report.c:351 [inline] kasan_report mm/kasan/report.c:409 [inline] kasan_report.cold.7+0x11a/0x2d3 mm/kasan/report.c:393 check_memory_region_inline mm/kasan/kasan.c:260 [inline] check_memory_region+0x13c/0x1b0 mm/kasan/kasan.c:267 memcpy+0x37/0x50 mm/kasan/kasan.c:303 memcpy include/linux/string.h:376 [inline] ext4_write_inline_data.isra.4+0x27a/0x480 fs/ext4/inline.c:251 ext4_write_inline_data_end+0x1dd/0x450 fs/ext4/inline.c:760 ext4_write_end+0x4ee/0xb20 fs/ext4/inode.c:1422 ext4_da_write_end+0x616/0x990 fs/ext4/inode.c:3177 generic_perform_write+0x2ce/0x450 mm/filemap.c:3066 __generic_file_write_iter+0x205/0x590 mm/filemap.c:3180 ext4_file_write_iter+0x279/0xe30 fs/ext4/file.c:270 call_write_iter include/linux/fs.h:1778 [inline] new_sync_write fs/read_write.c:469 [inline] __vfs_write+0x413/0x840 fs/read_write.c:482 vfs_write+0x150/0x4f0 fs/read_write.c:544 SYSC_write fs/read_write.c:590 [inline] SyS_write+0x100/0x250 fs/read_write.c:582 do_syscall_64+0x1c7/0x5b0 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x46/0xbb RIP: 0033:0x465b09 RSP: 002b:00007fb40e437188 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 000000000056bf60 RCX: 0000000000465b09 RDX: 0000000000000082 RSI: 0000000020000180 RDI: 0000000000000003 RBP: 00000000004b069f R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056bf60 R13: 00007ffee37e8f6f R14: 00007fb40e437300 R15: 0000000000022000 Allocated by task 8304: save_stack_trace+0x16/0x20 arch/x86/kernel/stacktrace.c:59 save_stack mm/kasan/kasan.c:447 [inline] set_track mm/kasan/kasan.c:459 [inline] kasan_kmalloc.part.1+0x62/0xf0 mm/kasan/kasan.c:551 kasan_kmalloc+0xaf/0xc0 mm/kasan/kasan.c:536 __do_kmalloc_node mm/slab.c:3682 [inline] __kmalloc_node_track_caller+0x50/0x70 mm/slab.c:3696 __kmalloc_reserve.isra.7+0x2c/0xc0 net/core/skbuff.c:137 __alloc_skb+0xc1/0x540 net/core/skbuff.c:205 alloc_skb include/linux/skbuff.h:980 [inline] netlink_alloc_large_skb net/netlink/af_netlink.c:1159 [inline] netlink_sendmsg+0x90d/0xbe0 net/netlink/af_netlink.c:1853 sock_sendmsg_nosec net/socket.c:646 [inline] sock_sendmsg+0xac/0xf0 net/socket.c:656 SYSC_sendto net/socket.c:1763 [inline] SyS_sendto+0x1e4/0x2c0 net/socket.c:1731 do_syscall_64+0x1c7/0x5b0 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x46/0xbb Freed by task 8304: save_stack_trace+0x16/0x20 arch/x86/kernel/stacktrace.c:59 save_stack mm/kasan/kasan.c:447 [inline] set_track mm/kasan/kasan.c:459 [inline] kasan_slab_free+0xab/0x190 mm/kasan/kasan.c:524 __cache_free mm/slab.c:3496 [inline] kfree+0xcc/0x270 mm/slab.c:3815 skb_free_head+0x74/0x90 net/core/skbuff.c:563 skb_release_data+0x4e0/0x820 net/core/skbuff.c:583 skb_release_all+0x3d/0x50 net/core/skbuff.c:640 __kfree_skb net/core/skbuff.c:654 [inline] consume_skb+0x84/0x2a0 net/core/skbuff.c:714 netlink_unicast_kernel net/netlink/af_netlink.c:1288 [inline] netlink_unicast+0x413/0x610 net/netlink/af_netlink.c:1313 netlink_sendmsg+0x639/0xbe0 net/netlink/af_netlink.c:1878 sock_sendmsg_nosec net/socket.c:646 [inline] sock_sendmsg+0xac/0xf0 net/socket.c:656 SYSC_sendto net/socket.c:1763 [inline] SyS_sendto+0x1e4/0x2c0 net/socket.c:1731 do_syscall_64+0x1c7/0x5b0 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x46/0xbb The buggy address belongs to the object at ffff88809ceea280 which belongs to the cache kmalloc-512 of size 512 The buggy address is located 111 bytes to the right of 512-byte region [ffff88809ceea280, ffff88809ceea480) The buggy address belongs to the page: page:ffffea000273ba80 count:1 mapcount:0 mapping:ffff88809ceea000 index:0x0 flags: 0xfff00000000100(slab) raw: 00fff00000000100 ffff88809ceea000 0000000000000000 0000000100000006 raw: ffffea000273d860 ffffea00027bace0 ffff88813fe60940 0000000000000000 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff88809ceea380: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ffff88809ceea400: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb >ffff88809ceea480: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ^ ffff88809ceea500: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ffff88809ceea580: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ==================================================================