IPv6: ADDRCONF(NETDEV_UP): vxcan0: link is not ready IPv6: ADDRCONF(NETDEV_UP): veth1: link is not ready IPv6: ADDRCONF(NETDEV_UP): team0: link is not ready 8021q: adding VLAN 0 to HW filter on device team0 ================================================================== BUG: unable to handle kernel paging request BUG: KASAN: use-after-free in list_replace include/linux/list.h:141 [inline] BUG: KASAN: use-after-free in list_replace_init include/linux/list.h:149 [inline] BUG: KASAN: use-after-free in padata_parallel_worker+0x37a/0x420 kernel/padata.c:74 Write of size 8 at addr ffff88808d15e998 by task kworker/0:0/3 at ffffffffffffffc8 IP: crypto_aead_encrypt include/crypto/aead.h:330 [inline] IP: pcrypt_aead_enc+0x7b/0xf0 crypto/pcrypt.c:143 CPU: 0 PID: 3 Comm: kworker/0:0 Not tainted 4.14.164-syzkaller #0 PGD 7e6d067 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 P4D 7e6d067 Workqueue: pencrypt padata_parallel_worker PUD 7e6f067 PMD 0 Call Trace: __dump_stack lib/dump_stack.c:17 [inline] dump_stack+0xf7/0x13b lib/dump_stack.c:58 Oops: 0000 [#1] PREEMPT SMP KASAN Modules linked in: print_address_description.cold.7+0x9/0x1c9 mm/kasan/report.c:252 CPU: 1 PID: 7063 Comm: kworker/1:2 Not tainted 4.14.164-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 kasan_report_error mm/kasan/report.c:351 [inline] kasan_report.cold.8+0x11a/0x2d3 mm/kasan/report.c:409 Workqueue: pencrypt padata_parallel_worker __asan_report_store8_noabort+0x17/0x20 mm/kasan/report.c:435 list_replace include/linux/list.h:141 [inline] list_replace_init include/linux/list.h:149 [inline] padata_parallel_worker+0x37a/0x420 kernel/padata.c:74 task: ffff8880a4f2e540 task.stack: ffff888090890000 RIP: 0010:crypto_aead_encrypt include/crypto/aead.h:330 [inline] RIP: 0010:pcrypt_aead_enc+0x7b/0xf0 crypto/pcrypt.c:143 process_one_work+0x79e/0x16c0 kernel/workqueue.c:2114 RSP: 0018:ffff888090897c90 EFLAGS: 00010246 RAX: dffffc0000000000 RBX: ffff888092e035d0 RCX: ffffffff82e14b4e worker_thread+0xcc/0xee0 kernel/workqueue.c:2248 RDX: 1ffffffffffffff9 RSI: 0000000000000008 RDI: ffff888092e03608 kthread+0x338/0x400 kernel/kthread.c:232 RBP: ffff888090897cb0 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000050 R11: ffff8880a4f2e540 R12: 0000000000000000 R13: ffff888092e03608 R14: ffff888090897cf8 R15: 1ffff11012112f9b ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:404 FS: 0000000000000000(0000) GS:ffff8880aed00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 Allocated by task 7088: CR2: ffffffffffffffc8 CR3: 000000008c2e1000 CR4: 00000000001406e0 save_stack_trace+0x16/0x20 arch/x86/kernel/stacktrace.c:59 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 save_stack+0x43/0xd0 mm/kasan/kasan.c:447 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 set_track mm/kasan/kasan.c:459 [inline] kasan_kmalloc+0xc7/0xe0 mm/kasan/kasan.c:551 Call Trace: __do_kmalloc mm/slab.c:3720 [inline] __kmalloc+0x15b/0x7b0 mm/slab.c:3729 padata_parallel_worker+0x24e/0x420 kernel/padata.c:85 kmalloc include/linux/slab.h:493 [inline] kzalloc include/linux/slab.h:661 [inline] tls_push_record+0xf6/0x14c0 net/tls/tls_sw.c:250 tls_sw_sendmsg+0x90b/0x10a0 net/tls/tls_sw.c:457 process_one_work+0x79e/0x16c0 kernel/workqueue.c:2114 inet_sendmsg+0x108/0x440 net/ipv4/af_inet.c:762 sock_sendmsg_nosec net/socket.c:646 [inline] sock_sendmsg+0xb5/0xf0 net/socket.c:656 SYSC_sendto+0x1e3/0x2c0 net/socket.c:1763 worker_thread+0xcc/0xee0 kernel/workqueue.c:2248 SyS_sendto+0x9/0x10 net/socket.c:1731 kthread+0x338/0x400 kernel/kthread.c:232 do_syscall_64+0x1c7/0x5b0 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x42/0xb7 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:404 Code: Freed by task 7088: 00 save_stack_trace+0x16/0x20 arch/x86/kernel/stacktrace.c:59 0f save_stack+0x43/0xd0 mm/kasan/kasan.c:447 85 set_track mm/kasan/kasan.c:459 [inline] kasan_slab_free+0x71/0xc0 mm/kasan/kasan.c:524 __cache_free mm/slab.c:3496 [inline] kfree+0xcc/0x270 mm/slab.c:3815 82 tls_push_record+0xd32/0x14c0 net/tls/tls_sw.c:293 00 tls_sw_sendmsg+0x90b/0x10a0 net/tls/tls_sw.c:457 00 inet_sendmsg+0x108/0x440 net/ipv4/af_inet.c:762 00 sock_sendmsg_nosec net/socket.c:646 [inline] sock_sendmsg+0xb5/0xf0 net/socket.c:656 48 SYSC_sendto+0x1e3/0x2c0 net/socket.c:1763 b8 SyS_sendto+0x9/0x10 net/socket.c:1731 00 do_syscall_64+0x1c7/0x5b0 arch/x86/entry/common.c:292 00 entry_SYSCALL_64_after_hwframe+0x42/0xb7 00 00 The buggy address belongs to the object at ffff88808d15e940 which belongs to the cache kmalloc-256 of size 256 00 The buggy address is located 88 bytes inside of 256-byte region [ffff88808d15e940, ffff88808d15ea40) fc The buggy address belongs to the page: ff page:ffffea0002345780 count:1 mapcount:0 mapping:ffff88808d15e080 index:0x0 df 4d flags: 0xfffe0000000100(slab) 8b raw: 00fffe0000000100 ffff88808d15e080 0000000000000000 000000010000000c 64 raw: ffffea00027773a0 ffffea00024892e0 ffff8880aa8007c0 0000000000000000 24 page dumped because: kasan: bad access detected 38 49 Memory state around the buggy address: 8d ffff88808d15e880: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb 7c ffff88808d15e900: fc fc fc fc fc fc fc fc fb fb fb fb fb fb fb fb 24 >ffff88808d15e980: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb c8 ^ 48 ffff88808d15ea00: fb fb fb fb fb fb fb fb fc fc fc fc fc fc fc fc 89 ffff88808d15ea80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fa ================================================================== 48