syzbot


KMSAN: uninit-value in __crc32c_le_base (2)

Status: closed as invalid on 2023/04/06 23:31
Subsystems: crypto
[Documentation on labels]
Reported-by: syzbot+5dee08649ac6f0707a43@syzkaller.appspotmail.com
First crash: 1494d, last: 417d
Discussions (1)
Title Replies (including bot) Last reply
KMSAN: uninit-value in __crc32c_le_base (2) 0 (1) 2020/04/26 06:08
Similar bugs (16)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KMSAN: uninit-value in __crc32c_le_base (4) btrfs C 182 10h39m 53d 0/26 upstream: reported C repro on 2024/04/01 21:52
upstream KMSAN: uninit-value in __crc32c_le_base (3) xfs 15526 75d 393d 26/26 fixed on 2024/03/20 11:33
upstream KMSAN: uninit-value in __crc32c_le_base crypto syz 567 1598d 1644d 15/26 fixed on 2020/02/14 01:19
upstream KMSAN: uninit-value in virtqueue_add (3) virt 13 568d 860d 0/26 auto-obsoleted due to no activity on 2023/02/12 03:53
upstream KMSAN: uninit-value in post_read_mst_fixup fs 199 844d 1284d 0/26 auto-closed as invalid on 2022/05/31 07:12
upstream KMSAN: kernel-infoleak in _copy_to_iter (7) net C 138977 455d 807d 22/26 fixed on 2023/02/24 13:50
upstream KMSAN: kernel-infoleak in _copy_to_iter (8) mm C 21180 351d 445d 22/26 fixed on 2023/06/08 14:41
upstream KMSAN: uninit-value in nilfs_add_checksums_on_logs nilfs 1079 352d 445d 22/26 fixed on 2023/06/08 14:41
upstream KMSAN: uninit-value in generic_bin_search btrfs 1 1158d 1158d 0/26 closed as invalid on 2021/03/24 07:53
upstream KMSAN: uninit-value in generic_bin_search (2) kernel 1 1079d 1075d 0/26 auto-closed as invalid on 2021/10/08 02:20
upstream KMSAN: uninit-value in post_read_mst_fixup (2) ntfs3 C 192 79d 150d 0/26 auto-obsoleted due to no activity on 2024/05/15 20:54
upstream KMSAN: uninit-value in longest_match_std ntfs3 1360 217d 325d 0/26 auto-obsoleted due to no activity on 2023/12/09 02:47
upstream KMSAN: uninit-value in longest_match_std (2) ntfs3 C 6399 2h58m 136d 0/26 upstream: reported C repro on 2024/01/09 18:17
upstream KMSAN: uninit-value in btrfs_bin_search btrfs 3953 269d 325d 0/26 auto-obsoleted due to no activity on 2023/10/18 06:43
upstream KMSAN: uninit-value in btrfs_leaf_free_space kernel 2 1100d 1103d 0/26 auto-closed as invalid on 2021/09/17 12:13
upstream KMSAN: uninit-value in udf_name_from_CS0 udf 1 338d 338d 23/26 fixed on 2023/10/12 12:48
Last patch testing requests (2)
Created Duration User Patch Repo Result
2022/09/02 08:27 6m retest repro https://github.com/google/kmsan.git master error OK
2020/09/20 16:20 19m anant.thazhemadam@gmail.com https://github.com/google/kmsan.git master OK

