RBP: 00000000006dbc20 R08: 0000000000000002 R09: 65732f636f003931 R10: 0000000000006785 R11: 0000000000000246 R12: 00000000006dbc2c R13: 00007f2ff3812d10 R14: 0000000000000008 R15: 0000000000000000 ================================================================== kobject: 'rx-0' (ffff88809ba20610): auto cleanup kobject_del BUG: KASAN: slab-out-of-bounds in memcpy include/linux/string.h:347 [inline] BUG: KASAN: slab-out-of-bounds in memcpy_dir crypto/scatterwalk.c:28 [inline] BUG: KASAN: slab-out-of-bounds in scatterwalk_copychunks+0x207/0x690 crypto/scatterwalk.c:43 Read of size 4096 at addr ffff888098f4b000 by task syz-executor470/12139 CPU: 1 PID: 12139 Comm: syz-executor470 Not tainted 4.14.158-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+0xf7/0x13b lib/dump_stack.c:58 print_address_description.cold.7+0x9/0x1c9 mm/kasan/report.c:252 kasan_report_error mm/kasan/report.c:351 [inline] kasan_report.cold.8+0x11a/0x2d3 mm/kasan/report.c:409 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:347 [inline] memcpy_dir crypto/scatterwalk.c:28 [inline] scatterwalk_copychunks+0x207/0x690 crypto/scatterwalk.c:43 scatterwalk_map_and_copy+0x10d/0x1a0 crypto/scatterwalk.c:72 gcmaes_encrypt.constprop.14+0x1c0/0xae0 arch/x86/crypto/aesni-intel_glue.c:778 kobject: 'rx-0' (ffff88809ba20610): calling ktype release generic_gcmaes_encrypt+0xf8/0x13d arch/x86/crypto/aesni-intel_glue.c:1111 crypto_aead_encrypt include/crypto/aead.h:330 [inline] gcmaes_wrapper_encrypt+0xe5/0x140 arch/x86/crypto/aesni-intel_glue.c:945 crypto_aead_encrypt include/crypto/aead.h:330 [inline] tls_do_encryption net/tls/tls_sw.c:234 [inline] tls_push_record+0x8ec/0x14d0 net/tls/tls_sw.c:270 kobject: 'rx-0': free name tls_sw_sendpage+0x446/0xc50 net/tls/tls_sw.c:617 inet_sendpage+0x125/0x600 net/ipv4/af_inet.c:779 kernel_sendpage+0x63/0xd0 net/socket.c:3406 sock_sendpage+0x6d/0xd0 net/socket.c:871 pipe_to_sendpage+0x208/0x420 fs/splice.c:451 kobject: 'tx-0' (ffff888091345d18): kobject_cleanup, parent ffff88809b466a48 splice_from_pipe_feed fs/splice.c:502 [inline] __splice_from_pipe+0x2d4/0x730 fs/splice.c:626 splice_from_pipe+0xb5/0x110 fs/splice.c:661 generic_splice_sendpage+0x10/0x20 fs/splice.c:832 do_splice_from fs/splice.c:851 [inline] direct_splice_actor+0x107/0x1c0 fs/splice.c:1018 splice_direct_to_actor+0x27f/0x760 fs/splice.c:973 do_splice_direct+0x144/0x250 fs/splice.c:1061 kobject: 'tx-0' (ffff888091345d18): auto cleanup 'remove' event kobject: 'tx-0' (ffff888091345d18): kobject_uevent_env do_sendfile+0x463/0xd00 fs/read_write.c:1441 kobject: 'tx-0' (ffff888091345d18): kobject_uevent_env: uevent_suppress caused the event to drop! SYSC_sendfile64 fs/read_write.c:1502 [inline] SyS_sendfile64+0xf5/0x110 fs/read_write.c:1488 do_syscall_64+0x1c9/0x5b0 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x446879 kobject: 'tx-0' (ffff888091345d18): auto cleanup kobject_del RSP: 002b:00007f2ff3812d08 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 00000000006dbc28 RCX: 0000000000446879 RDX: 0000000000000000 RSI: 0000000000000007 RDI: 0000000000000006 RBP: 00000000006dbc20 R08: 0000000000000002 R09: 65732f636f003931 R10: 0000000000006785 R11: 0000000000000246 R12: 00000000006dbc2c R13: 00007f2ff3812d10 R14: 0000000000000008 R15: 0000000000000000 Allocated by task 7065: save_stack_trace+0x16/0x20 arch/x86/kernel/stacktrace.c:59 save_stack+0x43/0xd0 mm/kasan/kasan.c:447 set_track mm/kasan/kasan.c:459 [inline] kasan_kmalloc+0xc7/0xe0 mm/kasan/kasan.c:551 kasan_slab_alloc+0x12/0x20 mm/kasan/kasan.c:489 kmem_cache_alloc_node+0x144/0x790 mm/slab.c:3642 __alloc_skb+0x92/0x500 net/core/skbuff.c:193 alloc_skb include/linux/skbuff.h:980 [inline] nlmsg_new include/net/netlink.h:511 [inline] mpls_netconf_notify_devconf+0x3b/0xd0 net/mpls/af_mpls.c:1158 mpls_dev_sysctl_unregister+0x99/0xc0 net/mpls/af_mpls.c:1361 mpls_dev_notify+0x45f/0x5e6 net/mpls/af_mpls.c:1544 notifier_call_chain+0xdb/0x160 kernel/notifier.c:93 kobject: 'tx-0' (ffff888091345d18): calling ktype release __raw_notifier_call_chain kernel/notifier.c:394 [inline] raw_notifier_call_chain+0x11/0x20 kernel/notifier.c:401 call_netdevice_notifiers_info+0x4b/0x60 net/core/dev.c:1671 call_netdevice_notifiers net/core/dev.c:1687 [inline] rollback_registered_many+0x655/0xb20 net/core/dev.c:7213 unregister_netdevice_many+0x3e/0x1f0 net/core/dev.c:8267 ip6gre_exit_net+0x394/0x570 net/ipv6/ip6_gre.c:1208 ops_exit_list.isra.7+0x8e/0x130 net/core/net_namespace.c:142 cleanup_net+0x39d/0x800 net/core/net_namespace.c:484 process_one_work+0x7a3/0x16c0 kernel/workqueue.c:2114 worker_thread+0xcc/0xee0 kernel/workqueue.c:2248 kthread+0x33b/0x410 kernel/kthread.c:232 ret_from_fork+0x3a/0x50 arch/x86/entry/entry_64.S:404 Freed by task 7065: save_stack_trace+0x16/0x20 arch/x86/kernel/stacktrace.c:59 save_stack+0x43/0xd0 mm/kasan/kasan.c:447 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] kmem_cache_free+0x80/0x2d0 mm/slab.c:3758 kfree_skbmem+0x88/0xf0 net/core/skbuff.c:586 __kfree_skb net/core/skbuff.c:646 [inline] consume_skb+0x8c/0x2a0 net/core/skbuff.c:705 netlink_broadcast_filtered+0x276/0x900 net/netlink/af_netlink.c:1488 netlink_broadcast net/netlink/af_netlink.c:1510 [inline] nlmsg_multicast include/net/netlink.h:591 [inline] nlmsg_notify+0x6b/0x120 net/netlink/af_netlink.c:2475 kobject: 'tx-0': free name rtnl_notify+0x86/0xe0 net/core/rtnetlink.c:653 mpls_netconf_notify_devconf+0x81/0xd0 net/mpls/af_mpls.c:1170 kobject: 'queues' (ffff88809b466a48): kobject_cleanup, parent (null) mpls_dev_sysctl_unregister+0x99/0xc0 net/mpls/af_mpls.c:1361 kobject: 'queues' (ffff88809b466a48): calling ktype release mpls_dev_notify+0x45f/0x5e6 net/mpls/af_mpls.c:1544 notifier_call_chain+0xdb/0x160 kernel/notifier.c:93 kobject: 'queues' (ffff88809b466a48): kset_release __raw_notifier_call_chain kernel/notifier.c:394 [inline] raw_notifier_call_chain+0x11/0x20 kernel/notifier.c:401 call_netdevice_notifiers_info+0x4b/0x60 net/core/dev.c:1671 kobject: 'queues': free name call_netdevice_notifiers net/core/dev.c:1687 [inline] rollback_registered_many+0x655/0xb20 net/core/dev.c:7213 unregister_netdevice_many+0x3e/0x1f0 net/core/dev.c:8267 ip6gre_exit_net+0x394/0x570 net/ipv6/ip6_gre.c:1208 ops_exit_list.isra.7+0x8e/0x130 net/core/net_namespace.c:142 cleanup_net+0x39d/0x800 net/core/net_namespace.c:484 process_one_work+0x7a3/0x16c0 kernel/workqueue.c:2114 worker_thread+0xcc/0xee0 kernel/workqueue.c:2248 kthread+0x33b/0x410 kernel/kthread.c:232 ret_from_fork+0x3a/0x50 arch/x86/entry/entry_64.S:404 The buggy address belongs to the object at ffff888098f4b080 which belongs to the cache skbuff_head_cache of size 232 The buggy address is located 128 bytes to the left of 232-byte region [ffff888098f4b080, ffff888098f4b168) The buggy address belongs to the page: page:ffffea000263d2c0 count:1 mapcount:0 mapping:ffff888098f4b080 index:0x0 flags: 0x1fffc0000000100(slab) raw: 01fffc0000000100 ffff888098f4b080 0000000000000000 000000010000000c raw: ffffea00021bc820 ffffea00024b5e60 ffff88821b720540 0000000000000000 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff888098f4af00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff888098f4af80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >ffff888098f4b000: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ^ ffff888098f4b080: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb kobject: 'veth0_to_hsr' (ffff888098a0ef30): kobject_uevent_env ffff888098f4b100: fb fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc ==================================================================