================================================================================ UBSAN: Undefined behaviour in sound/core/oss/pcm_oss.c:720:23 shift exponent 65535 is too large for 32-bit type 'int' CPU: 0 PID: 1653 Comm: syz-executor.3 Not tainted 4.19.152-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 snd_pcm_oss_period_size sound/core/oss/pcm_oss.c:720 [inline] snd_pcm_oss_change_params_locked.cold+0xf7/0x11a sound/core/oss/pcm_oss.c:943 snd_pcm_oss_change_params sound/core/oss/pcm_oss.c:1102 [inline] snd_pcm_oss_make_ready+0xe6/0x2e0 sound/core/oss/pcm_oss.c:1161 snd_pcm_oss_sync+0x1de/0x870 sound/core/oss/pcm_oss.c:1722 snd_pcm_oss_release+0x26c/0x300 sound/core/oss/pcm_oss.c:2561 __fput+0x2ce/0x8a0 fs/file_table.c:278 task_work_run+0x141/0x1c0 kernel/task_work.c:113 tracehook_notify_resume include/linux/tracehook.h:193 [inline] exit_to_usermode_loop+0x269/0x2c0 arch/x86/entry/common.c:167 prepare_exit_to_usermode arch/x86/entry/common.c:198 [inline] syscall_return_slowpath arch/x86/entry/common.c:271 [inline] do_syscall_64+0x57c/0x670 arch/x86/entry/common.c:296 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x4177b1 Code: 75 14 b8 03 00 00 00 0f 05 48 3d 01 f0 ff ff 0f 83 a4 1a 00 00 c3 48 83 ec 08 e8 0a fc ff ff 48 89 04 24 b8 03 00 00 00 0f 05 <48> 8b 3c 24 48 89 c2 e8 53 fc ff ff 48 89 d0 48 83 c4 08 48 3d 01 RSP: 002b:00007fffdf7c3540 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000005 RCX: 00000000004177b1 RDX: 0000000000000000 RSI: 000000000000183f RDI: 0000000000000004 RBP: 0000000000000001 R08: 0000000078ccd83f R09: 0000000078ccd843 R10: 00007fffdf7c3620 R11: 0000000000000293 R12: ffffffffffffffff R13: 00000000000c0e20 R14: 00000000000003e8 R15: 000000000118bf2c ================================================================================