xt_addrtype: ipv6 PROHIBIT (THROW, NAT ..) matching not supported x_tables: ip_tables: osf match: only valid for protocol 6 ================================================================================ UBSAN: Undefined behaviour in ./include/net/red.h:272:18 shift exponent 234 is too large for 64-bit type 'long unsigned int' CPU: 1 PID: 28962 Comm: syz-executor.2 Not tainted 4.19.149-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x22c/0x33e lib/dump_stack.c:118 ubsan_epilogue+0xe/0x3a lib/ubsan.c:161 __ubsan_handle_shift_out_of_bounds.cold+0x1c4/0x250 lib/ubsan.c:422 red_calc_qavg_from_idle_time include/net/red.h:272 [inline] red_adaptative_algo include/net/red.h:404 [inline] red_adaptative_timer+0x7ed/0x870 net/sched/sch_red.c:266 call_timer_fn+0x177/0x760 kernel/time/timer.c:1338 expire_timers+0x243/0x500 kernel/time/timer.c:1375 __run_timers kernel/time/timer.c:1703 [inline] run_timer_softirq+0x259/0x730 kernel/time/timer.c:1716 __do_softirq+0x27d/0xad2 kernel/softirq.c:292 invoke_softirq kernel/softirq.c:372 [inline] irq_exit+0x22d/0x270 kernel/softirq.c:412 exiting_irq arch/x86/include/asm/apic.h:544 [inline] smp_apic_timer_interrupt+0x15f/0x5d0 arch/x86/kernel/apic/apic.c:1094 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:894 RIP: 0010:arch_local_irq_restore arch/x86/include/asm/paravirt.h:789 [inline] RIP: 0010:console_unlock+0xd82/0x1080 kernel/printk/printk.c:2468 Code: 89 48 c1 e8 03 42 80 3c 38 00 0f 85 e9 02 00 00 48 83 3d 08 79 08 08 00 0f 84 ce 00 00 00 e8 75 c1 16 00 48 8b 7c 24 18 57 9d <0f> 1f 44 00 00 e9 fb fc ff ff e8 5f c1 16 00 0f 0b 48 c7 c7 00 16 RSP: 0018:ffff88804c4ef6a8 EFLAGS: 00000216 ORIG_RAX: ffffffffffffff13 RAX: 0000000000040000 RBX: 0000000000000200 RCX: ffffc90009f2a000 RDX: 000000000000c65c RSI: ffffffff815b10eb RDI: 0000000000000216 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000049 R13: ffffffff84ae3850 R14: ffffffff8a6ee950 R15: dffffc0000000000 vprintk_emit+0x2b8/0x7c0 kernel/printk/printk.c:1965 vprintk_func+0x77/0x224 kernel/printk/printk_safe.c:397 printk+0xba/0xed kernel/printk/printk.c:2040 xt_check_match+0x789/0xaf0 net/netfilter/x_tables.c:500 check_match net/ipv4/netfilter/ip_tables.c:475 [inline] find_check_match net/ipv4/netfilter/ip_tables.c:491 [inline] find_check_entry.constprop.0+0x31a/0x9a0 net/ipv4/netfilter/ip_tables.c:541 translate_table+0xda1/0x1850 net/ipv4/netfilter/ip_tables.c:720 do_replace net/ipv4/netfilter/ip_tables.c:1139 [inline] do_ipt_set_ctl+0x29d/0x41f net/ipv4/netfilter/ip_tables.c:1675 nf_sockopt net/netfilter/nf_sockopt.c:106 [inline] nf_setsockopt+0x6f/0xc0 net/netfilter/nf_sockopt.c:115 ip_setsockopt net/ipv4/ip_sockglue.c:1258 [inline] ip_setsockopt+0xd8/0xf0 net/ipv4/ip_sockglue.c:1238 udp_setsockopt+0x5d/0xa0 net/ipv4/udp.c:2552 __sys_setsockopt+0x14d/0x240 net/socket.c:1901 __do_sys_setsockopt net/socket.c:1912 [inline] __se_sys_setsockopt net/socket.c:1909 [inline] __x64_sys_setsockopt+0xba/0x150 net/socket.c:1909 do_syscall_64+0xf9/0x670 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x45dd99 Code: 0d b4 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 0f 83 db b3 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f6eb0783c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 000000000002f4c0 RCX: 000000000045dd99 RDX: 0000000000000040 RSI: 0000000000000000 RDI: 0000000000000003 RBP: 000000000118bf70 R08: 0000000000000340 R09: 0000000000000000 R10: 0000000020000000 R11: 0000000000000246 R12: 000000000118bf2c R13: 00007ffd8c398bbf R14: 00007f6eb07849c0 R15: 000000000118bf2c ================================================================================ xt_addrtype: ipv6 PROHIBIT (THROW, NAT ..) matching not supported netlink: 41648 bytes leftover after parsing attributes in process `syz-executor.3'. netlink: 41648 bytes leftover after parsing attributes in process `syz-executor.3'. xt_addrtype: ipv6 PROHIBIT (THROW, NAT ..) matching not supported x_tables: ip_tables: osf match: only valid for protocol 6 netlink: 41648 bytes leftover after parsing attributes in process `syz-executor.3'. x_tables: ip_tables: osf match: only valid for protocol 6 x_tables: ip_tables: osf match: only valid for protocol 6 x_tables: ip_tables: osf match: only valid for protocol 6 netlink: 41648 bytes leftover after parsing attributes in process `syz-executor.3'. xt_addrtype: ipv6 PROHIBIT (THROW, NAT ..) matching not supported x_tables: ip_tables: osf match: only valid for protocol 6 x_tables: ip_tables: osf match: only valid for protocol 6 xt_addrtype: ipv6 PROHIBIT (THROW, NAT ..) matching not supported xt_addrtype: ipv6 PROHIBIT (THROW, NAT ..) matching not supported xt_addrtype: ipv6 PROHIBIT (THROW, NAT ..) matching not supported IPv6: ADDRCONF(NETDEV_CHANGE): vcan0: link becomes ready IPv6: ADDRCONF(NETDEV_CHANGE): vxcan0: link becomes ready IPv6: ADDRCONF(NETDEV_CHANGE): vxcan1: link becomes ready xt_CT: netfilter: NOTRACK target is deprecated, use CT instead or upgrade iptables xt_check_match: 18 callbacks suppressed x_tables: ip_tables: osf match: only valid for protocol 6 x_tables: ip_tables: osf match: only valid for protocol 6 x_tables: ip_tables: osf match: only valid for protocol 6 x_tables: ip_tables: osf match: only valid for protocol 6 x_tables: ip_tables: osf match: only valid for protocol 6 x_tables: ip_tables: osf match: only valid for protocol 6 x_tables: ip_tables: osf match: only valid for protocol 6 x_tables: ip_tables: osf match: only valid for protocol 6 x_tables: ip_tables: osf match: only valid for protocol 6 x_tables: ip_tables: osf match: only valid for protocol 6 xt_l2tp: invalid flags combination: 0 audit: type=1804 audit(1601685174.775:20): pid=29459 uid=0 auid=0 ses=4 subj=system_u:system_r:kernel_t:s0 op=invalid_pcr cause=open_writers comm="syz-executor.1" name="/root/syzkaller-testdir025104258/syzkaller.H3Py29/1317/file0" dev="sda1" ino=15907 res=1 xt_l2tp: invalid flags combination: 0 netlink: 20 bytes leftover after parsing attributes in process `syz-executor.1'. xt_l2tp: invalid flags combination: 0 xt_CT: No such timeout policy "syz1" xt_check_match: 36 callbacks suppressed x_tables: ip_tables: osf match: only valid for protocol 6 x_tables: ip_tables: osf match: only valid for protocol 6 x_tables: ip_tables: osf match: only valid for protocol 6