================================================================================ UBSAN: shift-out-of-bounds in net/core/gen_estimator.c:83:38 shift exponent -1 is negative CPU: 1 PID: 4890 Comm: systemd-udevd 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+0x6f6/0xb10 kernel/time/timer.c:1731 run_timer_softirq+0x7d/0x140 kernel/time/timer.c:1744 __do_softirq+0x2cb/0xad5 kernel/softirq.c:298 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:393 [inline] __irq_exit_rcu kernel/softirq.c:423 [inline] irq_exit_rcu+0x18a/0x1b0 kernel/softirq.c:435 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:write_comp_data+0x78/0x80 kernel/kcov.c:242 Code: 00 00 4e 8d 0c dd 28 00 00 00 4c 39 ce 72 1b 49 83 c0 01 4a 89 7c 08 e0 4e 89 54 08 e8 4a 89 54 08 f0 4a 89 4c d8 20 4c 89 00 0f 1f 80 00 00 00 00 48 8b 0c 24 40 0f b6 d6 40 0f b6 f7 31 ff RSP: 0018:ffffc90000eefa80 EFLAGS: 00000293 RAX: 0000000000000000 RBX: ffff888026152500 RCX: ffffffff83934cc1 RDX: 0000000000000000 RSI: ffff888012c50000 RDI: 0000000000000000 RBP: dffffc0000000000 R08: 0000000000000001 R09: ffffffff8fe6f837 R10: 0000000000000000 R11: 0000000000000001 R12: ffffc90000eefbc8 R13: ffff88814142e290 R14: 0000000000000000 R15: 0000000000000000 tomoyo_check_acl+0x121/0x450 security/tomoyo/domain.c:173 tomoyo_path_permission security/tomoyo/file.c:586 [inline] tomoyo_path_permission+0x232/0x440 security/tomoyo/file.c:573 tomoyo_path_perm+0x30f/0x430 security/tomoyo/file.c:838 tomoyo_path_unlink+0x8e/0xd0 security/tomoyo/tomoyo.c:150 security_path_unlink+0xd7/0x150 security/security.c:1102 do_unlinkat+0x375/0x660 fs/namei.c:3894 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x7f4e175040e7 Code: f0 ff ff 73 01 c3 48 8b 0d ae bd 2b 00 f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 b8 57 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 81 bd 2b 00 f7 d8 64 89 01 48 RSP: 002b:00007ffe5a2662a8 EFLAGS: 00000293 ORIG_RAX: 0000000000000057 RAX: ffffffffffffffda RBX: 0000562966d6f610 RCX: 00007f4e175040e7 RDX: 00007ffe5a2662c4 RSI: 0000562966b1a7dc RDI: 00007ffe5a2662b0 RBP: 00000000000004ff R08: 0000000000000001 R09: 0000000000000014 R10: 0000000000000064 R11: 0000000000000293 R12: 00007ffe5a2664a0 R13: 0000562966d5d010 R14: 0000562966d6f610 R15: 00007ffe5a266370 ================================================================================