================================================================================ UBSAN: Undefined behaviour in net/sched/sch_api.c:561:7 shift exponent 116 is too large for 32-bit type 'int' CPU: 1 PID: 6500 Comm: syz-executor.3 Not tainted 4.19.148-syzkaller #0 REISERFS warning (device loop0): sh-2021 reiserfs_fill_super: can not find reiserfs on loop0 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+0x227/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:check_memory_region+0xb0/0x170 mm/kasan/kasan.c:268 Code: c0 08 48 39 d0 74 7b 48 83 38 00 74 f1 48 8d 50 08 eb 09 48 83 c0 01 48 39 d0 74 0e 80 38 00 74 f2 48 85 c0 0f 85 9c 00 00 00 <5b> 5d 41 5c c3 48 85 d2 74 f6 48 01 ea eb 09 48 83 c0 01 48 39 d0 RSP: 0018:ffff88808208fa00 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13 RAX: fffff9400052195f RBX: fffff9400052195f RCX: ffffffff819e5f30 RDX: fffff9400052195f RSI: 0000000000000004 RDI: ffffea000290caf4 RBP: fffff9400052195e R08: 0000000000000001 R09: fffff9400052195e R10: ffffea000290caf7 R11: 0000000000000004 R12: ffffea000290cac8 R13: dffffc0000000000 R14: ffffea000290cac0 R15: 0000000000000010 atomic_inc include/asm-generic/atomic-instrumented.h:109 [inline] page_ref_inc include/linux/page_ref.h:107 [inline] get_page include/linux/mm.h:937 [inline] copy_one_pte mm/memory.c:1040 [inline] copy_pte_range mm/memory.c:1102 [inline] copy_pmd_range mm/memory.c:1153 [inline] copy_pud_range mm/memory.c:1187 [inline] copy_p4d_range mm/memory.c:1209 [inline] copy_page_range+0x10c0/0x3380 mm/memory.c:1271 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:0x45c36a 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:00007ffcc0ee0650 EFLAGS: 00000246 ORIG_RAX: 0000000000000038 RAX: ffffffffffffffda RBX: 00007ffcc0ee0650 RCX: 000000000045c36a RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000001200011 RBP: 00007ffcc0ee0690 R08: 0000000000000001 R09: 0000000002944940 R10: 0000000002944c10 R11: 0000000000000246 R12: 0000000000000001 R13: 0000000000000000 R14: 0000000000000001 R15: 00007ffcc0ee06e0 ================================================================================ ================================================================================ UBSAN: Undefined behaviour in net/sched/sch_api.c:569:10 shift exponent 181 is too large for 32-bit type 'int' CPU: 1 PID: 6500 Comm: syz-executor.3 Not tainted 4.19.148-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+0x370/0x570 net/sched/sch_api.c:569 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+0x227/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:check_memory_region+0xb0/0x170 mm/kasan/kasan.c:268 Code: c0 08 48 39 d0 74 7b 48 83 38 00 74 f1 48 8d 50 08 eb 09 48 83 c0 01 48 39 d0 74 0e 80 38 00 74 f2 48 85 c0 0f 85 9c 00 00 00 <5b> 5d 41 5c c3 48 85 d2 74 f6 48 01 ea eb 09 48 83 c0 01 48 39 d0 RSP: 0018:ffff88808208fa00 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13 RAX: fffff9400052195f RBX: fffff9400052195f RCX: ffffffff819e5f30 RDX: fffff9400052195f RSI: 0000000000000004 RDI: ffffea000290caf4 RBP: fffff9400052195e R08: 0000000000000001 R09: fffff9400052195e R10: ffffea000290caf7 R11: 0000000000000004 R12: ffffea000290cac8 R13: dffffc0000000000 R14: ffffea000290cac0 R15: 0000000000000010 atomic_inc include/asm-generic/atomic-instrumented.h:109 [inline] page_ref_inc include/linux/page_ref.h:107 [inline] get_page include/linux/mm.h:937 [inline] copy_one_pte mm/memory.c:1040 [inline] copy_pte_range mm/memory.c:1102 [inline] copy_pmd_range mm/memory.c:1153 [inline] copy_pud_range mm/memory.c:1187 [inline] copy_p4d_range mm/memory.c:1209 [inline] copy_page_range+0x10c0/0x3380 mm/memory.c:1271 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:0x45c36a 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:00007ffcc0ee0650 EFLAGS: 00000246 ORIG_RAX: 0000000000000038 RAX: ffffffffffffffda RBX: 00007ffcc0ee0650 RCX: 000000000045c36a RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000001200011 RBP: 00007ffcc0ee0690 R08: 0000000000000001 R09: 0000000002944940 R10: 0000000002944c10 R11: 0000000000000246 R12: 0000000000000001 R13: 0000000000000000 R14: 0000000000000001 R15: 00007ffcc0ee06e0 ================================================================================ REISERFS warning (device loop0): sh-2021 reiserfs_fill_super: can not find reiserfs on loop0 EXT4-fs (loop2): mounted filesystem without journal. Opts: ,errors=continue REISERFS warning (device loop0): sh-2021 reiserfs_fill_super: can not find reiserfs on loop0 REISERFS warning (device loop0): sh-2021 reiserfs_fill_super: can not find reiserfs on loop0 audit: type=1804 audit(1601341845.863:26): pid=11426 uid=0 auid=0 ses=4 subj=system_u:system_r:kernel_t:s0 op=invalid_pcr cause=open_writers comm="syz-executor.2" name="/root/syzkaller-testdir287411704/syzkaller.LWm9sK/186/file1/file0" dev="loop2" ino=8 res=1 REISERFS warning (device loop0): sh-2021 reiserfs_fill_super: can not find reiserfs on loop0 REISERFS warning (device loop0): sh-2021 reiserfs_fill_super: can not find reiserfs on loop0 audit: type=1804 audit(1601341846.473:27): pid=11461 uid=0 auid=0 ses=4 subj=system_u:system_r:kernel_t:s0 op=invalid_pcr cause=open_writers comm="syz-executor.2" name="/root/syzkaller-testdir287411704/syzkaller.LWm9sK/187/file1/file0" dev="loop2" ino=10 res=1 REISERFS warning (device loop0): sh-2021 reiserfs_fill_super: can not find reiserfs on loop0 EXT4-fs (loop3): mounted filesystem without journal. Opts: ,errors=continue REISERFS warning (device loop0): sh-2021 reiserfs_fill_super: can not find reiserfs on loop0 xt_CT: netfilter: NOTRACK target is deprecated, use CT instead or upgrade iptables xt_CT: netfilter: NOTRACK target is deprecated, use CT instead or upgrade iptables kvm [11561]: vcpu0, guest rIP: 0x145 Hyper-V unhandled rdmsr: 0x40000004 kvm [11561]: vcpu0, guest rIP: 0x145 Hyper-V unhandled rdmsr: 0x40000024 kvm [11561]: vcpu0, guest rIP: 0x145 Hyper-V unhandled rdmsr: 0x40000024 kvm [11594]: vcpu0, guest rIP: 0x145 Hyper-V unhandled rdmsr: 0x40000004 kvm [11594]: vcpu0, guest rIP: 0x145 Hyper-V unhandled rdmsr: 0x40000024 kvm [11594]: vcpu0, guest rIP: 0x145 Hyper-V unhandled rdmsr: 0x40000024 kvm [11609]: vcpu0, guest rIP: 0x145 Hyper-V unhandled rdmsr: 0x40000004 audit: type=1800 audit(1601341850.243:28): pid=11613 uid=0 auid=0 ses=4 subj=system_u:system_r:kernel_t:s0 op=collect_data cause=failed comm="syz-executor.4" name="cgroup.controllers" dev="sda1" ino=16320 res=0 kvm [11609]: vcpu0, guest rIP: 0x145 Hyper-V unhandled rdmsr: 0x40000024 kvm [11609]: vcpu0, guest rIP: 0x145 Hyper-V unhandled rdmsr: 0x40000024 kvm [11640]: vcpu0, guest rIP: 0x145 Hyper-V unhandled rdmsr: 0x40000004 REISERFS (device loop2): found reiserfs format "3.5" with non-standard journal REISERFS (device loop2): using ordered data mode reiserfs: using flush barriers REISERFS warning (device loop2): sh-463 check_advise_trans_params: bad transaction max batch (0). FSCK? REISERFS warning (device loop2): sh-2022 reiserfs_fill_super: unable to initialize journal space REISERFS (device loop2): found reiserfs format "3.5" with non-standard journal REISERFS (device loop2): using ordered data mode reiserfs: using flush barriers REISERFS warning (device loop2): sh-463 check_advise_trans_params: bad transaction max batch (0). FSCK? REISERFS warning (device loop2): sh-2022 reiserfs_fill_super: unable to initialize journal space kvm_hv_get_msr: 25 callbacks suppressed kvm [11734]: vcpu0, guest rIP: 0x145 Hyper-V unhandled rdmsr: 0x40000007 kvm [11734]: vcpu0, guest rIP: 0x145 Hyper-V unhandled rdmsr: 0x40000007 kvm [11734]: vcpu0, guest rIP: 0x145 Hyper-V unhandled rdmsr: 0x40000007 kvm [11734]: vcpu0, guest rIP: 0x145 Hyper-V unhandled rdmsr: 0x40000007 kvm [11734]: vcpu0, guest rIP: 0x145 Hyper-V unhandled rdmsr: 0x40000007 kvm [11734]: vcpu0, guest rIP: 0x145 Hyper-V unhandled rdmsr: 0x40000007 kvm [11734]: vcpu0, guest rIP: 0x145 Hyper-V unhandled rdmsr: 0x40000007 kvm [11734]: vcpu0, guest rIP: 0x145 Hyper-V unhandled rdmsr: 0x40000007 kvm [11734]: vcpu0, guest rIP: 0x145 Hyper-V unhandled rdmsr: 0x40000007 kvm [11734]: vcpu0, guest rIP: 0x145 Hyper-V unhandled rdmsr: 0x40000007