================================================================================ UBSAN: Undefined behaviour in ./include/net/red.h:272:18 xt_TCPMSS: Only works on TCP SYN packets shift exponent 115 is too large for 64-bit type 'long unsigned int' CPU: 0 PID: 12118 Comm: syz-executor.2 Not tainted 4.19.147-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:write_comp_data+0x0/0x70 kernel/kcov.c:116 Code: 20 48 8b 88 e8 12 00 00 8b 80 e4 12 00 00 48 8b 11 48 83 c2 01 48 39 d0 76 07 48 89 34 d1 48 89 11 c3 0f 1f 84 00 00 00 00 00 <49> 89 f1 49 89 fa 65 48 8b 34 25 40 ee 01 00 65 8b 05 8a 2a 90 7e RSP: 0018:ffff888046ca76b0 EFLAGS: 00000202 ORIG_RAX: ffffffffffffff13 RAX: 0000000000000000 RBX: 000000000009043b RCX: ffffffff819d6f59 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000005 RBP: 1ffff11008d94ed9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000007 R11: 0000000000000001 R12: 800000009043b007 R13: ffff88808df92670 R14: 00007fb9976bf000 R15: ffff888046ca76e8 _vm_normal_page+0x1b9/0x520 mm/memory.c:825 zap_pte_range mm/memory.c:1311 [inline] zap_pmd_range mm/memory.c:1440 [inline] zap_pud_range mm/memory.c:1469 [inline] zap_p4d_range mm/memory.c:1490 [inline] unmap_page_range+0xfba/0x2ec0 mm/memory.c:1511 unmap_single_vma+0x198/0x300 mm/memory.c:1556 unmap_vmas+0xa9/0x180 mm/memory.c:1586 exit_mmap+0x2b9/0x530 mm/mmap.c:3091 __mmput kernel/fork.c:1015 [inline] mmput+0x14e/0x4a0 kernel/fork.c:1036 exit_mm kernel/exit.c:546 [inline] do_exit+0xb12/0x2d80 kernel/exit.c:874 do_group_exit+0x125/0x320 kernel/exit.c:990 get_signal+0x3f3/0x2270 kernel/signal.c:2588 do_signal+0x8f/0x1690 arch/x86/kernel/signal.c:821 exit_to_usermode_loop+0x204/0x2c0 arch/x86/entry/common.c:163 prepare_exit_to_usermode arch/x86/entry/common.c:198 [inline] syscall_return_slowpath arch/x86/entry/common.c:271 [inline] do_syscall_64+0x57c/0x670 arch/x86/entry/common.c:296 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x45e179 Code: 3d b2 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 0b b2 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007fb995865cf8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: 0000000000000001 RBX: 000000000118cf48 RCX: 000000000045e179 RDX: 00000000000f4240 RSI: 0000000000000081 RDI: 000000000118cf4c RBP: 000000000118cf40 R08: 000000000000006f R09: 0000000000000000 R10: ffffffffffffffff R11: 0000000000000246 R12: 000000000118cf4c R13: 00007ffc6803fb2f R14: 00007fb9958669c0 R15: 000000000118cf4c ================================================================================ EXT4-fs (loop4): couldn't mount RDWR because of unsupported optional features (8000) atomic_op 000000004c13af3a conn xmit_atomic (null) atomic_op 00000000eedd7d12 conn xmit_atomic (null) audit: type=1804 audit(1601048182.790:15): pid=12262 uid=0 auid=0 ses=4 subj=system_u:system_r:kernel_t:s0 op=invalid_pcr cause=open_writers comm="syz-executor.3" name="/root/syzkaller-testdir389907784/syzkaller.zgnfZW/248/bus" dev="sda1" ino=16020 res=1 netlink: 'syz-executor.0': attribute type 2 has an invalid length. Enabling of bearer rejected, illegal name Enabling of bearer rejected, illegal name audit: type=1804 audit(1601048183.550:16): pid=12272 uid=0 auid=0 ses=4 subj=system_u:system_r:kernel_t:s0 op=invalid_pcr cause=ToMToU comm="syz-executor.3" name="/root/syzkaller-testdir389907784/syzkaller.zgnfZW/248/bus" dev="sda1" ino=16020 res=1 audit: type=1804 audit(1601048183.570:17): pid=12311 uid=0 auid=0 ses=4 subj=system_u:system_r:kernel_t:s0 op=invalid_pcr cause=ToMToU comm="syz-executor.3" name="/root/syzkaller-testdir389907784/syzkaller.zgnfZW/248/bus" dev="sda1" ino=16020 res=1 audit: type=1804 audit(1601048183.570:18): pid=12272 uid=0 auid=0 ses=4 subj=system_u:system_r:kernel_t:s0 op=invalid_pcr cause=open_writers comm="syz-executor.3" name="/root/syzkaller-testdir389907784/syzkaller.zgnfZW/248/bus" dev="sda1" ino=16020 res=1 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=109 sclass=netlink_route_socket pid=12375 comm=syz-executor.3 xt_TPROXY: Can be used only with -p tcp or -p udp Enabling of bearer <:> rejected, illegal name Enabling of bearer <:> rejected, illegal name Enabling of bearer <:> rejected, illegal name Enabling of bearer <:> rejected, illegal name Enabling of bearer <:> rejected, illegal name capability: warning: `syz-executor.2' uses deprecated v2 capabilities in a way that may be insecure syz-executor.2 uses obsolete (PF_INET,SOCK_PACKET) device vlan2 entered promiscuous mode device team0 entered promiscuous mode device team_slave_0 entered promiscuous mode device team_slave_1 entered promiscuous mode netlink: 'syz-executor.4': attribute type 5 has an invalid length. nla_parse: 5 callbacks suppressed netlink: 116 bytes leftover after parsing attributes in process `syz-executor.4'. hrtimer: interrupt took 42624 ns Enabling of bearer <:> rejected, illegal name