Sample crash report:
=====================================================
BUG: KMSAN: uninit-value in crc32_body lib/crc32.c:121 [inline]
BUG: KMSAN: uninit-value in crc32_le_generic lib/crc32.c:179 [inline]
BUG: KMSAN: uninit-value in __crc32c_le_base+0xbdd/0xd10 lib/crc32.c:202
CPU: 0 PID: 8830 Comm: syz-executor078 Not tainted 5.6.0-rc7-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 __dump_stack lib/dump_stack.c:77 [inline]
 dump_stack+0x1c9/0x220 lib/dump_stack.c:118
 kmsan_report+0xf7/0x1e0 mm/kmsan/kmsan_report.c:118
 __msan_warning+0x58/0xa0 mm/kmsan/kmsan_instr.c:215
 crc32_body lib/crc32.c:121 [inline]
 crc32_le_generic lib/crc32.c:179 [inline]
 __crc32c_le_base+0xbdd/0xd10 lib/crc32.c:202
 chksum_update+0xb2/0x110 crypto/crc32c_generic.c:88
 crypto_shash_update+0x4e9/0x550 crypto/shash.c:106
 shash_ahash_update crypto/shash.c:246 [inline]
 shash_async_update+0x113/0x1d0 crypto/shash.c:254
 crypto_ahash_update include/crypto/hash.h:547 [inline]
 hash_sendpage+0x8ef/0xdf0 crypto/algif_hash.c:168
 kernel_sendpage net/socket.c:3791 [inline]
 sock_sendpage+0x1e1/0x2c0 net/socket.c:950
 pipe_to_sendpage+0x38c/0x4c0 fs/splice.c:458
 splice_from_pipe_feed fs/splice.c:512 [inline]
 __splice_from_pipe+0x539/0xed0 fs/splice.c:636
 splice_from_pipe fs/splice.c:671 [inline]
 generic_splice_sendpage+0x1d5/0x2d0 fs/splice.c:844
 do_splice_from fs/splice.c:863 [inline]
 direct_splice_actor+0x19e/0x200 fs/splice.c:1037
 splice_direct_to_actor+0x8a9/0x11e0 fs/splice.c:992
 do_splice_direct+0x342/0x580 fs/splice.c:1080
 do_sendfile+0xff5/0x1d10 fs/read_write.c:1520
 __do_compat_sys_sendfile fs/read_write.c:1602 [inline]
 __se_compat_sys_sendfile+0x301/0x3c0 fs/read_write.c:1585
 __ia32_compat_sys_sendfile+0x11a/0x160 fs/read_write.c:1585
 do_syscall_32_irqs_on arch/x86/entry/common.c:339 [inline]
 do_fast_syscall_32+0x3c7/0x6e0 arch/x86/entry/common.c:410
 entry_SYSENTER_compat+0x68/0x77 arch/x86/entry/entry_64_compat.S:139
RIP: 0023:0xf7f34d99
Code: 90 e8 0b 00 00 00 f3 90 0f ae e8 eb f9 8d 74 26 00 89 3c 24 c3 90 90 90 90 90 90 90 90 90 90 90 90 51 52 55 89 e5 0f 34 cd 80 <5d> 5a 59 c3 90 90 90 90 eb 0d 90 90 90 90 90 90 90 90 90 90 90 90
RSP: 002b:00000000ffe3de3c EFLAGS: 00000296 ORIG_RAX: 00000000000000bb
RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 0000000000000003
RDX: 0000000000000000 RSI: 00000000ffffffff RDI: 0000000000000004
RBP: 0000000020000480 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000

Uninit was stored to memory at:
 kmsan_save_stack_with_flags mm/kmsan/kmsan.c:144 [inline]
 kmsan_internal_chain_origin+0xad/0x130 mm/kmsan/kmsan.c:310
 kmsan_memcpy_memmove_metadata+0x272/0x2e0 mm/kmsan/kmsan.c:247
 kmsan_memcpy_metadata+0xb/0x10 mm/kmsan/kmsan.c:267
 kmsan_copy_to_user+0x50/0x90 mm/kmsan/kmsan_hooks.c:262
 _copy_to_user+0x15a/0x1f0 lib/usercopy.c:33
 copy_to_user include/linux/uaccess.h:174 [inline]
 proc_put_long kernel/sysctl.c:2260 [inline]
 __do_proc_dointvec+0xed3/0x1a70 kernel/sysctl.c:2385
 do_proc_dointvec kernel/sysctl.c:2412 [inline]
 proc_dointvec+0x139/0x160 kernel/sysctl.c:2572
 proc_do_sync_ports+0x26a/0x500 net/netfilter/ipvs/ip_vs_ctl.c:1803
 proc_sys_call_handler+0xa92/0xd00 fs/proc/proc_sysctl.c:616
 proc_sys_read+0xc6/0xe0 fs/proc/proc_sysctl.c:630
 do_loop_readv_writev fs/read_write.c:714 [inline]
 do_iter_read+0x8df/0xe10 fs/read_write.c:935
 vfs_readv+0x1ee/0x280 fs/read_write.c:1053
 kernel_readv fs/splice.c:365 [inline]
 default_file_splice_read+0xb1d/0x11d0 fs/splice.c:422
 do_splice_to fs/splice.c:892 [inline]
 splice_direct_to_actor+0x5d8/0x11e0 fs/splice.c:971
 do_splice_direct+0x342/0x580 fs/splice.c:1080
 do_sendfile+0xff5/0x1d10 fs/read_write.c:1520
 __do_compat_sys_sendfile fs/read_write.c:1602 [inline]
 __se_compat_sys_sendfile+0x301/0x3c0 fs/read_write.c:1585
 __ia32_compat_sys_sendfile+0x11a/0x160 fs/read_write.c:1585
 do_syscall_32_irqs_on arch/x86/entry/common.c:339 [inline]
 do_fast_syscall_32+0x3c7/0x6e0 arch/x86/entry/common.c:410
 entry_SYSENTER_compat+0x68/0x77 arch/x86/entry/entry_64_compat.S:139

