================================================================================ UBSAN: shift-out-of-bounds in kernel/sched/fair.c:7712:14 shift exponent 76 is too large for 64-bit type 'long unsigned int' CPU: 0 PID: 16785 Comm: kworker/u4:6 Not tainted 5.12.0-rc4-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 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 detach_tasks kernel/sched/fair.c:7712 [inline] load_balance.cold+0x1d/0x2e kernel/sched/fair.c:9641 rebalance_domains+0x5cc/0xdb0 kernel/sched/fair.c:10029 __do_softirq+0x29b/0x9f6 kernel/softirq.c:345 invoke_softirq kernel/softirq.c:221 [inline] __irq_exit_rcu kernel/softirq.c:422 [inline] irq_exit_rcu+0x134/0x200 kernel/softirq.c:434 sysvec_apic_timer_interrupt+0x93/0xc0 arch/x86/kernel/apic/apic.c:1100 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:632 RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:161 [inline] RIP: 0010:_raw_spin_unlock_irqrestore+0x38/0x70 kernel/locking/spinlock.c:191 Code: 74 24 10 e8 5a 43 54 f8 48 89 ef e8 82 f9 54 f8 81 e3 00 02 00 00 75 25 9c 58 f6 c4 02 75 2d 48 85 db 74 01 fb bf 01 00 00 00 73 c7 48 f8 65 8b 05 1c 92 fc 76 85 c0 74 0a 5b 5d c3 e8 e0 82 RSP: 0018:ffffc90003217ad0 EFLAGS: 00000206 RAX: 0000000000000006 RBX: 0000000000000200 RCX: 1ffffffff1f5d9da RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000001 RBP: ffffffff900626e0 R08: 0000000000000001 R09: ffffffff8fa9997f R10: 0000000000000001 R11: 000000000000003f R12: 0000000000000001 R13: 0000000000000001 R14: dead000000000100 R15: dffffc0000000000 __debug_check_no_obj_freed lib/debugobjects.c:997 [inline] debug_check_no_obj_freed+0x20c/0x420 lib/debugobjects.c:1018 slab_free_hook mm/slub.c:1554 [inline] slab_free_freelist_hook+0x147/0x210 mm/slub.c:1600 slab_free mm/slub.c:3161 [inline] kmem_cache_free+0x8a/0x740 mm/slub.c:3177 kfree_skbmem+0xef/0x1b0 net/core/skbuff.c:683 __kfree_skb net/core/skbuff.c:740 [inline] consume_skb net/core/skbuff.c:895 [inline] consume_skb+0xcf/0x160 net/core/skbuff.c:889 batadv_forw_packet_free+0x1e7/0x270 net/batman-adv/send.c:475 batadv_iv_send_outstanding_bat_ogm_packet+0x2b5/0x920 net/batman-adv/bat_iv_ogm.c:1729 process_one_work+0x98d/0x1600 kernel/workqueue.c:2275 worker_thread+0x64c/0x1120 kernel/workqueue.c:2421 kthread+0x3b1/0x4a0 kernel/kthread.c:292 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294 ================================================================================