8021q: adding VLAN 0 to HW filter on device team0 8021q: adding VLAN 0 to HW filter on device team0 8021q: adding VLAN 0 to HW filter on device team0 8021q: adding VLAN 0 to HW filter on device team0 ================================================================== BUG: KASAN: use-after-free in memcpy include/linux/string.h:345 [inline] BUG: KASAN: use-after-free in sha512_ctx_mgr_resubmit.part.3+0x1b8/0x4a0 arch/x86/crypto/sha512-mb/sha512_mb.c:161 Read of size 110 at addr ffff8801cf0bb280 by task kworker/0:1/13 CPU: 0 PID: 13 Comm: kworker/0:1 Not tainted 4.18.0-next-20180813+ #37 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: crypto mcryptd_queue_worker Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1c9/0x2b4 lib/dump_stack.c:113 print_address_description+0x6c/0x20b mm/kasan/report.c:256 kasan_report_error mm/kasan/report.c:354 [inline] kasan_report.cold.7+0x242/0x30d mm/kasan/report.c:412 check_memory_region_inline mm/kasan/kasan.c:260 [inline] check_memory_region+0x13e/0x1b0 mm/kasan/kasan.c:267 memcpy+0x23/0x50 mm/kasan/kasan.c:302 memcpy include/linux/string.h:345 [inline] sha512_ctx_mgr_resubmit.part.3+0x1b8/0x4a0 arch/x86/crypto/sha512-mb/sha512_mb.c:161 sha512_ctx_mgr_resubmit arch/x86/crypto/sha512-mb/sha512_mb.c:135 [inline] sha512_ctx_mgr_submit+0x322/0x480 arch/x86/crypto/sha512-mb/sha512_mb.c:341 sha512_mb_finup+0x2d4/0x560 arch/x86/crypto/sha512-mb/sha512_mb.c:629 crypto_ahash_op+0xcf/0x180 crypto/ahash.c:362 crypto_ahash_finup+0x57/0x70 crypto/ahash.c:373 mcryptd_hash_digest+0x290/0x340 crypto/mcryptd.c:458 mcryptd_queue_worker+0x152/0x71f crypto/mcryptd.c:178 process_one_work+0xc73/0x1aa0 kernel/workqueue.c:2153 worker_thread+0x189/0x13c0 kernel/workqueue.c:2296 kthread+0x35a/0x420 kernel/kthread.c:246 ret_from_fork+0x3a/0x50 arch/x86/entry/entry_64.S:415 The buggy address belongs to the page: page:ffffea00073c2ec0 count:0 mapcount:0 mapping:0000000000000000 index:0x0 flags: 0x2fffc0000000000() raw: 02fffc0000000000 ffffea0006fcd448 ffff8801db0304d8 0000000000000000 raw: 0000000000000000 0000000000000000 00000000ffffffff 0000000000000000 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff8801cf0bb180: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ffff8801cf0bb200: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff >ffff8801cf0bb280: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ^ ffff8801cf0bb300: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ffff8801cf0bb380: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ==================================================================