================================================================== BUG: KASAN: slab-out-of-bounds in ip6_setup_cork+0xf4a/0x1200 net/ipv6/ip6_output.c:1230 at addr ffff8801d8707d3c Write of size 4 by task syz-executor4/32581 CPU: 1 PID: 32581 Comm: syz-executor4 Not tainted 4.9.60-g4ca16e6 #83 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ffff8801a4c4f608 ffffffff81d91389 ffff8801da001c80 ffff8801d8707d38 ffff8801d8707d40 ffffed003b0e0fa7 ffff8801d8707d3c ffff8801a4c4f630 ffffffff8153c1bc ffffed003b0e0fa7 ffff8801da001c80 0000000000000001 Call Trace: [] __dump_stack lib/dump_stack.c:15 [inline] [] dump_stack+0xc1/0x128 lib/dump_stack.c:51 [] kasan_object_err+0x1c/0x70 mm/kasan/report.c:160 [] print_address_description mm/kasan/report.c:198 [inline] [] kasan_report_error mm/kasan/report.c:287 [inline] [] kasan_report.part.1+0x21c/0x500 mm/kasan/report.c:309 [] kasan_report mm/kasan/report.c:334 [inline] [] __asan_report_store4_noabort+0x2c/0x30 mm/kasan/report.c:334 [] ip6_setup_cork+0xf4a/0x1200 net/ipv6/ip6_output.c:1230 [] ip6_make_skb+0x1b8/0x440 net/ipv6/ip6_output.c:1802 [] udpv6_sendmsg+0x1b1d/0x2540 net/ipv6/udp.c:1240 [] inet_sendmsg+0x2bc/0x4c0 net/ipv4/af_inet.c:753 [] sock_sendmsg_nosec net/socket.c:635 [inline] [] sock_sendmsg+0xca/0x110 net/socket.c:645 [] SYSC_sendto+0x2c8/0x340 net/socket.c:1670 [] SyS_sendto+0x40/0x50 net/socket.c:1638 [] entry_SYSCALL_64_fastpath+0x23/0xc6 Object at ffff8801d8707d38, in cache kmalloc-8 size: 8 Allocated: PID = 32581 save_stack_trace+0x16/0x20 arch/x86/kernel/stacktrace.c:57 save_stack+0x43/0xd0 mm/kasan/kasan.c:495 set_track mm/kasan/kasan.c:507 [inline] kasan_kmalloc+0xad/0xe0 mm/kasan/kasan.c:598 __kmalloc+0x11d/0x310 mm/slub.c:3741 kmalloc include/linux/slab.h:495 [inline] kzalloc include/linux/slab.h:636 [inline] ip6_setup_cork+0x194/0x1200 net/ipv6/ip6_output.c:1226 ip6_make_skb+0x1b8/0x440 net/ipv6/ip6_output.c:1802 udpv6_sendmsg+0x1b1d/0x2540 net/ipv6/udp.c:1240 inet_sendmsg+0x2bc/0x4c0 net/ipv4/af_inet.c:753 sock_sendmsg_nosec net/socket.c:635 [inline] sock_sendmsg+0xca/0x110 net/socket.c:645 SYSC_sendto+0x2c8/0x340 net/socket.c:1670 SyS_sendto+0x40/0x50 net/socket.c:1638 entry_SYSCALL_64_fastpath+0x23/0xc6 Freed: PID = 6 save_stack_trace+0x16/0x20 arch/x86/kernel/stacktrace.c:57 save_stack+0x43/0xd0 mm/kasan/kasan.c:495 set_track mm/kasan/kasan.c:507 [inline] kasan_slab_free+0x73/0xc0 mm/kasan/kasan.c:571 slab_free_hook mm/slub.c:1355 [inline] slab_free_freelist_hook mm/slub.c:1377 [inline] slab_free mm/slub.c:2958 [inline] kfree+0xf0/0x2f0 mm/slub.c:3878 kfree_const+0x31/0x40 mm/util.c:35 kernfs_put+0x15c/0x550 fs/kernfs/dir.c:517 sysfs_put include/linux/sysfs.h:528 [inline] kobject_del.part.3+0x42/0xf0 lib/kobject.c:578 kobject_del lib/kobject.c:676 [inline] kobject_cleanup lib/kobject.c:639 [inline] kobject_release+0x125/0x1a0 lib/kobject.c:674 kref_sub include/linux/kref.h:73 [inline] kref_put include/linux/kref.h:98 [inline] kobject_put+0x63/0xc0 lib/kobject.c:691 net_rx_queue_update_kobjects+0x21f/0x3b0 net/core/net-sysfs.c:956 remove_queue_kobjects net/core/net-sysfs.c:1395 [inline] netdev_unregister_kobject+0x9d/0x110 net/core/net-sysfs.c:1530 rollback_registered_many+0x562/0x960 net/core/dev.c:6828 unregister_netdevice_many.part.102+0x1b/0x110 net/core/dev.c:7852 unregister_netdevice_many+0x39/0x50 net/core/dev.c:7851 sit_exit_net+0x3fe/0x600 net/ipv6/sit.c:1853 ops_exit_list.isra.4+0xae/0x150 net/core/net_namespace.c:136 cleanup_net+0x31d/0x610 net/core/net_namespace.c:454 process_one_work+0x78f/0x15f0 kernel/workqueue.c:2090 worker_thread+0xe0/0x10d0 kernel/workqueue.c:2224 kthread+0x26d/0x300 kernel/kthread.c:211 ret_from_fork+0x2a/0x40 arch/x86/entry/entry_64.S:433 Memory state around the buggy address: ffff8801d8707c00: 00 fc fc 00 fc fc fb fc fc fb fc fc fb fc fc fb ffff8801d8707c80: fc fc 00 fc fc fb fc fc fb fc fc fb fc fc fb fc >ffff8801d8707d00: fc 04 fc fc fb fc fc 01 fc fc 00 fc fc 00 fc fc ^ ffff8801d8707d80: 00 fc fc 00 fc fc 00 fc fc 00 fc fc 00 fc fc 00 ffff8801d8707e00: fc fc 00 fc fc 00 fc fc 00 fc fc 00 fc fc 00 fc ================================================================== ================================================================== BUG: KASAN: slab-out-of-bounds in ip6_setup_cork+0xf2c/0x1200 net/ipv6/ip6_output.c:1231 at addr ffff8801d8707d40 Write of size 2 by task syz-executor4/32581 CPU: 1 PID: 32581 Comm: syz-executor4 Tainted: G B 4.9.60-g4ca16e6 #83 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ffff8801a4c4f608 ffffffff81d91389 ffff8801da001c80 ffff8801d8707d38 ffff8801d8707d40 ffffed003b0e0fa8 ffff8801d8707d40 ffff8801a4c4f630 ffffffff8153c1bc ffffed003b0e0fa8 ffff8801da001c80 0000000000000001 Call Trace: [] __dump_stack lib/dump_stack.c:15 [inline] [] dump_stack+0xc1/0x128 lib/dump_stack.c:51 [] kasan_object_err+0x1c/0x70 mm/kasan/report.c:160 [] print_address_description mm/kasan/report.c:198 [inline] [] kasan_report_error mm/kasan/report.c:287 [inline] [] kasan_report.part.1+0x21c/0x500 mm/kasan/report.c:309 [] kasan_report mm/kasan/report.c:333 [inline] [] __asan_report_store2_noabort+0x2c/0x30 mm/kasan/report.c:333 [] ip6_setup_cork+0xf2c/0x1200 net/ipv6/ip6_output.c:1231 [] ip6_make_skb+0x1b8/0x440 net/ipv6/ip6_output.c:1802 [] udpv6_sendmsg+0x1b1d/0x2540 net/ipv6/udp.c:1240 [] inet_sendmsg+0x2bc/0x4c0 net/ipv4/af_inet.c:753 [] sock_sendmsg_nosec net/socket.c:635 [inline] [] sock_sendmsg+0xca/0x110 net/socket.c:645 [] SYSC_sendto+0x2c8/0x340 net/socket.c:1670 [] SyS_sendto+0x40/0x50 net/socket.c:1638 [] entry_SYSCALL_64_fastpath+0x23/0xc6 Object at ffff8801d8707d38, in cache kmalloc-8 size: 8 Allocated: PID = 32581 save_stack_trace+0x16/0x20 arch/x86/kernel/stacktrace.c:57 save_stack+0x43/0xd0 mm/kasan/kasan.c:495 set_track mm/kasan/kasan.c:507 [inline] kasan_kmalloc+0xad/0xe0 mm/kasan/kasan.c:598 __kmalloc+0x11d/0x310 mm/slub.c:3741 kmalloc include/linux/slab.h:495 [inline] kzalloc include/linux/slab.h:636 [inline] ip6_setup_cork+0x194/0x1200 net/ipv6/ip6_output.c:1226 ip6_make_skb+0x1b8/0x440 net/ipv6/ip6_output.c:1802 udpv6_sendmsg+0x1b1d/0x2540 net/ipv6/udp.c:1240 inet_sendmsg+0x2bc/0x4c0 net/ipv4/af_inet.c:753 sock_sendmsg_nosec net/socket.c:635 [inline] sock_sendmsg+0xca/0x110 net/socket.c:645 SYSC_sendto+0x2c8/0x340 net/socket.c:1670 SyS_sendto+0x40/0x50 net/socket.c:1638 entry_SYSCALL_64_fastpath+0x23/0xc6 Freed: PID = 6 save_stack_trace+0x16/0x20 arch/x86/kernel/stacktrace.c:57 save_stack+0x43/0xd0 mm/kasan/kasan.c:495 set_track mm/kasan/kasan.c:507 [inline] kasan_slab_free+0x73/0xc0 mm/kasan/kasan.c:571 slab_free_hook mm/slub.c:1355 [inline] slab_free_freelist_hook mm/slub.c:1377 [inline] slab_free mm/slub.c:2958 [inline] kfree+0xf0/0x2f0 mm/slub.c:3878 kfree_const+0x31/0x40 mm/util.c:35 kernfs_put+0x15c/0x550 fs/kernfs/dir.c:517 sysfs_put include/linux/sysfs.h:528 [inline] kobject_del.part.3+0x42/0xf0 lib/kobject.c:578 kobject_del lib/kobject.c:676 [inline] kobject_cleanup lib/kobject.c:639 [inline] kobject_release+0x125/0x1a0 lib/kobject.c:674 kref_sub include/linux/kref.h:73 [inline] kref_put include/linux/kref.h:98 [inline] kobject_put+0x63/0xc0 lib/kobject.c:691 net_rx_queue_update_kobjects+0x21f/0x3b0 net/core/net-sysfs.c:956 remove_queue_kobjects net/core/net-sysfs.c:1395 [inline] netdev_unregister_kobject+0x9d/0x110 net/core/net-sysfs.c:1530 rollback_registered_many+0x562/0x960 net/core/dev.c:6828 unregister_netdevice_many.part.102+0x1b/0x110 net/core/dev.c:7852 unregister_netdevice_many+0x39/0x50 net/core/dev.c:7851 sit_exit_net+0x3fe/0x600 net/ipv6/sit.c:1853 ops_exit_list.isra.4+0xae/0x150 net/core/net_namespace.c:136 cleanup_net+0x31d/0x610 net/core/net_namespace.c:454 process_one_work+0x78f/0x15f0 kernel/workqueue.c:2090 worker_thread+0xe0/0x10d0 kernel/workqueue.c:2224 kthread+0x26d/0x300 kernel/kthread.c:211 ret_from_fork+0x2a/0x40 arch/x86/entry/entry_64.S:433 Memory state around the buggy address: ffff8801d8707c00: 00 fc fc 00 fc fc fb fc fc fb fc fc fb fc fc fb ffff8801d8707c80: fc fc 00 fc fc fb fc fc fb fc fc fb fc fc fb fc >ffff8801d8707d00: fc 04 fc fc fb fc fc 01 fc fc 00 fc fc 00 fc fc ^ ffff8801d8707d80: 00 fc fc 00 fc fc 00 fc fc 00 fc fc 00 fc fc 00 ffff8801d8707e00: fc fc 00 fc fc 00 fc fc 00 fc fc 00 fc fc 00 fc ================================================================== ================================================================== BUG: KASAN: slab-out-of-bounds in ip6_setup_cork+0xf40/0x1200 net/ipv6/ip6_output.c:1232 at addr ffff8801d8707d42 Write of size 2 by task syz-executor4/32581 CPU: 1 PID: 32581 Comm: syz-executor4 Tainted: G B 4.9.60-g4ca16e6 #83 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ffff8801a4c4f608 ffffffff81d91389 ffff8801da001c80 ffff8801d8707d38 ffff8801d8707d40 ffffed003b0e0fa8 ffff8801d8707d42 ffff8801a4c4f630 ffffffff8153c1bc ffffed003b0e0fa8 ffff8801da001c80 0000000000000001 Call Trace: [] __dump_stack lib/dump_stack.c:15 [inline] [] dump_stack+0xc1/0x128 lib/dump_stack.c:51 [] kasan_object_err+0x1c/0x70 mm/kasan/report.c:160 [] print_address_description mm/kasan/report.c:198 [inline] [] kasan_report_error mm/kasan/report.c:287 [inline] [] kasan_report.part.1+0x21c/0x500 mm/kasan/report.c:309 [] kasan_report mm/kasan/report.c:333 [inline] [] __asan_report_store2_noabort+0x2c/0x30 mm/kasan/report.c:333 [] ip6_setup_cork+0xf40/0x1200 net/ipv6/ip6_output.c:1232 [] ip6_make_skb+0x1b8/0x440 net/ipv6/ip6_output.c:1802 [] udpv6_sendmsg+0x1b1d/0x2540 net/ipv6/udp.c:1240 [] inet_sendmsg+0x2bc/0x4c0 net/ipv4/af_inet.c:753 [] sock_sendmsg_nosec net/socket.c:635 [inline] [] sock_sendmsg+0xca/0x110 net/socket.c:645 [] SYSC_sendto+0x2c8/0x340 net/socket.c:1670 [] SyS_sendto+0x40/0x50 net/socket.c:1638 [] entry_SYSCALL_64_fastpath+0x23/0xc6 Object at ffff8801d8707d38, in cache kmalloc-8 size: 8 Allocated: PID = 8 save_stack_trace+0x16/0x20 arch/x86/kernel/stacktrace.c:57 save_stack+0x43/0xd0 mm/kasan/kasan.c:495 set_track mm/kasan/kasan.c:507 [inline] kasan_kmalloc+0xad/0xe0 mm/kasan/kasan.c:598 __kmalloc+0x11d/0x310 mm/slub.c:3741 kmalloc include/linux/slab.h:495 [inline] kzalloc include/linux/slab.h:636 [inline] ip6_setup_cork+0x194/0x1200 net/ipv6/ip6_output.c:1226 ip6_make_skb+0x1b8/0x440 net/ipv6/ip6_output.c:1802 udpv6_sendmsg+0x1b1d/0x2540 net/ipv6/udp.c:1240 inet_sendmsg+0x2bc/0x4c0 net/ipv4/af_inet.c:753 sock_sendmsg_nosec net/socket.c:635 [inline] sock_sendmsg+0xca/0x110 net/socket.c:645 SYSC_sendto+0x2c8/0x340 net/socket.c:1670 SyS_sendto+0x40/0x50 net/socket.c:1638 entry_SYSCALL_64_fastpath+0x23/0xc6 Freed: PID = 6 save_stack_trace+0x16/0x20 arch/x86/kernel/stacktrace.c:57 save_stack+0x43/0xd0 mm/kasan/kasan.c:495 set_track mm/kasan/kasan.c:507 [inline] kasan_slab_free+0x73/0xc0 mm/kasan/kasan.c:571 slab_free_hook mm/slub.c:1355 [inline] slab_free_freelist_hook mm/slub.c:1377 [inline] slab_free mm/slub.c:2958 [inline] kfree+0xf0/0x2f0 mm/slub.c:3878 kfree_const+0x31/0x40 mm/util.c:35 kernfs_put+0x15c/0x550 fs/kernfs/dir.c:517 sysfs_put include/linux/sysfs.h:528 [inline] kobject_del.part.3+0x42/0xf0 lib/kobject.c:578 kobject_del lib/kobject.c:676 [inline] kobject_cleanup lib/kobject.c:639 [inline] kobject_release+0x125/0x1a0 lib/kobject.c:674 kref_sub include/linux/kref.h:73 [inline] kref_put include/linux/kref.h:98 [inline] kobject_put+0x63/0xc0 lib/kobject.c:691 net_rx_queue_update_kobjects+0x21f/0x3b0 net/core/net-sysfs.c:956 remove_queue_kobjects net/core/net-sysfs.c:1395 [inline] netdev_unregister_kobject+0x9d/0x110 net/core/net-sysfs.c:1530 rollback_registered_many+0x562/0x960 net/core/dev.c:6828 unregister_netdevice_many.part.102+0x1b/0x110 net/core/dev.c:7852 unregister_netdevice_many+0x39/0x50 net/core/dev.c:7851 sit_exit_net+0x3fe/0x600 net/ipv6/sit.c:1853 ops_exit_list.isra.4+0xae/0x150 net/core/net_namespace.c:136 cleanup_net+0x31d/0x610 net/core/net_namespace.c:454 process_one_work+0x78f/0x15f0 kernel/workqueue.c:2090 worker_thread+0xe0/0x10d0 kernel/workqueue.c:2224 kthread+0x26d/0x300 kernel/kthread.c:211 ret_from_fork+0x2a/0x40 arch/x86/entry/entry_64.S:433 Memory state around the buggy address: ffff8801d8707c00: 00 fc fc 00 fc fc fb fc fc fb fc fc fb fc fc fb ffff8801d8707c80: fc fc 00 fc fc fb fc fc fb fc fc fb fc fc fb fc >ffff8801d8707d00: fc 04 fc fc fb fc fc 01 fc fc 00 fc fc 00 fc fc ^ ffff8801d8707d80: 00 fc fc 00 fc fc 00 fc fc 00 fc fc 00 fc fc 00 ffff8801d8707e00: fc fc 00 fc fc 00 fc fc 00 fc fc 00 fc fc 00 fc ================================================================== ================================================================== BUG: KASAN: slab-out-of-bounds in ip6_setup_cork+0x1102/0x1200 net/ipv6/ip6_output.c:1239 at addr ffff8801d8707d60 Write of size 8 by task syz-executor4/32581 CPU: 1 PID: 32581 Comm: syz-executor4 Tainted: G B 4.9.60-g4ca16e6 #83 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ffff8801a4c4f608 ffffffff81d91389 ffff8801da001c80 ffff8801d8707d50 ffff8801d8707d58 ffffed003b0e0fac ffff8801d8707d60 ffff8801a4c4f630 ffffffff8153c1bc ffffed003b0e0fac ffff8801da001c80 0000000000000001 Call Trace: [] __dump_stack lib/dump_stack.c:15 [inline] [] dump_stack+0xc1/0x128 lib/dump_stack.c:51 [] kasan_object_err+0x1c/0x70 mm/kasan/report.c:160 [] print_address_description mm/kasan/report.c:198 [inline] [] kasan_report_error mm/kasan/report.c:287 [inline] [] kasan_report.part.1+0x21c/0x500 mm/kasan/report.c:309 [] kasan_report mm/kasan/report.c:335 [inline] [] __asan_report_store8_noabort+0x2c/0x30 mm/kasan/report.c:335 [] ip6_setup_cork+0x1102/0x1200 net/ipv6/ip6_output.c:1239 [] ip6_make_skb+0x1b8/0x440 net/ipv6/ip6_output.c:1802 [] udpv6_sendmsg+0x1b1d/0x2540 net/ipv6/udp.c:1240 [] inet_sendmsg+0x2bc/0x4c0 net/ipv4/af_inet.c:753 [] sock_sendmsg_nosec net/socket.c:635 [inline] [] sock_sendmsg+0xca/0x110 net/socket.c:645 [] SYSC_sendto+0x2c8/0x340 net/socket.c:1670 [] SyS_sendto+0x40/0x50 net/socket.c:1638 [] entry_SYSCALL_64_fastpath+0x23/0xc6 Object at ffff8801d8707d50, in cache kmalloc-8 size: 8 Allocated: PID = 1 save_stack_trace+0x16/0x20 arch/x86/kernel/stacktrace.c:57 save_stack+0x43/0xd0 mm/kasan/kasan.c:495 set_track mm/kasan/kasan.c:507 [inline] kasan_kmalloc+0xad/0xe0 mm/kasan/kasan.c:598 kasan_slab_alloc+0x12/0x20 mm/kasan/kasan.c:537 slab_post_alloc_hook mm/slab.h:417 [inline] slab_alloc_node mm/slub.c:2715 [inline] slab_alloc mm/slub.c:2723 [inline] __kmalloc_track_caller+0xda/0x2b0 mm/slub.c:4232 kstrdup+0x39/0x70 mm/util.c:53 kstrdup_const+0x39/0x50 mm/util.c:74 __kernfs_new_node+0x2b/0x2b0 fs/kernfs/dir.c:615 kernfs_new_node+0x80/0xe0 fs/kernfs/dir.c:651 kernfs_create_link+0x37/0x150 fs/kernfs/symlink.c:32 sysfs_do_create_link_sd.isra.2+0x8b/0x110 fs/sysfs/symlink.c:44 sysfs_do_create_link fs/sysfs/symlink.c:80 [inline] sysfs_create_link+0x65/0xc0 fs/sysfs/symlink.c:92 device_create_sys_dev_entry drivers/base/core.c:987 [inline] device_add+0xf53/0x1480 drivers/base/core.c:1121 device_create_groups_vargs+0x1f3/0x250 drivers/base/core.c:1729 device_create_vargs drivers/base/core.c:1769 [inline] device_create+0xc0/0xf0 drivers/base/core.c:1805 chr_dev_init+0x116/0x13e drivers/char/mem.c:916 do_one_initcall+0xaf/0x250 init/main.c:777 do_initcall_level init/main.c:843 [inline] do_initcalls init/main.c:851 [inline] do_basic_setup init/main.c:869 [inline] kernel_init_freeable+0x480/0x538 init/main.c:1013 kernel_init+0x13/0x170 init/main.c:941 ret_from_fork+0x2a/0x40 arch/x86/entry/entry_64.S:433 Freed: PID = 0 (stack is not available) Memory state around the buggy address: ffff8801d8707c00: 00 fc fc 00 fc fc fb fc fc fb fc fc fb fc fc fb ffff8801d8707c80: fc fc 00 fc fc fb fc fc fb fc fc fb fc fc fb fc >ffff8801d8707d00: fc 04 fc fc fb fc fc 01 fc fc 00 fc fc 00 fc fc ^ ffff8801d8707d80: 00 fc fc 00 fc fc 00 fc fc 00 fc fc 00 fc fc 00 ffff8801d8707e00: fc fc 00 fc fc 00 fc fc 00 fc fc 00 fc fc 00 fc ================================================================== ================================================================== BUG: KASAN: slab-out-of-bounds in ip6_setup_cork+0x10b6/0x1200 net/ipv6/ip6_output.c:1241 at addr ffff8801d8707d60 Read of size 8 by task syz-executor4/32581 CPU: 1 PID: 32581 Comm: syz-executor4 Tainted: G B 4.9.60-g4ca16e6 #83 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ffff8801a4c4f608 ffffffff81d91389 ffff8801da001c80 ffff8801d8707d50 ffff8801d8707d58 ffffed003b0e0fac ffff8801d8707d60 ffff8801a4c4f630 ffffffff8153c1bc ffffed003b0e0fac ffff8801da001c80 0000000000000000 Call Trace: [] __dump_stack lib/dump_stack.c:15 [inline] [] dump_stack+0xc1/0x128 lib/dump_stack.c:51 [] kasan_object_err+0x1c/0x70 mm/kasan/report.c:160 [] print_address_description mm/kasan/report.c:198 [inline] [] kasan_report_error mm/kasan/report.c:287 [inline] [] kasan_report.part.1+0x21c/0x500 mm/kasan/report.c:309 [] kasan_report mm/kasan/report.c:330 [inline] [] __asan_report_load8_noabort+0x29/0x30 mm/kasan/report.c:330 [] ip6_setup_cork+0x10b6/0x1200 net/ipv6/ip6_output.c:1241 [] ip6_make_skb+0x1b8/0x440 net/ipv6/ip6_output.c:1802 [] udpv6_sendmsg+0x1b1d/0x2540 net/ipv6/udp.c:1240 [] inet_sendmsg+0x2bc/0x4c0 net/ipv4/af_inet.c:753 [] sock_sendmsg_nosec net/socket.c:635 [inline] [] sock_sendmsg+0xca/0x110 net/socket.c:645 [] SYSC_sendto+0x2c8/0x340 net/socket.c:1670 [] SyS_sendto+0x40/0x50 net/socket.c:1638 [] entry_SYSCALL_64_fastpath+0x23/0xc6 Object at ffff8801d8707d50, in cache kmalloc-8 size: 8 Allocated: PID = 1 save_stack_trace+0x16/0x20 arch/x86/kernel/stacktrace.c:57 save_stack+0x43/0xd0 mm/kasan/kasan.c:495 set_track mm/kasan/kasan.c:507 [inline] kasan_kmalloc+0xad/0xe0 mm/kasan/kasan.c:598 kasan_slab_alloc+0x12/0x20 mm/kasan/kasan.c:537 slab_post_alloc_hook mm/slab.h:417 [inline] slab_alloc_node mm/slub.c:2715 [inline] slab_alloc mm/slub.c:2723 [inline] __kmalloc_track_caller+0xda/0x2b0 mm/slub.c:4232 kstrdup+0x39/0x70 mm/util.c:53 kstrdup_const+0x39/0x50 mm/util.c:74 __kernfs_new_node+0x2b/0x2b0 fs/kernfs/dir.c:615 kernfs_new_node+0x80/0xe0 fs/kernfs/dir.c:651 kernfs_create_link+0x37/0x150 fs/kernfs/symlink.c:32 sysfs_do_create_link_sd.isra.2+0x8b/0x110 fs/sysfs/symlink.c:44 sysfs_do_create_link fs/sysfs/symlink.c:80 [inline] sysfs_create_link+0x65/0xc0 fs/sysfs/symlink.c:92 device_create_sys_dev_entry drivers/base/core.c:987 [inline] device_add+0xf53/0x1480 drivers/base/core.c:1121 device_create_groups_vargs+0x1f3/0x250 drivers/base/core.c:1729 device_create_vargs drivers/base/core.c:1769 [inline] device_create+0xc0/0xf0 drivers/base/core.c:1805 chr_dev_init+0x116/0x13e drivers/char/mem.c:916 do_one_initcall+0xaf/0x250 init/main.c:777 do_initcall_level init/main.c:843 [inline] do_initcalls init/main.c:851 [inline] do_basic_setup init/main.c:869 [inline] kernel_init_freeable+0x480/0x538 init/main.c:1013 kernel_init+0x13/0x170 init/main.c:941 ret_from_fork+0x2a/0x40 arch/x86/entry/entry_64.S:433 Freed: PID = 3631249544 BUG: unable to handle kernel paging request at ffffffff87108fa8 IP: [] depot_fetch_stack+0x15/0x40 lib/stackdepot.c:194 PGD 441e067 [ 174.811651] PUD 441f063 Oops: 0000 [#1] PREEMPT SMP KASAN Dumping ftrace buffer: (ftrace buffer empty) Modules linked in: CPU: 1 PID: 32581 Comm: syz-executor4 Tainted: G B 4.9.60-g4ca16e6 #83 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff8801c82e4800 task.stack: ffff8801a4c48000 RIP: 0010:[] [] depot_fetch_stack+0x15/0x40 lib/stackdepot.c:194 RSP: 0018:ffff8801a4c4f5d8 EFLAGS: 00010006 RAX: 00000000001f8801 RBX: ffff8801d8707d60 RCX: ffffc90004117000 RDX: 0000000000000000 RSI: ffff8801a4c4f5e0 RDI: 0000000000003ff0 RBP: ffff8801a4c4f608 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000008 R11: 0000000000000000 R12: ffff8801d8707d50 R13: ffff8801d8707d58 R14: ffffed003b0e0fac R15: ffff8801d8707d60 FS: 00007f132f437700(0000) GS:ffff8801db300000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffffff87108fa8 CR3: 00000001ce7e8000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Stack: ffffffff8156353e 0000000000000000 ffff8801da001c80 0000000000000008 dde8a51cf7b81edc ffff8801da001c80 ffff8801a4c4f630 ffffffff8153c208 ffffed003b0e0fac ffff8801da001c80 0000000000000000 ffff8801a4c4f6b8 Call Trace: [] kasan_object_err+0x68/0x70 mm/kasan/report.c:170 [] print_address_description mm/kasan/report.c:198 [inline] [] kasan_report_error mm/kasan/report.c:287 [inline] [] kasan_report.part.1+0x21c/0x500 mm/kasan/report.c:309 [] kasan_report mm/kasan/report.c:330 [inline] [] __asan_report_load8_noabort+0x29/0x30 mm/kasan/report.c:330 [] ip6_setup_cork+0x10b6/0x1200 net/ipv6/ip6_output.c:1241 [] ip6_make_skb+0x1b8/0x440 net/ipv6/ip6_output.c:1802 [] udpv6_sendmsg+0x1b1d/0x2540 net/ipv6/udp.c:1240 [] inet_sendmsg+0x2bc/0x4c0 net/ipv4/af_inet.c:753 [] sock_sendmsg_nosec net/socket.c:635 [inline] [] sock_sendmsg+0xca/0x110 net/socket.c:645 [] SYSC_sendto+0x2c8/0x340 net/socket.c:1670 [] SyS_sendto+0x40/0x50 net/socket.c:1638 [] entry_SYSCALL_64_fastpath+0x23/0xc6 Code: a4 52 ff 0f 0b e8 5c ca 6f ff eb de 66 2e 0f 1f 84 00 00 00 00 00 89 f8 c1 ef 11 55 25 ff ff 1f 00 81 e7 f0 3f 00 00 48 89 e5 5d <48> 03 3c c5 a0 4f 14 86 8b 47 0c 48 83 c7 18 c7 46 10 00 00 00 RIP [] depot_fetch_stack+0x15/0x40 lib/stackdepot.c:194 RSP CR2: ffffffff87108fa8 ---[ end trace 7a7d90b1a8d3f0f1 ]---