syzbot


KMSAN: uninit-value in btrfs_bin_search

Status: auto-obsoleted due to no activity on 2023/10/18 06:43
Subsystems: btrfs
[Documentation on labels]
First crash: 238d, last: 182d
Similar bugs (5)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KMSAN: kernel-infoleak in _copy_to_iter (8) mm C 21180 264d 358d 22/26 fixed on 2023/06/08 14:41
upstream KMSAN: uninit-value in __crc32c_le_base (3) xfs 15524 19d 305d 0/26 upstream: reported on 2023/04/27 20:50
upstream KMSAN: kernel-infoleak in _copy_to_iter (7) net C 138977 368d 720d 22/26 fixed on 2023/02/24 13:50
upstream KMSAN: uninit-value in __crc32c_le_base (2) crypto C 6207 330d 1402d 0/26 closed as invalid on 2023/04/06 23:31
upstream KMSAN: uninit-value in btrfs_leaf_free_space kernel 2 1013d 1016d 0/26 auto-closed as invalid on 2021/09/17 12:13

Sample crash report:
BTRFS warning (device loop2): the 'inode_cache' option is deprecated and has no effect since 5.11
BTRFS info (device loop2): force zlib compression, level 3
BTRFS info (device loop2): allowing degraded mounts
BTRFS info (device loop2): using free space tree
BTRFS info (device loop2): auto enabling async discard
=====================================================
BUG: KMSAN: uninit-value in btrfs_comp_cpu_keys fs/btrfs/ctree.c:769 [inline]
BUG: KMSAN: uninit-value in comp_keys fs/btrfs/ctree.c:745 [inline]
BUG: KMSAN: uninit-value in btrfs_bin_search+0x74c/0xb30 fs/btrfs/ctree.c:935
 btrfs_comp_cpu_keys fs/btrfs/ctree.c:769 [inline]
 comp_keys fs/btrfs/ctree.c:745 [inline]
 btrfs_bin_search+0x74c/0xb30 fs/btrfs/ctree.c:935
 search_for_key_slot fs/btrfs/ctree.c:1925 [inline]
 btrfs_search_slot+0x1adc/0x4680 fs/btrfs/ctree.c:2237
 btrfs_insert_empty_items+0xb3/0x220 fs/btrfs/ctree.c:4376
 btrfs_create_new_inode+0x1aa3/0x3e30 fs/btrfs/inode.c:6426
 btrfs_create_common+0x267/0x3b0 fs/btrfs/inode.c:6657
 btrfs_create+0x16b/0x210 fs/btrfs/inode.c:6697
 lookup_open fs/namei.c:3492 [inline]
 open_last_lookups fs/namei.c:3560 [inline]
 path_openat+0x2ca4/0x5a00 fs/namei.c:3790
 do_filp_open+0x20d/0x590 fs/namei.c:3820
 do_sys_openat2+0x1bf/0x2f0 fs/open.c:1407
 do_sys_open fs/open.c:1422 [inline]
 __do_sys_creat fs/open.c:1498 [inline]
 __se_sys_creat fs/open.c:1492 [inline]
 __ia32_sys_creat+0xe4/0x140 fs/open.c:1492
 do_syscall_32_irqs_on arch/x86/entry/common.c:112 [inline]
 __do_fast_syscall_32+0xa2/0x100 arch/x86/entry/common.c:178
 do_fast_syscall_32+0x37/0x80 arch/x86/entry/common.c:203
 do_SYSENTER_32+0x1f/0x30 arch/x86/entry/common.c:246
 entry_SYSENTER_compat_after_hwframe+0x70/0x82

