================================================================================ UBSAN: Undefined behaviour in ./include/net/red.h:272:18 shift exponent 102 is too large for 64-bit type 'long unsigned int' CPU: 0 PID: 22057 Comm: syz-executor.2 Not tainted 4.19.150-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+0x23/0x70 kernel/kcov.c:122 Code: 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 0a 1b 90 7e a9 00 01 1f 00 75 4f 8b 86 e0 12 00 00 <83> f8 03 75 44 48 8b 86 e8 12 00 00 8b b6 e4 12 00 00 48 8b 38 48 RSP: 0018:ffff88803912f758 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13 RAX: 0000000000000000 RBX: 8000000000000007 RCX: ffffffff819da947 RDX: 0000000000000000 RSI: ffff888052242240 RDI: 0000000000000005 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000005 R11: 0000000000000001 R12: ffffea00025b4440 R13: 00007f574018a000 R14: dffffc0000000000 R15: ffffea00025b4448 zap_pte_range mm/memory.c:1341 [inline] zap_pmd_range mm/memory.c:1452 [inline] zap_pud_range mm/memory.c:1481 [inline] zap_p4d_range mm/memory.c:1502 [inline] unmap_page_range+0x1147/0x2ec0 mm/memory.c:1523 unmap_single_vma+0x198/0x300 mm/memory.c:1568 unmap_vmas+0xa9/0x180 mm/memory.c:1598 exit_mmap+0x2b9/0x530 mm/mmap.c:3093 __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: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:00007f573f8e3cf8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: 0000000000000000 RBX: 000000000118bf28 RCX: 000000000045de59 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 000000000118bf28 RBP: 000000000118bf20 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000118bf2c R13: 00007ffd6ce83fef R14: 00007f573f8e49c0 R15: 000000000118bf2c ================================================================================ __quota_error: 12 callbacks suppressed Quota error (device loop3): dq_insert_tree: Quota tree root isn't allocated! Quota error (device loop3): qtree_write_dquot: Error -5 occurred while creating quota Quota error (device loop3): dq_insert_tree: Quota tree root isn't allocated! Quota error (device loop3): qtree_write_dquot: Error -5 occurred while creating quota Quota error (device loop3): dq_insert_tree: Quota tree root isn't allocated! Quota error (device loop3): qtree_write_dquot: Error -5 occurred while creating quota EXT4-fs mount: 13 callbacks suppressed EXT4-fs (loop3): mounted filesystem without journal. Opts: ,errors=continue Quota error (device loop3): dq_insert_tree: Quota tree root isn't allocated! Quota error (device loop3): qtree_write_dquot: Error -5 occurred while creating quota EXT4-fs (loop3): mounted filesystem without journal. Opts: ,errors=continue Quota error (device loop3): dq_insert_tree: Quota tree root isn't allocated! Quota error (device loop3): qtree_write_dquot: Error -5 occurred while creating quota EXT4-fs (loop3): mounted filesystem without journal. Opts: ,errors=continue EXT4-fs (loop3): mounted filesystem without journal. Opts: ,errors=continue EXT4-fs (loop3): mounted filesystem without journal. Opts: ,errors=continue EXT4-fs (loop3): mounted filesystem without journal. Opts: ,errors=continue EXT4-fs (loop3): mounted filesystem without journal. Opts: ,errors=continue EXT4-fs (loop3): mounted filesystem without journal. Opts: ,errors=continue EXT4-fs (loop3): mounted filesystem without journal. Opts: ,errors=continue EXT4-fs (loop3): mounted filesystem without journal. Opts: ,errors=continue EXT4-fs (loop3): mounted filesystem without journal. Opts: ,errors=continue __quota_error: 14 callbacks suppressed Quota error (device loop3): dq_insert_tree: Quota tree root isn't allocated! Quota error (device loop3): qtree_write_dquot: Error -5 occurred while creating quota EXT4-fs (loop3): mounted filesystem without journal. Opts: ,errors=continue EXT4-fs warning (device loop3): ext4_enable_quotas:5872: Failed to enable quota tracking (type=0, err=-22). Please run e2fsck to fix. EXT4-fs (loop3): mount failed EXT4-fs warning (device loop3): ext4_enable_quotas:5872: Failed to enable quota tracking (type=0, err=-22). Please run e2fsck to fix. EXT4-fs (loop3): mount failed EXT4-fs warning (device loop3): ext4_enable_quotas:5872: Failed to enable quota tracking (type=0, err=-22). Please run e2fsck to fix. EXT4-fs (loop3): mount failed EXT4-fs warning (device loop3): ext4_enable_quotas:5872: Failed to enable quota tracking (type=0, err=-22). Please run e2fsck to fix. EXT4-fs (loop3): mount failed EXT4-fs warning (device loop3): ext4_enable_quotas:5872: Failed to enable quota tracking (type=0, err=-22). Please run e2fsck to fix. EXT4-fs (loop3): mount failed EXT4-fs warning (device loop3): ext4_enable_quotas:5872: Failed to enable quota tracking (type=0, err=-22). Please run e2fsck to fix. EXT4-fs (loop3): mount failed EXT4-fs warning (device loop3): ext4_enable_quotas:5872: Failed to enable quota tracking (type=0, err=-22). Please run e2fsck to fix. EXT4-fs (loop3): mount failed EXT4-fs warning (device loop3): ext4_enable_quotas:5872: Failed to enable quota tracking (type=0, err=-22). Please run e2fsck to fix. EXT4-fs (loop3): mount failed EXT4-fs warning (device loop3): ext4_enable_quotas:5872: Failed to enable quota tracking (type=0, err=-22). Please run e2fsck to fix. EXT4-fs (loop3): mount failed