syzbot


KMSAN: uninit-value in snd_pcm_hw_rule_add (2)

Status: auto-closed as invalid on 2022/09/15 02:38
Reported-by: syzbot+@syzkaller.appspotmail.com
First crash: 436d, last: 169d
similar bugs (13):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KMSAN: uninit-value in snd_pcm_hw_rule_add 1 1425d 1425d 0/24 auto-closed as invalid on 2019/07/06 21:26
upstream KMSAN: uninit-value in seq_printf (2) C 99 170d 437d 0/24 auto-closed as invalid on 2022/09/30 02:43
upstream KMSAN: uninit-value in hid_connect C 176 31d 381d 0/24 closed as invalid on 2022/11/03 08:52
upstream KMSAN: uninit-value in number (4) C 7189 10d 388d 0/24 closed as invalid on 2022/11/28 10:01
upstream KMSAN: uninit-value in preempt_count_add C 6657 54d 54d 0/24 closed as invalid on 2022/10/10 13:29
upstream KMSAN: uninit-value in vsscanf syz 9 275d 341d 0/24 auto-closed as invalid on 2022/09/27 18:52
upstream KMSAN: uninit-value in nsim_udp_tunnel_unset_port C 114 301d 381d 0/24 auto-closed as invalid on 2022/09/27 06:37
upstream KMSAN: uninit-value in p9pdu_vwritef 544 100d 329d 0/24 auto-obsoleted due to no activity on 2022/11/22 23:51
upstream KMSAN: uninit-value in __vmalloc_node_range 5 319d 364d 0/24 auto-closed as invalid on 2022/04/17 19:38
upstream KMSAN: uninit-value in ptr_to_id C 5 326d 347d 0/24 auto-closed as invalid on 2022/09/27 03:12
upstream KMSAN: kernel-infoleak in _copy_to_iter (6) C 748 269d 358d 22/24 fixed on 2022/03/08 16:11
upstream KMSAN: uninit-value in esp6_init_state 2 320d 369d 0/24 auto-closed as invalid on 2022/04/16 22:31
upstream KMSAN: kernel-infoleak in _copy_to_iter (7) C 66175 now 268d 23/24 internal: reported C repro on 2022/03/09 07:32

Sample crash report:
=====================================================
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:2456 [inline]
 snd_pcm_open_substream+0x102c/0x3830 sound/core/pcm_native.c:2683
 snd_pcm_oss_open_file sound/core/oss/pcm_oss.c:2448 [inline]
 snd_pcm_oss_open+0x17d9/0x2df0 sound/core/oss/pcm_oss.c:2529
 soundcore_open+0xb9c/0xca0 sound/sound_core.c:593
 chrdev_open+0xb91/0xd40 fs/char_dev.c:414
 do_dentry_open+0x1128/0x1bf0 fs/open.c:824
 vfs_open+0xaf/0xe0 fs/open.c:959
 do_open fs/namei.c:3476 [inline]
 path_openat+0x503a/0x5be0 fs/namei.c:3609
 do_filp_open+0x306/0x760 fs/namei.c:3636
 do_sys_openat2+0x263/0x8f0 fs/open.c:1214
 do_sys_open fs/open.c:1230 [inline]
 __do_sys_openat fs/open.c:1246 [inline]
 __se_sys_openat fs/open.c:1241 [inline]
 __x64_sys_openat+0x35f/0x3c0 fs/open.c:1241
 do_syscall_x64 arch/x86/entry/common.c:51 [inline]
 do_syscall_64+0x54/0xd0 arch/x86/entry/common.c:81
 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:3017

CPU: 1 PID: 4429 Comm: syz-executor.4 Not tainted 5.17.0-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
=====================================================

