================================================================================ UBSAN: Undefined behaviour in ./include/net/red.h:272:18 shift exponent 75 is too large for 64-bit type 'long unsigned int' CPU: 0 PID: 9616 Comm: syz-executor.1 Not tainted 4.19.152-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_calc_qavg include/net/red.h:313 [inline] choke_enqueue+0x2a7e/0x2cc0 net/sched/sch_choke.c:231 __dev_xmit_skb net/core/dev.c:3494 [inline] __dev_queue_xmit+0x14e1/0x2ec0 net/core/dev.c:3807 neigh_hh_output include/net/neighbour.h:491 [inline] neigh_output include/net/neighbour.h:499 [inline] ip_finish_output2+0xc04/0x1640 net/ipv4/ip_output.c:230 ip_finish_output+0x88e/0xd80 net/ipv4/ip_output.c:318 NF_HOOK_COND include/linux/netfilter.h:278 [inline] ip_output+0x203/0x650 net/ipv4/ip_output.c:406 dst_output include/net/dst.h:455 [inline] ip_local_out+0xaf/0x170 net/ipv4/ip_output.c:125 iptunnel_xmit+0x63e/0xa30 net/ipv4/ip_tunnel_core.c:91 geneve_xmit_skb drivers/net/geneve.c:865 [inline] geneve_xmit+0xf46/0x2ac0 drivers/net/geneve.c:938 __netdev_start_xmit include/linux/netdevice.h:4333 [inline] netdev_start_xmit include/linux/netdevice.h:4347 [inline] xmit_one net/core/dev.c:3256 [inline] dev_hard_start_xmit+0x1a8/0x960 net/core/dev.c:3272 __dev_queue_xmit+0x276a/0x2ec0 net/core/dev.c:3838 neigh_hh_output include/net/neighbour.h:491 [inline] neigh_output include/net/neighbour.h:499 [inline] ip6_finish_output2+0xe78/0x2370 net/ipv6/ip6_output.c:120 ip6_finish_output+0x610/0xcc0 net/ipv6/ip6_output.c:154 NF_HOOK_COND include/linux/netfilter.h:278 [inline] ip6_output+0x205/0x7c0 net/ipv6/ip6_output.c:171 dst_output include/net/dst.h:455 [inline] NF_HOOK include/linux/netfilter.h:289 [inline] ndisc_send_skb+0xa6b/0x1860 net/ipv6/ndisc.c:491 ndisc_send_rs+0x131/0x6a0 net/ipv6/ndisc.c:685 addrconf_rs_timer+0x2d9/0x640 net/ipv6/addrconf.c:3834 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:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:160 [inline] RIP: 0010:_raw_spin_unlock_irqrestore+0xa7/0xf0 kernel/locking/spinlock.c:184 Code: 48 c7 c0 e8 89 63 89 48 ba 00 00 00 00 00 fc ff df 48 c1 e8 03 80 3c 10 00 75 4a 48 83 3d c8 5d b2 01 00 74 21 48 89 df 57 9d <0f> 1f 44 00 00 eb b2 e8 71 3d 4f f9 eb c0 0f 0b 48 c7 c7 c0 ed 70 RSP: 0018:ffff8880868ef660 EFLAGS: 00000286 ORIG_RAX: ffffffffffffff13 RAX: 1ffffffff12c713d RBX: 0000000000000286 RCX: 1ffff11014517175 RDX: dffffc0000000000 RSI: ffff8880a28b8b88 RDI: 0000000000000286 RBP: ffff88812ffffb80 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 000000000000000f R13: ffff8880ae228be0 R14: ffff88812fffb000 R15: dffffc0000000000 spin_unlock_irqrestore include/linux/spinlock.h:384 [inline] pagevec_lru_move_fn+0x1ca/0x280 mm/swap.c:213 __pagevec_lru_add mm/swap.c:927 [inline] __lru_cache_add+0x1ee/0x320 mm/swap.c:405 shmem_getpage_gfp+0x21ba/0x3a70 mm/shmem.c:1847 shmem_fault+0x206/0x6b0 mm/shmem.c:2032 __do_fault+0x10b/0x4c0 mm/memory.c:3362 do_read_fault mm/memory.c:3774 [inline] do_fault mm/memory.c:3903 [inline] handle_pte_fault mm/memory.c:4134 [inline] __handle_mm_fault+0x2798/0x4370 mm/memory.c:4258 handle_mm_fault+0x489/0xb90 mm/memory.c:4295 faultin_page mm/gup.c:530 [inline] __get_user_pages+0x58d/0x16b0 mm/gup.c:730 populate_vma_page_range+0x200/0x2d0 mm/gup.c:1234 __mm_populate+0x1ea/0x350 mm/gup.c:1282 mm_populate include/linux/mm.h:2335 [inline] vm_mmap_pgoff+0x1e2/0x200 mm/util.c:362 ksys_mmap_pgoff+0x4aa/0x660 mm/mmap.c:1580 do_syscall_64+0xf9/0x670 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x45de59 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:00007f07c5c28c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000009 RAX: ffffffffffffffda RBX: 0000000000021200 RCX: 000000000045de59 RDX: 0000000000000003 RSI: 0000000000b36000 RDI: 0000000020000000 RBP: 000000000118c020 R08: ffffffffffffffff R09: 0000000000000000 R10: 0000000000008031 R11: 0000000000000246 R12: 000000000118bfd4 R13: 00007ffc92ff6c1f R14: 00007f07c5c299c0 R15: 000000000118bfd4 ================================================================================ xt_CT: No such helper "snmp_trap" IPVS: ftp: loaded support on port[0] = 21 : renamed from tunl0 : renamed from tunl0 IPVS: ftp: loaded support on port[0] = 21 IPVS: ftp: loaded support on port[0] = 21 xt_CT: No such helper "snmp_trap" xt_CT: No such helper "snmp_trap" : renamed from tunl0 : renamed from tunl0 xt_CT: No such helper "snmp_trap" IPVS: ftp: loaded support on port[0] = 21 ufs: You didn't specify the type of your ufs filesystem mount -t ufs -o ufstype=sun|sunx86|44bsd|ufs2|5xbsd|old|hp|nextstep|nextstep-cd|openstep ... >>>WARNING<<< Wrong ufstype may corrupt your filesystem, default is ufstype=old xt_CT: No such helper "snmp_trap" ufs: ufs_fill_super(): bad magic number ufs: You didn't specify the type of your ufs filesystem mount -t ufs -o ufstype=sun|sunx86|44bsd|ufs2|5xbsd|old|hp|nextstep|nextstep-cd|openstep ... >>>WARNING<<< Wrong ufstype may corrupt your filesystem, default is ufstype=old ufs: ufs_fill_super(): bad magic number : renamed from tunl0 ufs: You didn't specify the type of your ufs filesystem mount -t ufs -o ufstype=sun|sunx86|44bsd|ufs2|5xbsd|old|hp|nextstep|nextstep-cd|openstep ... >>>WARNING<<< Wrong ufstype may corrupt your filesystem, default is ufstype=old ufs: ufs_fill_super(): bad magic number xt_CT: No such helper "snmp_trap" nla_parse: 6 callbacks suppressed netlink: 24 bytes leftover after parsing attributes in process `syz-executor.1'. ufs: You didn't specify the type of your ufs filesystem mount -t ufs -o ufstype=sun|sunx86|44bsd|ufs2|5xbsd|old|hp|nextstep|nextstep-cd|openstep ... >>>WARNING<<< Wrong ufstype may corrupt your filesystem, default is ufstype=old netlink: 24 bytes leftover after parsing attributes in process `syz-executor.1'. ufs: ufs_fill_super(): bad magic number netlink: 24 bytes leftover after parsing attributes in process `syz-executor.1'. ufs: You didn't specify the type of your ufs filesystem mount -t ufs -o ufstype=sun|sunx86|44bsd|ufs2|5xbsd|old|hp|nextstep|nextstep-cd|openstep ... >>>WARNING<<< Wrong ufstype may corrupt your filesystem, default is ufstype=old netlink: 24 bytes leftover after parsing attributes in process `syz-executor.1'. ufs: ufs_fill_super(): bad magic number netlink: 24 bytes leftover after parsing attributes in process `syz-executor.1'.