================================================================================ UBSAN: Undefined behaviour in ./include/net/red.h:272:18 shift exponent 191 is too large for 64-bit type 'long unsigned int' CPU: 0 PID: 23848 Comm: syz-executor.0 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] red_enqueue+0x2064/0x2200 net/sched/sch_red.c:68 __dev_xmit_skb net/core/dev.c:3494 [inline] __dev_queue_xmit+0x14df/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/0x16b0 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 ip_send_skb net/ipv4/ip_output.c:1447 [inline] ip_push_pending_frames+0x8b/0x140 net/ipv4/ip_output.c:1467 icmp_push_reply+0x3e7/0x580 net/ipv4/icmp.c:395 __icmp_send+0xcd2/0x1550 net/ipv4/icmp.c:744 icmp_send include/net/icmp.h:47 [inline] ip_fragment.constprop.0+0x1ea/0x240 net/ipv4/ip_output.c:557 ip_finish_output_gso net/ipv4/ip_output.c:283 [inline] ip_finish_output+0x9b1/0xd80 net/ipv4/ip_output.c:313 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 __ip_queue_xmit+0x8a0/0x1bd0 net/ipv4/ip_output.c:506 __tcp_transmit_skb+0x1c72/0x36c0 net/ipv4/tcp_output.c:1148 tcp_transmit_skb net/ipv4/tcp_output.c:1164 [inline] tcp_write_xmit+0x839/0x5050 net/ipv4/tcp_output.c:2389 __tcp_push_pending_frames+0xae/0x310 net/ipv4/tcp_output.c:2568 do_tcp_sendpages+0x157f/0x1970 net/ipv4/tcp.c:1056 tcp_sendpage_locked net/ipv4/tcp.c:1104 [inline] tcp_sendpage_locked net/ipv4/tcp.c:1096 [inline] tcp_sendpage+0x80/0xd0 net/ipv4/tcp.c:1114 inet_sendpage+0x1a4/0x700 net/ipv4/af_inet.c:815 kernel_sendpage net/socket.c:3378 [inline] sock_sendpage+0xdf/0x140 net/socket.c:847 pipe_to_sendpage+0x268/0x330 fs/splice.c:452 splice_from_pipe_feed fs/splice.c:503 [inline] __splice_from_pipe+0x3af/0x820 fs/splice.c:627 splice_from_pipe fs/splice.c:662 [inline] generic_splice_sendpage+0xd4/0x140 fs/splice.c:833 do_splice_from fs/splice.c:852 [inline] do_splice fs/splice.c:1154 [inline] __do_sys_splice fs/splice.c:1428 [inline] __se_sys_splice+0xf31/0x15f0 fs/splice.c:1408 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:00007fcbab9f2c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000113 RAX: ffffffffffffffda RBX: 00000000000350c0 RCX: 000000000045de59 RDX: 0000000000000008 RSI: 0000000000000000 RDI: 0000000000000006 RBP: 000000000118c020 R08: 0000008000010003 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000118bfd4 R13: 00007ffccf536c5f R14: 00007fcbab9f39c0 R15: 000000000118bfd4 ================================================================================ audit: type=1401 audit(1603279304.799:48): op=security_bounded_transition seresult=denied oldcontext=system_u:system_r:kernel_t:s0 newcontext=system_u:object_r:pam_var_run_t:s0 audit: type=1401 audit(1603279305.379:49): op=security_bounded_transition seresult=denied oldcontext=system_u:system_r:kernel_t:s0 newcontext=system_u:object_r:pam_var_run_t:s0 audit: type=1401 audit(1603279305.679:50): op=security_bounded_transition seresult=denied oldcontext=system_u:system_r:kernel_t:s0 newcontext=system_u:object_r:pam_var_run_t:s0 netlink: 12 bytes leftover after parsing attributes in process `syz-executor.0'. bridge1: port 1(ip6gretap1) entered blocking state audit: type=1401 audit(1603279305.859:51): op=security_bounded_transition seresult=denied oldcontext=system_u:system_r:kernel_t:s0 newcontext=system_u:object_r:pam_var_run_t:s0 bridge1: port 1(ip6gretap1) entered disabled state device ip6gretap1 entered promiscuous mode netlink: 12 bytes leftover after parsing attributes in process `syz-executor.0'. netlink: 12 bytes leftover after parsing attributes in process `syz-executor.0'. bridge2: port 1(ip6gretap2) entered blocking state bridge2: port 1(ip6gretap2) entered disabled state device ip6gretap2 entered promiscuous mode netlink: 12 bytes leftover after parsing attributes in process `syz-executor.0'. bridge3: port 1(ip6gretap3) entered blocking state bridge3: port 1(ip6gretap3) entered disabled state device ip6gretap3 entered promiscuous mode netlink: 12 bytes leftover after parsing attributes in process `syz-executor.0'. bridge4: port 1(ip6gretap4) entered blocking state bridge4: port 1(ip6gretap4) entered disabled state device ip6gretap4 entered promiscuous mode kvm [24107]: vcpu0, guest rIP: 0x145 Hyper-V unhandled rdmsr: 0x40000004 netlink: 12 bytes leftover after parsing attributes in process `syz-executor.0'. netlink: 12 bytes leftover after parsing attributes in process `syz-executor.0'. kvm [24147]: vcpu0, guest rIP: 0x145 Hyper-V unhandled rdmsr: 0x40000004 netlink: 12 bytes leftover after parsing attributes in process `syz-executor.0'. kvm [24172]: vcpu0, guest rIP: 0x145 Hyper-V unhandled rdmsr: 0x40000004 netlink: 12 bytes leftover after parsing attributes in process `syz-executor.0'. netlink: 12 bytes leftover after parsing attributes in process `syz-executor.0'.