================================================================================ UBSAN: Undefined behaviour in ./include/net/red.h:272:18 shift exponent 234 is too large for 64-bit type 'long unsigned int' CPU: 1 PID: 24735 Comm: syz-executor.4 Not tainted 4.19.148-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 red_calc_qavg_from_idle_time include/net/red.h:272 [inline] red_adaptative_algo include/net/red.h:404 [inline] red_adaptative_timer+0x7ed/0x870 net/sched/sch_red.c:266 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:get_current arch/x86/include/asm/current.h:15 [inline] RIP: 0010:__sanitizer_cov_trace_pc+0x4/0x50 kernel/kcov.c:100 Code: 04 0f 88 4c 89 25 fc fa bc 0b 41 bc f4 ff ff ff e8 40 7b e9 ff 48 c7 05 e6 fa bc 0b 00 00 00 00 e9 39 ec ff ff 90 48 8b 34 24 <65> 48 8b 04 25 40 ee 01 00 65 8b 15 dc 2a 90 7e 81 e2 00 01 1f 00 RSP: 0018:ffff888033eaf360 EFLAGS: 00000217 ORIG_RAX: ffffffffffffff13 RAX: 0000000000000000 RBX: 0000000000000001 RCX: ffffc9000e378000 RDX: 0000000000000000 RSI: ffffffff817d062e RDI: ffff888045e1c774 RBP: 000000000045e179 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000002 R12: 0000000000000000 R13: 0000000000000000 R14: ffff888045e1c400 R15: 0000000000000028 rcu_lock_release include/linux/rcupdate.h:247 [inline] rcu_read_unlock include/linux/rcupdate.h:681 [inline] is_bpf_text_address+0x11e/0x1f0 kernel/bpf/core.c:547 kernel_text_address kernel/extable.c:152 [inline] kernel_text_address+0xbd/0xf0 kernel/extable.c:122 __kernel_text_address+0x9/0x30 kernel/extable.c:107 unwind_get_return_address+0x51/0x90 arch/x86/kernel/unwind_orc.c:297 __save_stack_trace+0x99/0x100 arch/x86/kernel/stacktrace.c:45 save_stack mm/kasan/kasan.c:448 [inline] set_track mm/kasan/kasan.c:460 [inline] kasan_kmalloc+0xeb/0x160 mm/kasan/kasan.c:553 kmem_cache_alloc+0x126/0x4a0 mm/slab.c:3559 kmem_cache_zalloc include/linux/slab.h:699 [inline] fill_pool lib/debugobjects.c:134 [inline] __debug_object_init+0x78a/0xb20 lib/debugobjects.c:379 debug_object_init lib/debugobjects.c:431 [inline] debug_object_activate+0x389/0x450 lib/debugobjects.c:512 debug_rcu_head_queue kernel/rcu/rcu.h:193 [inline] __call_rcu.constprop.0+0x31/0x8a0 kernel/rcu/tree.c:2977 __purge_vmap_area_lazy+0x17c/0x280 mm/vmalloc.c:687 vm_unmap_aliases mm/vmalloc.c:1113 [inline] vm_unmap_aliases+0x49d/0x5d0 mm/vmalloc.c:1076 change_page_attr_set_clr+0x247/0xd50 arch/x86/mm/pageattr.c:1497 change_page_attr_clear arch/x86/mm/pageattr.c:1560 [inline] set_memory_ro+0x78/0xa0 arch/x86/mm/pageattr.c:1789 bpf_jit_binary_lock_ro include/linux/filter.h:686 [inline] bpf_int_jit_compile+0x7b8/0xd57 arch/x86/net/bpf_jit_comp.c:1148 bpf_prog_select_runtime+0x3d7/0x4b0 kernel/bpf/core.c:1559 bpf_migrate_filter+0x2dc/0x380 net/core/filter.c:1273 bpf_prepare_filter+0x183/0x370 net/core/filter.c:1321 bpf_prog_create_from_user+0x1e4/0x2e0 net/core/filter.c:1415 seccomp_prepare_filter kernel/seccomp.c:395 [inline] seccomp_prepare_user_filter kernel/seccomp.c:430 [inline] seccomp_set_mode_filter kernel/seccomp.c:862 [inline] do_seccomp+0x3f4/0x1d90 kernel/seccomp.c:935 do_syscall_64+0xf9/0x670 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x45e179 Code: 3d b2 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 0f 83 0b b2 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f82ef650c78 EFLAGS: 00000246 ORIG_RAX: 000000000000013d RAX: ffffffffffffffda RBX: 0000000000027980 RCX: 000000000045e179 RDX: 0000000020000040 RSI: 0000000000000000 RDI: 0000000000000001 RBP: 000000000118cf80 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000118cf4c R13: 00007ffc441000ef R14: 00007f82ef6519c0 R15: 000000000118cf4c ================================================================================ netlink: 24 bytes leftover after parsing attributes in process `syz-executor.4'. netlink: 24 bytes leftover after parsing attributes in process `syz-executor.4'. netlink: 24 bytes leftover after parsing attributes in process `syz-executor.4'. netlink: 4 bytes leftover after parsing attributes in process `syz-executor.3'. netlink: 4 bytes leftover after parsing attributes in process `syz-executor.3'. IPv6: ADDRCONF(NETDEV_CHANGE): lo: link becomes ready IPv6: ADDRCONF(NETDEV_CHANGE): vcan0: link becomes ready IPv6: ADDRCONF(NETDEV_CHANGE): vxcan0: link becomes ready IPv6: ADDRCONF(NETDEV_CHANGE): vxcan1: link becomes ready sock: process `syz-executor.5' is using obsolete setsockopt SO_BSDCOMPAT input: syz0 as /devices/virtual/input/input53 netlink: 8 bytes leftover after parsing attributes in process `syz-executor.5'. netlink: 8 bytes leftover after parsing attributes in process `syz-executor.5'.