UBSAN: shift-out-of-bounds in kernel/bpf/core.c:1415:2 shift exponent 255 is too large for 64-bit type 'long long unsigned int' CPU: 0 PID: 12906 Comm: kworker/u16:6 Not tainted 5.13.0-rc6-syzkaller #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.14.0-2 04/01/2014 Workqueue: bat_events batadv_iv_send_outstanding_bat_ogm_packet Call Trace: __dump_stack lib/dump_stack.c:79 [inline] dump_stack+0x141/0x1d7 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:327 ___bpf_prog_run.cold+0x19/0x56c kernel/bpf/core.c:1415 __bpf_prog_run32+0x8a/0xd0 kernel/bpf/core.c:1730 bpf_dispatcher_nop_func include/linux/bpf.h:684 [inline] bpf_prog_run_pin_on_cpu include/linux/filter.h:624 [inline] bpf_prog_run_clear_cb include/linux/filter.h:756 [inline] run_filter+0x249/0x470 net/packet/af_packet.c:2035 packet_rcv+0x313/0x13e0 net/packet/af_packet.c:2108 dev_queue_xmit_nit+0x7c2/0xa90 net/core/dev.c:2445 xmit_one net/core/dev.c:3649 [inline] dev_hard_start_xmit+0xad/0x920 net/core/dev.c:3670 __dev_queue_xmit+0x2133/0x3130 net/core/dev.c:4246 batadv_send_skb_packet+0x4a9/0x5f0 net/batman-adv/send.c:108 batadv_iv_ogm_send_to_if net/batman-adv/bat_iv_ogm.c:393 [inline] batadv_iv_ogm_emit net/batman-adv/bat_iv_ogm.c:421 [inline] batadv_iv_send_outstanding_bat_ogm_packet+0x6d7/0x910 net/batman-adv/bat_iv_ogm.c:1713 process_one_work+0x98d/0x1600 kernel/workqueue.c:2276 worker_thread+0x64c/0x1120 kernel/workqueue.c:2422 kthread+0x3b1/0x4a0 kernel/kthread.c:313 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294 ================================================================================