================================================================================ UBSAN: shift-out-of-bounds in net/core/gen_estimator.c:83:38 shift exponent -8 is negative CPU: 0 PID: 17636 Comm: syz-executor.3 Not tainted 5.11.0-rc4-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/0x6b0 kernel/time/timer.c:1417 expire_timers kernel/time/timer.c:1462 [inline] __run_timers.part.0+0x67c/0xa50 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/0xa29 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 kernel/softirq.c:420 [inline] irq_exit_rcu+0x134/0x200 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_acl+0xc1/0x450 security/tomoyo/domain.c:173 Code: a5 c9 eb fd 48 8d 7b 18 48 89 f8 48 89 fa 48 c1 e8 03 83 e2 07 0f b6 04 28 38 d0 7f 08 84 c0 0f 85 f7 02 00 00 44 0f b6 73 18 <31> ff 44 89 f6 e8 f5 cf eb fd 45 84 f6 0f 85 61 01 00 00 e8 67 c9 RSP: 0018:ffffc900021efbf8 EFLAGS: 00000246 RAX: 0000000000000000 RBX: ffff88801c838580 RCX: ffffc9000fd14000 RDX: 0000000000000000 RSI: ffffffff8387001b RDI: ffff88801c838598 RBP: dffffc0000000000 R08: 0000000000000000 R09: 0000000000000002 R10: ffffffff838700a1 R11: 0000000000000000 R12: ffffc900021efcc0 R13: ffff8880238a4b90 R14: 0000000000000000 R15: 0000000000000002 tomoyo_path_number_perm+0x32a/0x590 security/tomoyo/file.c:733 security_file_ioctl+0x50/0xb0 security/security.c:1482 __do_sys_ioctl fs/ioctl.c:747 [inline] __se_sys_ioctl fs/ioctl.c:739 [inline] __x64_sys_ioctl+0xb3/0x200 fs/ioctl.c:739 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x45e087 Code: 48 83 c4 08 48 89 d8 5b 5d c3 66 0f 1f 84 00 00 00 00 00 48 89 e8 48 f7 d8 48 39 c3 0f 92 c0 eb 92 66 90 b8 10 00 00 00 0f 05 <48> 3d 01 f0 ff ff 0f 83 6d b5 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007fa4327e00f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 0000000020029000 RCX: 000000000045e087 RDX: 00007fa4327e05d0 RSI: 000000004020ae46 RDI: 0000000000000005 RBP: 00007fa4327e05d0 R08: 0000000000000001 R09: 0000000000000024 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000005 R13: 0000000000000016 R14: 0000000000000017 R15: 000000002003f000 ================================================================================