TCP: request_sock_TCPv6: Possible SYN flooding on port 20002. Sending cookies. Check SNMP counters. IPv6: ADDRCONF(NETDEV_UP): team0: link is not ready 8021q: adding VLAN 0 to HW filter on device team0 IPv6: ADDRCONF(NETDEV_UP): vxcan1: link is not ready ================================================================== BUG: unable to handle kernel 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 ffff88809a598058 by task kworker/0:0/3 paging request 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.170-syzkaller #0 PGD 786d067 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 P4D 786d067 Workqueue: pencrypt padata_parallel_worker PUD 786f067 PMD 0 Call Trace: Oops: 0000 [#1] PREEMPT SMP KASAN __dump_stack lib/dump_stack.c:17 [inline] dump_stack+0xf7/0x13b lib/dump_stack.c:58 Modules linked in: CPU: 1 PID: 18 Comm: kworker/1:0 Not tainted 4.14.170-syzkaller #0 print_address_description.cold.7+0x9/0x1c9 mm/kasan/report.c:252 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: pencrypt padata_parallel_worker kasan_report_error mm/kasan/report.c:351 [inline] kasan_report.cold.8+0x11a/0x2d3 mm/kasan/report.c:409 task: ffff8880a9d5c4c0 task.stack: ffff8880a9d68000 __asan_report_store8_noabort+0x17/0x20 mm/kasan/report.c:435 RIP: 0010:crypto_aead_encrypt include/crypto/aead.h:330 [inline] RIP: 0010:pcrypt_aead_enc+0x7b/0xf0 crypto/pcrypt.c:143 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 RSP: 0018:ffff8880a9d6fc90 EFLAGS: 00010246 process_one_work+0x79e/0x16c0 kernel/workqueue.c:2114 RAX: dffffc0000000000 RBX: ffff88809f8b87d0 RCX: ffffffff82b0738e RDX: 1ffffffffffffff9 RSI: 0000000000000008 RDI: ffff88809f8b8808 RBP: ffff8880a9d6fcb0 R08: 0000000000000001 R09: 0000000000000000 worker_thread+0xcc/0xee0 kernel/workqueue.c:2248 R10: 0000000000000050 R11: ffff8880a9d5c4c0 R12: 0000000000000000 kthread+0x338/0x400 kernel/kthread.c:232 R13: ffff88809f8b8808 R14: ffff8880a9d6fcf8 R15: 1ffff110153adf9b FS: 0000000000000000(0000) GS:ffff8880aef00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:404 CR2: ffffffffffffffc8 CR3: 000000008cb69000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 Allocated by task 6859: DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 save_stack_trace+0x16/0x20 arch/x86/kernel/stacktrace.c:59 Call Trace: padata_parallel_worker+0x24e/0x420 kernel/padata.c:85 process_one_work+0x79e/0x16c0 kernel/workqueue.c:2114 save_stack+0x43/0xd0 mm/kasan/kasan.c:447 worker_thread+0xcc/0xee0 kernel/workqueue.c:2248 kthread+0x338/0x400 kernel/kthread.c:232 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:404 Code: 00 0f 85 set_track mm/kasan/kasan.c:459 [inline] kasan_kmalloc+0xc7/0xe0 mm/kasan/kasan.c:551 82 __do_kmalloc mm/slab.c:3720 [inline] __kmalloc+0x15b/0x7b0 mm/slab.c:3729 00 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 00 tls_sw_sendmsg+0x90b/0x10a0 net/tls/tls_sw.c:457 00 inet_sendmsg+0x108/0x440 net/ipv4/af_inet.c:762 48 sock_sendmsg_nosec net/socket.c:646 [inline] sock_sendmsg+0xb5/0xf0 net/socket.c:656 b8 SYSC_sendto+0x1e3/0x2c0 net/socket.c:1763 00 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 Freed by task 6859: fc save_stack_trace+0x16/0x20 arch/x86/kernel/stacktrace.c:59 ff save_stack+0x43/0xd0 mm/kasan/kasan.c:447 df set_track mm/kasan/kasan.c:459 [inline] kasan_slab_free+0x71/0xc0 mm/kasan/kasan.c:524 4d __cache_free mm/slab.c:3496 [inline] kfree+0xcc/0x270 mm/slab.c:3815 8b tls_push_record+0xd32/0x14c0 net/tls/tls_sw.c:293 64 tls_sw_sendmsg+0x90b/0x10a0 net/tls/tls_sw.c:457 24 inet_sendmsg+0x108/0x440 net/ipv4/af_inet.c:762 38 sock_sendmsg_nosec net/socket.c:646 [inline] sock_sendmsg+0xb5/0xf0 net/socket.c:656 49 SYSC_sendto+0x1e3/0x2c0 net/socket.c:1763 SyS_sendto+0x9/0x10 net/socket.c:1731 8d do_syscall_64+0x1c7/0x5b0 arch/x86/entry/common.c:292 7c 24 entry_SYSCALL_64_after_hwframe+0x42/0xb7 c8 48 The buggy address belongs to the object at ffff88809a598000 which belongs to the cache kmalloc-256 of size 256 89 The buggy address is located 88 bytes inside of 256-byte region [ffff88809a598000, ffff88809a598100) fa The buggy address belongs to the page: 48 page:ffffea0002696600 count:1 mapcount:0 mapping:ffff88809a598000 index:0xffff88809a5983c0 c1 ea flags: 0x1fffc0000000100(slab) raw: 01fffc0000000100 ffff88809a598000 ffff88809a5983c0 0000000100000009 03 raw: ffffea00023faca0 ffff8880aa801638 ffff8880aa8007c0 0000000000000000 80 page dumped because: kasan: bad access detected 3c 02 00 Memory state around the buggy address: 75 ffff88809a597f00: 00 00 00 00 00 00 00 00 00 fc fc fc fc fc fc fc 5a ffff88809a597f80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc 4c >ffff88809a598000: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb 89 ^ ef ffff88809a598080: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb <41> ffff88809a598100: fc fc fc fc fc fc fc fc fb fb fb fb fb fb fb fb ff ================================================================== 54