UBIFS error (pid: 12343): cannot open "/dev/loop0", error -22 ================================================================================ UBSAN: Undefined behaviour in drivers/vhost/vhost.c:116:62 load of value 255 is not a valid value for type '_Bool' CPU: 1 PID: 12422 Comm: syz-executor.2 Not tainted 4.19.152-syzkaller #0 UBIFS error (pid: 12426): cannot open "(null)", error -22 UBIFS error (pid: 12426): cannot open "(null)", error -22 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_load_invalid_value.cold+0x63/0x6f lib/ubsan.c:454 vhost_init_is_le drivers/vhost/vhost.c:116 [inline] vhost_reset_is_le drivers/vhost/vhost.c:143 [inline] vhost_vq_reset.constprop.0.cold+0x15/0x1a drivers/vhost/vhost.c:325 vhost_dev_init+0x442/0x780 drivers/vhost/vhost.c:463 vhost_net_open+0x54c/0x730 drivers/vhost/net.c:1103 misc_open+0x372/0x4a0 drivers/char/misc.c:141 chrdev_open+0x266/0x770 fs/char_dev.c:423 do_dentry_open+0x4aa/0x1160 fs/open.c:796 do_last fs/namei.c:3421 [inline] path_openat+0x7d5/0x2e90 fs/namei.c:3537 do_filp_open+0x18c/0x3f0 fs/namei.c:3567 do_sys_open+0x3b3/0x520 fs/open.c:1085 do_syscall_64+0xf9/0x670 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x45de59 Code: 0d b4 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 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 0f 83 db b3 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007fbf8c1c1c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 0000000000024a80 RCX: 000000000045de59 RDX: 0000000000000002 RSI: 0000000020000000 RDI: ffffffffffffff9c RBP: 000000000118bf68 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000118bf2c R13: 00007ffc4829402f R14: 00007fbf8c1c29c0 R15: 000000000118bf2c ================================================================================ ptrace attach of "/root/syz-executor.0"[6492] was attempted by " 0 p /dev/dlm_plock    @ = ptrace attach of "/root/syz-executor.0"[6492] was attempted by " 0 p /dev/dlm_plock    @ = ptrace attach of "/root/syz-executor.0"[6492] was attempted by " 0 p /dev/dlm_plock    @ = audit: type=1400 audit(1603252988.737:9): avc: denied { create } for pid=12702 comm="syz-executor.4" scontext=system_u:system_r:kernel_t:s0 tcontext=system_u:system_r:kernel_t:s0 tclass=dccp_socket permissive=1 UBIFS error (pid: 12870): cannot open "/dev/loop1", error -22 UBIFS error (pid: 12870): cannot open "/dev/loop1", error -22 FAT-fs (loop4): bogus number of reserved sectors FAT-fs (loop4): Can't find a valid FAT filesystem FAT-fs (loop4): bogus number of reserved sectors FAT-fs (loop4): Can't find a valid FAT filesystem ================================================================================ UBSAN: Undefined behaviour in sound/core/oss/pcm_oss.c:720:23 shift exponent 11303 is too large for 32-bit type 'int' CPU: 0 PID: 12989 Comm: syz-executor.2 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:00007ffc482940a0 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000004 RCX: 00000000004177b1 RDX: 0000001b31b20000 RSI: 000000000000183f RDI: 0000000000000003 RBP: 0000000000000001 R08: 0000000078ccd83f R09: 0000000078ccd843 R10: 00007ffc48294180 R11: 0000000000000293 R12: ffffffffffffffff R13: 000000000003f2b6 R14: 00000000000003e8 R15: 000000000118bf2c ================================================================================ FAT-fs (loop1): bogus number of reserved sectors FAT-fs (loop1): Can't find a valid FAT filesystem FAT-fs (loop1): bogus number of reserved sectors FAT-fs (loop1): Can't find a valid FAT filesystem