================================================================================ UBSAN: Undefined behaviour in ./include/net/red.h:272:18 shift exponent 189 is too large for 64-bit type 'long unsigned int' CPU: 0 PID: 2098 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] 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 NILFS (loop5): couldn't find nilfs on the device 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:check_kcov_mode kernel/kcov.c:67 [inline] RIP: 0010:__sanitizer_cov_trace_pc+0x14/0x50 kernel/kcov.c:101 Code: e8 c0 7b e9 ff 48 c7 05 f6 ea bc 0b 00 00 00 00 e9 39 ec ff ff 90 48 8b 34 24 65 48 8b 04 25 40 ee 01 00 65 8b 15 ec 1a 90 7e <81> e2 00 01 1f 00 75 2b 8b 90 e0 12 00 00 83 fa 02 75 20 48 8b 88 RSP: 0018:ffff888209b9f748 EFLAGS: 00000202 ORIG_RAX: ffffffffffffff13 RAX: ffff8880a40c86c0 RBX: 0000000000000040 RCX: ffffc90007d29000 RDX: 0000000080000000 RSI: ffffffff81a5c3dc RDI: ffff8880a40c8a30 RBP: ffff88821b6e4b40 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000005 R11: 0000000000000001 R12: 00000000006200ca R13: 0000000000000000 R14: ffff88821b6e4b40 R15: 0000000000000001 rcu_lock_acquire include/linux/rcupdate.h:242 [inline] rcu_read_lock include/linux/rcupdate.h:627 [inline] blk_cgroup_congested include/linux/blk-cgroup.h:256 [inline] mem_cgroup_throttle_swaprate+0x4c/0x6b9 mm/swapfile.c:3748 mem_cgroup_try_charge_delay+0x67/0xb0 mm/memcontrol.c:6016 shmem_getpage_gfp+0x688/0x3a70 mm/shmem.c:1829 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] __do_sys_remap_file_pages mm/mmap.c:2907 [inline] __se_sys_remap_file_pages+0x843/0x850 mm/mmap.c:2817 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:00007f59f2a94c78 EFLAGS: 00000246 ORIG_RAX: 00000000000000d8 RAX: ffffffffffffffda RBX: 0000000000027200 RCX: 000000000045de59 RDX: 0000000000000000 RSI: 0000000000200000 RDI: 00000000202ec000 RBP: 000000000118bf70 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000118bf2c R13: 00007ffc538f6fcf R14: 00007f59f2a959c0 R15: 000000000118bf2c ================================================================================ NILFS (loop5): couldn't find nilfs on the device NILFS (loop5): couldn't find nilfs on the device NILFS (loop5): couldn't find nilfs on the device device wlan1 entered promiscuous mode IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready device wlan1 left promiscuous mode NILFS (loop5): couldn't find nilfs on the device NILFS (loop5): couldn't find nilfs on the device NILFS (loop5): couldn't find nilfs on the device NILFS (loop5): couldn't find nilfs on the device NILFS (loop5): couldn't find nilfs on the device device wlan1 entered promiscuous mode IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready NILFS (loop5): couldn't find nilfs on the device device wlan1 left promiscuous mode NILFS (loop5): couldn't find nilfs on the device ptrace attach of "/root/syz-executor.2"[2216] was attempted by "/root/syz-executor.2"[2219] NILFS (loop5): couldn't find nilfs on the device NILFS (loop5): couldn't find nilfs on the device NILFS (loop5): couldn't find nilfs on the device device wlan1 entered promiscuous mode IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready NILFS (loop5): couldn't find nilfs on the device IPv6: NLM_F_REPLACE set, but no existing node found! device wlan1 left promiscuous mode NILFS (loop5): couldn't find nilfs on the device net_ratelimit: 6 callbacks suppressed openvswitch: netlink: Message has 1 unknown bytes. NILFS (loop5): couldn't find nilfs on the device device wlan1 entered promiscuous mode NILFS (loop5): couldn't find nilfs on the device IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready openvswitch: netlink: Message has 1 unknown bytes. NILFS (loop5): couldn't find nilfs on the device NILFS (loop5): couldn't find nilfs on the device NILFS (loop5): couldn't find nilfs on the device NILFS (loop5): couldn't find nilfs on the device nft_compat: unsupported protocol 0 NILFS (loop5): couldn't find nilfs on the device NILFS (loop5): couldn't find nilfs on the device NILFS (loop5): couldn't find nilfs on the device NILFS (loop5): couldn't find nilfs on the device NILFS (loop5): couldn't find nilfs on the device NILFS (loop5): couldn't find nilfs on the device