================================================================== BUG: KMSAN: uninit-value in __arch_swab32 arch/x86/include/uapi/asm/swab.h:10 [inline] BUG: KMSAN: uninit-value in __fswab32 include/uapi/linux/swab.h:59 [inline] BUG: KMSAN: uninit-value in do_convert sound/core/oss/linear.c:50 [inline] BUG: KMSAN: uninit-value in convert sound/core/oss/linear.c:81 [inline] BUG: KMSAN: uninit-value in linear_transfer+0x906/0xbe0 sound/core/oss/linear.c:110 CPU: 1 PID: 14604 Comm: syz-executor2 Not tainted 4.17.0+ #16 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+0x185/0x1d0 lib/dump_stack.c:113 kmsan_report+0x188/0x2a0 mm/kmsan/kmsan.c:1352 __msan_warning_32+0x70/0xc0 mm/kmsan/kmsan_instr.c:634 __arch_swab32 arch/x86/include/uapi/asm/swab.h:10 [inline] __fswab32 include/uapi/linux/swab.h:59 [inline] do_convert sound/core/oss/linear.c:50 [inline] convert sound/core/oss/linear.c:81 [inline] linear_transfer+0x906/0xbe0 sound/core/oss/linear.c:110 snd_pcm_plug_read_transfer+0x8fe/0xae0 sound/core/oss/pcm_plugin.c:650 snd_pcm_oss_read2 sound/core/oss/pcm_oss.c:1474 [inline] snd_pcm_oss_read1 sound/core/oss/pcm_oss.c:1531 [inline] snd_pcm_oss_read+0xd8b/0x1b30 sound/core/oss/pcm_oss.c:2752 __vfs_read+0x1b2/0x9d0 fs/read_write.c:416 vfs_read+0x36c/0x6b0 fs/read_write.c:452 ksys_read fs/read_write.c:578 [inline] __do_sys_read fs/read_write.c:588 [inline] __se_sys_read fs/read_write.c:586 [inline] __x64_sys_read+0x1bf/0x3e0 fs/read_write.c:586 do_syscall_64+0x15b/0x230 arch/x86/entry/common.c:287 entry_SYSCALL_64_after_hwframe+0x63/0xe7 RIP: 0033:0x455ab9 RSP: 002b:00007f1e6bbdfc68 EFLAGS: 00000246 ORIG_RAX: 0000000000000000 RAX: ffffffffffffffda RBX: 00007f1e6bbe06d4 RCX: 0000000000455ab9 RDX: 0000000000001000 RSI: 00000000200000c0 RDI: 0000000000000013 RBP: 000000000072bea0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000014 R13: 00000000004bfe4c R14: 00000000004d0378 R15: 0000000000000004 Uninit was stored to memory at: kmsan_save_stack_with_flags mm/kmsan/kmsan.c:287 [inline] kmsan_save_stack mm/kmsan/kmsan.c:302 [inline] kmsan_internal_chain_origin+0x12b/0x210 mm/kmsan/kmsan.c:692 kmsan_memcpy_origins+0x11d/0x170 mm/kmsan/kmsan.c:535 __msan_memcpy+0xda/0x130 mm/kmsan/kmsan_instr.c:427 do_convert sound/core/oss/linear.c:48 [inline] convert sound/core/oss/linear.c:81 [inline] linear_transfer+0x6ac/0xbe0 sound/core/oss/linear.c:110 snd_pcm_plug_read_transfer+0x8fe/0xae0 sound/core/oss/pcm_plugin.c:650 snd_pcm_oss_read2 sound/core/oss/pcm_oss.c:1474 [inline] snd_pcm_oss_read1 sound/core/oss/pcm_oss.c:1531 [inline] snd_pcm_oss_read+0xd8b/0x1b30 sound/core/oss/pcm_oss.c:2752 __vfs_read+0x1b2/0x9d0 fs/read_write.c:416 vfs_read+0x36c/0x6b0 fs/read_write.c:452 ksys_read fs/read_write.c:578 [inline] __do_sys_read fs/read_write.c:588 [inline] __se_sys_read fs/read_write.c:586 [inline] __x64_sys_read+0x1bf/0x3e0 fs/read_write.c:586 do_syscall_64+0x15b/0x230 arch/x86/entry/common.c:287 entry_SYSCALL_64_after_hwframe+0x63/0xe7 Uninit was created at: kmsan_save_stack_with_flags mm/kmsan/kmsan.c:287 [inline] kmsan_alloc_meta_for_pages+0x166/0x3b0 mm/kmsan/kmsan.c:819 kmsan_alloc_page+0x82/0xe0 mm/kmsan/kmsan.c:1061 __alloc_pages_nodemask+0xf7b/0x5cc0 mm/page_alloc.c:4404 alloc_pages_current+0x6b1/0x970 mm/mempolicy.c:2093 alloc_pages include/linux/gfp.h:494 [inline] __vmalloc_area_node mm/vmalloc.c:1702 [inline] __vmalloc_node_range+0x8bf/0x1170 mm/vmalloc.c:1767 __vmalloc_node mm/vmalloc.c:1812 [inline] __vmalloc_node_flags mm/vmalloc.c:1826 [inline] vmalloc+0xd8/0xf0 mm/vmalloc.c:1848 snd_pcm_plugin_alloc+0x29a/0xc70 sound/core/oss/pcm_plugin.c:70 snd_pcm_plug_alloc+0x281/0x5d0 sound/core/oss/pcm_plugin.c:129 snd_pcm_oss_change_params_locked+0x59ef/0x6940 sound/core/oss/pcm_oss.c:1038 snd_pcm_oss_make_ready_locked sound/core/oss/pcm_oss.c:1183 [inline] snd_pcm_oss_read1 sound/core/oss/pcm_oss.c:1507 [inline] snd_pcm_oss_read+0x4ad/0x1b30 sound/core/oss/pcm_oss.c:2752 __vfs_read+0x1b2/0x9d0 fs/read_write.c:416 vfs_read+0x36c/0x6b0 fs/read_write.c:452 ksys_read fs/read_write.c:578 [inline] __do_sys_read fs/read_write.c:588 [inline] __se_sys_read fs/read_write.c:586 [inline] __x64_sys_read+0x1bf/0x3e0 fs/read_write.c:586 do_syscall_64+0x15b/0x230 arch/x86/entry/common.c:287 entry_SYSCALL_64_after_hwframe+0x63/0xe7 ==================================================================