------------[ cut here ]------------ UBSAN: shift-out-of-bounds in net/wireless/chan.c:1831:49 shift exponent -22 is negative CPU: 0 UID: 0 PID: 6635 Comm: syz.3.380 Not tainted syzkaller #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014 Call Trace: Call Trace: dump_stack_lvl+0xe8/0x150 ubsan_epilogue+0xa/0x30 __ubsan_handle_shift_out_of_bounds+0x36d/0x400 cfg80211_set_monitor_channel+0x38a/0x8d0 __nl80211_set_channel+0x340/0x990 nl80211_set_wiphy+0x127c/0x3050 genl_family_rcv_msg_doit+0x233/0x340 genl_rcv_msg+0x614/0x7a0 netlink_rcv_skb+0x226/0x4a0 genl_rcv+0x28/0x40 netlink_unicast+0x7bd/0x940 netlink_sendmsg+0x813/0xb40 sock_sendmsg_nosec+0x13a/0x180 ____sys_sendmsg+0x54e/0x850 ___sys_sendmsg+0x2a5/0x360 __x64_sys_sendmsg+0x1b1/0x290 do_syscall_64+0x166/0x520 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fbeb4b9e159 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:00007fbeb5aef028 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007fbeb4e25fa0 RCX: 00007fbeb4b9e159 RDX: 0000000004040000 RSI: 0000200000000040 RDI: 0000000000000003 RBP: 00007fbeb4c3506b R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fbeb4e26038 R14: 00007fbeb4e25fa0 R15: 00007ffe46366df8 ---[ end trace ]---