UBSAN: shift-out-of-bounds in net/mac80211/tx.c:2184:30 shift exponent 235 is too large for 64-bit type 'long unsigned int' CPU: 3 UID: 0 PID: 5930 Comm: syz.0.17 Not tainted syzkaller #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x100/0x190 lib/dump_stack.c:120 ubsan_epilogue+0xa/0x30 lib/ubsan.c:233 __ubsan_handle_shift_out_of_bounds+0x279/0x2a0 lib/ubsan.c:494 ieee80211_parse_tx_radiotap.cold+0x1a/0x1f net/mac80211/tx.c:2184 ieee80211_monitor_start_xmit+0x901/0x1280 net/mac80211/tx.c:2461 __netdev_start_xmit include/linux/netdevice.h:5368 [inline] netdev_start_xmit include/linux/netdevice.h:5377 [inline] xmit_one net/core/dev.c:3888 [inline] dev_hard_start_xmit+0x128/0x7a0 net/core/dev.c:3904 __dev_queue_xmit+0x1baa/0x4950 net/core/dev.c:4870 dev_queue_xmit include/linux/netdevice.h:3418 [inline] packet_xmit+0x243/0x310 net/packet/af_packet.c:276 packet_snd net/packet/af_packet.c:3082 [inline] packet_sendmsg+0x319a/0x5100 net/packet/af_packet.c:3114 sock_sendmsg_nosec net/socket.c:787 [inline] __sock_sendmsg net/socket.c:802 [inline] __sys_sendto+0x468/0x4b0 net/socket.c:2265 __do_sys_sendto net/socket.c:2272 [inline] __se_sys_sendto net/socket.c:2268 [inline] __x64_sys_sendto+0xe0/0x1c0 net/socket.c:2268 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x115/0x870 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f7e8e19ce59 Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 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 73 01 c3 48 c7 c1 e8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f7e8f136028 EFLAGS: 00000246 ORIG_RAX: 000000000000002c RAX: ffffffffffffffda RBX: 00007f7e8e415fa0 RCX: 00007f7e8e19ce59 RDX: 0000000000000038 RSI: 0000200000000640 RDI: 0000000000000007 RBP: 00007f7e8e232d6f R08: 0000200000000380 R09: 0000000000000014 R10: 0000000004000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f7e8e416038 R14: 00007f7e8e415fa0 R15: 00007ffeb88c5618 ---[ end trace ]---