===================================================== BUG: KMSAN: uninit-value in subshift lib/crypto/aes.c:152 [inline] BUG: KMSAN: uninit-value in aes_encrypt+0x125d/0x1960 lib/crypto/aes.c:283 subshift lib/crypto/aes.c:152 [inline] aes_encrypt+0x125d/0x1960 lib/crypto/aes.c:283 aesti_encrypt+0x7d/0xf0 crypto/aes_ti.c:31 cipher_crypt_one+0x11d/0x2e0 crypto/cipher.c:75 crypto_cipher_encrypt_one+0x33/0x40 crypto/cipher.c:82 drbg_kcapi_sym crypto/drbg.c:1818 [inline] drbg_ctr_bcc crypto/drbg.c:330 [inline] drbg_ctr_df crypto/drbg.c:462 [inline] drbg_ctr_update+0x19a9/0x3700 crypto/drbg.c:551 __drbg_seed crypto/drbg.c:1027 [inline] drbg_seed+0xb1e/0xe20 crypto/drbg.c:1231 drbg_instantiate crypto/drbg.c:1597 [inline] drbg_kcapi_seed+0x19b2/0x1e40 crypto/drbg.c:1970 crypto_rng_reset+0x190/0x250 crypto/rng.c:47 rng_setkey+0x52/0x70 crypto/algif_rng.c:282 alg_setkey+0x262/0x3b0 crypto/af_alg.c:223 alg_setsockopt+0x503/0x760 crypto/af_alg.c:386 do_sock_setsockopt net/socket.c:2344 [inline] __sys_setsockopt+0x43e/0x580 net/socket.c:2369 __do_sys_setsockopt net/socket.c:2375 [inline] __se_sys_setsockopt net/socket.c:2372 [inline] __x64_sys_setsockopt+0xf4/0x1a0 net/socket.c:2372 x64_sys_call+0x27c9/0x3e20 arch/x86/include/generated/asm/syscalls_64.h:55 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xd9/0x210 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f Uninit was stored to memory at: crypto_sha3_finup+0x136/0xe00 crypto/sha3_generic.c:202 crypto_shash_op_and_zero crypto/shash.c:105 [inline] crypto_shash_finup+0x324/0xe80 crypto/shash.c:171 jent_hash_time+0x247/0x590 crypto/jitterentropy-kcapi.c:138 jent_condition_data+0x4f0/0x510 crypto/jitterentropy.c:438 jent_measure_jitter+0x547/0x770 crypto/jitterentropy.c:541 jent_gen_entropy+0x209/0x450 crypto/jitterentropy.c:569 jent_read_entropy+0x353/0xeb0 crypto/jitterentropy.c:615 jent_kcapi_random+0x6c/0x250 crypto/jitterentropy-kcapi.c:284 crypto_rng_generate include/crypto/rng.h:144 [inline] crypto_rng_get_bytes include/crypto/rng.h:161 [inline] drbg_seed+0x3f2/0xe20 crypto/drbg.c:1185 drbg_instantiate crypto/drbg.c:1597 [inline] drbg_kcapi_seed+0x19b2/0x1e40 crypto/drbg.c:1970 crypto_rng_reset+0x190/0x250 crypto/rng.c:47 rng_setkey+0x52/0x70 crypto/algif_rng.c:282 alg_setkey+0x262/0x3b0 crypto/af_alg.c:223 alg_setsockopt+0x503/0x760 crypto/af_alg.c:386 do_sock_setsockopt net/socket.c:2344 [inline] __sys_setsockopt+0x43e/0x580 net/socket.c:2369 __do_sys_setsockopt net/socket.c:2375 [inline] __se_sys_setsockopt net/socket.c:2372 [inline] __x64_sys_setsockopt+0xf4/0x1a0 net/socket.c:2372 x64_sys_call+0x27c9/0x3e20 arch/x86/include/generated/asm/syscalls_64.h:55 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xd9/0x210 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f Uninit was stored to memory at: crypto_shash_finup+0xc5a/0xe80 crypto/shash.c:162 crypto_shash_update include/crypto/hash.h:994 [inline] jent_hash_time+0x1de/0x590 crypto/jitterentropy-kcapi.c:136 jent_condition_data+0x4f0/0x510 crypto/jitterentropy.c:438 jent_measure_jitter+0x547/0x770 crypto/jitterentropy.c:541 jent_gen_entropy+0x209/0x450 crypto/jitterentropy.c:569 jent_read_entropy+0x353/0xeb0 crypto/jitterentropy.c:615 jent_kcapi_random+0x6c/0x250 crypto/jitterentropy-kcapi.c:284 crypto_rng_generate include/crypto/rng.h:144 [inline] crypto_rng_get_bytes include/crypto/rng.h:161 [inline] drbg_seed+0x3f2/0xe20 crypto/drbg.c:1185 drbg_instantiate crypto/drbg.c:1597 [inline] drbg_kcapi_seed+0x19b2/0x1e40 crypto/drbg.c:1970 crypto_rng_reset+0x190/0x250 crypto/rng.c:47 rng_setkey+0x52/0x70 crypto/algif_rng.c:282 alg_setkey+0x262/0x3b0 crypto/af_alg.c:223 alg_setsockopt+0x503/0x760 crypto/af_alg.c:386 do_sock_setsockopt net/socket.c:2344 [inline] __sys_setsockopt+0x43e/0x580 net/socket.c:2369 __do_sys_setsockopt net/socket.c:2375 [inline] __se_sys_setsockopt net/socket.c:2372 [inline] __x64_sys_setsockopt+0xf4/0x1a0 net/socket.c:2372 x64_sys_call+0x27c9/0x3e20 arch/x86/include/generated/asm/syscalls_64.h:55 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xd9/0x210 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f Uninit was stored to memory at: put_unaligned_le64 include/linux/unaligned.h:43 [inline] crypto_sha3_finup+0xc98/0xe00 crypto/sha3_generic.c:213 crypto_shash_op_and_zero crypto/shash.c:105 [inline] crypto_shash_finup+0x324/0xe80 crypto/shash.c:171 jent_hash_time+0x247/0x590 crypto/jitterentropy-kcapi.c:138 jent_condition_data+0x4f0/0x510 crypto/jitterentropy.c:438 jent_measure_jitter+0x547/0x770 crypto/jitterentropy.c:541 jent_gen_entropy+0x209/0x450 crypto/jitterentropy.c:569 jent_read_entropy+0x353/0xeb0 crypto/jitterentropy.c:615 jent_kcapi_random+0x6c/0x250 crypto/jitterentropy-kcapi.c:284 crypto_rng_generate include/crypto/rng.h:144 [inline] crypto_rng_get_bytes include/crypto/rng.h:161 [inline] drbg_seed+0x3f2/0xe20 crypto/drbg.c:1185 drbg_instantiate crypto/drbg.c:1597 [inline] drbg_kcapi_seed+0x19b2/0x1e40 crypto/drbg.c:1970 crypto_rng_reset+0x190/0x250 crypto/rng.c:47 rng_setkey+0x52/0x70 crypto/algif_rng.c:282 alg_setkey+0x262/0x3b0 crypto/af_alg.c:223 alg_setsockopt+0x503/0x760 crypto/af_alg.c:386 do_sock_setsockopt net/socket.c:2344 [inline] __sys_setsockopt+0x43e/0x580 net/socket.c:2369 __do_sys_setsockopt net/socket.c:2375 [inline] __se_sys_setsockopt net/socket.c:2372 [inline] __x64_sys_setsockopt+0xf4/0x1a0 net/socket.c:2372 x64_sys_call+0x27c9/0x3e20 arch/x86/include/generated/asm/syscalls_64.h:55 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xd9/0x210 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f Uninit was stored to memory at: keccakf_round crypto/sha3_generic.c:-1 [inline] keccakf+0x1efb/0x2110 crypto/sha3_generic.c:155 crypto_sha3_finup+0x772/0xe00 crypto/sha3_generic.c:210 crypto_shash_op_and_zero crypto/shash.c:105 [inline] crypto_shash_finup+0x324/0xe80 crypto/shash.c:171 jent_hash_time+0x247/0x590 crypto/jitterentropy-kcapi.c:138 jent_condition_data+0x4f0/0x510 crypto/jitterentropy.c:438 jent_measure_jitter+0x547/0x770 crypto/jitterentropy.c:541 jent_gen_entropy+0x209/0x450 crypto/jitterentropy.c:569 jent_read_entropy+0x353/0xeb0 crypto/jitterentropy.c:615 jent_kcapi_random+0x6c/0x250 crypto/jitterentropy-kcapi.c:284 crypto_rng_generate include/crypto/rng.h:144 [inline] crypto_rng_get_bytes include/crypto/rng.h:161 [inline] drbg_seed+0x3f2/0xe20 crypto/drbg.c:1185 drbg_instantiate crypto/drbg.c:1597 [inline] drbg_kcapi_seed+0x19b2/0x1e40 crypto/drbg.c:1970 crypto_rng_reset+0x190/0x250 crypto/rng.c:47 rng_setkey+0x52/0x70 crypto/algif_rng.c:282 alg_setkey+0x262/0x3b0 crypto/af_alg.c:223 alg_setsockopt+0x503/0x760 crypto/af_alg.c:386 do_sock_setsockopt net/socket.c:2344 [inline] __sys_setsockopt+0x43e/0x580 net/socket.c:2369 __do_sys_setsockopt net/socket.c:2375 [inline] __se_sys_setsockopt net/socket.c:2372 [inline] __x64_sys_setsockopt+0xf4/0x1a0 net/socket.c:2372 x64_sys_call+0x27c9/0x3e20 arch/x86/include/generated/asm/syscalls_64.h:55 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xd9/0x210 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f Uninit was stored to memory at: crypto_sha3_finup+0x5be/0xe00 crypto/sha3_generic.c:207 crypto_shash_op_and_zero crypto/shash.c:105 [inline] crypto_shash_finup+0x324/0xe80 crypto/shash.c:171 jent_hash_time+0x247/0x590 crypto/jitterentropy-kcapi.c:138 jent_condition_data+0x4f0/0x510 crypto/jitterentropy.c:438 jent_measure_jitter+0x547/0x770 crypto/jitterentropy.c:541 jent_gen_entropy+0x209/0x450 crypto/jitterentropy.c:569 jent_read_entropy+0x353/0xeb0 crypto/jitterentropy.c:615 jent_kcapi_random+0x6c/0x250 crypto/jitterentropy-kcapi.c:284 crypto_rng_generate include/crypto/rng.h:144 [inline] crypto_rng_get_bytes include/crypto/rng.h:161 [inline] drbg_seed+0x3f2/0xe20 crypto/drbg.c:1185 drbg_instantiate crypto/drbg.c:1597 [inline] drbg_kcapi_seed+0x19b2/0x1e40 crypto/drbg.c:1970 crypto_rng_reset+0x190/0x250 crypto/rng.c:47 rng_setkey+0x52/0x70 crypto/algif_rng.c:282 alg_setkey+0x262/0x3b0 crypto/af_alg.c:223 alg_setsockopt+0x503/0x760 crypto/af_alg.c:386 do_sock_setsockopt net/socket.c:2344 [inline] __sys_setsockopt+0x43e/0x580 net/socket.c:2369 __do_sys_setsockopt net/socket.c:2375 [inline] __se_sys_setsockopt net/socket.c:2372 [inline] __x64_sys_setsockopt+0xf4/0x1a0 net/socket.c:2372 x64_sys_call+0x27c9/0x3e20 arch/x86/include/generated/asm/syscalls_64.h:55 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xd9/0x210 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f Uninit was stored to memory at: crypto_sha3_finup+0x136/0xe00 crypto/sha3_generic.c:202 crypto_shash_op_and_zero crypto/shash.c:105 [inline] crypto_shash_finup+0x324/0xe80 crypto/shash.c:171 jent_hash_time+0x247/0x590 crypto/jitterentropy-kcapi.c:138 jent_condition_data+0x4f0/0x510 crypto/jitterentropy.c:438 jent_measure_jitter+0x547/0x770 crypto/jitterentropy.c:541 jent_gen_entropy+0x209/0x450 crypto/jitterentropy.c:569 jent_read_entropy+0x353/0xeb0 crypto/jitterentropy.c:615 jent_kcapi_random+0x6c/0x250 crypto/jitterentropy-kcapi.c:284 crypto_rng_generate include/crypto/rng.h:144 [inline] crypto_rng_get_bytes include/crypto/rng.h:161 [inline] drbg_seed+0x3f2/0xe20 crypto/drbg.c:1185 drbg_instantiate crypto/drbg.c:1597 [inline] drbg_kcapi_seed+0x19b2/0x1e40 crypto/drbg.c:1970 crypto_rng_reset+0x190/0x250 crypto/rng.c:47 rng_setkey+0x52/0x70 crypto/algif_rng.c:282 alg_setkey+0x262/0x3b0 crypto/af_alg.c:223 alg_setsockopt+0x503/0x760 crypto/af_alg.c:386 do_sock_setsockopt net/socket.c:2344 [inline] __sys_setsockopt+0x43e/0x580 net/socket.c:2369 __do_sys_setsockopt net/socket.c:2375 [inline] __se_sys_setsockopt net/socket.c:2372 [inline] __x64_sys_setsockopt+0xf4/0x1a0 net/socket.c:2372 x64_sys_call+0x27c9/0x3e20 arch/x86/include/generated/asm/syscalls_64.h:55 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xd9/0x210 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f Uninit was stored to memory at: crypto_shash_finup+0xc5a/0xe80 crypto/shash.c:162 crypto_shash_update include/crypto/hash.h:994 [inline] jent_hash_time+0x1de/0x590 crypto/jitterentropy-kcapi.c:136 jent_condition_data+0x4f0/0x510 crypto/jitterentropy.c:438 jent_measure_jitter+0x547/0x770 crypto/jitterentropy.c:541 jent_gen_entropy+0x209/0x450 crypto/jitterentropy.c:569 jent_read_entropy+0x353/0xeb0 crypto/jitterentropy.c:615 jent_kcapi_random+0x6c/0x250 crypto/jitterentropy-kcapi.c:284 crypto_rng_generate include/crypto/rng.h:144 [inline] crypto_rng_get_bytes include/crypto/rng.h:161 [inline] drbg_seed+0x3f2/0xe20 crypto/drbg.c:1185 drbg_instantiate crypto/drbg.c:1597 [inline] drbg_kcapi_seed+0x19b2/0x1e40 crypto/drbg.c:1970 crypto_rng_reset+0x190/0x250 crypto/rng.c:47 rng_setkey+0x52/0x70 crypto/algif_rng.c:282 alg_setkey+0x262/0x3b0 crypto/af_alg.c:223 alg_setsockopt+0x503/0x760 crypto/af_alg.c:386 do_sock_setsockopt net/socket.c:2344 [inline] __sys_setsockopt+0x43e/0x580 net/socket.c:2369 __do_sys_setsockopt net/socket.c:2375 [inline] __se_sys_setsockopt net/socket.c:2372 [inline] __x64_sys_setsockopt+0xf4/0x1a0 net/socket.c:2372 x64_sys_call+0x27c9/0x3e20 arch/x86/include/generated/asm/syscalls_64.h:55 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xd9/0x210 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f Local variable intermediary created at: jent_hash_time+0x9b/0x590 crypto/jitterentropy-kcapi.c:110 jent_condition_data+0x4f0/0x510 crypto/jitterentropy.c:438 CPU: 1 UID: 0 PID: 13359 Comm: syz.3.3094 Not tainted syzkaller #0 PREEMPT(none) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025 =====================================================