syzbot


KMSAN: uninit-value in set_selection_kernel

Status: upstream: reported on 2020/03/12 21:47
Reported-by: syzbot+0b81ae727db96ee52ca8@syzkaller.appspotmail.com
First crash: 845d, last: 4d10h
similar bugs (1):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KMSAN: kernel-infoleak in vcs_read (2) C 1373 8h29m 943d 0/22 upstream: reported C repro on 2019/12/04 15:25

Sample crash report:
=====================================================
BUG: KMSAN: uninit-value in store_utf8 drivers/tty/vt/selection.c:136 [inline]
BUG: KMSAN: uninit-value in vc_selection_store_chars drivers/tty/vt/selection.c:209 [inline]
BUG: KMSAN: uninit-value in vc_do_selection drivers/tty/vt/selection.c:313 [inline]
BUG: KMSAN: uninit-value in vc_selection drivers/tty/vt/selection.c:350 [inline]
BUG: KMSAN: uninit-value in set_selection_kernel+0x2f3f/0x3960 drivers/tty/vt/selection.c:359
 store_utf8 drivers/tty/vt/selection.c:136 [inline]
 vc_selection_store_chars drivers/tty/vt/selection.c:209 [inline]
 vc_do_selection drivers/tty/vt/selection.c:313 [inline]
 vc_selection drivers/tty/vt/selection.c:350 [inline]
 set_selection_kernel+0x2f3f/0x3960 drivers/tty/vt/selection.c:359
 set_selection_user+0xdd/0x120 drivers/tty/vt/selection.c:185
 tioclinux+0x1fd/0x820 drivers/tty/vt/vt.c:3200
 vt_ioctl+0x54a/0x2a30 drivers/tty/vt/vt_ioctl.c:762
 vt_compat_ioctl+0x35f/0x880
 tty_compat_ioctl+0x559/0x910 drivers/tty/tty_io.c:2957
 __do_compat_sys_ioctl fs/ioctl.c:968 [inline]
 __se_compat_sys_ioctl+0x781/0xfa0 fs/ioctl.c:910
 __ia32_compat_sys_ioctl+0x8f/0xd0 fs/ioctl.c:910
 do_syscall_32_irqs_on arch/x86/entry/common.c:112 [inline]
 __do_fast_syscall_32+0x95/0xf0 arch/x86/entry/common.c:178
 do_fast_syscall_32+0x33/0x70 arch/x86/entry/common.c:203
 do_SYSENTER_32+0x1b/0x20 arch/x86/entry/common.c:246
 entry_SYSENTER_compat_after_hwframe+0x53/0x62

Uninit was created at:
 __alloc_pages+0x9f1/0xe80 mm/page_alloc.c:5466
 __alloc_pages_bulk+0x1adc/0x2510 mm/page_alloc.c:5391
 alloc_pages_bulk_array_mempolicy+0xc2f/0xf40 mm/mempolicy.c:2367
 vm_area_alloc_pages mm/vmalloc.c:2915 [inline]
 __vmalloc_area_node mm/vmalloc.c:3011 [inline]
 __vmalloc_node_range+0xad6/0x2700 mm/vmalloc.c:3181
 __vmalloc_node mm/vmalloc.c:3246 [inline]
 vmalloc+0x8c/0xa0 mm/vmalloc.c:3279
 vc_uniscr_alloc drivers/tty/vt/vt.c:347 [inline]
 vc_do_resize+0x6d4/0x2ba0 drivers/tty/vt/vt.c:1249
 vc_resize+0x5a/0x70 drivers/tty/vt/vt.c:1362
 vt_ioctl+0x1eee/0x2a30 drivers/tty/vt/vt_ioctl.c:928
 vt_compat_ioctl+0x35f/0x880
 tty_compat_ioctl+0x559/0x910 drivers/tty/tty_io.c:2957
 __do_compat_sys_ioctl fs/ioctl.c:968 [inline]
 __se_compat_sys_ioctl+0x781/0xfa0 fs/ioctl.c:910
 __ia32_compat_sys_ioctl+0x8f/0xd0 fs/ioctl.c:910
 do_syscall_32_irqs_on arch/x86/entry/common.c:112 [inline]
 __do_fast_syscall_32+0x95/0xf0 arch/x86/entry/common.c:178
 do_fast_syscall_32+0x33/0x70 arch/x86/entry/common.c:203
 do_SYSENTER_32+0x1b/0x20 arch/x86/entry/common.c:246
 entry_SYSENTER_compat_after_hwframe+0x53/0x62

CPU: 0 PID: 22617 Comm: syz-executor.1 Not tainted 5.19.0-rc3-syzkaller-30872-gec1cbf8b060e #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
=====================================================

