================================================================================ UBSAN: Undefined behaviour in ./include/net/red.h:272:18 shift exponent 246 is too large for 64-bit type 'long unsigned int' CPU: 0 PID: 6543 Comm: syz-executor.5 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:copy_pte_range mm/memory.c:1104 [inline] RIP: 0010:copy_pmd_range mm/memory.c:1165 [inline] RIP: 0010:copy_pud_range mm/memory.c:1199 [inline] RIP: 0010:copy_p4d_range mm/memory.c:1221 [inline] RIP: 0010:copy_page_range+0xe15/0x3380 mm/memory.c:1283 Code: ff 0f 1f 80 00 00 00 00 44 8b bc 24 e8 00 00 00 48 8b ac 24 d8 00 00 00 e8 88 55 d3 ff 44 89 fe bf 1f 00 00 00 e8 eb 56 d3 ff <41> 83 ff 1f 0f 8e eb 00 00 00 e8 6c 55 d3 ff 48 8b 84 24 98 00 00 RSP: 0018:ffff888050a07a20 EFLAGS: 00000293 ORIG_RAX: ffffffffffffff13 RAX: 0000000000000000 RBX: 00007fb3b0372000 RCX: ffffffff819e7ce5 RDX: 0000000000000008 RSI: ffff8880509fa700 RDI: 0000000000000005 RBP: 0000000000000000 R08: 0000000000000001 R09: 000000000000001f R10: 0000000000000005 R11: 0000000000000004 R12: 0000000000000004 R13: dffffc0000000000 R14: 00007fb3b0400000 R15: 0000000000000008 dup_mmap kernel/fork.c:549 [inline] dup_mm kernel/fork.c:1288 [inline] copy_mm kernel/fork.c:1344 [inline] copy_process.part.0+0x5c68/0x7fb0 kernel/fork.c:1897 copy_process kernel/fork.c:1694 [inline] _do_fork+0x22f/0x1020 kernel/fork.c:2207 do_syscall_64+0xf9/0x670 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x45c3fa Code: f7 d8 64 89 04 25 d4 02 00 00 64 4c 8b 0c 25 10 00 00 00 31 d2 4d 8d 91 d0 02 00 00 31 f6 bf 11 00 20 01 b8 38 00 00 00 0f 05 <48> 3d 00 f0 ff ff 0f 87 f5 00 00 00 85 c0 41 89 c5 0f 85 fc 00 00 RSP: 002b:00007ffcd6eb0800 EFLAGS: 00000246 ORIG_RAX: 0000000000000038 RAX: ffffffffffffffda RBX: 00007ffcd6eb0800 RCX: 000000000045c3fa RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000001200011 RBP: 00007ffcd6eb0840 R08: 0000000000000001 R09: 0000000003419940 R10: 0000000003419c10 R11: 0000000000000246 R12: 0000000000000001 R13: 0000000000000000 R14: 0000000000000001 R15: 00007ffcd6eb0890 ================================================================================ netlink: 1 bytes leftover after parsing attributes in process `syz-executor.5'. netlink: 1 bytes leftover after parsing attributes in process `syz-executor.5'. netlink: 1 bytes leftover after parsing attributes in process `syz-executor.5'. audit: type=1400 audit(1601966757.157:22): avc: denied { write } for pid=9533 comm="syz-executor.5" name="net" dev="proc" ino=35273 scontext=system_u:system_r:kernel_t:s0 tcontext=system_u:system_r:kernel_t:s0 tclass=dir permissive=1 audit: type=1400 audit(1601966757.157:23): avc: denied { add_name } for pid=9533 comm="syz-executor.5" name="pfkey" scontext=system_u:system_r:kernel_t:s0 tcontext=system_u:system_r:kernel_t:s0 tclass=dir permissive=1 audit: type=1400 audit(1601966757.157:24): avc: denied { create } for pid=9533 comm="syz-executor.5" name="pfkey" scontext=system_u:system_r:kernel_t:s0 tcontext=system_u:object_r:kernel_t:s0 tclass=file permissive=1