syzbot


KMSAN: uninit-value in kallsyms_lookup_buildid

Status: closed as invalid on 2022/11/03 10:09
Reported-by: syzbot+@syzkaller.appspotmail.com
First crash: 404d, last: 128d
similar bugs (7):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KMSAN: kernel-infoleak in _copy_to_iter (7) btrfs ntfs3 erofs udf C 137098 now 333d 23/24 internal: reported C repro on 2022/03/09 07:32
upstream KMSAN: uninit-value in seq_printf (2) C 99 235d 501d 0/24 auto-closed as invalid on 2022/09/30 02:43
upstream KMSAN: uninit-value in p9pdu_readf 14 369d 483d 22/24 fixed on 2022/03/08 16:11
upstream KMSAN: uninit-value in hid_connect C 176 95d 446d 0/24 closed as invalid on 2022/11/03 08:52
upstream KMSAN: uninit-value in number (4) C 7189 74d 453d 0/24 closed as invalid on 2022/11/28 10:01
upstream KMSAN: uninit-value in preempt_count_add C 6657 119d 119d 0/24 closed as invalid on 2022/10/10 13:29
upstream KMSAN: uninit-value in asix_mdio_read (3) C 1582 264d 329d 23/24 upstream: reported C repro on 2022/03/13 07:35
Last patch testing requests:
Created Duration User Patch Repo Result
2022/09/30 05:30 14m retest repro https://github.com/google/kmsan.git master report log

Sample crash report:
Workqueue: events request_firmware_work_func
=====================================================
BUG: KMSAN: uninit-value in __is_kernel include/asm-generic/sections.h:221 [inline]
BUG: KMSAN: uninit-value in is_kernel include/linux/kallsyms.h:36 [inline]
BUG: KMSAN: uninit-value in is_ksym_addr include/linux/kallsyms.h:44 [inline]
BUG: KMSAN: uninit-value in kallsyms_lookup_buildid+0x1ee/0xb10 kernel/kallsyms.c:342
 __is_kernel include/asm-generic/sections.h:221 [inline]
 is_kernel include/linux/kallsyms.h:36 [inline]
 is_ksym_addr include/linux/kallsyms.h:44 [inline]
 kallsyms_lookup_buildid+0x1ee/0xb10 kernel/kallsyms.c:342
 __sprint_symbol+0x166/0x650 kernel/kallsyms.c:455
 sprint_symbol+0x7c/0x90 kernel/kallsyms.c:498
 symbol_string+0x302/0x6e0 lib/vsprintf.c:1023
 pointer+0x1356/0x1f70 lib/vsprintf.c:2410
 vsnprintf+0x1a9b/0x3650 lib/vsprintf.c:2810
 vprintk_store+0x537/0x2150 kernel/printk/printk.c:2158
 vprintk_emit+0x28b/0xab0 kernel/printk/printk.c:2256
 vprintk_default+0x86/0xa0 kernel/printk/printk.c:2283
 vprintk+0x15f/0x180 kernel/printk/printk_safe.c:50
 _printk+0x18d/0x1cf kernel/printk/printk.c:2293
 show_ip arch/x86/kernel/dumpstack.c:142 [inline]
 show_iret_regs+0x135/0x2e0 arch/x86/kernel/dumpstack.c:149
 __show_regs+0x6d/0x1040 arch/x86/kernel/process_64.c:74
 show_regs+0xbc/0x170 arch/x86/kernel/dumpstack.c:463
 __warn+0x3f1/0x780 kernel/panic.c:596
 report_bug+0x885/0xa80 lib/bug.c:199
 handle_bug+0x41/0x70 arch/x86/kernel/traps.c:315
 exc_invalid_op+0x1b/0x50 arch/x86/kernel/traps.c:335
 asm_exc_invalid_op+0x12/0x20
 sysfs_remove_group+0x1d5/0x600 fs/sysfs/group.c:278
 dpm_sysfs_remove+0x144/0x180 drivers/base/power/sysfs.c:837
 device_del+0x3c7/0x1bf0 drivers/base/core.c:3569
 fw_load_sysfs_fallback drivers/base/firmware_loader/fallback.c:550 [inline]
 fw_load_from_user_helper drivers/base/firmware_loader/fallback.c:588 [inline]
 firmware_fallback_sysfs+0x17e7/0x19e0 drivers/base/firmware_loader/fallback.c:664
 _request_firmware+0xf5d/0x2160 drivers/base/firmware_loader/main.c:774
 request_firmware_work_func+0x136/0x2e0 drivers/base/firmware_loader/main.c:1020
 process_one_work+0xdb6/0x1820 kernel/workqueue.c:2289
 worker_thread+0x10d0/0x2240 kernel/workqueue.c:2436
 kthread+0x3c7/0x500 kernel/kthread.c:376
 ret_from_fork+0x1f/0x30

