================================================================================ UBSAN: shift-out-of-bounds in net/core/gen_estimator.c:83:38 shift exponent -1 is negative CPU: 1 PID: 8503 Comm: syz-executor.2 Not tainted 5.10.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:79 [inline] dump_stack+0x107/0x163 lib/dump_stack.c:120 ubsan_epilogue+0xb/0x5a lib/ubsan.c:148 __ubsan_handle_shift_out_of_bounds.cold+0xb1/0x181 lib/ubsan.c:395 est_timer.cold+0xbb/0x12d net/core/gen_estimator.c:83 call_timer_fn+0x1a5/0x710 kernel/time/timer.c:1417 expire_timers kernel/time/timer.c:1462 [inline] __run_timers.part.0+0x692/0xa80 kernel/time/timer.c:1731 __run_timers kernel/time/timer.c:1712 [inline] run_timer_softirq+0xb3/0x1d0 kernel/time/timer.c:1744 __do_softirq+0x2bc/0xa77 kernel/softirq.c:343 asm_call_irq_on_stack+0xf/0x20 __run_on_irqstack arch/x86/include/asm/irq_stack.h:26 [inline] run_on_irqstack_cond arch/x86/include/asm/irq_stack.h:77 [inline] do_softirq_own_stack+0xaa/0xd0 arch/x86/kernel/irq_64.c:77 invoke_softirq kernel/softirq.c:226 [inline] __irq_exit_rcu+0x17f/0x200 kernel/softirq.c:420 irq_exit_rcu+0x5/0x20 kernel/softirq.c:432 sysvec_apic_timer_interrupt+0x4d/0x100 arch/x86/kernel/apic/apic.c:1096 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:628 RIP: 0010:tomoyo_check_path_acl+0x4a/0x210 security/tomoyo/file.c:258 Code: fc ff df 48 89 fa 48 c1 ea 03 0f b6 04 02 84 c0 74 06 0f 8e 86 01 00 00 44 0f b6 6d 28 bf 1f 00 00 00 44 89 ee e8 f6 09 eb fd <41> 80 fd 1f 0f 87 07 07 51 05 e8 67 03 eb fd 49 8d 7c 24 1a 48 b8 RSP: 0018:ffffc900019efa88 EFLAGS: 00000246 RAX: 0000000000000000 RBX: ffff888020c65880 RCX: ffff888011753580 RDX: 0000000000000000 RSI: ffff888011753580 RDI: 0000000000000003 RBP: ffffc900019efbf0 R08: 00000000c956c8d5 R09: 0000000000000005 R10: ffffffff83871a0a R11: 000000000000001f R12: ffff888020c65880 R13: 0000000000000005 R14: 0000000000000000 R15: 0000000000000000 tomoyo_check_acl+0x13c/0x450 security/tomoyo/domain.c:175 tomoyo_path_permission security/tomoyo/file.c:586 [inline] tomoyo_path_permission+0x1ff/0x3a0 security/tomoyo/file.c:573 tomoyo_path_perm+0x2ec/0x3f0 security/tomoyo/file.c:838 security_inode_getattr+0xcf/0x140 security/security.c:1280 vfs_getattr fs/stat.c:121 [inline] vfs_fstat+0x43/0xb0 fs/stat.c:146 __do_sys_newfstat+0x81/0x100 fs/stat.c:386 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x45d4b4 Code: c0 d4 ff ff ff 64 c7 00 16 00 00 00 b8 ff ff ff ff c3 0f 1f 40 00 83 ff 01 89 f0 77 31 48 63 f8 48 89 d6 b8 05 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 04 f3 c3 66 90 48 c7 c2 d4 ff ff ff f7 d8 64 RSP: 002b:00007ffd4fb22c68 EFLAGS: 00000246 ORIG_RAX: 0000000000000005 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 000000000045d4b4 RDX: 00007ffd4fb22c70 RSI: 00007ffd4fb22c70 RDI: 0000000000000003 RBP: 0000000000000101 R08: 0000000000000000 R09: 0000000002d83940 R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffd4fb23e50 R13: 00007ffd4fb23e40 R14: 0000000000000000 R15: 0000000000034bd5 ================================================================================