================================================================================ 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: 10111 Comm: syz-executor.5 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 __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_hh_output include/net/neighbour.h:491 [inline] neigh_output include/net/neighbour.h:499 [inline] ip_finish_output2+0xc04/0x1640 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 iptunnel_xmit+0x63e/0xa30 net/ipv4/ip_tunnel_core.c:91 geneve_xmit_skb drivers/net/geneve.c:865 [inline] geneve_xmit+0xf46/0x2ac0 drivers/net/geneve.c:938 __netdev_start_xmit include/linux/netdevice.h:4333 [inline] netdev_start_xmit include/linux/netdevice.h:4347 [inline] xmit_one net/core/dev.c:3256 [inline] dev_hard_start_xmit+0x1a8/0x960 net/core/dev.c:3272 __dev_queue_xmit+0x276a/0x2ec0 net/core/dev.c:3838 neigh_hh_output include/net/neighbour.h:491 [inline] neigh_output include/net/neighbour.h:499 [inline] ip6_finish_output2+0xe78/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] NF_HOOK include/linux/netfilter.h:289 [inline] ndisc_send_skb+0xa6b/0x1860 net/ipv6/ndisc.c:491 ndisc_send_rs+0x131/0x6a0 net/ipv6/ndisc.c:685 addrconf_rs_timer+0x2d9/0x640 net/ipv6/addrconf.c:3834 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:__tlb_remove_page include/asm-generic/tlb.h:161 [inline] RIP: 0010:zap_pte_range mm/memory.c:1353 [inline] RIP: 0010:zap_pmd_range mm/memory.c:1452 [inline] RIP: 0010:zap_pud_range mm/memory.c:1481 [inline] RIP: 0010:zap_p4d_range mm/memory.c:1502 [inline] RIP: 0010:unmap_page_range+0x1382/0x2ec0 mm/memory.c:1523 Code: 4c 89 e7 e8 a0 7b fa ff 89 c3 e8 e9 26 d4 ff 31 ff 89 de e8 50 28 d4 ff 85 db 0f 88 ef 0c 00 00 e8 d3 26 d4 ff 48 8b 7c 24 18 00 10 00 00 4c 89 e6 e8 61 91 ff ff 31 ff 89 c3 89 c6 e8 e6 27 RSP: 0018:ffff8880478bf760 EFLAGS: 00000293 ORIG_RAX: ffffffffffffff13 RAX: ffff888091a781c0 RBX: 0000000000000002 RCX: ffffffff819dabf0 RDX: 0000000000000000 RSI: ffffffff819dabfd RDI: ffff8880478bf9a0 RBP: ffffea0001514970 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000005 R11: 0000000000000001 R12: ffffea0001514940 R13: 00007fc5fc2ce000 R14: dffffc0000000000 R15: ffffea0001514948 unmap_single_vma+0x198/0x300 mm/memory.c:1568 unmap_vmas+0xa9/0x180 mm/memory.c:1598 exit_mmap+0x2b9/0x530 mm/mmap.c:3093 __mmput kernel/fork.c:1015 [inline] mmput+0x14e/0x4a0 kernel/fork.c:1036 exit_mm kernel/exit.c:546 [inline] do_exit+0xb12/0x2d80 kernel/exit.c:874 do_group_exit+0x125/0x320 kernel/exit.c:990 get_signal+0x3f3/0x2270 kernel/signal.c:2588 do_signal+0x8f/0x1690 arch/x86/kernel/signal.c:821 exit_to_usermode_loop+0x204/0x2c0 arch/x86/entry/common.c:163 prepare_exit_to_usermode arch/x86/entry/common.c:198 [inline] syscall_return_slowpath arch/x86/entry/common.c:271 [inline] do_syscall_64+0x57c/0x670 arch/x86/entry/common.c:296 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x45de59 Code: 89 4c 24 78 48 8b 6c 24 58 48 83 c4 60 c3 48 89 4c 24 30 90 48 8d 05 f6 5c 61 01 48 89 04 24 e8 7d cd fa ff 48 8d 05 46 29 44 <00> 48 89 04 24 48 8b 05 eb 5c 61 01 48 89 44 24 08 8b 44 24 70 89 RSP: 002b:00007fc5fa80ec78 EFLAGS: 00000246 ORIG_RAX: 0000000000000029 RAX: 0000000000000005 RBX: 0000000000034500 RCX: 000000000045de59 RDX: 0000000000000084 RSI: 0000000000000801 RDI: 000000000000000a RBP: 000000000118bf60 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000118bf2c R13: 00007fffd44e706f R14: 00007fc5fa80f9c0 R15: 000000000118bf2c ================================================================================ IPVS: ftp: loaded support on port[0] = 21 FAT-fs (loop5): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) IPVS: ftp: loaded support on port[0] = 21 audit: type=1400 audit(1602980837.281:16): avc: denied { create } for pid=10375 comm="syz-executor.0" scontext=system_u:system_r:kernel_t:s0 tcontext=system_u:system_r:kernel_t:s0 tclass=dccp_socket permissive=1 audit: type=1400 audit(1602980837.391:17): avc: denied { name_bind } for pid=10375 comm="syz-executor.0" src=20000 scontext=system_u:system_r:kernel_t:s0 tcontext=system_u:object_r:port_t:s0 tclass=dccp_socket permissive=1 print_req_error: I/O error, dev loop7, sector 0 Buffer I/O error on dev loop7, logical block 0, async page read print_req_error: I/O error, dev loop7, sector 0 Buffer I/O error on dev loop7, logical block 0, async page read print_req_error: I/O error, dev loop7, sector 0 Buffer I/O error on dev loop7, logical block 0, async page read print_req_error: I/O error, dev loop7, sector 0 Buffer I/O error on dev loop7, logical block 0, async page read print_req_error: I/O error, dev loop7, sector 0 Buffer I/O error on dev loop7, logical block 0, async page read print_req_error: I/O error, dev loop7, sector 0 Buffer I/O error on dev loop7, logical block 0, async page read print_req_error: I/O error, dev loop7, sector 0 Buffer I/O error on dev loop7, logical block 0, async page read print_req_error: I/O error, dev loop7, sector 0 Buffer I/O error on dev loop7, logical block 0, async page read ldm_validate_partition_table(): Disk read failed. print_req_error: I/O error, dev loop7, sector 0 Buffer I/O error on dev loop7, logical block 0, async page read print_req_error: I/O error, dev loop7, sector 0 Buffer I/O error on dev loop7, logical block 0, async page read audit: type=1400 audit(1602980837.421:18): avc: denied { node_bind } for pid=10375 comm="syz-executor.0" saddr=::1 src=20000 scontext=system_u:system_r:kernel_t:s0 tcontext=system_u:object_r:node_t:s0 tclass=dccp_socket permissive=1 audit: type=1400 audit(1602980837.431:19): avc: denied { name_connect } for pid=10375 comm="syz-executor.0" dest=20000 scontext=system_u:system_r:kernel_t:s0 tcontext=system_u:object_r:port_t:s0 tclass=dccp_socket permissive=1 audit: type=1800 audit(1602980837.581:20): pid=10386 uid=0 auid=0 ses=4 subj=system_u:system_r:kernel_t:s0 op=collect_data cause=failed comm="syz-executor.1" name="bus" dev="sda1" ino=15957 res=0 Dev loop7: unable to read RDB block 0 loop7: unable to read partition table loop_reread_partitions: partition scan of loop7 (@ܸ%2xZ?h2~*2l:QGJR B) failed (rc=-5) netlink: 2 bytes leftover after parsing attributes in process `syz-executor.1'. IPVS: ftp: loaded support on port[0] = 21 IPVS: ftp: loaded support on port[0] = 21 netlink: 2 bytes leftover after parsing attributes in process `syz-executor.1'. IPVS: ftp: loaded support on port[0] = 21 IPVS: ftp: loaded support on port[0] = 21 team0: Device ipvlan1 failed to register rx_handler NILFS (loop5): broken superblock, retrying with spare superblock (blocksize = 1024) NILFS (loop5): mounting unchecked fs NILFS (loop5): recovery complete NILFS (loop5): segctord starting. Construction interval = 5 seconds, CP frequency < 30 seconds audit: type=1804 audit(1602980842.511:21): pid=10630 uid=0 auid=0 ses=4 subj=system_u:system_r:kernel_t:s0 op=invalid_pcr cause=open_writers comm="syz-executor.5" name="/root/syzkaller-testdir969064214/syzkaller.nZqv8H/211/file1/file0" dev="loop5" ino=3 res=1 mkiss: ax0: crc mode is auto.