netlink: 1164 bytes leftover after parsing attributes in process `syz-executor846'. netlink: 1164 bytes leftover after parsing attributes in process `syz-executor846'. netlink: 1164 bytes leftover after parsing attributes in process `syz-executor846'. ================================================================================ UBSAN: Undefined behaviour in ./include/net/red.h:272:18 shift exponent 115 is too large for 64-bit type 'long unsigned int' CPU: 1 PID: 7814 Comm: syz-executor846 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:rt_set_nexthop.constprop.0+0x0/0xf80 net/ipv4/route.c:1558 Code: 15 30 fb e9 fc fd ff ff 48 89 df e8 da 17 30 fb e9 30 fe ff ff e8 10 7e c7 fa e8 cb 17 30 fb eb 87 e9 fd f5 00 00 0f 1f 40 00 <41> 57 41 56 41 55 49 89 fd 41 54 4d 89 c4 55 53 48 bb 00 00 00 00 netlink: 1164 bytes leftover after parsing attributes in process `syz-executor846'. RSP: 0018:ffff888092537590 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13 RAX: ffff888091618580 RBX: 0000000000000000 RCX: 0000000000000000 RDX: ffff8880925376b0 RSI: 00000000010000e0 RDI: ffff888090215000 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000005 R11: 00000000512dfe99 R12: ffff888090215000 R13: 00000000010000e0 R14: ffff88809eb15cc0 R15: ffff8880925378f0 __mkroute_output net/ipv4/route.c:2341 [inline] ip_route_output_key_hash_rcu+0xfc4/0x3140 net/ipv4/route.c:2543 ip_route_output_key_hash+0x1e3/0x350 net/ipv4/route.c:2369 __ip_route_output_key include/net/route.h:124 [inline] ip_route_output_flow+0x23/0xc0 net/ipv4/route.c:2628 udp_sendmsg+0x19fc/0x2530 net/ipv4/udp.c:1101 inet_sendmsg+0x174/0x640 net/ipv4/af_inet.c:798 sock_sendmsg_nosec net/socket.c:622 [inline] sock_sendmsg+0xc7/0x130 net/socket.c:632 ___sys_sendmsg+0x3b3/0x8f0 net/socket.c:2115 __sys_sendmmsg+0x195/0x470 net/socket.c:2210 __do_sys_sendmmsg net/socket.c:2239 [inline] __se_sys_sendmmsg net/socket.c:2236 [inline] __x64_sys_sendmmsg+0x99/0x100 net/socket.c:2236 do_syscall_64+0xf9/0x670 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x444509 Code: e8 2c e8 ff ff 48 83 c4 18 c3 0f 1f 80 00 00 00 00 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 eb 06 fc ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007ffc7c0eedd8 EFLAGS: 00000246 ORIG_RAX: 0000000000000133 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000444509 RDX: 000000000800001d RSI: 0000000020007fc0 RDI: 0000000000000003 RBP: 000000000000c2c0 R08: 0000000100000000 R09: 0000000100000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000405110 R14: 0000000000000000 R15: 0000000000000000 ================================================================================ netlink: 1164 bytes leftover after parsing attributes in process `syz-executor846'. netlink: 1164 bytes leftover after parsing attributes in process `syz-executor846'. netlink: 1164 bytes leftover after parsing attributes in process `syz-executor846'. nla_parse: 30 callbacks suppressed netlink: 1164 bytes leftover after parsing attributes in process `syz-executor846'. netlink: 1164 bytes leftover after parsing attributes in process `syz-executor846'. netlink: 1164 bytes leftover after parsing attributes in process `syz-executor846'. netlink: 1164 bytes leftover after parsing attributes in process `syz-executor846'. netlink: 1164 bytes leftover after parsing attributes in process `syz-executor846'. netlink: 1164 bytes leftover after parsing attributes in process `syz-executor846'. netlink: 1164 bytes leftover after parsing attributes in process `syz-executor846'. netlink: 1164 bytes leftover after parsing attributes in process `syz-executor846'. netlink: 1164 bytes leftover after parsing attributes in process `syz-executor846'. netlink: 1164 bytes leftover after parsing attributes in process `syz-executor846'. nla_parse: 33 callbacks suppressed netlink: 1164 bytes leftover after parsing attributes in process `syz-executor846'. netlink: 1164 bytes leftover after parsing attributes in process `syz-executor846'. netlink: 1164 bytes leftover after parsing attributes in process `syz-executor846'. netlink: 1164 bytes leftover after parsing attributes in process `syz-executor846'. netlink: 1164 bytes leftover after parsing attributes in process `syz-executor846'.