syzbot


KMSAN: uninit-value in zswap_frontswap_store

Status: auto-obsoleted due to no activity on 2024/06/01 21:32
Subsystems: mm
[Documentation on labels]
First crash: 393d, last: 109d
Similar bugs (6)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KMSAN: kernel-infoleak in _copy_to_iter (8) mm C 21180 400d 494d 22/27 fixed on 2023/06/08 14:41
upstream KMSAN: uninit-value in native_apic_mem_write (2) kernel syz 148 507d 520d 0/27 auto-obsoleted due to no activity on 2023/05/13 00:04
upstream KMSAN: kernel-infoleak in copyout (2) net C 6723 400d 1569d 22/27 fixed on 2023/06/08 14:41
upstream KMSAN: uninit-value in inode_go_dump gfs2 8 399d 542d 0/27 auto-obsoleted due to no activity on 2023/09/17 03:31
upstream KMSAN: uninit-value in reiserfs_new_inode (2) reiserfs C 1339 161d 596d 0/27 auto-obsoleted due to no activity on 2024/04/12 15:06
upstream KMSAN: uninit-value in zswap_store mm 1 37d 33d 1/27 upstream: reported on 2024/06/08 21:09
Last patch testing requests (1)
Created Duration User Patch Repo Result
2024/01/10 14:54 28m retest repro upstream OK log

Sample crash report:
=====================================================
BUG: KMSAN: uninit-value in zswap_is_page_same_filled mm/zswap.c:1175 [inline]
BUG: KMSAN: uninit-value in zswap_store+0x17ba/0x32b0 mm/zswap.c:1271
 zswap_is_page_same_filled mm/zswap.c:1175 [inline]
 zswap_store+0x17ba/0x32b0 mm/zswap.c:1271
 swap_writepage+0x122/0x340 mm/page_io.c:198
 shmem_writepage+0x1720/0x1e70 mm/shmem.c:1500
 pageout mm/vmscan.c:654 [inline]
 shrink_folio_list+0x508f/0x7760 mm/vmscan.c:1315
 evict_folios+0x9b33/0xb940 mm/vmscan.c:4499
 try_to_shrink_lruvec+0x16c2/0x1be0 mm/vmscan.c:4678
 lru_gen_shrink_lruvec mm/vmscan.c:4817 [inline]
 shrink_lruvec+0x483/0x4760 mm/vmscan.c:5592
 shrink_node_memcgs mm/vmscan.c:5812 [inline]
 shrink_node+0xf44/0x58f0 mm/vmscan.c:5847
 shrink_zones mm/vmscan.c:6086 [inline]
 do_try_to_free_pages+0x8fe/0x2530 mm/vmscan.c:6148
 try_to_free_mem_cgroup_pages+0x3c0/0xa30 mm/vmscan.c:6463
 try_charge_memcg+0x556/0x27b0 mm/memcontrol.c:2742
 obj_cgroup_charge_pages+0x2c2/0x5a0 mm/memcontrol.c:3255
 __memcg_kmem_charge_page+0x14c/0x520 mm/memcontrol.c:3281
 __alloc_pages+0x93a/0xe00 mm/page_alloc.c:4585
 __alloc_pages_node include/linux/gfp.h:238 [inline]
 alloc_pages_node include/linux/gfp.h:261 [inline]
 bpf_ringbuf_area_alloc kernel/bpf/ringbuf.c:122 [inline]
 bpf_ringbuf_alloc+0x126/0x6e0 kernel/bpf/ringbuf.c:170
 ringbuf_map_alloc+0x39a/0x520 kernel/bpf/ringbuf.c:204
 map_create+0xefc/0x1a30 kernel/bpf/syscall.c:1210
 __sys_bpf+0xa0f/0xd60 kernel/bpf/syscall.c:5365
 __do_sys_bpf kernel/bpf/syscall.c:5487 [inline]
 __se_sys_bpf kernel/bpf/syscall.c:5485 [inline]
 __x64_sys_bpf+0xa0/0xe0 kernel/bpf/syscall.c:5485
 do_syscall_x64 arch/x86/entry/common.c:51 [inline]
 do_syscall_64+0x44/0x110 arch/x86/entry/common.c:82
 entry_SYSCALL_64_after_hwframe+0x63/0x6b