Local variable ----tmp.i@__do_proc_dointvec created at:
 proc_put_long kernel/sysctl.c:2256 [inline]
 __do_proc_dointvec+0xd1b/0x1a70 kernel/sysctl.c:2385
 proc_put_long kernel/sysctl.c:2256 [inline]
 __do_proc_dointvec+0xd1b/0x1a70 kernel/sysctl.c:2385
=====================================================

Crashes (6207):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/04/22 00:54 https://github.com/google/kmsan.git master 9535d09e7cff 2e44d63e .config console log report syz C ci-upstream-kmsan-gce-386
2023/04/03 03:36 https://github.com/google/kmsan.git master 90ea0df61c98 f325deb0 .config console log report info ci-upstream-kmsan-gce-386 KMSAN: uninit-value in __crc32c_le_base
2023/04/02 18:57 https://github.com/google/kmsan.git master 90ea0df61c98 f325deb0 .config console log report info ci-upstream-kmsan-gce-386 KMSAN: uninit-value in __crc32c_le_base
2023/04/02 15:19 https://github.com/google/kmsan.git master 90ea0df61c98 f325deb0 .config console log report info ci-upstream-kmsan-gce-386 KMSAN: uninit-value in __crc32c_le_base
2023/04/02 12:44 https://github.com/google/kmsan.git master 90ea0df61c98 f325deb0 .config console log report info ci-upstream-kmsan-gce-386 KMSAN: uninit-value in __crc32c_le_base
2023/04/02 10:08 https://github.com/google/kmsan.git master 90ea0df61c98 f325deb0 .config console log report info ci-upstream-kmsan-gce-386 KMSAN: uninit-value in __crc32c_le_base
2023/04/02 08:58 https://github.com/google/kmsan.git master 90ea0df61c98 f325deb0 .config console log report info ci-upstream-kmsan-gce-386 KMSAN: uninit-value in __crc32c_le_base
2023/04/02 07:34 https://github.com/google/kmsan.git master 90ea0df61c98 f325deb0 .config console log report info ci-upstream-kmsan-gce-386 KMSAN: uninit-value in __crc32c_le_base
2023/04/02 06:02 https://github.com/google/kmsan.git master 90ea0df61c98 f325deb0 .config console log report info ci-upstream-kmsan-gce-386 KMSAN: uninit-value in __crc32c_le_base
2023/04/02 02:18 https://github.com/google/kmsan.git master 90ea0df61c98 f325deb0 .config console log report info ci-upstream-kmsan-gce-386 KMSAN: uninit-value in __crc32c_le_base
2023/04/01 16:54 https://github.com/google/kmsan.git master 90ea0df61c98 f325deb0 .config console log report info ci-upstream-kmsan-gce-386 KMSAN: uninit-value in __crc32c_le_base
2023/04/01 15:32 https://github.com/google/kmsan.git master 90ea0df61c98 f325deb0 .config console log report info ci-upstream-kmsan-gce-386 KMSAN: uninit-value in __crc32c_le_base
2023/04/01 10:13 https://github.com/google/kmsan.git master 90ea0df61c98 f325deb0 .config console log report info ci-upstream-kmsan-gce-386 KMSAN: uninit-value in __crc32c_le_base
2023/04/01 07:37 https://github.com/google/kmsan.git master 90ea0df61c98 f325deb0 .config console log report info ci-upstream-kmsan-gce-386 KMSAN: uninit-value in __crc32c_le_base
2023/04/01 04:29 https://github.com/google/kmsan.git master 90ea0df61c98 f325deb0 .config console log report info ci-upstream-kmsan-gce-386 KMSAN: uninit-value in __crc32c_le_base
2023/03/31 21:59 https://github.com/google/kmsan.git master 90ea0df61c98 f325deb0 .config console log report info ci-upstream-kmsan-gce-386 KMSAN: uninit-value in __crc32c_le_base
2023/03/31 15:27 https://github.com/google/kmsan.git master 90ea0df61c98 f325deb0 .config console log report info ci-upstream-kmsan-gce-386 KMSAN: uninit-value in __crc32c_le_base
2023/03/31 11:32 https://github.com/google/kmsan.git master 90ea0df61c98 f325deb0 .config console log report info ci-upstream-kmsan-gce-386 KMSAN: uninit-value in __crc32c_le_base
2023/03/31 06:40 https://github.com/google/kmsan.git master 90ea0df61c98 f325deb0 .config console log report info ci-upstream-kmsan-gce-386 KMSAN: uninit-value in __crc32c_le_base
2023/03/31 04:56 https://github.com/google/kmsan.git master 90ea0df61c98 f325deb0 .config console log report info ci-upstream-kmsan-gce-386 KMSAN: uninit-value in __crc32c_le_base
2023/03/31 01:46 https://github.com/google/kmsan.git master 90ea0df61c98 f325deb0 .config console log report info ci-upstream-kmsan-gce-386 KMSAN: uninit-value in __crc32c_le_base
2023/03/30 23:43 https://github.com/google/kmsan.git master 90ea0df61c98 f325deb0 .config console log report info ci-upstream-kmsan-gce-386 KMSAN: uninit-value in __crc32c_le_base
2023/03/30 22:14 https://github.com/google/kmsan.git master 90ea0df61c98 f325deb0 .config console log report info ci-upstream-kmsan-gce-386 KMSAN: uninit-value in __crc32c_le_base
2023/03/30 18:23 https://github.com/google/kmsan.git master 90ea0df61c98 f325deb0 .config console log report info ci-upstream-kmsan-gce-386 KMSAN: uninit-value in __crc32c_le_base
2023/03/30 15:48 https://github.com/google/kmsan.git master 90ea0df61c98 f325deb0 .config console log report info ci-upstream-kmsan-gce-386 KMSAN: uninit-value in __crc32c_le_base
2023/03/30 13:08 https://github.com/google/kmsan.git master 90ea0df61c98 f325deb0 .config console log report info ci-upstream-kmsan-gce-386 KMSAN: uninit-value in __crc32c_le_base
2023/03/30 13:03 https://github.com/google/kmsan.git master 90ea0df61c98 f325deb0 .config console log report info ci-upstream-kmsan-gce-386 KMSAN: uninit-value in __crc32c_le_base
2023/03/30 09:36 https://github.com/google/kmsan.git master 90ea0df61c98 f325deb0 .config console log report info ci-upstream-kmsan-gce-386 KMSAN: uninit-value in __crc32c_le_base
2023/03/30 08:58 https://github.com/google/kmsan.git master 90ea0df61c98 f325deb0 .config console log report info ci-upstream-kmsan-gce-386 KMSAN: uninit-value in __crc32c_le_base
2023/03/30 07:54 https://github.com/google/kmsan.git master 90ea0df61c98 f325deb0 .config console log report info ci-upstream-kmsan-gce-386 KMSAN: uninit-value in __crc32c_le_base
2023/03/30 06:24 https://github.com/google/kmsan.git master 90ea0df61c98 f325deb0 .config console log report info ci-upstream-kmsan-gce-386 KMSAN: uninit-value in __crc32c_le_base
2023/03/30 05:20 https://github.com/google/kmsan.git master 90ea0df61c98 f325deb0 .config console log report info ci-upstream-kmsan-gce-386 KMSAN: uninit-value in __crc32c_le_base
2020/07/22 02:01 https://github.com/google/kmsan.git master 91e18444d6b0 21f1765e .config console log report ci-upstream-kmsan-gce
2023/04/03 05:07 https://github.com/google/kmsan.git master 90ea0df61c98 f325deb0 .config console log report info ci-upstream-kmsan-gce-386 KMSAN: uninit-value in longest_match_std
2023/04/03 00:41 https://github.com/google/kmsan.git master 90ea0df61c98 f325deb0 .config console log report info ci-upstream-kmsan-gce-386 KMSAN: uninit-value in longest_match_std
2023/04/02 21:13 https://github.com/google/kmsan.git master 90ea0df61c98 f325deb0 .config console log report info ci-upstream-kmsan-gce-386 KMSAN: uninit-value in post_read_mst_fixup
2023/04/02 16:29 https://github.com/google/kmsan.git master 90ea0df61c98 f325deb0 .config console log report info ci-upstream-kmsan-gce-386 KMSAN: uninit-value in longest_match_std
2023/04/02 14:02 https://github.com/google/kmsan.git master 90ea0df61c98 f325deb0 .config console log report info ci-upstream-kmsan-gce-386 KMSAN: uninit-value in longest_match_std
2023/04/02 13:55 https://github.com/google/kmsan.git master 90ea0df61c98 f325deb0 .config console log report info ci-upstream-kmsan-gce-386 KMSAN: uninit-value in longest_match_std
2023/04/02 11:40 https://github.com/google/kmsan.git master 90ea0df61c98 f325deb0 .config console log report info ci-upstream-kmsan-gce-386 KMSAN: uninit-value in longest_match_std
2023/04/01 13:19 https://github.com/google/kmsan.git master 90ea0df61c98 f325deb0 .config console log report info ci-upstream-kmsan-gce-386 KMSAN: uninit-value in longest_match_std
2023/04/01 02:53 https://github.com/google/kmsan.git master 90ea0df61c98 f325deb0 .config console log report info ci-upstream-kmsan-gce-386 KMSAN: uninit-value in post_read_mst_fixup
2023/03/30 17:06 https://github.com/google/kmsan.git master 90ea0df61c98 f325deb0 .config console log report info ci-upstream-kmsan-gce-386 KMSAN: uninit-value in longest_match_std
2023/03/30 16:51 https://github.com/google/kmsan.git master 90ea0df61c98 f325deb0 .config console log report info ci-upstream-kmsan-gce-386 KMSAN: uninit-value in longest_match_std
2023/03/30 14:16 https://github.com/google/kmsan.git master 90ea0df61c98 f325deb0 .config console log report info ci-upstream-kmsan-gce-386 KMSAN: uninit-value in longest_match_std
2023/03/30 12:01 https://github.com/google/kmsan.git master 90ea0df61c98 f325deb0 .config console log report info ci-upstream-kmsan-gce-386 KMSAN: uninit-value in longest_match_std
2023/03/30 11:01 https://github.com/google/kmsan.git master 90ea0df61c98 f325deb0 .config console log report info ci-upstream-kmsan-gce-386 KMSAN: uninit-value in udf_name_from_CS0
2023/03/30 04:16 https://github.com/google/kmsan.git master 90ea0df61c98 f325deb0 .config console log report info ci-upstream-kmsan-gce-386 KMSAN: uninit-value in longest_match_std
2023/03/29 07:17 https://github.com/google/kmsan.git master 90ea0df61c98 fc067f05 .config console log report info ci-upstream-kmsan-gce-386 KMSAN: uninit-value in btrfs_leaf_free_space
2023/03/06 15:09 https://github.com/google/kmsan.git master 54b4a7d3d6c6 f8902b57 .config console log report info ci-upstream-kmsan-gce-386 KMSAN: uninit-value in generic_bin_search
2022/01/14 10:04 https://github.com/google/kmsan.git master fa3879a274df b8d780ab .config console log report info ci-upstream-kmsan-gce-386 KMSAN: uninit-value in macvlan_forward_source
2022/01/08 00:36 https://github.com/google/kmsan.git master 81c325bbf94e 2ca0d385 .config console log report info ci-upstream-kmsan-gce-386 KMSAN: uninit-value in neigh_timer_handler
2020/07/22 05:14 https://github.com/google/kmsan.git master 91e18444d6b0 21f1765e .config console log report ci-upstream-kmsan-gce-386
2020/04/21 20:11 https://github.com/google/kmsan.git master 9535d09e7cff 2e44d63e .config console log report ci-upstream-kmsan-gce-386
* Struck through repros no longer work on HEAD.