Local variable nd created at:
 do_file_open_root+0x8b/0xc80 fs/namei.c:3648
 file_open_root+0x339/0x3a0 fs/open.c:1193

CPU: 0 PID: 114 Comm: kworker/0:2 Not tainted 5.18.0-rc4-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/12/2022
Workqueue: events request_firmware_work_func
=====================================================

Crashes (232):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets Title
ci-upstream-kmsan-gce 2022/05/23 23:14 https://github.com/google/kmsan.git master c5c93da9af13 4c7657cb .config strace log report syz C KMSAN: uninit-value in kallsyms_lookup_buildid
ci-upstream-kmsan-gce 2022/06/13 15:17 https://github.com/google/kmsan.git master 2f3064574275 0d5abf15 .config console log report info KMSAN: uninit-value in kallsyms_lookup_buildid
ci-upstream-kmsan-gce 2022/05/25 01:54 https://github.com/google/kmsan.git master c5c93da9af13 647c0e27 .config console log report info KMSAN: uninit-value in kallsyms_lookup_buildid
ci-upstream-kmsan-gce 2022/05/24 10:43 https://github.com/google/kmsan.git master c5c93da9af13 e7f9308d .config console log report info KMSAN: uninit-value in kallsyms_lookup_buildid
ci-upstream-kmsan-gce 2022/05/24 01:52 https://github.com/google/kmsan.git master c5c93da9af13 e7f9308d .config console log report info KMSAN: uninit-value in kallsyms_lookup_buildid
ci-upstream-kmsan-gce 2022/05/23 21:00 https://github.com/google/kmsan.git master c5c93da9af13 4c7657cb .config console log report info KMSAN: uninit-value in kallsyms_lookup_buildid
ci-upstream-kmsan-gce 2022/05/20 01:42 https://github.com/google/kmsan.git master c5c93da9af13 cb1ac2e7 .config console log report info KMSAN: uninit-value in kallsyms_lookup_buildid
ci-upstream-kmsan-gce 2022/05/19 18:55 https://github.com/google/kmsan.git master c5c93da9af13 50c53f39 .config console log report info KMSAN: uninit-value in kallsyms_lookup_buildid
ci-upstream-kmsan-gce 2022/05/17 16:20 https://github.com/google/kmsan.git master bb5f91ee4783 744a39e2 .config console log report info KMSAN: uninit-value in kallsyms_lookup_buildid
ci-upstream-kmsan-gce 2022/04/30 17:46 https://github.com/google/kmsan.git master d6e2c8c7eb40 2df221f6 .config console log report info KMSAN: uninit-value in kallsyms_lookup_buildid
ci-upstream-kmsan-gce 2022/04/29 16:43 https://github.com/google/kmsan.git master d6e2c8c7eb40 44a5ca63 .config console log report info KMSAN: uninit-value in kallsyms_lookup_buildid
ci-upstream-kmsan-gce 2022/04/13 20:02 https://github.com/google/kmsan.git master 33d9269ef6e0 b17b2923 .config console log report info KMSAN: uninit-value in kallsyms_lookup_buildid
ci-upstream-kmsan-gce 2021/12/28 06:35 https://github.com/google/kmsan.git master 81c325bbf94e 6b3c5e64 .config console log report info KMSAN: uninit-value in kallsyms_lookup_buildid
ci-upstream-kmsan-gce-386 2022/06/16 17:34 https://github.com/google/kmsan.git master 2f3064574275 1719ee24 .config console log report info KMSAN: uninit-value in kallsyms_lookup_buildid
ci-upstream-kmsan-gce-386 2022/06/15 20:06 https://github.com/google/kmsan.git master 2f3064574275 1719ee24 .config console log report info KMSAN: uninit-value in kallsyms_lookup_buildid
ci-upstream-kmsan-gce-386 2022/06/15 01:47 https://github.com/google/kmsan.git master 2f3064574275 127d1faf .config console log report info KMSAN: uninit-value in kallsyms_lookup_buildid
ci-upstream-kmsan-gce-386 2022/05/25 11:13 https://github.com/google/kmsan.git master c5c93da9af13 647c0e27 .config console log report info KMSAN: uninit-value in kallsyms_lookup_buildid
ci-upstream-kmsan-gce-386 2022/05/24 03:40 https://github.com/google/kmsan.git master c5c93da9af13 e7f9308d .config console log report info KMSAN: uninit-value in kallsyms_lookup_buildid
ci-upstream-kmsan-gce-386 2022/05/20 17:25 https://github.com/google/kmsan.git master c5c93da9af13 bd37ad7e .config console log report info KMSAN: uninit-value in kallsyms_lookup_buildid
ci-upstream-kmsan-gce-386 2022/05/18 23:31 https://github.com/google/kmsan.git master c5c93da9af13 50c53f39 .config console log report info KMSAN: uninit-value in kallsyms_lookup_buildid
ci-upstream-kmsan-gce-386 2022/05/18 18:23 https://github.com/google/kmsan.git master c5c93da9af13 50c53f39 .config console log report info KMSAN: uninit-value in kallsyms_lookup_buildid
ci-upstream-kmsan-gce-386 2022/05/18 04:18 https://github.com/google/kmsan.git master a87d7972661b 744a39e2 .config console log report info KMSAN: uninit-value in kallsyms_lookup_buildid
ci-upstream-kmsan-gce-386 2022/04/04 13:27 https://github.com/google/kmsan.git master 1978a14f70af 79a2a8fc .config console log report info KMSAN: uninit-value in kallsyms_lookup_buildid
ci-upstream-kmsan-gce-386 2022/04/04 08:23 https://github.com/google/kmsan.git master 1978a14f70af 79a2a8fc .config console log report info KMSAN: uninit-value in kallsyms_lookup_buildid
ci-upstream-kmsan-gce-386 2022/04/04 04:38 https://github.com/google/kmsan.git master 1978a14f70af 79a2a8fc .config console log report info KMSAN: uninit-value in kallsyms_lookup_buildid
ci-upstream-kmsan-gce-386 2022/04/04 02:04 https://github.com/google/kmsan.git master 1978a14f70af 79a2a8fc .config console log report info KMSAN: uninit-value in kallsyms_lookup_buildid
ci-upstream-kmsan-gce-386 2022/04/03 04:59 https://github.com/google/kmsan.git master 1978a14f70af 79a2a8fc .config console log report info KMSAN: uninit-value in kallsyms_lookup_buildid
ci-upstream-kmsan-gce-386 2022/04/03 01:04 https://github.com/google/kmsan.git master 1978a14f70af 79a2a8fc .config console log report info KMSAN: uninit-value in kallsyms_lookup_buildid
ci-upstream-kmsan-gce-386 2022/04/02 10:02 https://github.com/google/kmsan.git master 1978a14f70af 79a2a8fc .config console log report info KMSAN: uninit-value in kallsyms_lookup_buildid
ci-upstream-kmsan-gce-386 2022/04/02 09:54 https://github.com/google/kmsan.git master 1978a14f70af 79a2a8fc .config console log report info KMSAN: uninit-value in kallsyms_lookup_buildid
ci-upstream-kmsan-gce-386 2022/04/02 08:07 https://github.com/google/kmsan.git master 1978a14f70af 79a2a8fc .config console log report info KMSAN: uninit-value in kallsyms_lookup_buildid
ci-upstream-kmsan-gce-386 2022/04/02 06:36 https://github.com/google/kmsan.git master 1978a14f70af 79a2a8fc .config console log report info KMSAN: uninit-value in kallsyms_lookup_buildid
ci-upstream-kmsan-gce-386 2022/04/01 21:23 https://github.com/google/kmsan.git master 1978a14f70af 20955a24 .config console log report info KMSAN: uninit-value in kallsyms_lookup_buildid
ci-upstream-kmsan-gce-386 2022/04/01 19:56 https://github.com/google/kmsan.git master 1978a14f70af 20955a24 .config console log report info KMSAN: uninit-value in kallsyms_lookup_buildid
ci-upstream-kmsan-gce-386 2022/04/01 18:54 https://github.com/google/kmsan.git master 1978a14f70af 20955a24 .config console log report info KMSAN: uninit-value in kallsyms_lookup_buildid
ci-upstream-kmsan-gce-386 2022/04/01 09:42 https://github.com/google/kmsan.git master 1978a14f70af 68fc921a .config console log report info KMSAN: uninit-value in kallsyms_lookup_buildid
ci-upstream-kmsan-gce-386 2022/04/01 07:17 https://github.com/google/kmsan.git master 1978a14f70af 68fc921a .config console log report info KMSAN: uninit-value in kallsyms_lookup_buildid
ci-upstream-kmsan-gce-386 2022/04/01 05:55 https://github.com/google/kmsan.git master 1978a14f70af 68fc921a .config console log report info KMSAN: uninit-value in kallsyms_lookup_buildid
ci-upstream-kmsan-gce-386 2022/03/31 19:07 https://github.com/google/kmsan.git master 1978a14f70af c4c32d8c .config console log report info KMSAN: uninit-value in kallsyms_lookup_buildid
ci-upstream-kmsan-gce-386 2022/03/31 17:13 https://github.com/google/kmsan.git master 1978a14f70af c4c32d8c .config console log report info KMSAN: uninit-value in kallsyms_lookup_buildid
ci-upstream-kmsan-gce-386 2022/03/31 09:52 https://github.com/google/kmsan.git master 1978a14f70af 9d49f3a7 .config console log report info KMSAN: uninit-value in kallsyms_lookup_buildid
ci-upstream-kmsan-gce-386 2022/03/31 07:47 https://github.com/google/kmsan.git master 1978a14f70af 9d49f3a7 .config console log report info KMSAN: uninit-value in kallsyms_lookup_buildid
ci-upstream-kmsan-gce-386 2022/03/30 20:00 https://github.com/google/kmsan.git master 1978a14f70af 42718dd6 .config console log report info KMSAN: uninit-value in kallsyms_lookup_buildid
ci-upstream-kmsan-gce-386 2022/03/30 17:53 https://github.com/google/kmsan.git master 1978a14f70af 42718dd6 .config console log report info KMSAN: uninit-value in kallsyms_lookup_buildid
ci-upstream-kmsan-gce-386 2022/03/30 06:22 https://github.com/google/kmsan.git master 1978a14f70af 6bdac766 .config console log report info KMSAN: uninit-value in kallsyms_lookup_buildid
ci-upstream-kmsan-gce-386 2022/03/29 18:49 https://github.com/google/kmsan.git master 1978a14f70af 6bdac766 .config console log report info KMSAN: uninit-value in kallsyms_lookup_buildid
* Struck through repros no longer work on HEAD.