Uninit was created at:
 __alloc_pages+0x9a4/0xe00 mm/page_alloc.c:4591
 alloc_pages_mpol+0x62b/0x9d0 mm/mempolicy.c:2133
 shmem_alloc_folio mm/shmem.c:1613 [inline]
 shmem_alloc_and_add_folio+0x2e3/0x1250 mm/shmem.c:1653
 shmem_get_folio_gfp+0x941/0x2290 mm/shmem.c:2037
 shmem_get_folio mm/shmem.c:2119 [inline]
 shmem_write_begin+0x14f/0x490 mm/shmem.c:2702
 generic_perform_write+0x3f5/0xc40 mm/filemap.c:3918
 shmem_file_write_iter+0x2b5/0x2e0 mm/shmem.c:2878
 __kernel_write_iter+0x329/0x930 fs/read_write.c:517
 dump_emit_page fs/coredump.c:888 [inline]
 dump_user_range+0x593/0xcd0 fs/coredump.c:915
 elf_core_dump+0x528d/0x5a40 fs/binfmt_elf.c:2077
 do_coredump+0x32c9/0x4920 fs/coredump.c:764
 get_signal+0x2185/0x2d10 kernel/signal.c:2890
 arch_do_signal_or_restart+0x53/0xca0 arch/x86/kernel/signal.c:309
 exit_to_user_mode_loop+0xe8/0x320 kernel/entry/common.c:168
 exit_to_user_mode_prepare+0x163/0x220 kernel/entry/common.c:204
 irqentry_exit_to_user_mode+0xd/0x30 kernel/entry/common.c:309
 irqentry_exit+0x16/0x40 kernel/entry/common.c:412
 exc_page_fault+0x246/0x6f0 arch/x86/mm/fault.c:1564
 asm_exc_page_fault+0x2b/0x30 arch/x86/include/asm/idtentry.h:570

CPU: 0 PID: 5016 Comm: syz-executor526 Not tainted 6.7.0-rc1-syzkaller-00213-g791c8ab095f7 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023
=====================================================