Uninit was created at:
 __alloc_pages+0x9a4/0xe00 mm/page_alloc.c:4500
 alloc_pages+0xd01/0x1040
 folio_alloc+0x42/0x120 mm/mempolicy.c:2308
 filemap_alloc_folio+0xa5/0x430 mm/filemap.c:979
 __filemap_get_folio+0x908/0x13a0 mm/filemap.c:1933
 pagecache_get_page+0x4e/0x200 mm/folio-compat.c:99
 find_or_create_page include/linux/pagemap.h:639 [inline]
 alloc_extent_buffer+0x6e8/0x2e60 fs/btrfs/extent_io.c:3601
 btrfs_find_create_tree_block+0x46/0x60 fs/btrfs/disk-io.c:588
 btrfs_init_new_buffer fs/btrfs/extent-tree.c:4771 [inline]
 btrfs_alloc_tree_block+0x344/0x1d10 fs/btrfs/extent-tree.c:4892
 __btrfs_cow_block+0x57a/0x2200 fs/btrfs/ctree.c:546
 btrfs_cow_block+0x7cc/0xa00 fs/btrfs/ctree.c:712
 btrfs_search_slot+0x16fb/0x4680 fs/btrfs/ctree.c:2194
 btrfs_insert_empty_items+0xb3/0x220 fs/btrfs/ctree.c:4376
 btrfs_create_new_inode+0x1aa3/0x3e30 fs/btrfs/inode.c:6426
 btrfs_create_common+0x267/0x3b0 fs/btrfs/inode.c:6657
 btrfs_create+0x16b/0x210 fs/btrfs/inode.c:6697
 lookup_open fs/namei.c:3492 [inline]
 open_last_lookups fs/namei.c:3560 [inline]
 path_openat+0x2ca4/0x5a00 fs/namei.c:3790
 do_filp_open+0x20d/0x590 fs/namei.c:3820
 do_sys_openat2+0x1bf/0x2f0 fs/open.c:1407
 do_sys_open fs/open.c:1422 [inline]
 __do_sys_creat fs/open.c:1498 [inline]
 __se_sys_creat fs/open.c:1492 [inline]
 __ia32_sys_creat+0xe4/0x140 fs/open.c:1492
 do_syscall_32_irqs_on arch/x86/entry/common.c:112 [inline]
 __do_fast_syscall_32+0xa2/0x100 arch/x86/entry/common.c:178
 do_fast_syscall_32+0x37/0x80 arch/x86/entry/common.c:203
 do_SYSENTER_32+0x1f/0x30 arch/x86/entry/common.c:246
 entry_SYSENTER_compat_after_hwframe+0x70/0x82

CPU: 1 PID: 7128 Comm: syz-executor.2 Not tainted 6.5.0-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023
=====================================================

