================================================================================ UBSAN: Undefined behaviour in net/core/gen_estimator.c:87:38 shift exponent -246 is negative CPU: 1 PID: 21719 Comm: syz-executor.3 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 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:rcu_dynticks_curr_cpu_in_eqs kernel/rcu/tree.c:348 [inline] RIP: 0010:rcu_is_watching+0xe/0x100 kernel/rcu/tree.c:1025 Code: eb 97 48 89 ef e8 52 01 4c 00 eb b4 48 89 df e8 f8 ed ff ff eb 8d 66 0f 1f 44 00 00 55 53 65 ff 05 e7 ca a2 7e e8 22 85 43 02 <48> c7 c3 c0 39 02 00 83 f8 3f 89 c5 0f 87 c9 00 00 00 48 8d 34 ed RSP: 0018:ffff88805110f978 EFLAGS: 00000293 ORIG_RAX: ffffffffffffff13 RAX: 0000000000000001 RBX: ffffea00024b3580 RCX: ffffffff83a2a593 RDX: 0000000000000000 RSI: ffffffff83a2a5a1 RDI: 0000000000000005 RBP: 0000000000000000 R08: 0000000005bfc606 R09: 0000000000000000 R10: 0000000000000005 R11: 0000000000000001 R12: 0000000000000000 R13: ffffea00024b3588 R14: 0000000000000000 R15: dead000000000100 rcu_read_lock include/linux/rcupdate.h:628 [inline] lock_page_memcg+0x13f/0x230 mm/memcontrol.c:1908 page_remove_file_rmap mm/rmap.c:1215 [inline] page_remove_rmap+0x508/0x1230 mm/rmap.c:1300 zap_pte_range mm/memory.c:1350 [inline] zap_pmd_range mm/memory.c:1452 [inline] zap_pud_range mm/memory.c:1481 [inline] zap_p4d_range mm/memory.c:1502 [inline] unmap_page_range+0x1325/0x2ec0 mm/memory.c:1523 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 __do_sys_exit_group kernel/exit.c:1001 [inline] __se_sys_exit_group kernel/exit.c:999 [inline] __x64_sys_exit_group+0x3a/0x50 kernel/exit.c:999 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:00007fff5e3bcbb8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 RAX: ffffffffffffffda RBX: 000000000000001e RCX: 000000000045de59 RDX: 00000000004177b1 RSI: fffffffffffffff7 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000078ccd843 R09: 00007fff5e3bcc10 R10: 0000000078ccd83f R11: 0000000000000246 R12: 0000000000000000 R13: 00007fff5e3bcc10 R14: 0000000000000000 R15: 00007fff5e3bcc20 ================================================================================ ================================================================================ 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: 21719 Comm: syz-executor.3 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 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:rcu_dynticks_curr_cpu_in_eqs kernel/rcu/tree.c:348 [inline] RIP: 0010:rcu_is_watching+0xe/0x100 kernel/rcu/tree.c:1025 Code: eb 97 48 89 ef e8 52 01 4c 00 eb b4 48 89 df e8 f8 ed ff ff eb 8d 66 0f 1f 44 00 00 55 53 65 ff 05 e7 ca a2 7e e8 22 85 43 02 <48> c7 c3 c0 39 02 00 83 f8 3f 89 c5 0f 87 c9 00 00 00 48 8d 34 ed RSP: 0018:ffff88805110f978 EFLAGS: 00000293 ORIG_RAX: ffffffffffffff13 RAX: 0000000000000001 RBX: ffffea00024b3580 RCX: ffffffff83a2a593 RDX: 0000000000000000 RSI: ffffffff83a2a5a1 RDI: 0000000000000005 RBP: 0000000000000000 R08: 0000000005bfc606 R09: 0000000000000000 R10: 0000000000000005 R11: 0000000000000001 R12: 0000000000000000 R13: ffffea00024b3588 R14: 0000000000000000 R15: dead000000000100 rcu_read_lock include/linux/rcupdate.h:628 [inline] lock_page_memcg+0x13f/0x230 mm/memcontrol.c:1908 page_remove_file_rmap mm/rmap.c:1215 [inline] page_remove_rmap+0x508/0x1230 mm/rmap.c:1300 zap_pte_range mm/memory.c:1350 [inline] zap_pmd_range mm/memory.c:1452 [inline] zap_pud_range mm/memory.c:1481 [inline] zap_p4d_range mm/memory.c:1502 [inline] unmap_page_range+0x1325/0x2ec0 mm/memory.c:1523 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 __do_sys_exit_group kernel/exit.c:1001 [inline] __se_sys_exit_group kernel/exit.c:999 [inline] __x64_sys_exit_group+0x3a/0x50 kernel/exit.c:999 do_syscall_64+0xf9/0x670 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x45de59 Code: Bad RIP value. RSP: 002b:00007fff5e3bcbb8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 RAX: ffffffffffffffda RBX: 000000000000001e RCX: 000000000045de59 RDX: 00000000004177b1 RSI: fffffffffffffff7 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000078ccd843 R09: 00007fff5e3bcc10 R10: 0000000078ccd83f R11: 0000000000000246 R12: 0000000000000000 R13: 00007fff5e3bcc10 R14: 0000000000000000 R15: 00007fff5e3bcc20 ================================================================================ ================================================================================ UBSAN: Undefined behaviour in net/core/gen_estimator.c:90:46 shift exponent -246 is negative CPU: 1 PID: 21719 Comm: syz-executor.3 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 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:rcu_dynticks_curr_cpu_in_eqs kernel/rcu/tree.c:348 [inline] RIP: 0010:rcu_is_watching+0xe/0x100 kernel/rcu/tree.c:1025 Code: eb 97 48 89 ef e8 52 01 4c 00 eb b4 48 89 df e8 f8 ed ff ff eb 8d 66 0f 1f 44 00 00 55 53 65 ff 05 e7 ca a2 7e e8 22 85 43 02 <48> c7 c3 c0 39 02 00 83 f8 3f 89 c5 0f 87 c9 00 00 00 48 8d 34 ed RSP: 0018:ffff88805110f978 EFLAGS: 00000293 ORIG_RAX: ffffffffffffff13 RAX: 0000000000000001 RBX: ffffea00024b3580 RCX: ffffffff83a2a593 RDX: 0000000000000000 RSI: ffffffff83a2a5a1 RDI: 0000000000000005 RBP: 0000000000000000 R08: 0000000005bfc606 R09: 0000000000000000 R10: 0000000000000005 R11: 0000000000000001 R12: 0000000000000000 R13: ffffea00024b3588 R14: 0000000000000000 R15: dead000000000100 rcu_read_lock include/linux/rcupdate.h:628 [inline] lock_page_memcg+0x13f/0x230 mm/memcontrol.c:1908 page_remove_file_rmap mm/rmap.c:1215 [inline] page_remove_rmap+0x508/0x1230 mm/rmap.c:1300 zap_pte_range mm/memory.c:1350 [inline] zap_pmd_range mm/memory.c:1452 [inline] zap_pud_range mm/memory.c:1481 [inline] zap_p4d_range mm/memory.c:1502 [inline] unmap_page_range+0x1325/0x2ec0 mm/memory.c:1523 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 __do_sys_exit_group kernel/exit.c:1001 [inline] __se_sys_exit_group kernel/exit.c:999 [inline] __x64_sys_exit_group+0x3a/0x50 kernel/exit.c:999 do_syscall_64+0xf9/0x670 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x45de59 Code: Bad RIP value. RSP: 002b:00007fff5e3bcbb8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 RAX: ffffffffffffffda RBX: 000000000000001e RCX: 000000000045de59 RDX: 00000000004177b1 RSI: fffffffffffffff7 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000078ccd843 R09: 00007fff5e3bcc10 R10: 0000000078ccd83f R11: 0000000000000246 R12: 0000000000000000 R13: 00007fff5e3bcc10 R14: 0000000000000000 R15: 00007fff5e3bcc20 ================================================================================ ================================================================================ 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: 21719 Comm: syz-executor.3 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 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:rcu_dynticks_curr_cpu_in_eqs kernel/rcu/tree.c:348 [inline] RIP: 0010:rcu_is_watching+0xe/0x100 kernel/rcu/tree.c:1025 Code: eb 97 48 89 ef e8 52 01 4c 00 eb b4 48 89 df e8 f8 ed ff ff eb 8d 66 0f 1f 44 00 00 55 53 65 ff 05 e7 ca a2 7e e8 22 85 43 02 <48> c7 c3 c0 39 02 00 83 f8 3f 89 c5 0f 87 c9 00 00 00 48 8d 34 ed RSP: 0018:ffff88805110f978 EFLAGS: 00000293 ORIG_RAX: ffffffffffffff13 RAX: 0000000000000001 RBX: ffffea00024b3580 RCX: ffffffff83a2a593 RDX: 0000000000000000 RSI: ffffffff83a2a5a1 RDI: 0000000000000005 RBP: 0000000000000000 R08: 0000000005bfc606 R09: 0000000000000000 R10: 0000000000000005 R11: 0000000000000001 R12: 0000000000000000 R13: ffffea00024b3588 R14: 0000000000000000 R15: dead000000000100 rcu_read_lock include/linux/rcupdate.h:628 [inline] lock_page_memcg+0x13f/0x230 mm/memcontrol.c:1908 page_remove_file_rmap mm/rmap.c:1215 [inline] page_remove_rmap+0x508/0x1230 mm/rmap.c:1300 zap_pte_range mm/memory.c:1350 [inline] zap_pmd_range mm/memory.c:1452 [inline] zap_pud_range mm/memory.c:1481 [inline] zap_p4d_range mm/memory.c:1502 [inline] unmap_page_range+0x1325/0x2ec0 mm/memory.c:1523 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 __do_sys_exit_group kernel/exit.c:1001 [inline] __se_sys_exit_group kernel/exit.c:999 [inline] __x64_sys_exit_group+0x3a/0x50 kernel/exit.c:999 do_syscall_64+0xf9/0x670 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x45de59 Code: Bad RIP value. RSP: 002b:00007fff5e3bcbb8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 RAX: ffffffffffffffda RBX: 000000000000001e RCX: 000000000045de59 RDX: 00000000004177b1 RSI: fffffffffffffff7 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000078ccd843 R09: 00007fff5e3bcc10 R10: 0000000078ccd83f R11: 0000000000000246 R12: 0000000000000000 R13: 00007fff5e3bcc10 R14: 0000000000000000 R15: 00007fff5e3bcc20 ================================================================================ audit: type=1400 audit(1603085739.718:88): avc: denied { block_suspend } for pid=21727 comm="syz-executor.5" capability=36 scontext=system_u:system_r:kernel_t:s0 tcontext=system_u:system_r:kernel_t:s0 tclass=capability2 permissive=1 nla_parse: 1 callbacks suppressed netlink: 16 bytes leftover after parsing attributes in process `syz-executor.2'. netlink: 16 bytes leftover after parsing attributes in process `syz-executor.2'. SELinux: unrecognized netlink message: protocol=0 nlmsg_type=0 sclass=netlink_route_socket pid=21854 comm=syz-executor.2 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=0 sclass=netlink_route_socket pid=21854 comm=syz-executor.2 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=0 sclass=netlink_route_socket pid=21890 comm=syz-executor.1 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=0 sclass=netlink_route_socket pid=21898 comm=syz-executor.1 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=0 sclass=netlink_route_socket pid=21910 comm=syz-executor.2 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=0 sclass=netlink_route_socket pid=21915 comm=syz-executor.2 FAT-fs (loop3): bogus number of reserved sectors FAT-fs (loop3): Can't find a valid FAT filesystem netlink: 8 bytes leftover after parsing attributes in process `syz-executor.2'. FAT-fs (loop3): bogus number of reserved sectors FAT-fs (loop3): Can't find a valid FAT filesystem netlink: 8 bytes leftover after parsing attributes in process `syz-executor.2'. netlink: 72 bytes leftover after parsing attributes in process `syz-executor.4'. netlink: 72 bytes leftover after parsing attributes in process `syz-executor.4'. FAT-fs (loop3): bogus number of reserved sectors FAT-fs (loop3): Can't find a valid FAT filesystem FAT-fs (loop3): bogus number of reserved sectors FAT-fs (loop3): Can't find a valid FAT filesystem FAT-fs (loop3): bogus number of reserved sectors FAT-fs (loop3): Can't find a valid FAT filesystem ip6t_rpfilter: unknown options audit: type=1804 audit(1603085744.858:89): pid=22098 uid=0 auid=0 ses=4 subj=system_u:system_r:kernel_t:s0 op=invalid_pcr cause=ToMToU comm="syz-executor.5" name="/root/syzkaller-testdir607543555/syzkaller.lkjSV6/474/file1/bus" dev="loop5" ino=12 res=1 FAT-fs (loop3): bogus number of reserved sectors FAT-fs (loop3): Can't find a valid FAT filesystem netlink: 72 bytes leftover after parsing attributes in process `syz-executor.4'. FAT-fs (loop3): bogus number of reserved sectors netlink: 72 bytes leftover after parsing attributes in process `syz-executor.4'. FAT-fs (loop3): Can't find a valid FAT filesystem FAT-fs (loop3): bogus number of reserved sectors FAT-fs (loop3): Can't find a valid FAT filesystem FAT-fs (loop3): bogus number of reserved sectors FAT-fs (loop3): Can't find a valid FAT filesystem FAT-fs (loop3): bogus number of reserved sectors FAT-fs (loop3): Can't find a valid FAT filesystem FAT-fs (loop3): bogus number of reserved sectors FAT-fs (loop3): Can't find a valid FAT filesystem FAT-fs (loop3): bogus number of reserved sectors FAT-fs (loop3): Can't find a valid FAT filesystem FAT-fs (loop3): bogus number of reserved sectors FAT-fs (loop3): Can't find a valid FAT filesystem FAT-fs (loop3): bogus number of reserved sectors FAT-fs (loop3): Can't find a valid FAT filesystem FAT-fs (loop3): bogus number of reserved sectors FAT-fs (loop3): Can't find a valid FAT filesystem