./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor1732574699 <...> Warning: Permanently added '10.128.0.125' (ED25519) to the list of known hosts. execve("./syz-executor1732574699", ["./syz-executor1732574699"], 0x7ffebf23ccb0 /* 10 vars */) = 0 brk(NULL) = 0x555557d87000 brk(0x555557d87d00) = 0x555557d87d00 arch_prctl(ARCH_SET_FS, 0x555557d87380) = 0 set_tid_address(0x555557d87650) = 5185 set_robust_list(0x555557d87660, 24) = 0 rseq(0x555557d87ca0, 0x20, 0, 0x53053053) = 0 prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0 readlink("/proc/self/exe", "/root/syz-executor1732574699", 4096) = 28 getrandom("\xe5\x0e\xa0\xf1\x5d\x06\xda\x79", 8, GRND_NONBLOCK) = 8 brk(NULL) = 0x555557d87d00 brk(0x555557da8d00) = 0x555557da8d00 brk(0x555557da9000) = 0x555557da9000 mprotect(0x7f6ca1cd2000, 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=0x555557d87650) = 5186 ./strace-static-x86_64: Process 5186 attached [pid 5186] set_robust_list(0x555557d87660, 24) = 0 [pid 5186] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5186] setpgid(0, 0) = 0 [pid 5186] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5186] write(3, "1000", 4) = 4 [pid 5186] close(3executing program ) = 0 [pid 5186] write(1, "executing program\n", 18) = 18 [pid 5186] memfd_create("syzkaller", 0) = 3 [pid 5186] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f6c99800000 [pid 5186] write(3, "\xeb\x76\x90\x45\x58\x46\x41\x54\x20\x20\x20\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\x03\x00\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x80\x00\x00\x00\x08\x00\x00\x00\x88\x00\x00\x00\x0f\x00\x00\x00\x05\x00\x00\x00"..., 131072) = 131072 [pid 5186] munmap(0x7f6c99800000, 138412032) = 0 [pid 5186] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5186] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5186] close(3) = 0 [pid 5186] close(4) = 0 [pid 5186] mkdir("./file2", 0777) = 0 [ 161.800145][ T5186] loop0: detected capacity change from 0 to 256 [pid 5186] mount("/dev/loop0", "./file2", "exfat", MS_SYNCHRONOUS|MS_NODIRATIME, "") = 0 [pid 5186] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY) = 3 [pid 5186] chdir("./file2") = 0 [pid 5186] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = -1 EBUSY (Device or resource busy) [ 161.854370][ T5186] exFAT-fs (loop0): failed to load upcase table (idx : 0x0000fd4f, chksum : 0x3963664b, utbl_chksum : 0xe619d30d) [pid 5186] open("./bus", O_RDWR|O_CREAT|O_NONBLOCK|O_DIRECT|O_NOFOLLOW|O_NOATIME, 000) = 4 [pid 5186] pwritev2(4, [{iov_base="\x85", iov_len=1}], 1, 31232, 0) = -1 ENOSPC (No space left on device) [ 161.905118][ T29] audit: type=1800 audit(1728846320.534:2): pid=5186 uid=0 auid=4294967295 ses=4294967295 subj=unconfined op=collect_data cause=failed(directio) comm="syz-executor173" name="bus" dev="loop0" ino=2 res=0 errno=0 [ 162.522840][ T5186] ===================================================== [ 162.529991][ T5186] BUG: KMSAN: uninit-value in ima_add_template_entry+0x52b/0x880 [ 162.538024][ T5186] ima_add_template_entry+0x52b/0x880 [ 162.543695][ T5186] ima_store_measurement+0x36b/0x8d0 [ 162.549186][ T5186] process_measurement+0x2c11/0x3f30 [ 162.554806][ T5186] ima_file_check+0xb4/0x100 [ 162.559579][ T5186] security_file_post_open+0xc6/0x540 [ 162.565194][ T5186] path_openat+0x58cc/0x6200 [ 162.569941][ T5186] do_filp_open+0x20e/0x590 [ 162.574747][ T5186] do_sys_openat2+0x1bf/0x2f0 [ 162.579588][ T5186] __x64_sys_open+0x275/0x2d0 [ 162.584528][ T5186] x64_sys_call+0x15a2/0x3ba0 [ 162.589377][ T5186] do_syscall_64+0xcd/0x1e0 [ 162.594170][ T5186] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 162.600262][ T5186] [ 162.602801][ T5186] [ 162.602801][ T5186] [ 162.611647][ T5186] Uninit was stored to memory at: [ 162.617086][ T5186] sha256_transform_blocks+0x2dbf/0x2e90 [ 162.622981][ T5186] sha256_update+0x2ff/0x340 [ 162.627704][ T5186] crypto_sha256_update+0x37/0x60 [ 162.633021][ T5186] crypto_shash_update+0x79/0xa0 [ 162.638177][ T5186] ima_calc_file_hash+0x1804/0x3c90 [ 162.643693][ T5186] ima_collect_measurement+0x464/0xd20 [ 162.649365][ T5186] process_measurement+0x2948/0x3f30 [ 162.655080][ T5186] ima_file_check+0xb4/0x100 [ 162.659837][ T5186] security_file_post_open+0xc6/0x540 [ 162.665446][ T5186] path_openat+0x58cc/0x6200 [ 162.670193][ T5186] do_filp_open+0x20e/0x590 [ 162.674990][ T5186] do_sys_openat2+0x1bf/0x2f0 [ 162.679819][ T5186] __x64_sys_open+0x275/0x2d0 [ 162.684732][ T5186] x64_sys_call+0x15a2/0x3ba0 [ 162.689585][ T5186] do_syscall_64+0xcd/0x1e0 [ 162.694338][ T5186] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 162.700437][ T5186] [ 162.702929][ T5186] Uninit was stored to memory at: [ 162.708207][ T5186] sha256_transform_blocks+0x2dbf/0x2e90 [ 162.714180][ T5186] sha256_update+0x2ff/0x340 [ 162.718963][ T5186] crypto_sha256_update+0x37/0x60 [ 162.724292][ T5186] crypto_shash_update+0x79/0xa0 [ 162.729424][ T5186] ima_calc_file_hash+0x1804/0x3c90 [ 162.734994][ T5186] ima_collect_measurement+0x464/0xd20 [ 162.740655][ T5186] process_measurement+0x2948/0x3f30 [ 162.746186][ T5186] ima_file_check+0xb4/0x100 [ 162.750948][ T5186] security_file_post_open+0xc6/0x540 [ 162.756585][ T5186] path_openat+0x58cc/0x6200 [ 162.761333][ T5186] do_filp_open+0x20e/0x590 [ 162.766098][ T5186] do_sys_openat2+0x1bf/0x2f0 [ 162.770916][ T5186] __x64_sys_open+0x275/0x2d0 [ 162.775892][ T5186] x64_sys_call+0x15a2/0x3ba0 [ 162.780752][ T5186] do_syscall_64+0xcd/0x1e0 [ 162.785504][ T5186] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 162.791600][ T5186] [ 162.794172][ T5186] Uninit was stored to memory at: [ 162.799444][ T5186] sha256_transform_blocks+0xf33/0x2e90 [ 162.805282][ T5186] sha256_update+0x2ff/0x340 [ 162.810035][ T5186] crypto_sha256_update+0x37/0x60 [ 162.815326][ T5186] crypto_shash_update+0x79/0xa0 [ 162.820451][ T5186] ima_calc_file_hash+0x1804/0x3c90 [ 162.825912][ T5186] ima_collect_measurement+0x464/0xd20 [ 162.831575][ T5186] process_measurement+0x2948/0x3f30 [ 162.837130][ T5186] ima_file_check+0xb4/0x100 [ 162.841898][ T5186] security_file_post_open+0xc6/0x540 [ 162.847503][ T5186] path_openat+0x58cc/0x6200 [ 162.852249][ T5186] do_filp_open+0x20e/0x590 [ 162.857085][ T5186] do_sys_openat2+0x1bf/0x2f0 [ 162.861906][ T5186] __x64_sys_open+0x275/0x2d0 [ 162.866788][ T5186] x64_sys_call+0x15a2/0x3ba0 [ 162.871640][ T5186] do_syscall_64+0xcd/0x1e0 [ 162.876395][ T5186] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 162.882494][ T5186] [ 162.884997][ T5186] Uninit was stored to memory at: [ 162.890214][ T5186] sha256_transform_blocks+0xf7d/0x2e90 [ 162.896015][ T5186] sha256_update+0x2ff/0x340 [ 162.900774][ T5186] crypto_sha256_update+0x37/0x60 [ 162.906028][ T5186] crypto_shash_update+0x79/0xa0 [ 162.911157][ T5186] ima_calc_file_hash+0x1804/0x3c90 [ 162.916672][ T5186] ima_collect_measurement+0x464/0xd20 [ 162.922339][ T5186] process_measurement+0x2948/0x3f30 [ 162.927860][ T5186] ima_file_check+0xb4/0x100 [ 162.932742][ T5186] security_file_post_open+0xc6/0x540 [ 162.938248][ T5186] path_openat+0x58cc/0x6200 [ 162.943065][ T5186] do_filp_open+0x20e/0x590 [ 162.947722][ T5186] do_sys_openat2+0x1bf/0x2f0 [ 162.952488][ T5186] __x64_sys_open+0x275/0x2d0 [ 162.957397][ T5186] x64_sys_call+0x15a2/0x3ba0 [ 162.962254][ T5186] do_syscall_64+0xcd/0x1e0 [ 162.966958][ T5186] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 162.973181][ T5186] [ 162.975542][ T5186] Uninit was stored to memory at: [ 162.980702][ T5186] sha256_transform_blocks+0xfb5/0x2e90 [ 162.986465][ T5186] sha256_update+0x2ff/0x340 [ 162.991220][ T5186] crypto_sha256_update+0x37/0x60 [ 162.996519][ T5186] crypto_shash_update+0x79/0xa0 [ 163.001645][ T5186] ima_calc_file_hash+0x1804/0x3c90 [ 163.007086][ T5186] ima_collect_measurement+0x464/0xd20 [ 163.012898][ T5186] process_measurement+0x2948/0x3f30 [ 163.018348][ T5186] ima_file_check+0xb4/0x100 [ 163.023162][ T5186] security_file_post_open+0xc6/0x540 [ 163.028740][ T5186] path_openat+0x58cc/0x6200 [ 163.033626][ T5186] do_filp_open+0x20e/0x590 [ 163.038284][ T5186] do_sys_openat2+0x1bf/0x2f0 [ 163.043168][ T5186] __x64_sys_open+0x275/0x2d0 [ 163.047985][ T5186] x64_sys_call+0x15a2/0x3ba0 [ 163.052996][ T5186] do_syscall_64+0xcd/0x1e0 [ 163.057673][ T5186] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 163.063809][ T5186] [ 163.066206][ T5186] Uninit was stored to memory at: [ 163.071366][ T5186] sha256_transform_blocks+0x2c35/0x2e90 [ 163.077257][ T5186] sha256_update+0x2ff/0x340 [ 163.082017][ T5186] crypto_sha256_update+0x37/0x60 [ 163.087275][ T5186] crypto_shash_update+0x79/0xa0 [ 163.092401][ T5186] ima_calc_file_hash+0x1804/0x3c90 [ 163.097918][ T5186] ima_collect_measurement+0x464/0xd20 [ 163.103643][ T5186] process_measurement+0x2948/0x3f30 [ 163.109060][ T5186] ima_file_check+0xb4/0x100 [ 163.113903][ T5186] security_file_post_open+0xc6/0x540 [ 163.119484][ T5186] path_openat+0x58cc/0x6200 [ 163.124293][ T5186] do_filp_open+0x20e/0x590 [ 163.128947][ T5186] do_sys_openat2+0x1bf/0x2f0 [ 163.133859][ T5186] __x64_sys_open+0x275/0x2d0 [ 163.138686][ T5186] x64_sys_call+0x15a2/0x3ba0 [ 163.143590][ T5186] do_syscall_64+0xcd/0x1e0 [ 163.148256][ T5186] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 163.154486][ T5186] [ 163.156880][ T5186] Uninit was stored to memory at: [ 163.162073][ T5186] _copy_to_iter+0x124a/0x2b30 [ 163.168348][ T5186] copy_page_to_iter+0x419/0x880 [ 163.173520][ T5186] filemap_read+0xc13/0x1500 [ 163.178219][ T5186] generic_file_read_iter+0x136/0xad0 [ 163.183818][ T5186] __kernel_read+0x726/0xd30 [ 163.188596][ T5186] integrity_kernel_read+0x77/0x90 [ 163.193951][ T5186] ima_calc_file_hash+0x1731/0x3c90 [ 163.199342][ T5186] ima_collect_measurement+0x464/0xd20 [ 163.205059][ T5186] process_measurement+0x2948/0x3f30 [ 163.210531][ T5186] ima_file_check+0xb4/0x100 [ 163.215436][ T5186] security_file_post_open+0xc6/0x540 [ 163.221014][ T5186] path_openat+0x58cc/0x6200 [ 163.225874][ T5186] do_filp_open+0x20e/0x590 [ 163.230535][ T5186] do_sys_openat2+0x1bf/0x2f0 [ 163.235440][ T5186] __x64_sys_open+0x275/0x2d0 [ 163.240255][ T5186] x64_sys_call+0x15a2/0x3ba0 [ 163.245155][ T5186] do_syscall_64+0xcd/0x1e0 [ 163.249825][ T5186] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 163.256007][ T5186] [ 163.258401][ T5186] Uninit was created at: [ 163.262949][ T5186] __alloc_pages_noprof+0x9a7/0xe00 [ 163.268316][ T5186] alloc_pages_mpol_noprof+0x299/0x990 [ 163.274057][ T5186] folio_alloc_noprof+0x1db/0x310 [ 163.279232][ T5186] filemap_alloc_folio_noprof+0xa6/0x440 [ 163.285095][ T5186] __filemap_get_folio+0xac4/0x1550 [ 163.290469][ T5186] block_write_begin+0x6e/0x2b0 [ 163.295568][ T5186] exfat_write_begin+0xfb/0x400 [ 163.300606][ T5186] exfat_file_write_iter+0x474/0xfb0 [ 163.306149][ T5186] do_iter_readv_writev+0x88a/0xa30 [ 163.311551][ T5186] vfs_writev+0x56a/0x14f0 [ 163.316257][ T5186] __se_sys_pwritev2+0x280/0x470 [ 163.321371][ T5186] __x64_sys_pwritev2+0x11f/0x1a0 [ 163.326621][ T5186] x64_sys_call+0x2edb/0x3ba0 [ 163.331477][ T5186] do_syscall_64+0xcd/0x1e0 [ 163.336273][ T5186] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 163.342407][ T5186] [ 163.344996][ T5186] CPU: 0 UID: 0 PID: 5186 Comm: syz-executor173 Not tainted 6.12.0-rc2-syzkaller-00307-g36c254515dc6 #0 [ 163.356438][ T5186] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 [ 163.366733][ T5186] ===================================================== [ 163.373848][ T5186] Disabling lock debugging due to kernel taint [ 163.380057][ T5186] Kernel panic - not syncing: kmsan.panic set ... [ 163.386543][ T5186] CPU: 0 UID: 0 PID: 5186 Comm: syz-executor173 Tainted: G B 6.12.0-rc2-syzkaller-00307-g36c254515dc6 #0 [ 163.399247][ T5186] Tainted: [B]=BAD_PAGE [ 163.403480][ T5186] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 [ 163.413656][ T5186] Call Trace: [ 163.417007][ T5186] [ 163.420000][ T5186] dump_stack_lvl+0x216/0x2d0 [ 163.424799][ T5186] ? kmsan_get_shadow_origin_ptr+0x4d/0xb0 [ 163.430714][ T5186] dump_stack+0x1e/0x30 [ 163.434981][ T5186] panic+0x4e2/0xcf0 [ 163.438988][ T5186] ? kmsan_get_metadata+0xe1/0x1c0 [ 163.444213][ T5186] kmsan_report+0x2c7/0x2d0 [ 163.448857][ T5186] ? crypto_shash_final+0x72/0xa0 [ 163.454086][ T5186] ? ima_calc_field_array_hash_tfm+0x7d8/0x810 [ 163.460407][ T5186] ? __msan_warning+0x95/0x120 [ 163.465353][ T5186] ? ima_add_template_entry+0x52b/0x880 [ 163.471038][ T5186] ? ima_store_measurement+0x36b/0x8d0 [ 163.476696][ T5186] ? process_measurement+0x2c11/0x3f30 [ 163.482311][ T5186] ? ima_file_check+0xb4/0x100 [ 163.487259][ T5186] ? security_file_post_open+0xc6/0x540 [ 163.492917][ T5186] ? path_openat+0x58cc/0x6200 [ 163.497791][ T5186] ? do_filp_open+0x20e/0x590 [ 163.502564][ T5186] ? do_sys_openat2+0x1bf/0x2f0 [ 163.507541][ T5186] ? __x64_sys_open+0x275/0x2d0 [ 163.512479][ T5186] ? x64_sys_call+0x15a2/0x3ba0 [ 163.517476][ T5186] ? do_syscall_64+0xcd/0x1e0 [ 163.522320][ T5186] ? entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 163.528550][ T5186] ? kmsan_get_metadata+0x13e/0x1c0 [ 163.533897][ T5186] ? kmsan_get_shadow_origin_ptr+0x4d/0xb0 [ 163.539827][ T5186] ? ima_add_template_entry+0x9b/0x880 [ 163.545480][ T5186] ? filter_irq_stacks+0x60/0x1a0 [ 163.550660][ T5186] ? kmsan_get_metadata+0x13e/0x1c0 [ 163.556013][ T5186] ? kmsan_get_metadata+0x13e/0x1c0 [ 163.561300][ T5186] ? kmsan_get_shadow_origin_ptr+0x4d/0xb0 [ 163.567206][ T5186] __msan_warning+0x95/0x120 [ 163.571909][ T5186] ima_add_template_entry+0x52b/0x880 [ 163.577431][ T5186] ? kmsan_get_metadata+0x13e/0x1c0 [ 163.582741][ T5186] ? kmsan_get_shadow_origin_ptr+0x4d/0xb0 [ 163.588679][ T5186] ima_store_measurement+0x36b/0x8d0 [ 163.594109][ T5186] process_measurement+0x2c11/0x3f30 [ 163.599545][ T5186] ? filter_irq_stacks+0x60/0x1a0 [ 163.604693][ T5186] ? kmsan_get_metadata+0x13e/0x1c0 [ 163.609984][ T5186] ? kmsan_get_shadow_origin_ptr+0x4d/0xb0 [ 163.615886][ T5186] ? end_current_label_crit_section+0x124/0x2a0 [ 163.622256][ T5186] ? kmsan_get_metadata+0x13e/0x1c0 [ 163.627543][ T5186] ? kmsan_get_shadow_origin_ptr+0x4d/0xb0 [ 163.633476][ T5186] ima_file_check+0xb4/0x100 [ 163.638186][ T5186] security_file_post_open+0xc6/0x540 [ 163.643681][ T5186] path_openat+0x58cc/0x6200 [ 163.648370][ T5186] ? finish_task_switch+0x299/0x8f0 [ 163.653716][ T5186] ? kmsan_get_metadata+0x13e/0x1c0 [ 163.659038][ T5186] ? kmsan_get_metadata+0x13e/0x1c0 [ 163.664370][ T5186] do_filp_open+0x20e/0x590 [ 163.669058][ T5186] do_sys_openat2+0x1bf/0x2f0 [ 163.673832][ T5186] __x64_sys_open+0x275/0x2d0 [ 163.678614][ T5186] x64_sys_call+0x15a2/0x3ba0 [ 163.683407][ T5186] do_syscall_64+0xcd/0x1e0 [ 163.688036][ T5186] ? clear_bhb_loop+0x25/0x80 [ 163.692806][ T5186] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 163.698876][ T5186] RIP: 0033:0x7f6ca1c5dad9 [ 163.703421][ T5186] 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 [ 163.723138][ T5186] RSP: 002b:00007fff10f487a8 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 [ 163.731681][ T5186] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f6ca1c5dad9 [ 163.739783][ T5186] RDX: 0000000000000000 RSI: 0000000000143142 RDI: 0000000020000140 [ 163.747830][ T5186] RBP: 00007f6ca1cd25f0 R08: 0000000000000000 R09: 0000000000000000 [ 163.755883][ T5186] R10: 0000000000000000 R11: 0000000000000246 R12: 00007fff10f487e0 [ 163.763934][ T5186] R13: 00007fff10f48a08 R14: 431bde82d7b634db R15: 00007f6ca1ca603b [ 163.772014][ T5186] [ 163.775263][ T5186] Kernel Offset: disabled [ 163.779652][ T5186] Rebooting in 86400 seconds..