Crashes (3953):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/08/29 06:35 upstream 2dde18cd1d8f 7ba13a15 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-386 KMSAN: uninit-value in btrfs_bin_search
2023/08/29 05:27 upstream 2dde18cd1d8f 7ba13a15 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-386 KMSAN: uninit-value in btrfs_bin_search
2023/08/29 03:29 upstream 2dde18cd1d8f 7ba13a15 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-386 KMSAN: uninit-value in btrfs_bin_search
2023/08/29 03:28 upstream 2dde18cd1d8f 7ba13a15 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-386 KMSAN: uninit-value in btrfs_bin_search
2023/08/29 02:14 upstream 2dde18cd1d8f 7ba13a15 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-386 KMSAN: uninit-value in btrfs_bin_search
2023/08/29 00:10 upstream 2dde18cd1d8f 7ba13a15 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-386 KMSAN: uninit-value in btrfs_bin_search
2023/08/28 22:05 upstream 2dde18cd1d8f 7ba13a15 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-386 KMSAN: uninit-value in btrfs_bin_search
2023/08/28 19:12 upstream 2dde18cd1d8f 7ba13a15 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-386 KMSAN: uninit-value in btrfs_bin_search
2023/08/28 17:34 upstream 2dde18cd1d8f 7ba13a15 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-386 KMSAN: uninit-value in btrfs_bin_search
2023/08/28 16:19 upstream 2dde18cd1d8f 03d9c195 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-386 KMSAN: uninit-value in btrfs_bin_search
2023/08/28 12:27 upstream 2dde18cd1d8f 03d9c195 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-386 KMSAN: uninit-value in btrfs_bin_search
2023/08/28 10:56 upstream 85eb043618bb 03d9c195 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-386 KMSAN: uninit-value in btrfs_bin_search
2023/08/28 09:55 upstream 85eb043618bb 03d9c195 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-386 KMSAN: uninit-value in btrfs_bin_search
2023/08/28 08:41 upstream 85eb043618bb 03d9c195 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-386 KMSAN: uninit-value in btrfs_bin_search
2023/08/28 07:02 upstream 85eb043618bb 03d9c195 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-386 KMSAN: uninit-value in btrfs_bin_search
2023/08/28 06:58 upstream 85eb043618bb 03d9c195 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-386 KMSAN: uninit-value in btrfs_bin_search
2023/08/28 04:35 upstream 85eb043618bb 03d9c195 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-386 KMSAN: uninit-value in btrfs_bin_search
2023/08/28 03:09 upstream 85eb043618bb 03d9c195 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-386 KMSAN: uninit-value in btrfs_bin_search
2023/08/27 23:19 upstream 85eb043618bb 03d9c195 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-386 KMSAN: uninit-value in btrfs_bin_search
2023/08/27 21:05 upstream 28f20a19294d 03d9c195 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-386 KMSAN: uninit-value in btrfs_bin_search
2023/08/27 20:47 upstream 28f20a19294d 03d9c195 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-386 KMSAN: uninit-value in btrfs_bin_search
2023/08/27 19:04 upstream 28f20a19294d 03d9c195 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-386 KMSAN: uninit-value in btrfs_bin_search
2023/08/27 17:06 upstream 28f20a19294d 03d9c195 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-386 KMSAN: uninit-value in btrfs_bin_search
2023/08/27 15:20 upstream 28f20a19294d 03d9c195 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-386 KMSAN: uninit-value in btrfs_bin_search
2023/08/27 14:18 upstream 28f20a19294d 03d9c195 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-386 KMSAN: uninit-value in btrfs_bin_search
2023/08/27 11:54 upstream 28f20a19294d 03d9c195 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-386 KMSAN: uninit-value in btrfs_bin_search
2023/08/27 06:35 upstream 3b35375f19fe 03d9c195 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-386 KMSAN: uninit-value in btrfs_bin_search
2023/08/27 04:36 upstream 3b35375f19fe 03d9c195 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-386 KMSAN: uninit-value in btrfs_bin_search
2023/08/27 03:09 upstream 3b35375f19fe 03d9c195 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-386 KMSAN: uninit-value in btrfs_bin_search
2023/08/27 00:11 upstream 3b35375f19fe 03d9c195 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-386 KMSAN: uninit-value in btrfs_bin_search
2023/08/26 22:37 upstream 3b35375f19fe 03d9c195 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-386 KMSAN: uninit-value in btrfs_bin_search
2023/08/26 22:34 upstream 3b35375f19fe 03d9c195 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-386 KMSAN: uninit-value in btrfs_bin_search
2023/08/26 19:34 upstream 3b35375f19fe 03d9c195 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-386 KMSAN: uninit-value in btrfs_bin_search
2023/08/26 17:50 upstream 7d2f353b2682 03d9c195 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-386 KMSAN: uninit-value in btrfs_bin_search
2023/08/26 16:44 upstream 7d2f353b2682 03d9c195 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-386 KMSAN: uninit-value in btrfs_bin_search
2023/08/26 14:43 upstream 7d2f353b2682 03d9c195 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-386 KMSAN: uninit-value in btrfs_bin_search
2023/08/26 13:14 upstream 7d2f353b2682 03d9c195 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-386 KMSAN: uninit-value in btrfs_bin_search
2023/08/26 12:55 upstream 7d2f353b2682 03d9c195 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-386 KMSAN: uninit-value in btrfs_bin_search
2023/08/26 11:05 upstream 7d2f353b2682 03d9c195 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-386 KMSAN: uninit-value in btrfs_bin_search
2023/08/26 09:59 upstream 7d2f353b2682 03d9c195 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-386 KMSAN: uninit-value in btrfs_bin_search
2023/08/26 08:58 upstream 7d2f353b2682 03d9c195 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-386 KMSAN: uninit-value in btrfs_bin_search
2023/08/26 07:53 upstream 7d2f353b2682 03d9c195 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-386 KMSAN: uninit-value in btrfs_bin_search
2023/08/15 16:40 upstream 91aa6c412d7f 39990d51 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-386 KMSAN: uninit-value in btrfs_bin_search
2023/08/29 04:32 upstream 2dde18cd1d8f 7ba13a15 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-386 KMSAN: uninit-value in btrfs_leaf_free_space
2023/08/27 01:25 upstream 3b35375f19fe 03d9c195 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-386 KMSAN: uninit-value in add_delayed_ref_head
2023/08/26 07:22 upstream 7d2f353b2682 03d9c195 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-386 KMSAN: uninit-value in add_delayed_ref_head
* Struck through repros no longer work on HEAD.