Crashes (396):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-kmsan-gce-386 2022/06/30 13:44 https://github.com/google/kmsan.git master ec1cbf8b060e 1434eec0 .config log report info KMSAN: uninit-value in set_selection_kernel
ci-upstream-kmsan-gce-386 2022/06/30 10:52 https://github.com/google/kmsan.git master ec1cbf8b060e 1434eec0 .config log report info KMSAN: uninit-value in set_selection_kernel
ci-upstream-kmsan-gce-386 2022/06/29 23:31 https://github.com/google/kmsan.git master ec1cbf8b060e 1434eec0 .config log report info KMSAN: uninit-value in set_selection_kernel
ci-upstream-kmsan-gce-386 2022/06/24 19:43 https://github.com/google/kmsan.git master 4b28366af7d9 a5dbd430 .config log report info KMSAN: uninit-value in set_selection_kernel
ci-upstream-kmsan-gce-386 2022/06/19 10:55 https://github.com/google/kmsan.git master fb61e40b30d1 8f633d84 .config log report info KMSAN: uninit-value in set_selection_kernel
ci-upstream-kmsan-gce-386 2022/06/19 09:08 https://github.com/google/kmsan.git master fb61e40b30d1 8f633d84 .config log report info KMSAN: uninit-value in set_selection_kernel
ci-upstream-kmsan-gce-386 2022/06/18 15:50 https://github.com/google/kmsan.git master 365ac3bfacfb 8f633d84 .config log report info KMSAN: uninit-value in set_selection_kernel
ci-upstream-kmsan-gce-386 2022/06/14 12:52 https://github.com/google/kmsan.git master 2f3064574275 0f087040 .config log report info KMSAN: uninit-value in set_selection_kernel
ci-upstream-kmsan-gce-386 2022/06/14 09:46 https://github.com/google/kmsan.git master 2f3064574275 0f087040 .config log report info KMSAN: uninit-value in set_selection_kernel
ci-upstream-kmsan-gce-386 2022/05/11 16:25 https://github.com/google/kmsan.git master d6e2c8c7eb40 beb0b407 .config log report info KMSAN: uninit-value in set_selection_kernel
ci-upstream-kmsan-gce-386 2022/05/10 15:46 https://github.com/google/kmsan.git master d6e2c8c7eb40 8b277b8e .config log report info KMSAN: uninit-value in set_selection_kernel
ci-upstream-kmsan-gce-386 2022/05/09 17:29 https://github.com/google/kmsan.git master d6e2c8c7eb40 8b277b8e .config log report info KMSAN: uninit-value in set_selection_kernel
ci-upstream-kmsan-gce-386 2022/05/04 20:48 https://github.com/google/kmsan.git master d6e2c8c7eb40 dc9e5259 .config log report info KMSAN: uninit-value in set_selection_kernel
ci-upstream-kmsan-gce-386 2022/04/30 06:54 https://github.com/google/kmsan.git master d6e2c8c7eb40 ad6b95d8 .config log report info KMSAN: uninit-value in set_selection_kernel
ci-upstream-kmsan-gce-386 2022/04/27 09:32 https://github.com/google/kmsan.git master d6e2c8c7eb40 1fa34c1b .config log report info KMSAN: uninit-value in set_selection_kernel
ci-upstream-kmsan-gce-386 2022/04/22 23:53 https://github.com/google/kmsan.git master b834db009dc5 131df97d .config log report info KMSAN: uninit-value in set_selection_kernel
ci-upstream-kmsan-gce-386 2022/04/21 21:53 https://github.com/google/kmsan.git master 33d9269ef6e0 2738b391 .config log report info KMSAN: uninit-value in set_selection_kernel
ci-upstream-kmsan-gce-386 2022/04/21 09:29 https://github.com/google/kmsan.git master 33d9269ef6e0 d4befee1 .config log report info KMSAN: uninit-value in set_selection_kernel
ci-upstream-kmsan-gce-386 2022/04/21 01:48 https://github.com/google/kmsan.git master 33d9269ef6e0 d4befee1 .config log report info KMSAN: uninit-value in set_selection_kernel
ci-upstream-kmsan-gce-386 2022/04/20 19:59 https://github.com/google/kmsan.git master 33d9269ef6e0 160a3f31 .config log report info KMSAN: uninit-value in set_selection_kernel
ci-upstream-kmsan-gce-386 2022/04/19 02:18 https://github.com/google/kmsan.git master 33d9269ef6e0 8bcc32a6 .config log report info KMSAN: uninit-value in set_selection_kernel
ci-upstream-kmsan-gce-386 2022/04/18 20:22 https://github.com/google/kmsan.git master 33d9269ef6e0 8bcc32a6 .config log report info KMSAN: uninit-value in set_selection_kernel
ci-upstream-kmsan-gce-386 2022/04/17 22:53 https://github.com/google/kmsan.git master 33d9269ef6e0 8bcc32a6 .config log report info KMSAN: uninit-value in set_selection_kernel
ci-upstream-kmsan-gce-386 2022/04/14 01:52 https://github.com/google/kmsan.git master 33d9269ef6e0 b17b2923 .config log report info KMSAN: uninit-value in set_selection_kernel
ci-upstream-kmsan-gce-386 2022/04/13 01:54 https://github.com/google/kmsan.git master 33d9269ef6e0 dacb3f1c .config log report info KMSAN: uninit-value in set_selection_kernel
ci-upstream-kmsan-gce-386 2022/04/11 21:28 https://github.com/google/kmsan.git master 33d9269ef6e0 af01ee7d .config log report info KMSAN: uninit-value in set_selection_kernel
ci-upstream-kmsan-gce-386 2022/04/11 09:30 https://github.com/google/kmsan.git master 33d9269ef6e0 e22c3da3 .config log report info KMSAN: uninit-value in set_selection_kernel
ci-upstream-kmsan-gce-386 2022/04/09 10:42 https://github.com/google/kmsan.git master 33d9269ef6e0 e22c3da3 .config log report info KMSAN: uninit-value in set_selection_kernel
ci-upstream-kmsan-gce-386 2022/04/08 23:36 https://github.com/google/kmsan.git master 33d9269ef6e0 15be3cba .config log report info KMSAN: uninit-value in set_selection_kernel
ci-upstream-kmsan-gce-386 2022/04/08 22:06 https://github.com/google/kmsan.git master 33d9269ef6e0 15be3cba .config log report info KMSAN: uninit-value in set_selection_kernel
ci-upstream-kmsan-gce-386 2022/04/08 03:59 https://github.com/google/kmsan.git master 33d9269ef6e0 c6ff3e05 .config log report info KMSAN: uninit-value in set_selection_kernel
ci-upstream-kmsan-gce-386 2022/04/07 12:41 https://github.com/google/kmsan.git master 33d9269ef6e0 c6ff3e05 .config log report info KMSAN: uninit-value in set_selection_kernel
ci-upstream-kmsan-gce-386 2022/04/05 18:07 https://github.com/google/kmsan.git master 33d9269ef6e0 0127c10f .config log report info KMSAN: uninit-value in set_selection_kernel
ci-upstream-kmsan-gce-386 2022/04/04 21:40 https://github.com/google/kmsan.git master 33d9269ef6e0 5915c2cb .config log report info KMSAN: uninit-value in set_selection_kernel
ci-upstream-kmsan-gce-386 2022/04/04 18:40 https://github.com/google/kmsan.git master 33d9269ef6e0 5915c2cb .config log report info KMSAN: uninit-value in set_selection_kernel
ci-upstream-kmsan-gce-386 2022/04/03 23:46 https://github.com/google/kmsan.git master 1978a14f70af 79a2a8fc .config log report info KMSAN: uninit-value in set_selection_kernel
ci-upstream-kmsan-gce-386 2022/04/02 15:51 https://github.com/google/kmsan.git master 1978a14f70af 79a2a8fc .config log report info KMSAN: uninit-value in set_selection_kernel
ci-upstream-kmsan-gce-386 2022/04/01 21:14 https://github.com/google/kmsan.git master 1978a14f70af 20955a24 .config log report info KMSAN: uninit-value in set_selection_kernel
ci-upstream-kmsan-gce-386 2022/04/01 07:43 https://github.com/google/kmsan.git master 1978a14f70af 68fc921a .config log report info KMSAN: uninit-value in set_selection_kernel
ci-upstream-kmsan-gce-386 2022/03/31 09:05 https://github.com/google/kmsan.git master 1978a14f70af 9d49f3a7 .config log report info KMSAN: uninit-value in set_selection_kernel
ci-upstream-kmsan-gce-386 2022/03/29 07:57 https://github.com/google/kmsan.git master c44f7500ded9 6bdac766 .config log report info KMSAN: uninit-value in set_selection_kernel
ci-upstream-kmsan-gce-386 2022/03/28 22:55 https://github.com/google/kmsan.git master c44f7500ded9 ee339263 .config log report info KMSAN: uninit-value in set_selection_kernel
ci-upstream-kmsan-gce-386 2022/03/27 19:34 https://github.com/google/kmsan.git master 5d33b1968cb5 89bc8608 .config log report info KMSAN: uninit-value in set_selection_kernel
ci-upstream-kmsan-gce-386 2022/03/25 07:32 https://github.com/google/kmsan.git master 97c7732c2bb6 89bc8608 .config log report info KMSAN: uninit-value in set_selection_kernel
ci-upstream-kmsan-gce-386 2022/03/25 05:13 https://github.com/google/kmsan.git master 97c7732c2bb6 89bc8608 .config log report info KMSAN: uninit-value in set_selection_kernel
ci-upstream-kmsan-gce-386 2022/03/23 09:02 https://github.com/google/kmsan.git master 97c7732c2bb6 5ff41e94 .config log report info KMSAN: uninit-value in set_selection_kernel
ci-upstream-kmsan-gce-386 2022/03/22 05:43 https://github.com/google/kmsan.git master 97c7732c2bb6 e2d91b1d .config log report info KMSAN: uninit-value in set_selection_kernel
ci-upstream-kmsan-gce-386 2021/01/14 10:24 https://github.com/google/kmsan.git master 73d62e81b476 269d24e8 .config log report info
ci-upstream-kmsan-gce-386 2020/03/12 09:01 https://github.com/google/kmsan.git master 8bbbc5cf3dca d850e9d0 .config log report
ci-upstream-kmsan-gce-386 2020/03/11 16:35 https://github.com/google/kmsan.git master 8bbbc5cf3dca e7caca8e .config log report