===================================================== BUG: KMSAN: uninit-value in snd_pcm_hw_rule_add+0x94d/0x1140 sound/core/pcm_lib.c:1154 snd_pcm_hw_rule_add+0x94d/0x1140 sound/core/pcm_lib.c:1154 snd_pcm_hw_constraints_init sound/core/pcm_native.c:2443 [inline] snd_pcm_open_substream+0x102c/0x3830 sound/core/pcm_native.c:2670 snd_pcm_open_file sound/core/pcm_native.c:2712 [inline] snd_pcm_open+0x2e8/0xac0 sound/core/pcm_native.c:2777 snd_pcm_playback_open+0x156/0x220 sound/core/pcm_native.c:2737 snd_open+0x6fe/0x890 sound/core/sound.c:169 chrdev_open+0xb91/0xd40 fs/char_dev.c:414 do_dentry_open+0x1128/0x1bf0 fs/open.c:822 vfs_open+0xaf/0xe0 fs/open.c:957 do_open fs/namei.c:3426 [inline] path_openat+0x52af/0x5ea0 fs/namei.c:3559 do_filp_open+0x306/0x760 fs/namei.c:3586 do_sys_openat2+0x263/0x8f0 fs/open.c:1212 do_sys_open fs/open.c:1228 [inline] __do_sys_openat fs/open.c:1244 [inline] __se_sys_openat fs/open.c:1239 [inline] __x64_sys_openat+0x35f/0x3c0 fs/open.c:1239 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x54/0xd0 arch/x86/entry/common.c:82 entry_SYSCALL_64_after_hwframe+0x44/0xae Local variable pflags created at: try_charge_memcg+0x104/0x24a0 obj_cgroup_charge_pages+0x348/0x630 mm/memcontrol.c:3005 CPU: 0 PID: 9818 Comm: syz-executor.1 Not tainted 5.16.0-rc5-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 =====================================================