Crashes (18):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-kmsan-gce 2022/04/02 08:53 https://github.com/google/kmsan.git master 1978a14f70af 79a2a8fc .config log report info KMSAN: uninit-value in snd_pcm_hw_rule_add
ci-upstream-kmsan-gce 2022/03/21 17:21 https://github.com/google/kmsan.git master 97c7732c2bb6 e2d91b1d .config log report info KMSAN: uninit-value in snd_pcm_hw_rule_add
ci-upstream-kmsan-gce 2022/01/30 02:06 https://github.com/google/kmsan.git master 85cfd6e539bd 495e00c5 .config log report info KMSAN: uninit-value in snd_pcm_hw_rule_add
ci-upstream-kmsan-gce 2022/01/29 11:15 https://github.com/google/kmsan.git master 85cfd6e539bd 495e00c5 .config log report info KMSAN: uninit-value in snd_pcm_hw_rule_add
ci-upstream-kmsan-gce 2022/01/27 15:31 https://github.com/google/kmsan.git master 85cfd6e539bd 2cbffd88 .config log report info KMSAN: uninit-value in snd_pcm_hw_rule_add
ci-upstream-kmsan-gce 2022/01/14 13:36 https://github.com/google/kmsan.git master fa3879a274df b8d780ab .config log report info KMSAN: uninit-value in snd_pcm_hw_rule_add
ci-upstream-kmsan-gce 2022/01/09 21:03 https://github.com/google/kmsan.git master 81c325bbf94e 2ca0d385 .config log report info KMSAN: uninit-value in snd_pcm_hw_rule_add
ci-upstream-kmsan-gce 2021/12/29 13:35 https://github.com/google/kmsan.git master 81c325bbf94e 6cc879d4 .config log report info KMSAN: uninit-value in snd_pcm_hw_rule_add
ci-upstream-kmsan-gce 2021/12/17 22:03 https://github.com/google/kmsan.git master b0a8b5053e8b 44068e19 .config log report info KMSAN: uninit-value in snd_pcm_hw_rule_add
ci-upstream-kmsan-gce 2021/12/14 17:59 https://github.com/google/kmsan.git master b1e1bb6f7a2e d018dd31 .config log report info KMSAN: uninit-value in snd_pcm_hw_rule_add
ci-upstream-kmsan-gce 2021/11/30 09:54 https://github.com/google/kmsan.git master a535b0caaa2f d0830353 .config log report info KMSAN: uninit-value in snd_pcm_hw_rule_add
ci-upstream-kmsan-gce 2021/11/25 17:25 https://github.com/google/kmsan.git master b05f62d953b9 545ab074 .config log report info KMSAN: uninit-value in snd_pcm_hw_rule_add
ci-upstream-kmsan-gce 2021/11/09 17:25 https://github.com/google/kmsan.git master a3e5c559028e 59bcaf9a .config log report info KMSAN: uninit-value in snd_pcm_hw_rule_add
ci-upstream-kmsan-gce 2021/11/07 16:27 https://github.com/google/kmsan.git master a3e5c559028e 4c1be0be .config log report info KMSAN: uninit-value in snd_pcm_hw_rule_add
ci-upstream-kmsan-gce 2021/09/22 19:27 https://github.com/google/kmsan.git master c9006efa1749 8cac236e .config log report info KMSAN: uninit-value in snd_pcm_hw_rule_add
ci-upstream-kmsan-gce-386 2022/06/17 02:37 https://github.com/google/kmsan.git master 2f3064574275 1719ee24 .config log report info KMSAN: uninit-value in snd_pcm_hw_rule_add
ci-upstream-kmsan-gce-386 2021/12/02 16:29 https://github.com/google/kmsan.git master a535b0caaa2f 61f86278 .config log report info KMSAN: uninit-value in snd_pcm_hw_rule_add
ci-upstream-kmsan-gce-386 2021/11/28 02:28 https://github.com/google/kmsan.git master a535b0caaa2f 63eeac02 .config log report info KMSAN: uninit-value in snd_pcm_hw_rule_add
* Struck through repros no longer work on HEAD.