Crashes (4027):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/11/18 17:32 upstream 791c8ab095f7 cb976f63 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in zswap_store
2023/08/29 19:34 upstream 1c59d383390f 7ba13a15 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in zswap_frontswap_store
2024/03/25 01:18 upstream 5e74df2f8f15 0ea90952 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-root KMSAN: uninit-value in zswap_store
2024/03/05 17:59 upstream 90d35da658da f39a7eed .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-root KMSAN: uninit-value in zswap_store
2024/02/06 02:32 upstream 9f8413c4a66f 4e988e80 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-root KMSAN: uninit-value in zswap_store
2024/01/20 23:42 upstream 9f8413c4a66f 9bd8dcda .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-root KMSAN: uninit-value in zswap_store
2023/12/20 10:10 upstream 55cb5f43689d 3ad490ea .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in zswap_store
2023/12/20 06:55 upstream 55cb5f43689d 3ad490ea .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in zswap_store
2023/12/20 05:53 upstream 55cb5f43689d 3ad490ea .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in zswap_store
2023/12/20 04:51 upstream 55cb5f43689d 3ad490ea .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in zswap_store
2023/12/20 01:14 upstream 55cb5f43689d 3ad490ea .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in zswap_store
2023/12/19 23:58 upstream 55cb5f43689d 3ad490ea .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in zswap_store
2023/12/19 22:52 upstream 55cb5f43689d 3ad490ea .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in zswap_store
2023/12/19 20:53 upstream 2cf4f94d8e86 3ad490ea .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in zswap_store
2023/12/19 19:27 upstream 2cf4f94d8e86 3ad490ea .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in zswap_store
2023/12/19 18:48 upstream 2cf4f94d8e86 3ad490ea .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in zswap_store
2023/12/19 17:13 upstream 2cf4f94d8e86 3ad490ea .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in zswap_store
2023/12/19 15:46 upstream 2cf4f94d8e86 3ad490ea .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in zswap_store
2023/12/19 14:38 upstream 2cf4f94d8e86 3ad490ea .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in zswap_store
2023/12/19 12:41 upstream 2cf4f94d8e86 3ad490ea .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in zswap_store
2023/12/19 10:54 upstream 2cf4f94d8e86 3ad490ea .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in zswap_store
2023/12/19 09:15 upstream 2cf4f94d8e86 3ad490ea .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in zswap_store
2023/12/19 08:13 upstream 2cf4f94d8e86 3ad490ea .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in zswap_store
2023/12/19 05:08 upstream 2cf4f94d8e86 3ad490ea .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in zswap_store
2023/12/19 04:06 upstream 2cf4f94d8e86 3ad490ea .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in zswap_store
2023/12/19 03:42 upstream 2cf4f94d8e86 3ad490ea .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in zswap_store
2023/12/19 02:20 upstream 2cf4f94d8e86 3ad490ea .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in zswap_store
2023/12/18 22:40 upstream 2cf4f94d8e86 3222d10c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in zswap_store
2023/12/18 19:55 upstream ceb6a6f023fd 3222d10c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in zswap_store
2023/12/18 18:36 upstream ceb6a6f023fd 3222d10c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in zswap_store
2023/12/18 15:33 upstream ceb6a6f023fd 3222d10c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in zswap_store
2023/12/18 14:00 upstream ceb6a6f023fd 3222d10c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in zswap_store
2023/12/18 11:17 upstream ceb6a6f023fd 3222d10c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in zswap_store
2023/12/18 09:43 upstream ceb6a6f023fd 3222d10c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in zswap_store
2023/12/18 06:53 upstream 0e389834672c 3222d10c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in zswap_store
2023/12/18 04:50 upstream 0e389834672c 3222d10c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in zswap_store
2023/12/18 04:09 upstream 0e389834672c 3222d10c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in zswap_store
2023/12/18 01:50 upstream 0e389834672c 3222d10c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in zswap_store
2023/12/18 00:35 upstream 0e389834672c 3222d10c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in zswap_store
2023/12/17 21:56 upstream 0e389834672c 3222d10c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in zswap_store
2023/12/17 20:34 upstream 0e389834672c 3222d10c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in zswap_store
2023/12/17 19:32 upstream 0e389834672c 3222d10c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in zswap_store
2023/12/17 16:47 upstream 3b8a9b2e6809 3222d10c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in zswap_store
2023/12/17 13:08 upstream 3b8a9b2e6809 3222d10c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in zswap_store
2023/12/17 12:47 upstream 3b8a9b2e6809 3222d10c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in zswap_store
2023/12/17 10:39 upstream 3b8a9b2e6809 3222d10c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in zswap_store
2023/12/17 08:47 upstream 3b8a9b2e6809 3222d10c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in zswap_store
2023/12/17 07:11 upstream 3b8a9b2e6809 3222d10c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in zswap_store
2023/12/16 16:42 upstream c8e97fc6b4c0 3222d10c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in zswap_store
2024/02/16 16:58 upstream 4f5e5092fdbf 578f7538 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-386-root KMSAN: uninit-value in zswap_store
2024/01/14 08:35 upstream 9f8413c4a66f 551587c1 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-386-root KMSAN: uninit-value in zswap_store
2023/12/27 14:50 upstream fbafc3e621c3 fb427a07 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-386-root KMSAN: uninit-value in zswap_store
* Struck through repros no longer work on HEAD.