================================================================================ UBSAN: Undefined behaviour in net/sched/sch_api.c:561:7 shift exponent 129 is too large for 32-bit type 'int' CPU: 0 PID: 6508 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 __qdisc_calculate_pkt_len+0x3bb/0x570 net/sched/sch_api.c:561 qdisc_calculate_pkt_len include/net/sch_generic.h:697 [inline] __dev_xmit_skb net/core/dev.c:3443 [inline] __dev_queue_xmit+0x1372/0x2ec0 net/core/dev.c:3807 neigh_resolve_output+0x55a/0x950 net/core/neighbour.c:1374 neigh_output include/net/neighbour.h:501 [inline] ip6_finish_output2+0x1184/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] ip6_local_out+0xaf/0x170 net/ipv6/output_core.c:178 ip6_send_skb+0xb3/0x300 net/ipv6/ip6_output.c:1699 ip6_push_pending_frames+0xdd/0x100 net/ipv6/ip6_output.c:1719 icmpv6_push_pending_frames+0x294/0x470 net/ipv6/icmp.c:288 icmp6_send+0x1c51/0x2310 net/ipv6/icmp.c:584 icmpv6_send+0x11e/0x26d net/ipv6/ip6_icmp.c:43 ip6_link_failure+0x26/0x560 net/ipv6/route.c:2297 dst_link_failure include/net/dst.h:438 [inline] ndisc_error_report+0xc7/0x190 net/ipv6/ndisc.c:695 neigh_invalidate+0x22c/0x540 net/core/neighbour.c:900 neigh_timer_handler+0x9b0/0xc70 net/core/neighbour.c:986 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:compound_head include/linux/page-flags.h:144 [inline] RIP: 0010:PageSwapBacked include/linux/page-flags.h:295 [inline] RIP: 0010:mm_counter_file include/linux/mm.h:1639 [inline] RIP: 0010:mm_counter include/linux/mm.h:1648 [inline] RIP: 0010:copy_one_pte mm/memory.c:1054 [inline] RIP: 0010:copy_pte_range mm/memory.c:1114 [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+0x11af/0x3380 mm/memory.c:1283 Code: 89 de e8 94 53 d3 ff 48 83 fb ff 0f 84 21 0e 00 00 e8 f5 51 d3 ff 49 8b 5e 08 31 ff 48 89 dd 83 e5 01 48 89 ee e8 71 53 d3 ff <48> 85 ed 0f 85 54 0e 00 00 e8 d3 51 d3 ff 4c 89 f0 48 c1 e8 03 42 RSP: 0018:ffff888051837a20 EFLAGS: 00000293 ORIG_RAX: ffffffffffffff13 RAX: 0000000000000000 RBX: dead000000000100 RCX: ffffffff819e807f RDX: 0000000000000000 RSI: ffff88805182e700 RDI: 0000000000000007 RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000007 R11: 0000000000000004 R12: 0000000000000000 R13: dffffc0000000000 R14: ffffea0001539700 R15: 0000000000000018 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:0x45c45a 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:00007fff5844a160 EFLAGS: 00000246 ORIG_RAX: 0000000000000038 RAX: ffffffffffffffda RBX: 00007fff5844a160 RCX: 000000000045c45a RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000001200011 RBP: 00007fff5844a1a0 R08: 0000000000000001 R09: 0000000001cfb940 R10: 0000000001cfbc10 R11: 0000000000000246 R12: 0000000000000001 R13: 0000000000000000 R14: 0000000000000001 R15: 00007fff5844a1f0 ================================================================================ audit: type=1800 audit(1601774512.740:46): pid=27354 uid=0 auid=0 ses=4 subj=system_u:system_r:kernel_t:s0 op=collect_data cause=failed(directio) comm="syz-executor.3" name="bus" dev="sda1" ino=16347 res=0 audit: type=1800 audit(1601774512.800:47): pid=27363 uid=0 auid=0 ses=4 subj=system_u:system_r:kernel_t:s0 op=collect_data cause=failed(directio) comm="syz-executor.3" name="bus" dev="sda1" ino=16347 res=0 IPv6: ADDRCONF(NETDEV_CHANGE): vcan0: link becomes ready IPv6: ADDRCONF(NETDEV_CHANGE): vxcan0: link becomes ready IPv6: ADDRCONF(NETDEV_CHANGE): vxcan1: link becomes ready IPv6: ADDRCONF(NETDEV_CHANGE): vcan0: link becomes ready