// https://syzkaller.appspot.com/bug?id=b3d4ed3e41b3085ce97f4504f4183e3f99115fb2 // autogenerated by syzkaller (https://github.com/google/syzkaller) #define _GNU_SOURCE #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #ifndef __NR_memfd_create #define __NR_memfd_create 319 #endif static unsigned long long procid; static __thread int clone_ongoing; static __thread int skip_segv; static __thread jmp_buf segv_env; static void segv_handler(int sig, siginfo_t* info, void* ctx) { if (__atomic_load_n(&clone_ongoing, __ATOMIC_RELAXED) != 0) { exit(sig); } uintptr_t addr = (uintptr_t)info->si_addr; const uintptr_t prog_start = 1 << 20; const uintptr_t prog_end = 100 << 20; int skip = __atomic_load_n(&skip_segv, __ATOMIC_RELAXED) != 0; int valid = addr < prog_start || addr > prog_end; if (skip && valid) { _longjmp(segv_env, 1); } exit(sig); } static void install_segv_handler(void) { struct sigaction sa; memset(&sa, 0, sizeof(sa)); sa.sa_handler = SIG_IGN; syscall(SYS_rt_sigaction, 0x20, &sa, NULL, 8); syscall(SYS_rt_sigaction, 0x21, &sa, NULL, 8); memset(&sa, 0, sizeof(sa)); sa.sa_sigaction = segv_handler; sa.sa_flags = SA_NODEFER | SA_SIGINFO; sigaction(SIGSEGV, &sa, NULL); sigaction(SIGBUS, &sa, NULL); } #define NONFAILING(...) \ ({ \ int ok = 1; \ __atomic_fetch_add(&skip_segv, 1, __ATOMIC_SEQ_CST); \ if (_setjmp(segv_env) == 0) { \ __VA_ARGS__; \ } else \ ok = 0; \ __atomic_fetch_sub(&skip_segv, 1, __ATOMIC_SEQ_CST); \ ok; \ }) static void sleep_ms(uint64_t ms) { usleep(ms * 1000); } static uint64_t current_time_ms(void) { struct timespec ts; if (clock_gettime(CLOCK_MONOTONIC, &ts)) exit(1); return (uint64_t)ts.tv_sec * 1000 + (uint64_t)ts.tv_nsec / 1000000; } static void use_temporary_dir(void) { char tmpdir_template[] = "./syzkaller.XXXXXX"; char* tmpdir = mkdtemp(tmpdir_template); if (!tmpdir) exit(1); if (chmod(tmpdir, 0777)) exit(1); if (chdir(tmpdir)) exit(1); } static bool write_file(const char* file, const char* what, ...) { char buf[1024]; va_list args; va_start(args, what); vsnprintf(buf, sizeof(buf), what, args); va_end(args); buf[sizeof(buf) - 1] = 0; int len = strlen(buf); int fd = open(file, O_WRONLY | O_CLOEXEC); if (fd == -1) return false; if (write(fd, buf, len) != len) { int err = errno; close(fd); errno = err; return false; } close(fd); return true; } //% This code is derived from puff.{c,h}, found in the zlib development. The //% original files come with the following copyright notice: //% Copyright (C) 2002-2013 Mark Adler, all rights reserved //% version 2.3, 21 Jan 2013 //% This software is provided 'as-is', without any express or implied //% warranty. In no event will the author be held liable for any damages //% arising from the use of this software. //% Permission is granted to anyone to use this software for any purpose, //% including commercial applications, and to alter it and redistribute it //% freely, subject to the following restrictions: //% 1. The origin of this software must not be misrepresented; you must not //% claim that you wrote the original software. If you use this software //% in a product, an acknowledgment in the product documentation would be //% appreciated but is not required. //% 2. Altered source versions must be plainly marked as such, and must not be //% misrepresented as being the original software. //% 3. This notice may not be removed or altered from any source distribution. //% Mark Adler madler@alumni.caltech.edu //% BEGIN CODE DERIVED FROM puff.{c,h} #define MAXBITS 15 #define MAXLCODES 286 #define MAXDCODES 30 #define MAXCODES (MAXLCODES + MAXDCODES) #define FIXLCODES 288 struct puff_state { unsigned char* out; unsigned long outlen; unsigned long outcnt; const unsigned char* in; unsigned long inlen; unsigned long incnt; int bitbuf; int bitcnt; jmp_buf env; }; static int puff_bits(struct puff_state* s, int need) { long val = s->bitbuf; while (s->bitcnt < need) { if (s->incnt == s->inlen) longjmp(s->env, 1); val |= (long)(s->in[s->incnt++]) << s->bitcnt; s->bitcnt += 8; } s->bitbuf = (int)(val >> need); s->bitcnt -= need; return (int)(val & ((1L << need) - 1)); } static int puff_stored(struct puff_state* s) { s->bitbuf = 0; s->bitcnt = 0; if (s->incnt + 4 > s->inlen) return 2; unsigned len = s->in[s->incnt++]; len |= s->in[s->incnt++] << 8; if (s->in[s->incnt++] != (~len & 0xff) || s->in[s->incnt++] != ((~len >> 8) & 0xff)) return -2; if (s->incnt + len > s->inlen) return 2; if (s->outcnt + len > s->outlen) return 1; for (; len--; s->outcnt++, s->incnt++) { if (s->in[s->incnt]) s->out[s->outcnt] = s->in[s->incnt]; } return 0; } struct puff_huffman { short* count; short* symbol; }; static int puff_decode(struct puff_state* s, const struct puff_huffman* h) { int first = 0; int index = 0; int bitbuf = s->bitbuf; int left = s->bitcnt; int code = first = index = 0; int len = 1; short* next = h->count + 1; while (1) { while (left--) { code |= bitbuf & 1; bitbuf >>= 1; int count = *next++; if (code - count < first) { s->bitbuf = bitbuf; s->bitcnt = (s->bitcnt - len) & 7; return h->symbol[index + (code - first)]; } index += count; first += count; first <<= 1; code <<= 1; len++; } left = (MAXBITS + 1) - len; if (left == 0) break; if (s->incnt == s->inlen) longjmp(s->env, 1); bitbuf = s->in[s->incnt++]; if (left > 8) left = 8; } return -10; } static int puff_construct(struct puff_huffman* h, const short* length, int n) { int len; for (len = 0; len <= MAXBITS; len++) h->count[len] = 0; int symbol; for (symbol = 0; symbol < n; symbol++) (h->count[length[symbol]])++; if (h->count[0] == n) return 0; int left = 1; for (len = 1; len <= MAXBITS; len++) { left <<= 1; left -= h->count[len]; if (left < 0) return left; } short offs[MAXBITS + 1]; offs[1] = 0; for (len = 1; len < MAXBITS; len++) offs[len + 1] = offs[len] + h->count[len]; for (symbol = 0; symbol < n; symbol++) if (length[symbol] != 0) h->symbol[offs[length[symbol]]++] = symbol; return left; } static int puff_codes(struct puff_state* s, const struct puff_huffman* lencode, const struct puff_huffman* distcode) { static const short lens[29] = {3, 4, 5, 6, 7, 8, 9, 10, 11, 13, 15, 17, 19, 23, 27, 31, 35, 43, 51, 59, 67, 83, 99, 115, 131, 163, 195, 227, 258}; static const short lext[29] = {0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, 4, 4, 4, 4, 5, 5, 5, 5, 0}; static const short dists[30] = { 1, 2, 3, 4, 5, 7, 9, 13, 17, 25, 33, 49, 65, 97, 129, 193, 257, 385, 513, 769, 1025, 1537, 2049, 3073, 4097, 6145, 8193, 12289, 16385, 24577}; static const short dext[30] = {0, 0, 0, 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9, 10, 10, 11, 11, 12, 12, 13, 13}; int symbol; do { symbol = puff_decode(s, lencode); if (symbol < 0) return symbol; if (symbol < 256) { if (s->outcnt == s->outlen) return 1; if (symbol) s->out[s->outcnt] = symbol; s->outcnt++; } else if (symbol > 256) { symbol -= 257; if (symbol >= 29) return -10; int len = lens[symbol] + puff_bits(s, lext[symbol]); symbol = puff_decode(s, distcode); if (symbol < 0) return symbol; unsigned dist = dists[symbol] + puff_bits(s, dext[symbol]); if (dist > s->outcnt) return -11; if (s->outcnt + len > s->outlen) return 1; while (len--) { if (dist <= s->outcnt && s->out[s->outcnt - dist]) s->out[s->outcnt] = s->out[s->outcnt - dist]; s->outcnt++; } } } while (symbol != 256); return 0; } static int puff_fixed(struct puff_state* s) { static int virgin = 1; static short lencnt[MAXBITS + 1], lensym[FIXLCODES]; static short distcnt[MAXBITS + 1], distsym[MAXDCODES]; static struct puff_huffman lencode, distcode; if (virgin) { lencode.count = lencnt; lencode.symbol = lensym; distcode.count = distcnt; distcode.symbol = distsym; short lengths[FIXLCODES]; int symbol; for (symbol = 0; symbol < 144; symbol++) lengths[symbol] = 8; for (; symbol < 256; symbol++) lengths[symbol] = 9; for (; symbol < 280; symbol++) lengths[symbol] = 7; for (; symbol < FIXLCODES; symbol++) lengths[symbol] = 8; puff_construct(&lencode, lengths, FIXLCODES); for (symbol = 0; symbol < MAXDCODES; symbol++) lengths[symbol] = 5; puff_construct(&distcode, lengths, MAXDCODES); virgin = 0; } return puff_codes(s, &lencode, &distcode); } static int puff_dynamic(struct puff_state* s) { static const short order[19] = {16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15}; int nlen = puff_bits(s, 5) + 257; int ndist = puff_bits(s, 5) + 1; int ncode = puff_bits(s, 4) + 4; if (nlen > MAXLCODES || ndist > MAXDCODES) return -3; short lengths[MAXCODES]; int index; for (index = 0; index < ncode; index++) lengths[order[index]] = puff_bits(s, 3); for (; index < 19; index++) lengths[order[index]] = 0; short lencnt[MAXBITS + 1], lensym[MAXLCODES]; struct puff_huffman lencode = {lencnt, lensym}; int err = puff_construct(&lencode, lengths, 19); if (err != 0) return -4; index = 0; while (index < nlen + ndist) { int symbol; int len; symbol = puff_decode(s, &lencode); if (symbol < 0) return symbol; if (symbol < 16) lengths[index++] = symbol; else { len = 0; if (symbol == 16) { if (index == 0) return -5; len = lengths[index - 1]; symbol = 3 + puff_bits(s, 2); } else if (symbol == 17) symbol = 3 + puff_bits(s, 3); else symbol = 11 + puff_bits(s, 7); if (index + symbol > nlen + ndist) return -6; while (symbol--) lengths[index++] = len; } } if (lengths[256] == 0) return -9; err = puff_construct(&lencode, lengths, nlen); if (err && (err < 0 || nlen != lencode.count[0] + lencode.count[1])) return -7; short distcnt[MAXBITS + 1], distsym[MAXDCODES]; struct puff_huffman distcode = {distcnt, distsym}; err = puff_construct(&distcode, lengths + nlen, ndist); if (err && (err < 0 || ndist != distcode.count[0] + distcode.count[1])) return -8; return puff_codes(s, &lencode, &distcode); } static int puff(unsigned char* dest, unsigned long* destlen, const unsigned char* source, unsigned long sourcelen) { struct puff_state s = { .out = dest, .outlen = *destlen, .outcnt = 0, .in = source, .inlen = sourcelen, .incnt = 0, .bitbuf = 0, .bitcnt = 0, }; int err; if (setjmp(s.env) != 0) err = 2; else { int last; do { last = puff_bits(&s, 1); int type = puff_bits(&s, 2); err = type == 0 ? puff_stored(&s) : (type == 1 ? puff_fixed(&s) : (type == 2 ? puff_dynamic(&s) : -1)); if (err != 0) break; } while (!last); } *destlen = s.outcnt; return err; } //% END CODE DERIVED FROM puff.{c,h} #define ZLIB_HEADER_WIDTH 2 static int puff_zlib_to_file(const unsigned char* source, unsigned long sourcelen, int dest_fd) { if (sourcelen < ZLIB_HEADER_WIDTH) return 0; source += ZLIB_HEADER_WIDTH; sourcelen -= ZLIB_HEADER_WIDTH; const unsigned long max_destlen = 132 << 20; void* ret = mmap(0, max_destlen, PROT_WRITE | PROT_READ, MAP_PRIVATE | MAP_ANON, -1, 0); if (ret == MAP_FAILED) return -1; unsigned char* dest = (unsigned char*)ret; unsigned long destlen = max_destlen; int err = puff(dest, &destlen, source, sourcelen); if (err) { munmap(dest, max_destlen); errno = -err; return -1; } if (write(dest_fd, dest, destlen) != (ssize_t)destlen) { munmap(dest, max_destlen); return -1; } return munmap(dest, max_destlen); } static int setup_loop_device(unsigned char* data, unsigned long size, const char* loopname, int* loopfd_p) { int err = 0, loopfd = -1; int memfd = syscall(__NR_memfd_create, "syzkaller", 0); if (memfd == -1) { err = errno; goto error; } if (puff_zlib_to_file(data, size, memfd)) { err = errno; goto error_close_memfd; } loopfd = open(loopname, O_RDWR); if (loopfd == -1) { err = errno; goto error_close_memfd; } if (ioctl(loopfd, LOOP_SET_FD, memfd)) { if (errno != EBUSY) { err = errno; goto error_close_loop; } ioctl(loopfd, LOOP_CLR_FD, 0); usleep(1000); if (ioctl(loopfd, LOOP_SET_FD, memfd)) { err = errno; goto error_close_loop; } } close(memfd); *loopfd_p = loopfd; return 0; error_close_loop: close(loopfd); error_close_memfd: close(memfd); error: errno = err; return -1; } static void reset_loop_device(const char* loopname) { int loopfd = open(loopname, O_RDWR); if (loopfd == -1) { return; } if (ioctl(loopfd, LOOP_CLR_FD, 0)) { } close(loopfd); } static long syz_mount_image(volatile long fsarg, volatile long dir, volatile long flags, volatile long optsarg, volatile long change_dir, volatile unsigned long size, volatile long image) { unsigned char* data = (unsigned char*)image; int res = -1, err = 0, need_loop_device = !!size; char* mount_opts = (char*)optsarg; char* target = (char*)dir; char* fs = (char*)fsarg; char* source = NULL; char loopname[64]; if (need_loop_device) { int loopfd; memset(loopname, 0, sizeof(loopname)); snprintf(loopname, sizeof(loopname), "/dev/loop%llu", procid); if (setup_loop_device(data, size, loopname, &loopfd) == -1) return -1; close(loopfd); source = loopname; } mkdir(target, 0777); char opts[256]; memset(opts, 0, sizeof(opts)); if (strlen(mount_opts) > (sizeof(opts) - 32)) { } strncpy(opts, mount_opts, sizeof(opts) - 32); if (strcmp(fs, "iso9660") == 0) { flags |= MS_RDONLY; } else if (strncmp(fs, "ext", 3) == 0) { bool has_remount_ro = false; char* remount_ro_start = strstr(opts, "errors=remount-ro"); if (remount_ro_start != NULL) { char after = *(remount_ro_start + strlen("errors=remount-ro")); char before = remount_ro_start == opts ? '\0' : *(remount_ro_start - 1); has_remount_ro = ((before == '\0' || before == ',') && (after == '\0' || after == ',')); } if (strstr(opts, "errors=panic") || !has_remount_ro) strcat(opts, ",errors=continue"); } else if (strcmp(fs, "xfs") == 0) { strcat(opts, ",nouuid"); } else if (strncmp(fs, "gfs2", 4) == 0 && (strstr(opts, "errors=panic") || strstr(opts, "debug"))) { strcat(opts, ",errors=withdraw"); } res = mount(source, target, fs, flags, opts); if (res == -1) { err = errno; goto error_clear_loop; } res = open(target, O_RDONLY | O_DIRECTORY); if (res == -1) { err = errno; goto error_clear_loop; } if (change_dir) { res = chdir(target); if (res == -1) { err = errno; } } error_clear_loop: if (need_loop_device) reset_loop_device(loopname); errno = err; return res; } #define FS_IOC_SETFLAGS _IOW('f', 2, long) static void remove_dir(const char* dir) { int iter = 0; DIR* dp = 0; const int umount_flags = MNT_FORCE | UMOUNT_NOFOLLOW; retry: while (umount2(dir, umount_flags) == 0) { } dp = opendir(dir); if (dp == NULL) { if (errno == EMFILE) { exit(1); } exit(1); } struct dirent* ep = 0; while ((ep = readdir(dp))) { if (strcmp(ep->d_name, ".") == 0 || strcmp(ep->d_name, "..") == 0) continue; char filename[FILENAME_MAX]; snprintf(filename, sizeof(filename), "%s/%s", dir, ep->d_name); while (umount2(filename, umount_flags) == 0) { } struct stat st; if (lstat(filename, &st)) exit(1); if (S_ISDIR(st.st_mode)) { remove_dir(filename); continue; } int i; for (i = 0;; i++) { if (unlink(filename) == 0) break; if (errno == EPERM) { int fd = open(filename, O_RDONLY); if (fd != -1) { long flags = 0; if (ioctl(fd, FS_IOC_SETFLAGS, &flags) == 0) { } close(fd); continue; } } if (errno == EROFS) { break; } if (errno != EBUSY || i > 100) exit(1); if (umount2(filename, umount_flags)) exit(1); } } closedir(dp); for (int i = 0;; i++) { if (rmdir(dir) == 0) break; if (i < 100) { if (errno == EPERM) { int fd = open(dir, O_RDONLY); if (fd != -1) { long flags = 0; if (ioctl(fd, FS_IOC_SETFLAGS, &flags) == 0) { } close(fd); continue; } } if (errno == EROFS) { break; } if (errno == EBUSY) { if (umount2(dir, umount_flags)) exit(1); continue; } if (errno == ENOTEMPTY) { if (iter < 100) { iter++; goto retry; } } } exit(1); } } static void kill_and_wait(int pid, int* status) { kill(-pid, SIGKILL); kill(pid, SIGKILL); for (int i = 0; i < 100; i++) { if (waitpid(-1, status, WNOHANG | __WALL) == pid) return; usleep(1000); } DIR* dir = opendir("/sys/fs/fuse/connections"); if (dir) { for (;;) { struct dirent* ent = readdir(dir); if (!ent) break; if (strcmp(ent->d_name, ".") == 0 || strcmp(ent->d_name, "..") == 0) continue; char abort[300]; snprintf(abort, sizeof(abort), "/sys/fs/fuse/connections/%s/abort", ent->d_name); int fd = open(abort, O_WRONLY); if (fd == -1) { continue; } if (write(fd, abort, 1) < 0) { } close(fd); } closedir(dir); } else { } while (waitpid(-1, status, __WALL) != pid) { } } static void reset_loop() { char buf[64]; snprintf(buf, sizeof(buf), "/dev/loop%llu", procid); int loopfd = open(buf, O_RDWR); if (loopfd != -1) { ioctl(loopfd, LOOP_CLR_FD, 0); close(loopfd); } } static void setup_test() { prctl(PR_SET_PDEATHSIG, SIGKILL, 0, 0, 0); setpgrp(); write_file("/proc/self/oom_score_adj", "1000"); if (symlink("/dev/binderfs", "./binderfs")) { } } static void execute_one(void); #define WAIT_FLAGS __WALL static void loop(void) { int iter = 0; for (;; iter++) { char cwdbuf[32]; sprintf(cwdbuf, "./%d", iter); if (mkdir(cwdbuf, 0777)) exit(1); reset_loop(); int pid = fork(); if (pid < 0) exit(1); if (pid == 0) { if (chdir(cwdbuf)) exit(1); setup_test(); execute_one(); exit(0); } int status = 0; uint64_t start = current_time_ms(); for (;;) { sleep_ms(10); if (waitpid(-1, &status, WNOHANG | WAIT_FLAGS) == pid) break; if (current_time_ms() - start < 5000) continue; kill_and_wait(pid, &status); break; } remove_dir(cwdbuf); } } void execute_one(void) { if (write(1, "executing program\n", sizeof("executing program\n") - 1)) { } // syz_mount_image$ext4 arguments: [ // fs: ptr[in, buffer] { // buffer: {65 78 74 34 00} (length 0x5) // } // dir: ptr[in, buffer] { // buffer: {2e 2f 66 69 6c 65 32 00} (length 0x8) // } // flags: mount_flags = 0x3004d91 (8 bytes) // opts: ptr[in, fs_options[ext4_options]] { // fs_options[ext4_options] { // elems: array[fs_opt_elem[ext4_options]] { // fs_opt_elem[ext4_options] { // elem: union ext4_options { // noinit_itable: buffer: {6e 6f 69 6e 69 74 5f 69 74 61 62 6c // 65} (length 0xd) // } // comma: const = 0x2c (1 bytes) // } // } // common: array[fs_opt_elem[fs_options_common]] { // } // null: const = 0x0 (1 bytes) // } // } // chdir: int8 = 0x1 (1 bytes) // size: len = 0x523 (8 bytes) // img: ptr[in, buffer] { // buffer: (compressed buffer with length 0x523) // } // ] // returns fd_dir NONFAILING(memcpy((void*)0x200000000000, "ext4\000", 5)); NONFAILING(memcpy((void*)0x200000000500, "./file2\000", 8)); NONFAILING(memcpy((void*)0x200000000080, "noinit_itable", 13)); NONFAILING(*(uint8_t*)0x20000000008d = 0x2c); NONFAILING(*(uint8_t*)0x20000000008e = 0); NONFAILING(memcpy( (void*)0x200000000a80, "\x78\x9c\xec\xdd\xcd\x6f\x1c\x67\x19\x00\xf0\x67\x36\xbb\x49\x9c\x38\xb5" "\xf9\x38\x40\x25\x42\xa1\x45\x4e\x05\xd9\xb5\x6b\xda\x5a\x1c\x4a\x91\x10" "\x9c\x2a\x21\xca\x3d\x18\x7b\x6d\x59\x5e\x7b\x2d\xef\xba\x8d\x57\x15\x75" "\xfe\x02\x24\x84\x00\x89\x13\x5c\xb8\x20\xf1\x07\x20\xa1\x48\x5c\x38\x22" "\xa4\x4a\x70\x06\xa9\x08\x84\x20\x85\x03\x07\xe8\xa0\x9d\x9d\xf5\x57\x76" "\xed\x6d\xba\xd9\x75\xec\xdf\x4f\x9a\xcc\xfb\xce\xd7\xf3\xbc\x9b\xcc\xec" "\xcc\xec\x9b\x99\x00\x2e\xac\x67\x22\xe2\xd5\x88\x78\x3f\x4d\xd3\xe7\x23" "\x62\x2a\x92\x6c\x7a\x21\x1f\x62\xaf\x33\xb4\x97\x7b\xef\xc1\x5b\x4b\xed" "\x21\x89\x34\x7d\xfd\x1f\x49\xb6\x64\xbb\xde\xdd\x56\x92\x8f\xaf\xe7\xab" "\x5d\x8d\x88\x6f\x7e\x3d\xe2\x3b\xc9\xc3\x71\x1b\xbb\xad\xf5\xc5\x5a\xad" "\xba\x9d\xd7\x2b\xcd\x8d\xad\x4a\x63\xb7\x75\x7b\x6d\x63\x71\xb5\xba\x5a" "\xdd\x9c\x9f\x9f\x7b\x69\xe1\xe5\x85\x17\x17\x66\x87\xd2\xce\x1b\x11\xf1" "\xca\x57\xff\xf2\xc3\xef\xfd\xfc\x6b\xaf\xfc\xfa\x0b\x6f\xfe\xf9\xce\xdf" "\x6e\x7d\xb7\x9d\xd6\x64\x3e\xff\x70\x3b\x3e\xa0\xe2\x49\x33\x3b\x4d\x2f" "\x65\x9f\xc5\xe1\x15\xb6\x1f\x31\xd8\x59\x54\xcc\x5a\x98\x9b\x18\x6c\x9d" "\x7b\x8f\x31\x1f\x00\x00\xfa\x6b\x9f\xe3\x7f\x34\x22\x3e\x1b\x11\xcf\xc7" "\x54\x5c\x3a\xf9\x74\x16\x00\x00\x00\x78\x02\xa5\x5f\x9e\x8c\xff\x26\x11" "\x69\x6f\x97\xfb\x4c\x07\x00\x00\x00\x9e\x20\x85\xac\x0f\x6c\x52\x28\xe7" "\x7d\x01\x26\xa3\x50\x28\x97\x3b\x7d\x78\x3f\x1e\xd7\x0a\xb5\x7a\xa3\xf9" "\xf9\x95\xfa\xce\xe6\x72\xa7\xaf\xec\x74\x94\x0a\x2b\x6b\xb5\xea\x6c\xd6" "\x57\x38\xab\x27\xed\xfa\x5c\x56\x3e\xa8\xbf\x70\xac\x3e\x7f\xa5\x73\xbf" "\xe1\x07\x53\x13\x59\xbd\xbc\x54\xaf\x2d\x8f\xfb\xe6\x07\x00\x00\x00\x5c" "\x10\xd7\x8f\x5d\xff\xff\x7b\xaa\x73\xfd\x0f\x00\x00\x00\x9c\x33\xd3\xe3" "\x4e\x00\x00\x00\x00\x78\xec\x5c\xff\x03\x00\x00\xc0\xf9\xe7\xfa\x1f\x00" "\x00\x00\xce\xb5\x6f\xbc\xf6\xda\x44\x44\xa4\xdd\xf7\x5f\x2f\xbf\xb1\xbb" "\xb3\x5e\x7f\xe3\xf6\x72\xb5\xb1\x5e\xde\xd8\x59\x2a\x2f\xd5\xb7\xb7\xca" "\xab\xf5\xfa\x6a\xf6\xcc\xbe\x8d\xd3\xb6\x57\xab\xd7\xb7\xbe\x18\x9b\x3b" "\x77\x2b\xcd\x6a\xa3\x59\x69\xec\xb6\xee\x6c\xd4\x77\x36\x9b\x77\xd6\x8e" "\xbc\x02\x1b\x00\x00\x00\x18\xa1\x8f\x7c\xfa\xfe\x1f\x93\x88\xd8\xfb\xd2" "\x44\x36\xb4\x5d\x1e\x77\x52\xc0\x48\x14\xf7\x4b\x49\x3e\xee\xb1\xf7\xff" "\xe9\xa9\xce\xf8\xdd\x11\x25\x05\x8c\xc4\xa5\x01\x96\x79\xf7\xca\x08\x12" "\x01\x46\xae\x38\xee\x04\x80\xb1\x29\x8d\x3b\x01\x60\xec\x92\x53\xe6\xf7" "\xed\xbc\xf3\xbb\x7c\xfc\x99\xe1\xe6\x03\x00\x00\x0c\xdf\xcc\x27\xfb\xff" "\xfe\x5f\x38\x71\xcd\xbd\x93\x67\x03\x67\x9e\x9d\x18\x2e\xae\x63\xfb\x7f" "\xda\x36\xae\x5c\x80\xd1\xca\x7e\xff\x1f\xb4\xc3\xaf\x93\x05\x38\x57\x4a" "\x03\xf5\x00\x04\xce\xb3\x0f\xfd\xfb\xff\xa9\x5c\x57\x00\x00\xc0\xb8\x4d" "\x66\x43\x52\x28\xe7\xb7\xf7\x26\xa3\x50\x28\x97\x23\x6e\x64\xaf\x05\x28" "\x25\x2b\x6b\xb5\xea\x6c\x44\x3c\x15\x11\x7f\x98\x2a\x5d\x69\xd7\xe7\x62" "\xc0\xff\x38\x08\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x64\xd2\x34\xe9\xbc\xf4\x07\x00\x00\x00\x38\xb7\x22" "\x0a\x7f\x4d\x7e\x93\x64\xef\xff\x9a\x99\x7a\x6e\xf2\xf8\xfd\x81\xcb\xc9" "\x7f\xa6\x22\x7f\x45\xe8\x9b\x3f\x79\xfd\x47\x77\x17\x9b\xcd\xed\xb9\xf6" "\xf4\x7f\xee\x4f\x6f\xfe\x38\x9f\xfe\xc2\x38\xee\x60\x00\x00\x00\x00\xc7" "\x75\xaf\xd3\xbb\xd7\xf1\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\x30\x4c\xef\x3d\x78\x6b\xa9\x3b\x8c\x32\xee" "\xdf\xbf\x12\x11\xd3\xbd\xe2\x17\xe3\x6a\x36\xbe\x1a\xa5\x88\xb8\xf6\xaf" "\x24\x8a\x87\xd6\x4b\x22\xe2\xd2\x10\xe2\xef\xdd\x8b\x88\x4f\xf4\x8a\x9f" "\xb4\xd3\xda\x0f\xd9\x2b\xfe\xc4\xe3\x8f\x1f\xd3\xf9\xa7\xd0\x2b\xfe\xf5" "\x21\xc4\x87\x8b\xec\x7e\xfb\xf8\xf3\x6a\xaf\xfd\xaf\x10\xcf\x64\xe3\xde" "\xfb\x5f\x31\xe2\x48\xfd\x51\x1d\x39\xfe\xb5\x6e\x1e\x39\xfe\x76\x8f\x7f" "\x97\xfa\xec\xff\x37\x06\x8c\xf1\xf4\x3b\xbf\xac\xf4\x8d\x7f\x2f\xe2\xe9" "\x62\xef\xe3\x4f\x37\x7e\xd2\x27\xfe\xb3\x03\xc6\xff\xf6\xb7\x5a\xad\x7e" "\xf3\xd2\x9f\x46\xcc\xf4\xfc\xfe\x49\x8e\xc4\xaa\x34\x37\xb6\x2a\x8d\xdd" "\xd6\xed\xb5\x8d\xc5\xd5\xea\x6a\x75\x73\x7e\x7e\xee\xa5\x85\x97\x17\x5e" "\x5c\x98\xad\xac\xac\xd5\xaa\xf9\x9f\x3d\x63\x7c\xff\x53\xbf\x7a\xff\xa4" "\xf6\x5f\xeb\x13\x7f\xfa\x94\xf6\x3f\x37\x60\xfb\xff\xf7\xce\xdd\x07\x1f" "\xeb\x14\x4b\x07\x53\x27\xf6\xe3\xdf\x7a\xb6\x47\xfc\xdf\xfe\x2c\x5f\xee" "\xe1\xf8\x85\xfc\xbb\xef\x73\x79\xb9\x3d\x7f\xa6\x5b\xde\xeb\x94\x0f\xbb" "\xf9\x8b\xdf\xdf\x3c\xa9\xfd\xcb\x07\xed\x2f\x7d\x90\xbf\xff\x5b\x03\xb6" "\x7f\x28\x3b\x0a\x00\x30\x34\x8d\xdd\xd6\xfa\x62\xad\x56\xdd\x7e\xc2\x0a" "\x6f\xe7\xf9\x9f\xbe\x70\xfb\x3c\xeb\x6c\xe4\xfc\x08\x85\xe4\x6c\xa4\x71" "\x5e\x0b\x6f\x0f\x75\x83\x69\x9a\xa6\xed\x7f\x93\x3d\x66\xdd\x8f\x88\x41" "\xb6\x93\xc4\x59\xf8\x58\xb2\xc2\x78\x8f\x4b\x00\x00\xc0\xf0\x1d\x9c\xf4" "\x8f\x3b\x13\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\xb8\xb8\x1e\x7e\xfa\x57\x9a\xc6\x90\x1f\x42\x76\x3c\xe6\xde\x7e\x29\xf1" "\x64\x60\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\xe0\xcc\xf8\x7f\x00\x00\x00\xff\xff\x8f\xa3\xd7" "\xf2", 1315)); NONFAILING(syz_mount_image( /*fs=*/0x200000000000, /*dir=*/0x200000000500, /*flags=MS_LAZYTIME|MS_REC|MS_SYNCHRONOUS|MS_STRICTATIME|MS_RDONLY|0xd80*/ 0x3004d91, /*opts=*/0x200000000080, /*chdir=*/1, /*size=*/0x523, /*img=*/0x200000000a80)); // syz_mount_image$ext4 arguments: [ // fs: ptr[in, buffer] { // buffer: {65 78 74 34 00} (length 0x5) // } // dir: ptr[in, buffer] { // buffer: {2e 2f 66 69 6c 65 30 00} (length 0x8) // } // flags: mount_flags = 0x2008002 (8 bytes) // opts: ptr[in, fs_options[ext4_options]] { // fs_options[ext4_options] { // elems: array[fs_opt_elem[ext4_options]] { // } // common: array[fs_opt_elem[fs_options_common]] { // } // null: const = 0x0 (1 bytes) // } // } // chdir: int8 = 0x1 (1 bytes) // size: len = 0x55f (8 bytes) // img: ptr[in, buffer] { // buffer: (compressed buffer with length 0x55f) // } // ] // returns fd_dir NONFAILING(memcpy((void*)0x200000000100, "ext4\000", 5)); NONFAILING(memcpy((void*)0x200000000040, "./file0\000", 8)); NONFAILING(*(uint8_t*)0x200000000080 = 0); NONFAILING(memcpy( (void*)0x200000000d00, "\x78\x9c\xec\xdd\xcf\x6f\x1c\x57\x1d\x00\xf0\xef\x8c\x7f\x6d\xd3\x34\x4e" "\xa0\x07\xa8\x80\x04\x28\x04\x14\x65\x37\xde\xb4\x51\xd5\x4b\xc3\x05\x84" "\xaa\x4a\x88\x8a\x03\xe2\x90\x1a\x7b\x63\x99\xec\x66\x43\x76\x5d\x6a\x13" "\x09\xf7\x6f\x00\x09\x24\x4e\xf0\x27\x70\x40\xe2\x80\xd4\x13\x07\x6e\x1c" "\x10\x42\xe2\x80\x10\xe5\x80\x54\xc0\x02\xc5\x48\x1c\x16\xcd\xec\xd8\xdd" "\xda\xbb\xcd\x36\x5e\xef\xd6\xde\xcf\x47\x9a\xcc\x8f\xf7\x66\xbe\xef\xad" "\xb3\xf3\xde\xbe\xb5\xe7\x05\x30\xb5\x2e\x45\xc4\x76\x44\xcc\x47\xc4\x6b" "\x11\xb1\x58\x1c\x4f\x8a\x25\x6e\x76\x97\x2c\xdf\xc3\x9d\x07\x2b\xbb\x3b" "\x0f\x56\x92\xe8\x74\x5e\xfd\x67\x92\xa7\x67\xc7\xa2\xe7\x9c\xcc\x93\xc5" "\x35\x4b\x11\xf1\xf5\xaf\x44\x7c\x3b\x39\x1c\xb7\xb5\xb9\x75\x67\xb9\x5e" "\xaf\xdd\x2f\xf6\x2b\xed\xc6\xbd\x4a\x6b\x73\xeb\xea\x7a\x63\x79\xad\xb6" "\x56\xbb\x5b\xad\xde\x58\xba\x71\xed\x85\xeb\xcf\x57\x0f\x9c\xf9\x87\x73" "\x8f\x5b\xd7\x8b\x8d\x5f\xbc\xf3\xe5\xf5\x97\xbf\xf1\xeb\x5f\x7d\xf2\xed" "\xdf\x6d\x7f\xf1\xfb\x59\xb1\xce\x16\x69\xbd\xf5\x18\xa5\x6e\xd5\xe7\xf6" "\xe3\x64\x66\x23\xe2\xe5\xe3\x08\x36\x01\x33\xc5\x7a\x7e\xc2\xe5\xe0\xf1" "\xa4\x11\xf1\x91\x88\xf8\x4c\xfe\xfe\x5f\x8c\x99\xfc\x7f\x27\x00\x70\x9a" "\x75\x3a\x8b\xd1\x59\xec\xdd\x1f\xa0\x34\x30\x05\x00\x38\x61\xd2\x7c\x0c" "\x2c\x49\xcb\x11\x91\xa6\x45\x27\xa0\xdc\x1d\xc3\x7b\x3a\xce\xa4\xf5\x66" "\xab\x7d\xe5\x76\x73\xe3\xee\x6a\x77\xac\xec\x7c\xcc\xa5\xb7\xd7\xeb\xb5" "\x6b\x17\x16\xfe\xf4\xdd\x3c\xf3\x5c\x92\xed\x2f\xe5\x69\x79\x7a\xbe\x5f" "\x3d\xb0\x7f\x3d\x22\x2e\x44\xc4\x8f\x16\x9e\xc8\xf7\xcb\x2b\xcd\xfa\xea" "\x64\xba\x3c\x00\x30\xf5\x9e\xec\x6d\xff\x23\xe2\x3f\x0b\x69\x5a\x2e\x0f" "\x75\x6a\x9f\x6f\xf5\x00\x80\x13\xa3\x34\xe9\x02\x00\x00\x63\xa7\xfd\x07" "\x80\xe9\xa3\xfd\x07\x80\xe9\x33\x44\xfb\x5f\x7c\xd9\xbf\x7d\xec\x65\x01" "\x00\xc6\xc3\xe7\x7f\x00\x98\x3e\xda\x7f\x00\x98\x3e\xda\x7f\x00\x98\x2a" "\x5f\x7b\xe5\x95\x6c\xe9\xec\x16\xcf\xbf\x5e\x7d\x7d\x73\xe3\x4e\xf3\xf5" "\xab\xab\xb5\xd6\x9d\x72\x63\x63\xa5\xbc\xd2\xbc\x7f\xaf\xbc\xd6\x6c\xae" "\xe5\xcf\xec\x69\x3c\xea\x7a\xf5\x66\xf3\xde\xd2\x73\xb1\xf1\x46\xa5\x5d" "\x6b\xb5\x2b\xad\xcd\xad\x5b\x8d\xe6\xc6\xdd\xf6\xad\xfc\xb9\xde\xb7\x6a" "\x73\x63\xa9\x15\x00\xf0\x7e\x2e\x5c\x7c\xeb\x8f\x49\x44\x6c\xbf\xf8\x44" "\xbe\x44\xcf\x5c\x0e\xda\x6a\x38\xdd\xd2\x11\xe6\x02\x4e\x96\x99\xa3\x9c" "\xac\x83\x00\x27\x9a\xd9\xbe\x60\x7a\x0d\xd5\x84\xe7\x9d\x84\xdf\x1e\x7b" "\x59\x80\xc9\xe8\xfb\x30\xef\x52\xdf\xcd\xf7\xfa\xc9\x07\x08\xe2\xf7\x8c" "\xe0\x43\xe5\xf2\xc7\x87\x1f\xff\x37\xc7\x33\x9c\x2e\x1f\x70\x64\xff\xf7" "\xc7\x32\x49\x3e\x30\x11\x8f\x37\xfe\xff\xd2\xc8\xcb\x01\x8c\x9f\xf1\x7f" "\x98\x5e\x9d\x4e\x72\x70\xce\xff\xf9\xfd\x24\x00\xe0\x54\x3a\xc2\xaf\xf0" "\x75\x7e\x30\xaa\x4e\x08\x30\x51\x8f\x9a\xcc\x7b\x24\xdf\xff\x03\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\xc0\x29\x73\x36\x22\xbe\x13\x49\x5a\xce\xe7\x02\x4f\xb3\x7f" "\xd3\x72\x39\xe2\xa9\x88\x38\x1f\x73\xc9\xed\xf5\x7a\xed\x5a\x44\x9c\x8b" "\x8b\x11\x31\xb7\x90\xed\x2f\x4d\xba\xd0\x00\xc0\x11\xa5\x7f\x4f\x8a\xf9" "\xbf\x2e\x2f\x3e\x7b\xf6\x60\xea\x7c\xf2\xdf\x85\x7c\x1d\x11\xdf\xfb\xe9" "\xab\x3f\x7e\x63\xb9\xdd\xbe\xbf\x94\x1d\xff\xd7\xfe\xf1\x85\xbd\xe9\xc3" "\xaa\xef\x9e\x77\x84\x79\x05\x01\x80\xe1\xfd\x75\x98\x4c\x79\xfb\x5d\x2d" "\xd6\x3d\x1f\xe4\x1f\xee\x3c\x58\xd9\x5b\x8e\xb1\x8c\x87\xbc\xf3\xa5\xfd" "\xc9\x47\x57\x76\x77\x1e\xe4\x4b\x37\x65\x36\x3a\x9d\x4e\x27\xa2\x94\xf7" "\x25\xce\xfc\x3b\x89\xd9\xe2\x9c\x52\x44\x3c\x13\x11\x33\x23\x88\xbf\xfd" "\x66\x44\x7c\xac\x5f\xfd\x93\x7c\x6c\xe4\x7c\x31\xf3\x69\x6f\xfc\x28\x62" "\x3f\x35\xd6\xf8\xe9\x7b\xe2\xa7\x79\x5a\x77\x9d\xbd\x7c\x1f\x1d\x41\x59" "\x60\xda\xbc\x95\xdd\x7f\x6e\xf6\x7b\xff\xa5\x71\x29\x5f\xf7\x7f\xff\x97" "\xf2\x3b\xd4\xd1\xe5\xf7\xbf\x52\xc4\xde\xbd\x6f\xb7\x27\xfe\x6c\x11\x69" "\xa6\x4f\xfc\xec\x3d\x7f\x69\xd8\x18\xcf\xfd\xe6\xab\x87\x0e\x76\x16\xbb" "\x69\x6f\x46\x3c\x33\xdb\x2f\x7e\xb2\x1f\x3f\x19\x10\xff\xd9\x21\xe3\xff" "\xf9\x13\x9f\xfa\xe1\x4b\x03\xd2\x3a\x3f\x8b\xb8\x1c\xfd\xe3\xf7\xc6\xaa" "\xb4\x1b\xf7\x2a\xad\xcd\xad\xab\xeb\x8d\xe5\xb5\xda\x5a\xed\x6e\xb5\x7a" "\x63\xe9\xc6\xb5\x17\xae\x3f\x5f\xad\xe4\x63\xd4\x95\xbd\x91\xea\xc3\xfe" "\xf1\xe2\x95\x73\x83\xca\x96\xd5\xff\xcc\x80\xf8\xa5\xbe\xf5\x9f\xdf\x3f" "\xf7\x73\x43\xd6\xff\xe7\xff\x7b\xed\x5b\x9f\x7e\x77\x77\xe1\x60\xfc\x2f" "\x7c\xb6\xff\xcf\xff\xe9\xbe\xf1\xbb\xb2\x36\xf1\xf3\x43\xc6\x5f\x3e\xf3" "\xcb\x81\xd3\x77\x67\xf1\x57\x07\xd4\xff\x51\x3f\xff\x2b\x43\xc6\x7f\xfb" "\x6f\x5b\xab\x43\x66\x05\x00\xc6\xa0\xb5\xb9\x75\x67\xb9\x5e\xaf\xdd\x3f" "\xd2\x46\xf6\x29\x74\x14\xd7\x39\xb4\x91\x15\x71\xb8\xcc\x7b\xdd\xc5\xc1" "\x79\x8a\x0c\x37\xdf\xef\x3a\x7f\x89\x7c\x63\x44\x2f\xcb\x80\x8d\xac\x33" "\x36\x4c\xe6\xb9\xe3\x7a\x55\x8f\x7d\x63\x76\xbf\xaf\x38\xda\x2b\x7f\x33" "\xbb\xe2\x98\xab\x93\x8e\xbc\x16\x47\xda\x78\x38\xae\x58\x93\xb9\x1f\x01" "\xe3\x73\xa8\x79\x04\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x3e\x74" "\xc6\xf1\xa7\x4b\x93\xae\x23\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\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\xa7\xd7\xff\x03\x00" "\x00\xff\xff\xf1\x15\xc1\xc4", 1375)); NONFAILING( syz_mount_image(/*fs=*/0x200000000100, /*dir=*/0x200000000040, /*flags=MS_LAZYTIME|MS_SILENT|MS_NOSUID*/ 0x2008002, /*opts=*/0x200000000080, /*chdir=*/1, /*size=*/0x55f, /*img=*/0x200000000d00)); // syz_mount_image$ext4 arguments: [ // fs: nil // dir: ptr[in, buffer] { // buffer: {2e 2f 66 69 6c 65 30 00} (length 0x8) // } // flags: mount_flags = 0x2169802 (8 bytes) // opts: nil // chdir: int8 = 0x0 (1 bytes) // size: len = 0x0 (8 bytes) // img: ptr[in, buffer] { // buffer: (compressed buffer with length 0x0) // } // ] // returns fd_dir NONFAILING(memcpy((void*)0x200000000140, "./file0\000", 8)); NONFAILING(syz_mount_image( /*fs=*/0, /*dir=*/0x200000000140, /*flags=MS_LAZYTIME|MS_SHARED|MS_PRIVATE|MS_UNBINDABLE|MS_SILENT|MS_NOSUID|0x1800*/ 0x2169802, /*opts=*/0, /*chdir=*/0, /*size=*/0, /*img=*/0x2000000003c0)); // syz_mount_image$ext4 arguments: [ // fs: ptr[in, buffer] { // buffer: {65 78 74 34 00} (length 0x5) // } // dir: ptr[in, buffer] { // buffer: {2e 2f 66 69 6c 65 30 00} (length 0x8) // } // flags: mount_flags = 0x2000008 (8 bytes) // opts: ptr[in, fs_options[ext4_options]] { // fs_options[ext4_options] { // elems: array[fs_opt_elem[ext4_options]] { // } // common: array[fs_opt_elem[fs_options_common]] { // } // null: const = 0x0 (1 bytes) // } // } // chdir: int8 = 0xfc (1 bytes) // size: len = 0x53e (8 bytes) // img: ptr[in, buffer] { // buffer: (compressed buffer with length 0x53e) // } // ] // returns fd_dir NONFAILING(memcpy((void*)0x200000000040, "ext4\000", 5)); NONFAILING(memcpy((void*)0x200000000000, "./file0\000", 8)); NONFAILING(*(uint8_t*)0x2000000003c0 = 0); NONFAILING(memcpy( (void*)0x200000000940, "\x78\x9c\xec\xdd\x41\x6f\x23\x57\x1d\x00\xf0\xff\x78\xed\xdd\xec\x6e\xb6" "\x49\x81\x03\x54\x6a\x29\xb4\x68\xb7\x82\xb5\x93\x86\xb6\x11\x87\x52\x24" "\x04\xa7\x4a\x88\xc2\x79\x09\x89\x13\x45\x71\xe2\x28\x76\xda\x4d\x54\x41" "\xf6\x13\x20\x21\x04\x48\x9c\xe0\xc2\x05\x89\x0f\x80\x84\x56\xe2\xc2\xb1" "\x42\xaa\x04\x67\x90\x8a\x40\x88\x6e\x41\x82\x03\x74\x90\xed\x71\x12\x9c" "\x71\xe2\xac\x9c\x78\xd7\xf9\xfd\xa4\xc9\xbc\xf7\xc6\x33\xff\xf7\x1c\xbf" "\xf1\x8c\xe7\x69\x26\x80\x0b\xeb\xd9\x88\x78\x2d\x22\x3e\x4c\xd3\xf4\x85" "\x88\x98\xca\xca\x0b\xd9\x14\x7b\x9d\xa9\xf5\xba\x0f\x1e\xbc\xbd\xd8\x9a" "\x92\x48\xd3\x37\xfe\x9e\x44\x92\x95\x75\xb7\x95\x64\xf3\xeb\xd9\x6a\x13" "\x11\xf1\xf5\xaf\x46\x7c\x3b\x39\x1a\xb7\xb1\xb3\xbb\xb6\x50\xab\x15\xbb" "\xf9\x4a\x73\x7d\xb3\xd2\xd8\xd9\xbd\xbd\xba\xbe\xb0\x52\x5d\xa9\x6e\xcc" "\xcd\xcd\xbe\x3c\xff\xca\xfc\x4b\xf3\x33\x43\x69\xe7\x8d\x88\x78\xf5\xcb" "\x7f\xfe\xe1\xf7\x7e\xfe\x95\x57\x7f\xfd\xb9\xb7\xfe\x74\xe7\xaf\xb7\xbe" "\xd3\xaa\xd6\x64\xb6\xfc\x70\x3b\x4e\xa9\x78\xdc\xc2\x4e\xd3\x4b\x57\x26" "\x7a\x56\xd8\x7a\xc8\x60\x8f\xa2\x56\x7b\x4a\xdd\xcc\xd5\xc1\xd6\xb9\x77" "\x86\xf5\x01\x00\xa0\xbf\xd6\x31\xfe\x47\x22\xe2\xd3\x11\xf1\x42\x4c\xc5" "\xa5\xe3\x0f\x67\x01\x00\x00\x80\xc7\x50\xfa\xc5\xc9\xf8\x4f\x12\x91\xe6" "\xbb\xdc\xa7\x1c\x00\x00\x00\x78\x8c\x14\xda\x63\x60\x93\x42\x39\x1b\x0b" "\x30\x19\x85\x42\xb9\xdc\x19\xc3\xfb\xb1\xb8\x56\xa8\xd5\x1b\xcd\xcf\x2e" "\xd7\xb7\x37\x96\x3a\x63\x65\xa7\xa3\x54\x58\x5e\xad\x55\x67\xb2\xb1\xc2" "\xd3\x51\x4a\x5a\xf9\xd9\x76\xfa\x20\xff\x62\x4f\x7e\x2e\x22\x9e\x8c\x88" "\x1f\x4c\x5d\x6d\xe7\xcb\x8b\xf5\xda\xd2\xa8\x7f\xfc\x00\x00\x00\x80\x0b" "\xe2\x7a\xcf\xf9\xff\x3f\xa7\x3a\xe7\xff\x00\x00\x00\xc0\x98\x99\x3e\x7e" "\xf1\xd4\x79\xd5\x03\x00\x00\x00\x38\x3b\x27\x9c\xff\x03\x00\x00\x00\x63" "\xc0\xf9\x3f\x00\x00\x00\x8c\xb5\xaf\xbd\xfe\x7a\x6b\x4a\xbb\xcf\xbf\x5e" "\x7a\x73\x67\x7b\xad\xfe\xe6\xed\xa5\x6a\x63\xad\xbc\xbe\xbd\x58\x5e\xac" "\x6f\x6d\x96\x57\xea\xf5\x95\xf6\x3d\xfb\xd6\x4f\xda\x5e\xad\x5e\xdf\xfc" "\x7c\x6c\x6c\xdf\xad\x34\xab\x8d\x66\xa5\xb1\xb3\x7b\x67\xbd\xbe\xbd\xd1" "\xbc\xb3\x1a\x13\xe7\xd2\x20\x00\x00\x00\xe0\x88\x27\x3f\x79\xff\x0f\x49" "\x44\xec\x7d\xe1\x6a\x7b\x6a\xb9\x3c\xea\x4a\x01\xe7\xa2\xb8\x9f\x4a\xb2" "\x79\x4e\xef\xff\xe3\x13\x9d\xf9\x7b\xe7\x54\x29\xe0\x5c\x5c\x1a\xe0\x35" "\xef\x5d\xc9\x2f\x77\x9c\x00\x8f\xb7\x62\x6f\x41\x9f\xbe\x0e\x8c\x9f\xd2" "\xa8\x2b\x00\x8c\x5c\x72\xc2\xf2\x9e\xc1\x3b\xd7\xf6\x53\xef\x64\xf3\x4f" "\x0d\xbf\x4e\x00\x00\xc0\x70\xdd\xfc\x44\xfe\xf5\xff\x93\xaf\x0b\xec\x15" "\xce\xa1\x7a\xc0\x19\xd2\x89\xe1\xe2\xea\xf9\x9e\x4f\x3d\xeb\x07\x2e\x8e" "\xf6\xf5\xff\x41\x07\xf2\x38\x58\x80\xb1\x52\x1a\x68\x04\x20\x30\xce\x4e" "\x79\xfd\xff\xc0\x3b\x83\x46\x48\xd3\x53\x55\x08\x00\x00\x18\xba\xc9\xf6" "\x94\x14\xca\xd9\xcf\x7b\x93\x51\x28\x94\xcb\x11\x37\xda\x8f\x05\x28\x25" "\xcb\xab\xb5\xea\x4c\x44\x3c\x11\x11\xbf\x9f\x2a\x5d\x69\xe5\x67\xdb\x6b" "\x26\x27\x9e\x33\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x1d\x69\x9a\x44\x0a\x00\x00\x00\x8c\xb5\x88\xc2" "\x5f\x92\xdf\x74\xee\xe5\x7f\x73\xea\xf9\xc9\xde\xdf\x07\x2e\x27\xff\x6e" "\x3f\x12\xf8\x72\x44\xbc\xf5\x93\x37\x7e\x74\x77\xa1\xd9\xdc\x9a\x6d\x95" "\xbf\xbf\x5f\xde\xfc\x71\x56\xfe\xe2\x28\x7e\xc1\x00\x00\x00\x00\x7a\x75" "\xcf\xd3\xdb\xf3\x7f\x8d\xba\x36\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\x8c\x9b\x0f\x1e\xbc\xbd\xd8\x9d\x06" "\x78\xf9\xd5\x61\xc5\xfd\xdb\x97\x22\x62\x3a\x2f\x7e\x31\x26\xda\xf3\x89" "\x28\x45\xc4\xb5\x7f\x24\x51\x3c\xb4\x5e\x12\x11\x97\x86\x10\x7f\xef\x5e" "\x44\x7c\x3c\x2f\x7e\xd2\xaa\xd6\x7e\xc8\xbc\xf8\xc3\x78\x13\x4e\x88\x1f" "\xd3\xd9\xbb\x90\x17\xff\xfa\x10\xe2\xc3\x45\x76\xbf\xb5\xff\x79\x2d\xaf" "\xff\x15\xe2\xd9\xf6\x3c\xbf\xff\x15\x23\xfe\x2f\xff\xb0\xfa\xef\xff\x62" "\x7f\xff\x77\xa9\x4f\xff\xbf\x31\x60\x8c\xa7\xde\xfd\x65\xa5\x6f\xfc\x7b" "\x11\x4f\x15\xf3\xf7\x3f\xdd\xf8\x49\x9f\xf8\xcf\x0d\x18\xff\x5b\xdf\xd8" "\xdd\xed\xb7\x2c\xfd\x69\xc4\xcd\xee\xf7\x4f\x7b\x8f\x77\x38\xc2\x41\xaa" "\xd2\x5c\xdf\xac\x34\x76\x76\x6f\xaf\xae\x2f\xac\x54\x57\xaa\x1b\x73\x73" "\xb3\x2f\xcf\xbf\x32\xff\xd2\xfc\x4c\x65\x79\xb5\x56\xcd\xfe\xe6\xc6\xf8" "\xfe\xd3\xbf\xfa\xf0\xb8\xf6\x5f\xcb\xfd\xfe\x4b\xb2\xda\xf4\x6f\xff\xf3" "\x39\xdb\xcb\xfb\x4e\xfa\xef\xbb\x77\x1f\x7c\xb4\x9b\xd9\x3b\x1a\xff\xd6" "\x73\x39\xf1\x7f\xfb\xb3\xec\x15\x47\xe3\x17\xb2\x38\x9f\xc9\xd2\x49\xf6" "\x5e\xb5\xd3\x7b\x9d\xf7\xf3\xb0\x67\x7e\xf1\xbb\x67\x8e\x6b\xff\xd2\x41" "\xfb\x4b\xa7\xf9\xff\xdf\xea\xb7\xd1\x5e\x47\x3a\xca\xd3\x83\x7e\x74\x00" "\x80\x33\xd0\xd8\xd9\x5d\x5b\xa8\xd5\xaa\x5b\x63\x9b\x68\x9d\xa5\x3f\x02" "\xd5\xb8\xe8\x89\x6f\xbe\xff\x08\x7e\xd8\xbe\x3b\xd4\x0d\xa6\x69\x9a\xb6" "\xfa\x54\xce\xa2\xfb\x11\x31\xc8\x76\x92\x18\x72\x4b\x0b\xf9\xf5\x39\x48" "\xf4\xfd\xa7\x8c\x7a\xcf\x04\x00\x00\x0c\xdb\xc1\x41\xff\xa8\x6b\x02\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x17\xd7\x79\xdc" "\x65\xad\x37\xe6\xc1\x2d\x90\x93\x61\xdc\x42\x1b\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\x60\x28" "\xfe\x17\x00\x00\xff\xff\x03\xfe\xd2\xb1", 1342)); NONFAILING(syz_mount_image(/*fs=*/0x200000000040, /*dir=*/0x200000000000, /*flags=MS_LAZYTIME|MS_NOEXEC*/ 0x2000008, /*opts=*/0x2000000003c0, /*chdir=*/0xfc, /*size=*/0x53e, /*img=*/0x200000000940)); } int main(void) { syscall(__NR_mmap, /*addr=*/0x1ffffffff000ul, /*len=*/0x1000ul, /*prot=*/0ul, /*flags=MAP_FIXED|MAP_ANONYMOUS|MAP_PRIVATE*/ 0x32ul, /*fd=*/(intptr_t)-1, /*offset=*/0ul); syscall(__NR_mmap, /*addr=*/0x200000000000ul, /*len=*/0x1000000ul, /*prot=PROT_WRITE|PROT_READ|PROT_EXEC*/ 7ul, /*flags=MAP_FIXED|MAP_ANONYMOUS|MAP_PRIVATE*/ 0x32ul, /*fd=*/(intptr_t)-1, /*offset=*/0ul); syscall(__NR_mmap, /*addr=*/0x200001000000ul, /*len=*/0x1000ul, /*prot=*/0ul, /*flags=MAP_FIXED|MAP_ANONYMOUS|MAP_PRIVATE*/ 0x32ul, /*fd=*/(intptr_t)-1, /*offset=*/0ul); const char* reason; (void)reason; install_segv_handler(); use_temporary_dir(); loop(); return 0; }