================================================================================ UBSAN: shift-out-of-bounds in net/sched/sch_api.c:580:10 shift exponent 128 is too large for 32-bit type 'int' CPU: 1 PID: 2970 Comm: systemd-udevd Not tainted 5.15.0-rc2-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xcd/0x134 lib/dump_stack.c:106 ubsan_epilogue+0xb/0x5a lib/ubsan.c:151 __ubsan_handle_shift_out_of_bounds.cold+0xb1/0x181 lib/ubsan.c:330 __qdisc_calculate_pkt_len.cold+0x1b/0xcf net/sched/sch_api.c:580 qdisc_calculate_pkt_len include/net/sch_generic.h:841 [inline] __dev_xmit_skb net/core/dev.c:3788 [inline] __dev_queue_xmit+0x115c/0x36e0 net/core/dev.c:4172 neigh_resolve_output net/core/neighbour.c:1492 [inline] neigh_resolve_output+0x50e/0x820 net/core/neighbour.c:1472 neigh_output include/net/neighbour.h:510 [inline] ip6_finish_output2+0x717/0x1500 net/ipv6/ip6_output.c:126 __ip6_finish_output net/ipv6/ip6_output.c:191 [inline] __ip6_finish_output+0x4c1/0x1050 net/ipv6/ip6_output.c:170 ip6_finish_output+0x32/0x200 net/ipv6/ip6_output.c:201 NF_HOOK_COND include/linux/netfilter.h:296 [inline] ip6_output+0x1e4/0x530 net/ipv6/ip6_output.c:224 dst_output include/net/dst.h:450 [inline] NF_HOOK include/linux/netfilter.h:307 [inline] ndisc_send_skb+0xa99/0x17f0 net/ipv6/ndisc.c:508 ndisc_send_rs+0x12e/0x6f0 net/ipv6/ndisc.c:702 addrconf_rs_timer+0x3f2/0x820 net/ipv6/addrconf.c:3893 call_timer_fn+0x1a5/0x6b0 kernel/time/timer.c:1421 expire_timers kernel/time/timer.c:1466 [inline] __run_timers.part.0+0x675/0xa20 kernel/time/timer.c:1734 __run_timers kernel/time/timer.c:1715 [inline] run_timer_softirq+0xb3/0x1d0 kernel/time/timer.c:1747 __do_softirq+0x29b/0x9c2 kernel/softirq.c:558 invoke_softirq kernel/softirq.c:432 [inline] __irq_exit_rcu+0x123/0x180 kernel/softirq.c:636 irq_exit_rcu+0x5/0x20 kernel/softirq.c:648 sysvec_apic_timer_interrupt+0x93/0xc0 arch/x86/kernel/apic/apic.c:1097 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:638 RIP: 0010:__sanitizer_cov_trace_const_cmp1+0x0/0x80 kernel/kcov.c:269 Code: 39 fe 72 1f 48 83 c2 01 4c 89 44 38 e8 48 c7 44 38 e0 06 00 00 00 48 89 4c 38 f0 4e 89 54 c8 20 48 89 10 c3 66 0f 1f 44 00 00 <53> 41 89 fb 41 89 f1 bf 03 00 00 00 65 48 8b 0c 25 40 f0 01 00 48 RSP: 0018:ffffc90002a27860 EFLAGS: 00000206 RAX: 0000000000000000 RBX: 000000000000000c RCX: 0000000000000000 RDX: ffff88807ad3d580 RSI: 000000000000000c RDI: 0000000000000010 RBP: ffff88801cddc180 R08: 0000000000000000 R09: 000000000000000b R10: ffffffff83a23107 R11: 0000000000000010 R12: 0000000000000020 R13: 0000000000000048 R14: dffffc0000000000 R15: 0000000000000000 tomoyo_domain_quota_is_ok+0x32a/0x550 security/tomoyo/util.c:1092 tomoyo_supervisor+0x2f2/0xf00 security/tomoyo/common.c:2089 tomoyo_audit_path_log security/tomoyo/file.c:168 [inline] tomoyo_path_permission security/tomoyo/file.c:587 [inline] tomoyo_path_permission+0x270/0x3a0 security/tomoyo/file.c:573 tomoyo_path_perm+0x2f0/0x400 security/tomoyo/file.c:838 security_inode_getattr+0xcf/0x140 security/security.c:1333 vfs_getattr fs/stat.c:157 [inline] vfs_statx+0x164/0x390 fs/stat.c:225 vfs_fstatat fs/stat.c:243 [inline] vfs_lstat include/linux/fs.h:3356 [inline] __do_sys_newlstat+0x91/0x110 fs/stat.c:398 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f11e4b12335 Code: 69 db 2b 00 64 c7 00 16 00 00 00 b8 ff ff ff ff c3 0f 1f 40 00 83 ff 01 48 89 f0 77 30 48 89 c7 48 89 d6 b8 06 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 03 f3 c3 90 48 8b 15 31 db 2b 00 f7 d8 64 89 RSP: 002b:00007ffee9beb098 EFLAGS: 00000246 ORIG_RAX: 0000000000000006 RAX: ffffffffffffffda RBX: 000055c93110b440 RCX: 00007f11e4b12335 RDX: 00007ffee9beb0d0 RSI: 00007ffee9beb0d0 RDI: 000055c93110a440 RBP: 00007ffee9beb190 R08: 00007f11e4dd11d8 R09: 0000000000001010 R10: 0000000000000220 R11: 0000000000000246 R12: 000055c93110a440 R13: 000055c93110a463 R14: 000055c9311043a1 R15: 000055c9311043a3 ================================================================================ ---------------- Code disassembly (best guess): 0: 39 fe cmp %edi,%esi 2: 72 1f jb 0x23 4: 48 83 c2 01 add $0x1,%rdx 8: 4c 89 44 38 e8 mov %r8,-0x18(%rax,%rdi,1) d: 48 c7 44 38 e0 06 00 movq $0x6,-0x20(%rax,%rdi,1) 14: 00 00 16: 48 89 4c 38 f0 mov %rcx,-0x10(%rax,%rdi,1) 1b: 4e 89 54 c8 20 mov %r10,0x20(%rax,%r9,8) 20: 48 89 10 mov %rdx,(%rax) 23: c3 retq 24: 66 0f 1f 44 00 00 nopw 0x0(%rax,%rax,1) * 2a: 53 push %rbx <-- trapping instruction 2b: 41 89 fb mov %edi,%r11d 2e: 41 89 f1 mov %esi,%r9d 31: bf 03 00 00 00 mov $0x3,%edi 36: 65 48 8b 0c 25 40 f0 mov %gs:0x1f040,%rcx 3d: 01 00 3f: 48 rex.W