================================================================================ UBSAN: Undefined behaviour in net/core/gen_estimator.c:87:38 shift exponent -246 is negative CPU: 0 PID: 13738 Comm: syz-executor.2 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 est_timer.cold+0x96/0x126 net/core/gen_estimator.c:87 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:kasan_mem_to_shadow include/linux/kasan.h:29 [inline] RIP: 0010:memory_is_poisoned_n mm/kasan/kasan.c:210 [inline] RIP: 0010:memory_is_poisoned mm/kasan/kasan.c:241 [inline] RIP: 0010:check_memory_region_inline mm/kasan/kasan.c:257 [inline] RIP: 0010:check_memory_region+0x44/0x170 mm/kasan/kasan.c:267 Code: 0f 86 20 01 00 00 4c 8d 54 37 ff 41 54 48 b8 00 00 00 00 00 fc ff df 4d 89 d1 55 48 89 fd 49 c1 e9 03 48 c1 ed 03 53 49 01 c1 <48> 01 c5 49 8d 59 01 48 89 e8 48 89 da 48 29 ea 48 83 fa 10 7e 5b RSP: 0018:ffff88808a2bf650 EFLAGS: 00000286 ORIG_RAX: ffffffffffffff13 RAX: dffffc0000000000 RBX: 00000000000001f8 RCX: ffffffff8192c679 RDX: 0000000000000000 RSI: 0000000000000004 RDI: ffffea00015b8034 RBP: 1ffffd40002b7006 R08: 0000000000000000 R09: fffff940002b7006 R10: ffffea00015b8037 R11: 0000000000000000 R12: ffffea00015b8034 R13: ffffea00015b8000 R14: 0000000000000001 R15: dffffc0000000000 atomic_read include/asm-generic/atomic-instrumented.h:21 [inline] page_ref_count include/linux/page_ref.h:67 [inline] put_page_testzero include/linux/mm.h:519 [inline] release_pages+0x189/0x1650 mm/swap.c:760 tlb_flush_mmu_free mm/memory.c:249 [inline] zap_pte_range mm/memory.c:1405 [inline] zap_pmd_range mm/memory.c:1440 [inline] zap_pud_range mm/memory.c:1469 [inline] zap_p4d_range mm/memory.c:1490 [inline] unmap_page_range+0x2264/0x2ec0 mm/memory.c:1511 unmap_single_vma+0x198/0x300 mm/memory.c:1556 unmap_vmas+0xa9/0x180 mm/memory.c:1586 exit_mmap+0x2b9/0x530 mm/mmap.c:3091 __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:0x45e179 Code: 3d b2 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 0b b2 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f7283ae6cf8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: fffffffffffffe00 RBX: 000000000118cf48 RCX: 000000000045e179 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 000000000118cf48 RBP: 000000000118cf40 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000118cf4c R13: 00007ffed329aeaf R14: 00007f7283ae79c0 R15: 000000000118cf4c ================================================================================ ================================================================================ UBSAN: Undefined behaviour in net/core/gen_estimator.c:88:23 shift exponent 255 is too large for 64-bit type 'long long unsigned int' CPU: 1 PID: 13747 Comm: syz-executor.0 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 est_timer.cold+0xd6/0x126 net/core/gen_estimator.c:88 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:__find_get_block+0x2a3/0x1080 fs/buffer.c:1293 Code: ff df 48 c1 ea 03 80 3c 02 00 0f 85 76 0d 00 00 48 83 3d f7 a7 9f 07 00 0f 84 28 05 00 00 e8 14 e1 ad ff fb 66 0f 1f 44 00 00 <4d> 85 e4 0f 84 6f 02 00 00 e8 ff e0 ad ff 0f 1f 44 00 00 e8 f5 e0 RSP: 0018:ffff88803cce75e0 EFLAGS: 00000212 ORIG_RAX: ffffffffffffff13 RAX: 0000000000040000 RBX: 0000000000000000 RCX: ffffc90005b40000 RDX: 000000000000b7a8 RSI: ffffffff81c3e1cc RDI: ffff888086c72e04 RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: ffff888041aa9bd0 R13: 0000000000000405 R14: 0000000000001000 R15: ffff888041aa9bd0 sb_find_get_block include/linux/buffer_head.h:346 [inline] recently_deleted fs/ext4/ialloc.c:685 [inline] find_inode_bit+0x285/0x5b0 fs/ext4/ialloc.c:725 __ext4_new_inode+0x174c/0x5e40 fs/ext4/ialloc.c:917 ext4_create+0x29e/0x5f0 fs/ext4/namei.c:2487 lookup_open+0x86c/0x19c0 fs/namei.c:3235 do_last fs/namei.c:3327 [inline] path_openat+0x10d6/0x2e90 fs/namei.c:3537 do_filp_open+0x18c/0x3f0 fs/namei.c:3567 do_sys_open+0x3b3/0x520 fs/open.c:1085 do_syscall_64+0xf9/0x670 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x45e179 Code: 3d b2 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 0b b2 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007fa0fb5e9c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 0000000000022140 RCX: 000000000045e179 RDX: 0000000000000000 RSI: 0000000000141042 RDI: 0000000020000000 RBP: 000000000118cf80 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000118cf4c R13: 00007ffda9edf51f R14: 00007fa0fb5ea9c0 R15: 000000000118cf4c ================================================================================ ================================================================================ UBSAN: Undefined behaviour in net/core/gen_estimator.c:90:46 shift exponent -246 is negative CPU: 0 PID: 13738 Comm: syz-executor.2 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 est_timer.cold+0x17/0x126 net/core/gen_estimator.c:90 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:kasan_mem_to_shadow include/linux/kasan.h:29 [inline] RIP: 0010:memory_is_poisoned_n mm/kasan/kasan.c:210 [inline] RIP: 0010:memory_is_poisoned mm/kasan/kasan.c:241 [inline] RIP: 0010:check_memory_region_inline mm/kasan/kasan.c:257 [inline] RIP: 0010:check_memory_region+0x44/0x170 mm/kasan/kasan.c:267 Code: 0f 86 20 01 00 00 4c 8d 54 37 ff 41 54 48 b8 00 00 00 00 00 fc ff df 4d 89 d1 55 48 89 fd 49 c1 e9 03 48 c1 ed 03 53 49 01 c1 <48> 01 c5 49 8d 59 01 48 89 e8 48 89 da 48 29 ea 48 83 fa 10 7e 5b RSP: 0018:ffff88808a2bf650 EFLAGS: 00000286 ORIG_RAX: ffffffffffffff13 RAX: dffffc0000000000 RBX: 00000000000001f8 RCX: ffffffff8192c679 RDX: 0000000000000000 RSI: 0000000000000004 RDI: ffffea00015b8034 RBP: 1ffffd40002b7006 R08: 0000000000000000 R09: fffff940002b7006 R10: ffffea00015b8037 R11: 0000000000000000 R12: ffffea00015b8034 R13: ffffea00015b8000 R14: 0000000000000001 R15: dffffc0000000000 atomic_read include/asm-generic/atomic-instrumented.h:21 [inline] page_ref_count include/linux/page_ref.h:67 [inline] put_page_testzero include/linux/mm.h:519 [inline] release_pages+0x189/0x1650 mm/swap.c:760 tlb_flush_mmu_free mm/memory.c:249 [inline] zap_pte_range mm/memory.c:1405 [inline] zap_pmd_range mm/memory.c:1440 [inline] zap_pud_range mm/memory.c:1469 [inline] zap_p4d_range mm/memory.c:1490 [inline] unmap_page_range+0x2264/0x2ec0 mm/memory.c:1511 unmap_single_vma+0x198/0x300 mm/memory.c:1556 unmap_vmas+0xa9/0x180 mm/memory.c:1586 exit_mmap+0x2b9/0x530 mm/mmap.c:3091 __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:0x45e179 Code: 3d b2 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 0b b2 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f7283ae6cf8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: fffffffffffffe00 RBX: 000000000118cf48 RCX: 000000000045e179 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 000000000118cf48 RBP: 000000000118cf40 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000118cf4c R13: 00007ffed329aeaf R14: 00007f7283ae79c0 R15: 000000000118cf4c ================================================================================ ================================================================================ UBSAN: Undefined behaviour in net/core/gen_estimator.c:91:22 shift exponent 255 is too large for 64-bit type 'long long unsigned int' CPU: 1 PID: 13747 Comm: syz-executor.0 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 est_timer.cold+0x5b/0x126 net/core/gen_estimator.c:91 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:__find_get_block+0x2a3/0x1080 fs/buffer.c:1293 Code: ff df 48 c1 ea 03 80 3c 02 00 0f 85 76 0d 00 00 48 83 3d f7 a7 9f 07 00 0f 84 28 05 00 00 e8 14 e1 ad ff fb 66 0f 1f 44 00 00 <4d> 85 e4 0f 84 6f 02 00 00 e8 ff e0 ad ff 0f 1f 44 00 00 e8 f5 e0 RSP: 0018:ffff88803cce75e0 EFLAGS: 00000212 ORIG_RAX: ffffffffffffff13 RAX: 0000000000040000 RBX: 0000000000000000 RCX: ffffc90005b40000 RDX: 000000000000b7a8 RSI: ffffffff81c3e1cc RDI: ffff888086c72e04 RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: ffff888041aa9bd0 R13: 0000000000000405 R14: 0000000000001000 R15: ffff888041aa9bd0 sb_find_get_block include/linux/buffer_head.h:346 [inline] recently_deleted fs/ext4/ialloc.c:685 [inline] find_inode_bit+0x285/0x5b0 fs/ext4/ialloc.c:725 __ext4_new_inode+0x174c/0x5e40 fs/ext4/ialloc.c:917 ext4_create+0x29e/0x5f0 fs/ext4/namei.c:2487 lookup_open+0x86c/0x19c0 fs/namei.c:3235 do_last fs/namei.c:3327 [inline] path_openat+0x10d6/0x2e90 fs/namei.c:3537 do_filp_open+0x18c/0x3f0 fs/namei.c:3567 do_sys_open+0x3b3/0x520 fs/open.c:1085 do_syscall_64+0xf9/0x670 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x45e179 Code: 3d b2 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 0b b2 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007fa0fb5e9c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 0000000000022140 RCX: 000000000045e179 RDX: 0000000000000000 RSI: 0000000000141042 RDI: 0000000020000000 RBP: 000000000118cf80 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000118cf4c R13: 00007ffda9edf51f R14: 00007fa0fb5ea9c0 R15: 000000000118cf4c ================================================================================ audit: type=1800 audit(1601241665.128:21): pid=13767 uid=0 auid=0 ses=4 subj=system_u:system_r:kernel_t:s0 op=collect_data cause=failed comm="syz-executor.3" name="memory.events" dev="sda1" ino=15765 res=0 overlayfs: failed to resolve './file1': -2 overlayfs: './file0' not a directory overlayfs: 'file0' not a directory audit: type=1804 audit(1601241665.198:22): pid=13760 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-testdir563437073/syzkaller.wQYw55/397/bus/file0" dev="sda1" ino=15797 res=1 netlink: 'syz-executor.4': attribute type 10 has an invalid length. netlink: 'syz-executor.4': attribute type 10 has an invalid length. TCP: request_sock_TCP: Possible SYN flooding on port 20002. Sending cookies. Check SNMP counters. netlink: 'syz-executor.4': attribute type 10 has an invalid length. audit: type=1800 audit(1601241668.008:23): pid=13980 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="file1" dev="sda1" ino=16357 res=0 FAT-fs (loop0): bogus number of reserved sectors FAT-fs (loop0): Can't find a valid FAT filesystem nla_parse: 47 callbacks suppressed netlink: 80 bytes leftover after parsing attributes in process `syz-executor.2'. netlink: 80 bytes leftover after parsing attributes in process `syz-executor.2'. netlink: 68 bytes leftover after parsing attributes in process `syz-executor.4'. FAT-fs (loop5): Directory bread(block 6) failed netlink: 68 bytes leftover after parsing attributes in process `syz-executor.4'. netlink: 80 bytes leftover after parsing attributes in process `syz-executor.2'. netlink: 80 bytes leftover after parsing attributes in process `syz-executor.2'. ldm_parse_privhead(): Cannot find PRIVHEAD structure. LDM database is corrupt. Aborting. ldm_validate_privheads(): Cannot find PRIVHEAD 1. loop0: p2 < > netlink: 68 bytes leftover after parsing attributes in process `syz-executor.4'. netlink: 80 bytes leftover after parsing attributes in process `syz-executor.2'. netlink: 80 bytes leftover after parsing attributes in process `syz-executor.2'. netlink: 76 bytes leftover after parsing attributes in process `syz-executor.4'. IPv6: ADDRCONF(NETDEV_UP): vlan2: link is not ready bond0: Enslaving veth3 as an active interface with an up link audit: type=1800 audit(1601241669.968:24): pid=14082 uid=0 auid=0 ses=4 subj=system_u:system_r:kernel_t:s0 op=collect_data cause=failed(directio) comm="syz-executor.0" name="file1" dev="sda1" ino=15922 res=0 IPv6: ADDRCONF(NETDEV_UP): vlan3: link is not ready bond0: Enslaving veth5 as an active interface with an up link IPv6: ADDRCONF(NETDEV_UP): vlan4: link is not ready bond0: Enslaving veth7 as an active interface with an up link IPv6: ADDRCONF(NETDEV_UP): vlan5: link is not ready bond0: Enslaving veth9 as an active interface with an up link IPv6: ADDRCONF(NETDEV_UP): vlan6: link is not ready IPv6: ADDRCONF(NETDEV_UP): vlan7: link is not ready IPv6: ADDRCONF(NETDEV_UP): vlan8: link is not ready IPv6: ADDRCONF(NETDEV_UP): vlan9: link is not ready IPv6: ADDRCONF(NETDEV_UP): vlan10: link is not ready IPv6: ADDRCONF(NETDEV_UP): vlan11: link is not ready