IPVS: set_ctl: invalid protocol: 45975 236.44.193.237:56990  IPVS: set_ctl: invalid protocol: 45975 236.44.193.237:56990  ================================================================== BUG: KASAN: stack-out-of-bounds in string+0x1e8/0x200 lib/vsprintf.c:592 at addr ffff8801ccc6fd04 Read of size 1 by task syzkaller049136/3491 page:ffffea0007331bc0 count:0 mapcount:0 mapping: (null) index:0x0 flags: 0x8000000000000000() page dumped because: kasan: bad access detected CPU: 1 PID: 3491 Comm: syzkaller049136 Not tainted 4.9.42-g02f29ab #24 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ffff8801ccc6f768 ffffffff81d92909 ffffed003998dfa0 0000000000000001 0000000000000000 ffffed003998dfa0 ffff8801ccc6fd04 ffff8801ccc6f7f0 ffffffff8153ca83 1ffff1003998defb ffffffff83f1c708 ffffffff81db48d8 Call Trace: [] __dump_stack lib/dump_stack.c:15 [inline] [] dump_stack+0xc1/0x128 lib/dump_stack.c:51 [] print_address_description mm/kasan/report.c:208 [inline] [] kasan_report_error mm/kasan/report.c:287 [inline] [] kasan_report.part.1+0x4c3/0x500 mm/kasan/report.c:309 [] kasan_report mm/kasan/report.c:327 [inline] [] __asan_report_load1_noabort+0x29/0x30 mm/kasan/report.c:327 [] string+0x1e8/0x200 lib/vsprintf.c:592 [] vsnprintf+0x7ad/0x16d0 lib/vsprintf.c:2044 [] vscnprintf+0x2d/0x60 lib/vsprintf.c:2147 [] vprintk_emit+0xf1/0x750 kernel/printk/printk.c:1847 [] vprintk+0x28/0x30 kernel/printk/printk.c:1913 [] vprintk_default+0x1d/0x30 kernel/printk/printk.c:1914 [] vprintk_func kernel/printk/internal.h:36 [inline] [] printk+0xb7/0xe2 kernel/printk/printk.c:1975 [] do_ip_vs_set_ctl+0xa01/0xc00 net/netfilter/ipvs/ip_vs_ctl.c:2435 [] nf_sockopt net/netfilter/nf_sockopt.c:105 [inline] [] nf_setsockopt+0x67/0xc0 net/netfilter/nf_sockopt.c:114 [] ip_setsockopt+0xa1/0xb0 net/ipv4/ip_sockglue.c:1243 [] udp_setsockopt+0x45/0x80 net/ipv4/udp.c:2086 [] sock_common_setsockopt+0x95/0xd0 net/core/sock.c:2705 [] SYSC_setsockopt net/socket.c:1771 [inline] [] SyS_setsockopt+0x160/0x250 net/socket.c:1750 [] entry_SYSCALL_64_fastpath+0x23/0xc6 Memory state around the buggy address: ffff8801ccc6fc00: 00 00 00 00 00 04 f2 f2 f2 f2 f2 f2 00 00 00 00 ffff8801ccc6fc80: 00 00 00 00 f2 f2 f2 f2 00 00 00 00 00 00 00 00 >ffff8801ccc6fd00: 04 f2 f2 f2 00 00 00 00 00 00 00 00 00 00 00 00 ^ ffff8801ccc6fd80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff8801ccc6fe00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ================================================================== ================================================================== BUG: KASAN: stack-out-of-bounds in string+0x1e8/0x200 lib/vsprintf.c:592 at addr ffff8801ccc6fd05 Read of size 1 by task syzkaller049136/3491 page:ffffea0007331bc0 count:0 mapcount:0 mapping: (null) index:0x0 flags: 0x8000000000000000() page dumped because: kasan: bad access detected CPU: 1 PID: 3491 Comm: syzkaller049136 Tainted: G B 4.9.42-g02f29ab #24 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ffff8801ccc6f768 ffffffff81d92909 ffffed003998dfa0 0000000000000001 0000000000000000 ffffed003998dfa0 ffff8801ccc6fd05 ffff8801ccc6f7f0 ffffffff8153ca83 0000000000000010 ffffffff00000000 ffffffff81db48d8 Call Trace: [] __dump_stack lib/dump_stack.c:15 [inline] [] dump_stack+0xc1/0x128 lib/dump_stack.c:51 [] print_address_description mm/kasan/report.c:208 [inline] [] kasan_report_error mm/kasan/report.c:287 [inline] [] kasan_report.part.1+0x4c3/0x500 mm/kasan/report.c:309 [] kasan_report mm/kasan/report.c:327 [inline] [] __asan_report_load1_noabort+0x29/0x30 mm/kasan/report.c:327 [] string+0x1e8/0x200 lib/vsprintf.c:592 [] vsnprintf+0x7ad/0x16d0 lib/vsprintf.c:2044 [] vscnprintf+0x2d/0x60 lib/vsprintf.c:2147 [] vprintk_emit+0xf1/0x750 kernel/printk/printk.c:1847 [] vprintk+0x28/0x30 kernel/printk/printk.c:1913 [] vprintk_default+0x1d/0x30 kernel/printk/printk.c:1914 [] vprintk_func kernel/printk/internal.h:36 [inline] [] printk+0xb7/0xe2 kernel/printk/printk.c:1975 [] do_ip_vs_set_ctl+0xa01/0xc00 net/netfilter/ipvs/ip_vs_ctl.c:2435 [] nf_sockopt net/netfilter/nf_sockopt.c:105 [inline] [] nf_setsockopt+0x67/0xc0 net/netfilter/nf_sockopt.c:114 [] ip_setsockopt+0xa1/0xb0 net/ipv4/ip_sockglue.c:1243 [] udp_setsockopt+0x45/0x80 net/ipv4/udp.c:2086 [] sock_common_setsockopt+0x95/0xd0 net/core/sock.c:2705 [] SYSC_setsockopt net/socket.c:1771 [inline] [] SyS_setsockopt+0x160/0x250 net/socket.c:1750 [] entry_SYSCALL_64_fastpath+0x23/0xc6 Memory state around the buggy address: ffff8801ccc6fc00: 00 00 00 00 00 04 f2 f2 f2 f2 f2 f2 00 00 00 00 ffff8801ccc6fc80: 00 00 00 00 f2 f2 f2 f2 00 00 00 00 00 00 00 00 >ffff8801ccc6fd00: 04 f2 f2 f2 00 00 00 00 00 00 00 00 00 00 00 00 ^ ffff8801ccc6fd80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff8801ccc6fe00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ================================================================== ================================================================== BUG: KASAN: stack-out-of-bounds in string+0x1e8/0x200 lib/vsprintf.c:592 at addr ffff8801ccc6fd06 Read of size 1 by task syzkaller049136/3491 page:ffffea0007331bc0 count:0 mapcount:0 mapping: (null) index:0x0 flags: 0x8000000000000000() page dumped because: kasan: bad access detected CPU: 1 PID: 3491 Comm: syzkaller049136 Tainted: G B 4.9.42-g02f29ab #24 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ffff8801ccc6f768 ffffffff81d92909 ffffed003998dfa0 0000000000000001 0000000000000000 ffffed003998dfa0 ffff8801ccc6fd06 ffff8801ccc6f7f0 ffffffff8153ca83 0000000000000010 ffffffff00000000 ffffffff81db48d8 Call Trace: [] __dump_stack lib/dump_stack.c:15 [inline] [] dump_stack+0xc1/0x128 lib/dump_stack.c:51 [] print_address_description mm/kasan/report.c:208 [inline] [] kasan_report_error mm/kasan/report.c:287 [inline] [] kasan_report.part.1+0x4c3/0x500 mm/kasan/report.c:309 [] kasan_report mm/kasan/report.c:327 [inline] [] __asan_report_load1_noabort+0x29/0x30 mm/kasan/report.c:327 [] string+0x1e8/0x200 lib/vsprintf.c:592 [] vsnprintf+0x7ad/0x16d0 lib/vsprintf.c:2044 [] vscnprintf+0x2d/0x60 lib/vsprintf.c:2147 [] vprintk_emit+0xf1/0x750 kernel/printk/printk.c:1847 [] vprintk+0x28/0x30 kernel/printk/printk.c:1913 [] vprintk_default+0x1d/0x30 kernel/printk/printk.c:1914 [] vprintk_func kernel/printk/internal.h:36 [inline] [] printk+0xb7/0xe2 kernel/printk/printk.c:1975 [] do_ip_vs_set_ctl+0xa01/0xc00 net/netfilter/ipvs/ip_vs_ctl.c:2435 [] nf_sockopt net/netfilter/nf_sockopt.c:105 [inline] [] nf_setsockopt+0x67/0xc0 net/netfilter/nf_sockopt.c:114 [] ip_setsockopt+0xa1/0xb0 net/ipv4/ip_sockglue.c:1243 [] udp_setsockopt+0x45/0x80 net/ipv4/udp.c:2086 [] sock_common_setsockopt+0x95/0xd0 net/core/sock.c:2705 [] SYSC_setsockopt net/socket.c:1771 [inline] [] SyS_setsockopt+0x160/0x250 net/socket.c:1750 [] entry_SYSCALL_64_fastpath+0x23/0xc6 Memory state around the buggy address: ffff8801ccc6fc00: 00 00 00 00 00 04 f2 f2 f2 f2 f2 f2 00 00 00 00 ffff8801ccc6fc80: 00 00 00 00 f2 f2 f2 f2 00 00 00 00 00 00 00 00