syzbot


KMSAN: uninit-value in snd_pcm_hw_rule_add (2)

Status: auto-closed as invalid on 2022/09/15 02:38
Subsystems: sound
[Documentation on labels]
First crash: 981d, last: 713d
Similar bugs (14)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KMSAN: uninit-value in snd_pcm_hw_rule_add sound 1 1970d 1969d 0/26 auto-closed as invalid on 2019/07/06 21:26
upstream KMSAN: uninit-value in seq_printf (2) fs C 99 715d 981d 0/26 auto-closed as invalid on 2022/09/30 02:43
upstream KMSAN: uninit-value in hid_connect kernel C 176 575d 926d 0/26 closed as invalid on 2022/11/03 08:52
upstream KMSAN: uninit-value in number (4) kernel C 7189 554d 932d 0/26 closed as invalid on 2022/11/28 10:01
upstream KMSAN: uninit-value in preempt_count_add kernel C 6657 599d 599d 0/26 closed as invalid on 2022/10/10 13:29
upstream KMSAN: uninit-value in vsscanf bluetooth syz 9 820d 886d 0/26 auto-closed as invalid on 2022/09/27 18:52
upstream KMSAN: uninit-value in profile_hits (3) kernel C 982 16h42m 156d 0/26 upstream: reported C repro on 2023/12/26 15:59
upstream KMSAN: uninit-value in nsim_udp_tunnel_unset_port kernel C 114 846d 925d 0/26 auto-closed as invalid on 2022/09/27 06:37
upstream KMSAN: uninit-value in p9pdu_vwritef v9fs 544 644d 874d 0/26 auto-obsoleted due to no activity on 2022/11/22 23:51
upstream KMSAN: uninit-value in __vmalloc_node_range block 5 864d 909d 0/26 auto-closed as invalid on 2022/04/17 19:38
upstream KMSAN: uninit-value in ptr_to_id fs C 5 870d 891d 0/26 auto-closed as invalid on 2022/09/27 03:12
upstream KMSAN: kernel-infoleak in _copy_to_iter (6) net C 748 814d 903d 20/26 fixed on 2022/03/08 16:11
upstream KMSAN: uninit-value in esp6_init_state net 2 864d 913d 0/26 auto-closed as invalid on 2022/04/16 22:31
upstream KMSAN: kernel-infoleak in _copy_to_iter (7) net C 138977 461d 813d 22/26 fixed on 2023/02/24 13:50

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