./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor3949456665 <...> Warning: Permanently added '10.128.1.109' (ED25519) to the list of known hosts. execve("./syz-executor3949456665", ["./syz-executor3949456665"], 0x7ffde91e4aa0 /* 10 vars */) = 0 brk(NULL) = 0x555556a5f000 brk(0x555556a5fd00) = 0x555556a5fd00 arch_prctl(ARCH_SET_FS, 0x555556a5f380) = 0 set_tid_address(0x555556a5f650) = 5011 set_robust_list(0x555556a5f660, 24) = 0 rseq(0x555556a5fca0, 0x20, 0, 0x53053053) = 0 prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0 readlink("/proc/self/exe", "/root/syz-executor3949456665", 4096) = 28 getrandom("\xf4\xf6\x45\xd2\xd0\x1f\x1e\xdd", 8, GRND_NONBLOCK) = 8 brk(NULL) = 0x555556a5fd00 brk(0x555556a80d00) = 0x555556a80d00 brk(0x555556a81000) = 0x555556a81000 mprotect(0x7f34eb240000, 16384, PROT_READ) = 0 mmap(0x1ffff000, 4096, PROT_NONE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x1ffff000 mmap(0x20000000, 16777216, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x20000000 mmap(0x21000000, 4096, PROT_NONE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x21000000 openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) close(3) = 0 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555556a5f650) = 5012 ./strace-static-x86_64: Process 5012 attached [pid 5012] set_robust_list(0x555556a5f660, 24) = 0 [pid 5012] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5012] setpgid(0, 0) = 0 [pid 5012] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5012] write(3, "1000", 4) = 4 [pid 5012] close(3) = 0 [pid 5012] memfd_create("syzkaller", 0) = 3 [pid 5012] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f34e2c00000 [pid 5012] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 8192) = 8192 [pid 5012] munmap(0x7f34e2c00000, 138412032) = 0 [pid 5012] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5012] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5012] close(3) = 0 [ 150.763009][ T5012] loop0: detected capacity change from 0 to 16 [pid 5012] close(4) = 0 [pid 5012] mkdir("./file2", 0777) = 0 [pid 5012] mount("/dev/loop0", "./file2", "erofs", MS_NODEV|MS_POSIXACL|MS_RELATIME, "user_xattr,noacl,noacl,acl,noacl,noacl,nouser_xattr,noacl,") = 0 [pid 5012] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY) = 3 [pid 5012] chdir("./file2") = 0 [pid 5012] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = -1 EBUSY (Device or resource busy) [ 150.892981][ T5012] erofs: (device loop0): mounted with root inode @ nid 36. [ 151.154916][ T5012] ===================================================== [ 151.162214][ T5012] BUG: KMSAN: uninit-value in ima_add_template_entry+0x52b/0x870 [ 151.170098][ T5012] ima_add_template_entry+0x52b/0x870 [ 151.175862][ T5012] ima_store_measurement+0x371/0x8d0 [ 151.181322][ T5012] process_measurement+0x2c6e/0x3ef0 [ 151.187069][ T5012] ima_file_check+0xb3/0x100 [ 151.192014][ T5012] path_openat+0x4d09/0x5ad0 [ 151.196770][ T5012] do_filp_open+0x20d/0x590 [ 151.201389][ T5012] do_sys_openat2+0x1bf/0x2f0 [ 151.206289][ T5012] __x64_sys_open+0x275/0x2d0 [ 151.211091][ T5012] do_syscall_64+0xcf/0x1e0 [ 151.215922][ T5012] entry_SYSCALL_64_after_hwframe+0x63/0x6b [ 151.222091][ T5012] [ 151.224457][ T5012] [ 151.224457][ T5012] [ 151.233420][ T5012] Uninit was stored to memory at: [ 151.238718][ T5012] sha256_transform_blocks+0x2dbf/0x2e80 [ 151.244866][ T5012] sha256_update+0x2fb/0x340 [ 151.249663][ T5012] crypto_sha256_update+0x37/0x60 [ 151.254950][ T5012] crypto_shash_update+0x75/0xa0 [ 151.259996][ T5012] ima_calc_file_hash+0x1816/0x3cc0 [ 151.265417][ T5012] ima_collect_measurement+0x44d/0xdd0 [ 151.271011][ T5012] process_measurement+0x2936/0x3ef0 [ 151.276856][ T5012] ima_file_check+0xb3/0x100 [ 151.281786][ T5012] path_openat+0x4d09/0x5ad0 [ 151.286523][ T5012] do_filp_open+0x20d/0x590 [ 151.291147][ T5012] do_sys_openat2+0x1bf/0x2f0 [ 151.296074][ T5012] __x64_sys_open+0x275/0x2d0 [ 151.300936][ T5012] do_syscall_64+0xcf/0x1e0 [ 151.305894][ T5012] entry_SYSCALL_64_after_hwframe+0x63/0x6b [ 151.312105][ T5012] [ 151.314522][ T5012] Uninit was stored to memory at: [ 151.319794][ T5012] sha256_transform_blocks+0x2dbf/0x2e80 [ 151.325755][ T5012] sha256_update+0x2fb/0x340 [ 151.330555][ T5012] crypto_sha256_update+0x37/0x60 [ 151.335972][ T5012] crypto_shash_update+0x75/0xa0 [ 151.341167][ T5012] ima_calc_file_hash+0x1816/0x3cc0 [ 151.346682][ T5012] ima_collect_measurement+0x44d/0xdd0 [ 151.352419][ T5012] process_measurement+0x2936/0x3ef0 [ 151.357910][ T5012] ima_file_check+0xb3/0x100 [ 151.362746][ T5012] path_openat+0x4d09/0x5ad0 [ 151.367555][ T5012] do_filp_open+0x20d/0x590 [ 151.372470][ T5012] do_sys_openat2+0x1bf/0x2f0 [ 151.377321][ T5012] __x64_sys_open+0x275/0x2d0 [ 151.382339][ T5012] do_syscall_64+0xcf/0x1e0 [ 151.387019][ T5012] entry_SYSCALL_64_after_hwframe+0x63/0x6b [ 151.393652][ T5012] [ 151.396049][ T5012] Uninit was stored to memory at: [ 151.401231][ T5012] sha256_transform_blocks+0xf33/0x2e80 [ 151.407091][ T5012] sha256_update+0x2fb/0x340 [ 151.411992][ T5012] crypto_sha256_update+0x37/0x60 [ 151.417210][ T5012] crypto_shash_update+0x75/0xa0 [ 151.422415][ T5012] ima_calc_file_hash+0x1816/0x3cc0 [ 151.427765][ T5012] ima_collect_measurement+0x44d/0xdd0 [ 151.433548][ T5012] process_measurement+0x2936/0x3ef0 [ 151.439058][ T5012] ima_file_check+0xb3/0x100 [ 151.444037][ T5012] path_openat+0x4d09/0x5ad0 [ 151.448850][ T5012] do_filp_open+0x20d/0x590 [ 151.453770][ T5012] do_sys_openat2+0x1bf/0x2f0 [ 151.458600][ T5012] __x64_sys_open+0x275/0x2d0 [ 151.463504][ T5012] do_syscall_64+0xcf/0x1e0 [ 151.468182][ T5012] entry_SYSCALL_64_after_hwframe+0x63/0x6b [ 151.474733][ T5012] [ 151.477157][ T5012] Uninit was stored to memory at: [ 151.482635][ T5012] sha256_transform_blocks+0xf7d/0x2e80 [ 151.488372][ T5012] sha256_update+0x2fb/0x340 [ 151.493346][ T5012] crypto_sha256_update+0x37/0x60 [ 151.498550][ T5012] crypto_shash_update+0x75/0xa0 [ 151.503794][ T5012] ima_calc_file_hash+0x1816/0x3cc0 [ 151.509174][ T5012] ima_collect_measurement+0x44d/0xdd0 [ 151.515090][ T5012] process_measurement+0x2936/0x3ef0 [ 151.520580][ T5012] ima_file_check+0xb3/0x100 [ 151.525692][ T5012] path_openat+0x4d09/0x5ad0 [ 151.530497][ T5012] do_filp_open+0x20d/0x590 [ 151.535424][ T5012] do_sys_openat2+0x1bf/0x2f0 [ 151.540252][ T5012] __x64_sys_open+0x275/0x2d0 [ 151.545154][ T5012] do_syscall_64+0xcf/0x1e0 [ 151.549838][ T5012] entry_SYSCALL_64_after_hwframe+0x63/0x6b [ 151.556103][ T5012] [ 151.558526][ T5012] Uninit was stored to memory at: [ 151.563966][ T5012] sha256_transform_blocks+0xfb5/0x2e80 [ 151.569744][ T5012] sha256_update+0x2fb/0x340 [ 151.574690][ T5012] crypto_sha256_update+0x37/0x60 [ 151.579888][ T5012] crypto_shash_update+0x75/0xa0 [ 151.585080][ T5012] ima_calc_file_hash+0x1816/0x3cc0 [ 151.590553][ T5012] ima_collect_measurement+0x44d/0xdd0 [ 151.596367][ T5012] process_measurement+0x2936/0x3ef0 [ 151.602025][ T5012] ima_file_check+0xb3/0x100 [ 151.606841][ T5012] path_openat+0x4d09/0x5ad0 [ 151.611778][ T5012] do_filp_open+0x20d/0x590 [ 151.616495][ T5012] do_sys_openat2+0x1bf/0x2f0 [ 151.621349][ T5012] __x64_sys_open+0x275/0x2d0 [ 151.626261][ T5012] do_syscall_64+0xcf/0x1e0 [ 151.630952][ T5012] entry_SYSCALL_64_after_hwframe+0x63/0x6b [ 151.637319][ T5012] [ 151.639715][ T5012] Uninit was stored to memory at: [ 151.645052][ T5012] sha256_transform_blocks+0x2c35/0x2e80 [ 151.650908][ T5012] sha256_update+0x2fb/0x340 [ 151.655909][ T5012] crypto_sha256_update+0x37/0x60 [ 151.661136][ T5012] crypto_shash_update+0x75/0xa0 [ 151.666529][ T5012] ima_calc_file_hash+0x1816/0x3cc0 [ 151.671953][ T5012] ima_collect_measurement+0x44d/0xdd0 [ 151.677550][ T5012] process_measurement+0x2936/0x3ef0 [ 151.683168][ T5012] ima_file_check+0xb3/0x100 [ 151.688049][ T5012] path_openat+0x4d09/0x5ad0 [ 151.693055][ T5012] do_filp_open+0x20d/0x590 [ 151.697767][ T5012] do_sys_openat2+0x1bf/0x2f0 [ 151.702713][ T5012] __x64_sys_open+0x275/0x2d0 [ 151.707537][ T5012] do_syscall_64+0xcf/0x1e0 [ 151.712287][ T5012] entry_SYSCALL_64_after_hwframe+0x63/0x6b [ 151.718418][ T5012] [ 151.720829][ T5012] Uninit was stored to memory at: [ 151.726364][ T5012] _copy_to_iter+0x125a/0x2520 [ 151.731331][ T5012] copy_page_to_iter+0x419/0x870 [ 151.736643][ T5012] filemap_read+0xbf4/0x14d0 [ 151.741450][ T5012] generic_file_read_iter+0x136/0xad0 [ 151.747098][ T5012] __kernel_read+0x724/0xce0 [ 151.752003][ T5012] integrity_kernel_read+0x77/0x90 [ 151.757314][ T5012] ima_calc_file_hash+0x1743/0x3cc0 [ 151.762822][ T5012] ima_collect_measurement+0x44d/0xdd0 [ 151.768456][ T5012] process_measurement+0x2936/0x3ef0 [ 151.774104][ T5012] ima_file_check+0xb3/0x100 [ 151.778897][ T5012] path_openat+0x4d09/0x5ad0 [ 151.783741][ T5012] do_filp_open+0x20d/0x590 [ 151.788428][ T5012] do_sys_openat2+0x1bf/0x2f0 [ 151.793353][ T5012] __x64_sys_open+0x275/0x2d0 [ 151.798180][ T5012] do_syscall_64+0xcf/0x1e0 [ 151.802913][ T5012] entry_SYSCALL_64_after_hwframe+0x63/0x6b [ 151.809034][ T5012] [ 151.811452][ T5012] Uninit was created at: [ 151.816111][ T5012] __alloc_pages+0x9a6/0xe00 [ 151.820793][ T5012] alloc_pages_mpol+0x62b/0x9d0 [ 151.825883][ T5012] folio_alloc+0x1da/0x380 [ 151.830459][ T5012] filemap_alloc_folio+0xa5/0x430 [ 151.835764][ T5012] page_cache_ra_unbounded+0x2cc/0x960 [ 151.841428][ T5012] page_cache_ra_order+0xe31/0xee0 [ 151.846900][ T5012] ondemand_readahead+0x157d/0x1750 [ 151.852537][ T5012] page_cache_sync_ra+0x724/0x760 [ 151.857754][ T5012] filemap_get_pages+0x4c4/0x2bd0 [ 151.863127][ T5012] filemap_read+0x59e/0x14d0 [ 151.867911][ T5012] generic_file_read_iter+0x136/0xad0 [ 151.873679][ T5012] __kernel_read+0x724/0xce0 [ 151.878497][ T5012] integrity_kernel_read+0x77/0x90 [ 151.884042][ T5012] ima_calc_file_hash+0x1743/0x3cc0 [ 151.889415][ T5012] ima_collect_measurement+0x44d/0xdd0 [ 151.895247][ T5012] process_measurement+0x2936/0x3ef0 [ 151.900793][ T5012] ima_file_check+0xb3/0x100 [ 151.905787][ T5012] path_openat+0x4d09/0x5ad0 [ 151.910610][ T5012] do_filp_open+0x20d/0x590 [ 151.915541][ T5012] do_sys_openat2+0x1bf/0x2f0 [ 151.920489][ T5012] __x64_sys_open+0x275/0x2d0 [ 151.925397][ T5012] do_syscall_64+0xcf/0x1e0 [ 151.930076][ T5012] entry_SYSCALL_64_after_hwframe+0x63/0x6b [ 151.936433][ T5012] [ 151.938863][ T5012] CPU: 0 PID: 5012 Comm: syz-executor394 Not tainted 6.8.0-rc6-syzkaller-00238-g5ad3cb0ed525 #0 [ 151.949571][ T5012] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024 [ 151.959849][ T5012] ===================================================== [ 151.967070][ T5012] Disabling lock debugging due to kernel taint [ 151.973384][ T5012] Kernel panic - not syncing: kmsan.panic set ... [ 151.979862][ T5012] CPU: 0 PID: 5012 Comm: syz-executor394 Tainted: G B 6.8.0-rc6-syzkaller-00238-g5ad3cb0ed525 #0 [ 151.991864][ T5012] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024 [ 152.002026][ T5012] Call Trace: [ 152.005411][ T5012] [ 152.008442][ T5012] dump_stack_lvl+0x1bf/0x240 [ 152.013301][ T5012] dump_stack+0x1e/0x20 [ 152.017577][ T5012] panic+0x4de/0xc90 [ 152.021668][ T5012] kmsan_report+0x2d0/0x2d0 [ 152.026351][ T5012] ? ima_calc_field_array_hash_tfm+0x7cf/0x810 [ 152.032707][ T5012] ? __msan_warning+0x96/0x120 [ 152.037641][ T5012] ? ima_add_template_entry+0x52b/0x870 [ 152.043361][ T5012] ? ima_store_measurement+0x371/0x8d0 [ 152.048976][ T5012] ? process_measurement+0x2c6e/0x3ef0 [ 152.054587][ T5012] ? ima_file_check+0xb3/0x100 [ 152.059568][ T5012] ? path_openat+0x4d09/0x5ad0 [ 152.064517][ T5012] ? do_filp_open+0x20d/0x590 [ 152.069308][ T5012] ? do_sys_openat2+0x1bf/0x2f0 [ 152.074280][ T5012] ? __x64_sys_open+0x275/0x2d0 [ 152.079314][ T5012] ? do_syscall_64+0xcf/0x1e0 [ 152.084846][ T5012] ? entry_SYSCALL_64_after_hwframe+0x63/0x6b [ 152.091083][ T5012] ? kmsan_get_metadata+0x146/0x1c0 [ 152.096442][ T5012] ? kmsan_get_shadow_origin_ptr+0x4d/0xb0 [ 152.102380][ T5012] ? ima_add_template_entry+0x9b/0x870 [ 152.108053][ T5012] ? filter_irq_stacks+0x60/0x1a0 [ 152.113272][ T5012] ? stack_depot_save_flags+0x2c/0x6e0 [ 152.118933][ T5012] ? kmsan_get_metadata+0x146/0x1c0 [ 152.124249][ T5012] ? kmsan_get_metadata+0x146/0x1c0 [ 152.129600][ T5012] ? kmsan_get_shadow_origin_ptr+0x4d/0xb0 [ 152.135544][ T5012] __msan_warning+0x96/0x120 [ 152.140303][ T5012] ima_add_template_entry+0x52b/0x870 [ 152.145904][ T5012] ? kmsan_get_metadata+0x146/0x1c0 [ 152.151223][ T5012] ? kmsan_get_shadow_origin_ptr+0x4d/0xb0 [ 152.157198][ T5012] ima_store_measurement+0x371/0x8d0 [ 152.162640][ T5012] process_measurement+0x2c6e/0x3ef0 [ 152.168160][ T5012] ? kmsan_get_metadata+0x146/0x1c0 [ 152.173487][ T5012] ? kmsan_get_shadow_origin_ptr+0x4d/0xb0 [ 152.179461][ T5012] ? end_current_label_crit_section+0x123/0x290 [ 152.185842][ T5012] ? kmsan_get_metadata+0x146/0x1c0 [ 152.191165][ T5012] ? kmsan_get_shadow_origin_ptr+0x4d/0xb0 [ 152.197136][ T5012] ? kmsan_get_metadata+0x146/0x1c0 [ 152.202451][ T5012] ? kmsan_get_shadow_origin_ptr+0x4d/0xb0 [ 152.208423][ T5012] ima_file_check+0xb3/0x100 [ 152.213158][ T5012] path_openat+0x4d09/0x5ad0 [ 152.217909][ T5012] do_filp_open+0x20d/0x590 [ 152.222602][ T5012] do_sys_openat2+0x1bf/0x2f0 [ 152.227472][ T5012] __x64_sys_open+0x275/0x2d0 [ 152.232340][ T5012] do_syscall_64+0xcf/0x1e0 [ 152.237031][ T5012] entry_SYSCALL_64_after_hwframe+0x63/0x6b [ 152.243147][ T5012] RIP: 0033:0x7f34eb1cca99 [ 152.247706][ T5012] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 [ 152.267521][ T5012] RSP: 002b:00007fffb60bb698 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 [ 152.276115][ T5012] RAX: ffffffffffffffda RBX: 0032656c69662f2e RCX: 00007f34eb1cca99 [ 152.284226][ T5012] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000000 [ 152.292301][ T5012] RBP: 00007f34eb2405f0 R08: 0000000000000171 R09: 0000555556a604c0 [ 152.300404][ T5012] R10: 00007fffb60bb560 R11: 0000000000000246 R12: 00007fffb60bb6c0 [ 152.308579][ T5012] R13: 00007fffb60bb8e8 R14: 431bde82d7b634db R15: 00007f34eb21503b [ 152.316702][ T5012] [ 152.320102][ T5012] Kernel Offset: disabled [ 152.324477][ T5012] Rebooting in 86400 seconds..