================================================================================ UBSAN: Undefined behaviour in sound/core/oss/pcm_oss.c:720:23 shift exponent 63488 is too large for 32-bit type 'int' CPU: 1 PID: 16155 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+0xc1/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+0xe7/0x1b0 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:00007fff14057030 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000004 RCX: 00000000004177b1 RDX: 0000001b2f620000 RSI: 00000000000012b9 RDI: 0000000000000003 RBP: 0000000000000001 R08: 00000000008852b9 R09: 00000000008852bd R10: 00007fff14057110 R11: 0000000000000293 R12: ffffffffffffffff R13: 0000000000043012 R14: 00000000000003e8 R15: 000000000118bf2c ================================================================================ (unnamed net_device) (uninitialized): option arp_validate: mode dependency failed, not supported in mode balance-tlb(5) XFS (loop3): Invalid superblock magic number xt_CT: netfilter: NOTRACK target is deprecated, use CT instead or upgrade iptables XFS (loop3): Invalid superblock magic number hfs: can't find a HFS filesystem on dev loop4 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=108 sclass=netlink_route_socket pid=16246 comm=syz-executor.0 audit: type=1800 audit(1603310177.811:46): pid=16219 uid=0 auid=0 ses=4 subj=system_u:system_r:kernel_t:s0 op=collect_data cause=failed comm="syz-executor.2" name="bus" dev="sda1" ino=16587 res=0 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=108 sclass=netlink_route_socket pid=16253 comm=syz-executor.0 hfs: can't find a HFS filesystem on dev loop4 audit: type=1800 audit(1603310177.841:47): pid=16244 uid=0 auid=0 ses=4 subj=system_u:system_r:kernel_t:s0 op=collect_data cause=failed(directio) comm="syz-executor.2" name="bus" dev="sda1" ino=16587 res=0 XFS (loop3): Invalid superblock magic number XFS (loop3): Invalid superblock magic number netlink: 8 bytes leftover after parsing attributes in process `syz-executor.4'. XFS (loop3): Invalid superblock magic number netlink: 48 bytes leftover after parsing attributes in process `syz-executor.5'. netlink: 48 bytes leftover after parsing attributes in process `syz-executor.5'. netlink: 48 bytes leftover after parsing attributes in process `syz-executor.5'. netlink: 20 bytes leftover after parsing attributes in process `syz-executor.5'. F2FS-fs (loop4): Invalid Fs Meta Ino: node(0) meta(0) root(0) F2FS-fs (loop4): Can't find valid F2FS filesystem in 1th superblock F2FS-fs (loop4): Unable to read 2th superblock F2FS-fs (loop4): Invalid Fs Meta Ino: node(0) meta(0) root(0) F2FS-fs (loop4): Can't find valid F2FS filesystem in 1th superblock F2FS-fs (loop4): Unable to read 2th superblock F2FS-fs (loop4): Invalid Fs Meta Ino: node(0) meta(0) root(0) F2FS-fs (loop4): Can't find valid F2FS filesystem in 1th superblock F2FS-fs (loop4): Unable to read 2th superblock F2FS-fs (loop4): Invalid Fs Meta Ino: node(0) meta(0) root(0) netlink: 20 bytes leftover after parsing attributes in process `syz-executor.5'. netlink: 20 bytes leftover after parsing attributes in process `syz-executor.5'. netlink: 8 bytes leftover after parsing attributes in process `syz-executor.5'. XFS (loop0): Invalid device [./file1], error=-15 netlink: 8 bytes leftover after parsing attributes in process `syz-executor.5'. XFS (loop0): Invalid device [./file1], error=-15 netlink: 8 bytes leftover after parsing attributes in process `syz-executor.5'. mac80211_hwsim: wmediumd released netlink socket, switching to perfect channel medium attempt to access beyond end of device loop1: rw=12288, want=8200, limit=8192 attempt to access beyond end of device loop1: rw=12288, want=8200, limit=8192 attempt to access beyond end of device loop1: rw=12288, want=8200, limit=8192 attempt to access beyond end of device loop1: rw=12288, want=8200, limit=8192 overlayfs: option "workdir=./file1" is useless in a non-upper mount, ignore overlayfs: at least 2 lowerdir are needed while upperdir nonexistent XFS (loop3): Invalid superblock magic number attempt to access beyond end of device loop1: rw=12288, want=8200, limit=8192 attempt to access beyond end of device loop1: rw=12288, want=8200, limit=8192 XFS (loop3): Invalid superblock magic number EXT4-fs warning (device sda1): ext4_group_add:1680: No reserved GDT blocks, can't resize XFS (loop3): Invalid superblock magic number audit: type=1800 audit(1603310184.721:48): pid=16800 uid=0 auid=0 ses=4 subj=system_u:system_r:kernel_t:s0 op=collect_data cause=failed(directio) comm="syz-executor.2" name="bus" dev="sda1" ino=16162 res=0 f2fs_msg: 52 callbacks suppressed F2FS-fs (loop4): Unable to read 1th superblock F2FS-fs (loop4): Unable to read 2th superblock F2FS-fs (loop4): Unable to read 1th superblock audit: type=1800 audit(1603310184.831:49): pid=16800 uid=0 auid=0 ses=4 subj=system_u:system_r:kernel_t:s0 op=collect_data cause=failed(directio) comm="syz-executor.2" name="bus" dev="sda1" ino=16162 res=0 F2FS-fs (loop4): Unable to read 2th superblock XFS (loop3): Invalid superblock magic number nla_parse: 3 callbacks suppressed netlink: 56 bytes leftover after parsing attributes in process `syz-executor.5'. F2FS-fs (loop4): Invalid Fs Meta Ino: node(0) meta(0) root(0) F2FS-fs (loop4): Can't find valid F2FS filesystem in 1th superblock Cannot find set identified by id 0 to match netlink: 56 bytes leftover after parsing attributes in process `syz-executor.5'. F2FS-fs (loop4): Unable to read 2th superblock F2FS-fs (loop4): Invalid Fs Meta Ino: node(0) meta(0) root(0) F2FS-fs (loop4): Can't find valid F2FS filesystem in 1th superblock F2FS-fs (loop4): Unable to read 2th superblock netlink: 24 bytes leftover after parsing attributes in process `syz-executor.5'. netlink: 24 bytes leftover after parsing attributes in process `syz-executor.5'. overlayfs: './file0' not a directory overlayfs: './file0' not a directory