================================================================================ UBSAN: Undefined behaviour in net/core/gen_estimator.c:87:38 shift exponent -247 is negative CPU: 0 PID: 6515 Comm: syz-executor.0 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:arch_local_irq_restore arch/x86/include/asm/paravirt.h:789 [inline] RIP: 0010:lock_acquire+0x1ec/0x3f0 kernel/locking/lockdep.c:3910 Code: 08 00 00 00 00 00 00 48 c1 e8 03 80 3c 10 00 0f 85 dd 01 00 00 48 83 3d 99 8d 0b 08 00 0f 84 4e 01 00 00 48 8b 7c 24 08 57 9d <0f> 1f 44 00 00 48 83 c4 18 5b 5d 41 5c 41 5d 41 5e 41 5f c3 65 8b RSP: 0018:ffff88808e4bfaa8 EFLAGS: 00000286 ORIG_RAX: ffffffffffffff13 RAX: 1ffffffff12c713d RBX: ffff8880969c0000 RCX: 434808970ddaea22 RDX: dffffc0000000000 RSI: ffff8880969c0888 RDI: 0000000000000286 RBP: ffff888093f971c8 R08: 000000006e52981d R09: 0000000000000000 R10: 0000000000000028 R11: 0000000000000001 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000001 R15: 0000000000000001 __might_fault mm/memory.c:4731 [inline] __might_fault+0x152/0x1d0 mm/memory.c:4716 _copy_to_user+0x29/0x100 lib/usercopy.c:25 copy_to_user include/linux/uaccess.h:155 [inline] xt_obj_to_user+0x86/0xf0 net/netfilter/x_tables.c:284 xt_target_to_user+0xa8/0x200 net/netfilter/x_tables.c:328 copy_entries_to_user net/ipv4/netfilter/arp_tables.c:704 [inline] get_entries net/ipv4/netfilter/arp_tables.c:866 [inline] do_arpt_get_ctl+0x5da/0x7d0 net/ipv4/netfilter/arp_tables.c:1488 nf_sockopt net/netfilter/nf_sockopt.c:104 [inline] nf_getsockopt+0x72/0xd0 net/netfilter/nf_sockopt.c:122 ip_getsockopt net/ipv4/ip_sockglue.c:1574 [inline] ip_getsockopt+0x167/0x1c0 net/ipv4/ip_sockglue.c:1554 tcp_getsockopt+0x86/0xd0 net/ipv4/tcp.c:3616 __sys_getsockopt+0x135/0x210 net/socket.c:1938 __do_sys_getsockopt net/socket.c:1949 [inline] __se_sys_getsockopt net/socket.c:1946 [inline] __x64_sys_getsockopt+0xba/0x150 net/socket.c:1946 do_syscall_64+0xf9/0x670 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x46096a Code: b8 34 01 00 00 0f 05 48 3d 01 f0 ff ff 0f 83 ed 88 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 49 89 ca b8 37 00 00 00 0f 05 <48> 3d 01 f0 ff ff 0f 83 ca 88 fb ff c3 66 0f 1f 84 00 00 00 00 00 RSP: 002b:00007ffc30375f98 EFLAGS: 00000212 ORIG_RAX: 0000000000000037 RAX: ffffffffffffffda RBX: 00007ffc30376000 RCX: 000000000046096a RDX: 0000000000000061 RSI: 0000000000000000 RDI: 0000000000000003 RBP: 0000000000000003 R08: 00007ffc30375fac R09: 000000000000000a R10: 00007ffc30376000 R11: 0000000000000212 R12: 0000000000000000 R13: 00007ffc30376680 R14: 000000000005468b R15: 00007ffc30376690 ================================================================================ ================================================================================ 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: 0 PID: 6515 Comm: syz-executor.0 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:arch_local_irq_restore arch/x86/include/asm/paravirt.h:789 [inline] RIP: 0010:lock_acquire+0x1ec/0x3f0 kernel/locking/lockdep.c:3910 Code: 08 00 00 00 00 00 00 48 c1 e8 03 80 3c 10 00 0f 85 dd 01 00 00 48 83 3d 99 8d 0b 08 00 0f 84 4e 01 00 00 48 8b 7c 24 08 57 9d <0f> 1f 44 00 00 48 83 c4 18 5b 5d 41 5c 41 5d 41 5e 41 5f c3 65 8b RSP: 0018:ffff88808e4bfaa8 EFLAGS: 00000286 ORIG_RAX: ffffffffffffff13 RAX: 1ffffffff12c713d RBX: ffff8880969c0000 RCX: 434808970ddaea22 RDX: dffffc0000000000 RSI: ffff8880969c0888 RDI: 0000000000000286 RBP: ffff888093f971c8 R08: 000000006e52981d R09: 0000000000000000 R10: 0000000000000028 R11: 0000000000000001 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000001 R15: 0000000000000001 __might_fault mm/memory.c:4731 [inline] __might_fault+0x152/0x1d0 mm/memory.c:4716 _copy_to_user+0x29/0x100 lib/usercopy.c:25 copy_to_user include/linux/uaccess.h:155 [inline] xt_obj_to_user+0x86/0xf0 net/netfilter/x_tables.c:284 xt_target_to_user+0xa8/0x200 net/netfilter/x_tables.c:328 copy_entries_to_user net/ipv4/netfilter/arp_tables.c:704 [inline] get_entries net/ipv4/netfilter/arp_tables.c:866 [inline] do_arpt_get_ctl+0x5da/0x7d0 net/ipv4/netfilter/arp_tables.c:1488 nf_sockopt net/netfilter/nf_sockopt.c:104 [inline] nf_getsockopt+0x72/0xd0 net/netfilter/nf_sockopt.c:122 ip_getsockopt net/ipv4/ip_sockglue.c:1574 [inline] ip_getsockopt+0x167/0x1c0 net/ipv4/ip_sockglue.c:1554 tcp_getsockopt+0x86/0xd0 net/ipv4/tcp.c:3616 __sys_getsockopt+0x135/0x210 net/socket.c:1938 __do_sys_getsockopt net/socket.c:1949 [inline] __se_sys_getsockopt net/socket.c:1946 [inline] __x64_sys_getsockopt+0xba/0x150 net/socket.c:1946 do_syscall_64+0xf9/0x670 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x46096a Code: b8 34 01 00 00 0f 05 48 3d 01 f0 ff ff 0f 83 ed 88 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 49 89 ca b8 37 00 00 00 0f 05 <48> 3d 01 f0 ff ff 0f 83 ca 88 fb ff c3 66 0f 1f 84 00 00 00 00 00 RSP: 002b:00007ffc30375f98 EFLAGS: 00000212 ORIG_RAX: 0000000000000037 RAX: ffffffffffffffda RBX: 00007ffc30376000 RCX: 000000000046096a RDX: 0000000000000061 RSI: 0000000000000000 RDI: 0000000000000003 RBP: 0000000000000003 R08: 00007ffc30375fac R09: 000000000000000a R10: 00007ffc30376000 R11: 0000000000000212 R12: 0000000000000000 R13: 00007ffc30376680 R14: 000000000005468b R15: 00007ffc30376690 ================================================================================ ================================================================================ UBSAN: Undefined behaviour in net/core/gen_estimator.c:90:46 shift exponent -247 is negative CPU: 0 PID: 6515 Comm: syz-executor.0 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:arch_local_irq_restore arch/x86/include/asm/paravirt.h:789 [inline] RIP: 0010:lock_acquire+0x1ec/0x3f0 kernel/locking/lockdep.c:3910 Code: 08 00 00 00 00 00 00 48 c1 e8 03 80 3c 10 00 0f 85 dd 01 00 00 48 83 3d 99 8d 0b 08 00 0f 84 4e 01 00 00 48 8b 7c 24 08 57 9d <0f> 1f 44 00 00 48 83 c4 18 5b 5d 41 5c 41 5d 41 5e 41 5f c3 65 8b RSP: 0018:ffff88808e4bfaa8 EFLAGS: 00000286 ORIG_RAX: ffffffffffffff13 RAX: 1ffffffff12c713d RBX: ffff8880969c0000 RCX: 434808970ddaea22 RDX: dffffc0000000000 RSI: ffff8880969c0888 RDI: 0000000000000286 RBP: ffff888093f971c8 R08: 000000006e52981d R09: 0000000000000000 R10: 0000000000000028 R11: 0000000000000001 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000001 R15: 0000000000000001 __might_fault mm/memory.c:4731 [inline] __might_fault+0x152/0x1d0 mm/memory.c:4716 _copy_to_user+0x29/0x100 lib/usercopy.c:25 copy_to_user include/linux/uaccess.h:155 [inline] xt_obj_to_user+0x86/0xf0 net/netfilter/x_tables.c:284 xt_target_to_user+0xa8/0x200 net/netfilter/x_tables.c:328 copy_entries_to_user net/ipv4/netfilter/arp_tables.c:704 [inline] get_entries net/ipv4/netfilter/arp_tables.c:866 [inline] do_arpt_get_ctl+0x5da/0x7d0 net/ipv4/netfilter/arp_tables.c:1488 nf_sockopt net/netfilter/nf_sockopt.c:104 [inline] nf_getsockopt+0x72/0xd0 net/netfilter/nf_sockopt.c:122 ip_getsockopt net/ipv4/ip_sockglue.c:1574 [inline] ip_getsockopt+0x167/0x1c0 net/ipv4/ip_sockglue.c:1554 tcp_getsockopt+0x86/0xd0 net/ipv4/tcp.c:3616 __sys_getsockopt+0x135/0x210 net/socket.c:1938 __do_sys_getsockopt net/socket.c:1949 [inline] __se_sys_getsockopt net/socket.c:1946 [inline] __x64_sys_getsockopt+0xba/0x150 net/socket.c:1946 do_syscall_64+0xf9/0x670 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x46096a Code: b8 34 01 00 00 0f 05 48 3d 01 f0 ff ff 0f 83 ed 88 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 49 89 ca b8 37 00 00 00 0f 05 <48> 3d 01 f0 ff ff 0f 83 ca 88 fb ff c3 66 0f 1f 84 00 00 00 00 00 RSP: 002b:00007ffc30375f98 EFLAGS: 00000212 ORIG_RAX: 0000000000000037 RAX: ffffffffffffffda RBX: 00007ffc30376000 RCX: 000000000046096a RDX: 0000000000000061 RSI: 0000000000000000 RDI: 0000000000000003 RBP: 0000000000000003 R08: 00007ffc30375fac R09: 000000000000000a R10: 00007ffc30376000 R11: 0000000000000212 R12: 0000000000000000 R13: 00007ffc30376680 R14: 000000000005468b R15: 00007ffc30376690 ================================================================================ ================================================================================ 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: 0 PID: 6515 Comm: syz-executor.0 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:arch_local_irq_restore arch/x86/include/asm/paravirt.h:789 [inline] RIP: 0010:lock_acquire+0x1ec/0x3f0 kernel/locking/lockdep.c:3910 Code: 08 00 00 00 00 00 00 48 c1 e8 03 80 3c 10 00 0f 85 dd 01 00 00 48 83 3d 99 8d 0b 08 00 0f 84 4e 01 00 00 48 8b 7c 24 08 57 9d <0f> 1f 44 00 00 48 83 c4 18 5b 5d 41 5c 41 5d 41 5e 41 5f c3 65 8b RSP: 0018:ffff88808e4bfaa8 EFLAGS: 00000286 ORIG_RAX: ffffffffffffff13 RAX: 1ffffffff12c713d RBX: ffff8880969c0000 RCX: 434808970ddaea22 RDX: dffffc0000000000 RSI: ffff8880969c0888 RDI: 0000000000000286 RBP: ffff888093f971c8 R08: 000000006e52981d R09: 0000000000000000 R10: 0000000000000028 R11: 0000000000000001 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000001 R15: 0000000000000001 __might_fault mm/memory.c:4731 [inline] __might_fault+0x152/0x1d0 mm/memory.c:4716 _copy_to_user+0x29/0x100 lib/usercopy.c:25 copy_to_user include/linux/uaccess.h:155 [inline] xt_obj_to_user+0x86/0xf0 net/netfilter/x_tables.c:284 xt_target_to_user+0xa8/0x200 net/netfilter/x_tables.c:328 copy_entries_to_user net/ipv4/netfilter/arp_tables.c:704 [inline] get_entries net/ipv4/netfilter/arp_tables.c:866 [inline] do_arpt_get_ctl+0x5da/0x7d0 net/ipv4/netfilter/arp_tables.c:1488 nf_sockopt net/netfilter/nf_sockopt.c:104 [inline] nf_getsockopt+0x72/0xd0 net/netfilter/nf_sockopt.c:122 ip_getsockopt net/ipv4/ip_sockglue.c:1574 [inline] ip_getsockopt+0x167/0x1c0 net/ipv4/ip_sockglue.c:1554 tcp_getsockopt+0x86/0xd0 net/ipv4/tcp.c:3616 __sys_getsockopt+0x135/0x210 net/socket.c:1938 __do_sys_getsockopt net/socket.c:1949 [inline] __se_sys_getsockopt net/socket.c:1946 [inline] __x64_sys_getsockopt+0xba/0x150 net/socket.c:1946 do_syscall_64+0xf9/0x670 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x46096a Code: b8 34 01 00 00 0f 05 48 3d 01 f0 ff ff 0f 83 ed 88 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 49 89 ca b8 37 00 00 00 0f 05 <48> 3d 01 f0 ff ff 0f 83 ca 88 fb ff c3 66 0f 1f 84 00 00 00 00 00 RSP: 002b:00007ffc30375f98 EFLAGS: 00000212 ORIG_RAX: 0000000000000037 RAX: ffffffffffffffda RBX: 00007ffc30376000 RCX: 000000000046096a RDX: 0000000000000061 RSI: 0000000000000000 RDI: 0000000000000003 RBP: 0000000000000003 R08: 00007ffc30375fac R09: 000000000000000a R10: 00007ffc30376000 R11: 0000000000000212 R12: 0000000000000000 R13: 00007ffc30376680 R14: 000000000005468b R15: 00007ffc30376690 ================================================================================ audit: type=1804 audit(1603217746.225:36): pid=18467 uid=0 auid=0 ses=4 subj=system_u:system_r:kernel_t:s0 op=invalid_pcr cause=open_writers comm="syz-executor.0" name="/root/syzkaller-testdir084804011/syzkaller.oGOfNS/660/bus" dev="sda1" ino=16501 res=1 audit: type=1804 audit(1603217746.385:37): pid=18467 uid=0 auid=0 ses=4 subj=system_u:system_r:kernel_t:s0 op=invalid_pcr cause=open_writers comm="syz-executor.0" name="/root/syzkaller-testdir084804011/syzkaller.oGOfNS/660/bus" dev="sda1" ino=16501 res=1 netlink: 60 bytes leftover after parsing attributes in process `syz-executor.3'. netlink: 60 bytes leftover after parsing attributes in process `syz-executor.3'. netlink: 24 bytes leftover after parsing attributes in process `syz-executor.3'. netlink: 32 bytes leftover after parsing attributes in process `syz-executor.3'. netlink: 32 bytes leftover after parsing attributes in process `syz-executor.3'. netlink: 32 bytes leftover after parsing attributes in process `syz-executor.3'. new mount options do not match the existing superblock, will be ignored new mount options do not match the existing superblock, will be ignored SQUASHFS error: zlib decompression failed, data probably corrupt SQUASHFS error: squashfs_read_data failed to read block 0x81 SQUASHFS error: Unable to read metadata cache entry [81] SQUASHFS error: Unable to read inode 0x11a SQUASHFS error: zlib decompression failed, data probably corrupt SQUASHFS error: squashfs_read_data failed to read block 0x81 SQUASHFS error: Unable to read metadata cache entry [81] SQUASHFS error: Unable to read inode 0x11a netlink: 'syz-executor.3': attribute type 1 has an invalid length. bond1 (unregistering): Released all slaves netlink: 'syz-executor.3': attribute type 1 has an invalid length. netlink: 'syz-executor.3': attribute type 1 has an invalid length.