// https://syzkaller.appspot.com/bug?id=cbe7e6cace76010ea88074b9d1b28b400a3627d0 // 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 #ifndef __NR_memfd_create #define __NR_memfd_create 319 #endif static unsigned long long procid; //% 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; } uint64_t r[1] = {0xffffffffffffffff}; 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; intptr_t res = 0; if (write(1, "executing program\n", sizeof("executing program\n") - 1)) { } // syz_mount_image$nilfs2 arguments: [ // fs: ptr[in, buffer] { // buffer: {6e 69 6c 66 73 32 00} (length 0x7) // } // dir: ptr[in, buffer] { // buffer: {2e 2f 66 69 6c 65 30 00} (length 0x8) // } // flags: mount_flags = 0x0 (8 bytes) // opts: ptr[inout, array[ANYUNION]] { // array[ANYUNION] { // union ANYUNION { // ANYRES8: ANYRES8 (resource) // } // union ANYUNION { // ANYRESDEC: ANYRES64 (resource) // } // union ANYUNION { // ANYRES32: ANYRES32 (resource) // } // union ANYUNION { // ANYRESHEX: ANYRES64 (resource) // } // union ANYUNION { // ANYRESDEC: ANYRES64 (resource) // } // union ANYUNION { // ANYRES32: ANYRES32 (resource) // } // union ANYUNION { // ANYRESOCT: ANYRES64 (resource) // } // union ANYUNION { // ANYRES8: ANYRES8 (resource) // } // } // } // chdir: int8 = 0x1 (1 bytes) // size: len = 0xf43 (8 bytes) // img: ptr[in, buffer] { // buffer: (compressed buffer with length 0xf43) // } // ] // returns fd_dir memcpy((void*)0x200000000ec0, "nilfs2\000", 7); memcpy((void*)0x200000000080, "./file0\000", 8); *(uint8_t*)0x2000000008c0 = 0; sprintf((char*)0x2000000008c1, "%020llu", (long long)-1); *(uint32_t*)0x2000000008d5 = -1; sprintf((char*)0x2000000008d9, "0x%016llx", (long long)-1); sprintf((char*)0x2000000008eb, "%020llu", (long long)-1); *(uint32_t*)0x2000000008ff = -1; sprintf((char*)0x200000000903, "%023llo", (long long)-1); *(uint8_t*)0x20000000091a = -1; memcpy( (void*)0x200000002140, "\x78\x9c\xec\xdd\x41\x6c\x1c\xd5\x19\x00\xe0\x37\x6b\xaf\xd7\x89\x4d\xbc" "\x06\x0a\x86\x96\x90\x42\x2b\x02\x05\x3b\x24\x91\x1a\x6e\x41\xa0\x1e\x11" "\x97\x1e\x2b\x81\x42\x42\x23\x0c\x45\x0d\x3d\x10\x01\x31\x3d\x20\x2a\x21" "\x8a\x84\x38\x55\x1c\xa8\xb8\x50\x2a\xa5\x48\x45\x02\x55\xaa\x50\x4f\x6d" "\x4f\xad\x7a\xeb\x09\xf5\x42\xa5\x2a\x48\x41\x3d\xb4\xa8\x89\xab\xd8\x6f" "\xd6\xbb\xe3\x7d\xec\x7a\xbc\x9e\x5d\x7b\xbf\x4f\xfa\xf7\xed\x9b\x37\x3b" "\xff\x3f\xb6\xe3\xcc\x8c\x67\xdf\x06\x60\x6c\xd5\xd6\x1e\x8f\x1f\x5f\xc8" "\x42\x78\xeb\xe3\x37\x1f\x7e\xf1\x89\xec\xc3\x6b\xcb\x6e\x6f\xad\x71\x68" "\xed\x31\x8b\xbd\x66\x08\xa1\xde\xd6\xcf\x0a\xdb\xfb\x34\x2e\xb8\x72\xf9" "\x85\x53\xdd\xda\x2c\x1c\x5d\x7b\xcc\xfb\xe1\x91\x4b\xad\xd7\xce\x84\x10" "\x56\xc2\xa1\xf0\x49\x68\x86\xf7\x97\x96\xbf\x78\xef\xed\x87\x0e\x7f\xf0" "\xca\xf4\x4d\xaf\x9f\x7f\xea\xa5\x1d\xda\xfd\x96\xe2\x7e\x00\x00\xc0\x5e" "\x74\xf1\xcf\xcb\x7f\xbf\xfb\x9f\x7f\xba\x77\xfe\xcb\x8b\x07\x4f\x86\x46" "\x6b\x79\x7e\x7c\xde\x8c\xfd\x99\x78\xdc\x7f\x24\x1e\x28\xe7\xc7\xcb\xb5" "\xd0\xd9\xcf\xda\xa2\xdd\x54\x61\xbd\x89\x18\xb5\xc2\x7a\x13\x85\xf5\x26" "\x0b\x79\x26\x13\xf9\xea\x85\xed\xd4\x13\xeb\x4d\xf5\xc8\x37\xd1\xb6\xac" "\xdb\x7e\x02\x00\x00\xc0\x6e\x94\x9f\xd7\x36\x43\x56\x5b\xec\xe8\xd7\x6a" "\x8b\x8b\xeb\xe7\xfd\xd7\x7c\x3a\x37\x95\x2d\x3e\x73\x76\xf9\xcc\xb9\x21" "\x15\x0a\x00\x00\x00\x94\xf6\xef\x0b\x6b\x37\xdd\x0a\x21\x84\x10\x42\x08" "\x21\x7a\x47\x63\x04\x6a\x10\x42\x88\x52\xb1\x3a\x37\xec\x2b\x10\x00\x00" "\x00\xc0\xb8\x29\xce\x17\xb6\xc9\xca\x60\x67\xea\x6a\x6d\xad\xd9\x5f\xfe" "\x4b\x0f\xd6\xba\xbf\x1e\x06\xa0\xea\x9f\xff\xaf\xce\x3f\x3d\xe4\xfc\x5d" "\x8c\x79\xfe\x77\x5f\xf6\x1b\x07\x00\x80\xf2\xf6\xea\xd1\x64\xbe\x5f\xf9" "\x71\x74\x3e\x8f\x41\x71\x1e\xc1\x89\xc2\xeb\xb6\x7a\xfc\x5f\x2b\x6c\x67" "\x72\x8b\x75\xa6\xe6\x15\xdc\x2d\xf3\x0d\xa6\xea\x2c\x7e\x5d\x47\x55\xaa" "\xfe\xad\x7e\x1f\x87\x25\x55\x7f\x71\x3e\xcc\x51\x95\xaa\xbf\x38\x4f\xe7" "\xa8\x4a\xd5\xdf\xa8\xb8\x8e\xb2\x52\xf5\x77\xb9\xf2\x33\x92\x52\xf5\xef" "\xab\xb8\x8e\xb2\x52\xf5\xef\xaf\xb8\x8e\xb2\x52\xf5\xcf\x54\x5c\x47\x59" "\xa9\xfa\x67\x2b\xae\xa3\xac\x54\xfd\xd7\x55\x5c\x47\x59\xa9\xfa\x0f\x54" "\x5c\x47\x59\xa9\xfa\x77\xcb\x6d\xb5\xa9\xfa\x9b\x15\xd7\x51\x56\xaa\xfe" "\xf9\x8a\xeb\x28\x2b\x55\xff\xf5\x15\xd7\x51\x56\xaa\xfe\x1b\x2a\xae\xa3" "\xac\x6b\xf5\x3f\xd0\xe5\x60\xf3\xc6\x61\x14\x33\x04\xb7\xc5\x36\xff\x3e" "\x1e\x4c\xac\x37\xd3\xe5\x9c\x6e\xb7\x9c\xe3\x01\x00\x00\xc0\xb8\xfb\xaf" "\xf9\xff\x84\x10\x42\x88\xf6\x58\xbf\x05\x62\xf8\x75\x08\x21\x84\x10\x62" "\x5c\x63\xfd\x61\xe0\xdb\xbd\x30\xd4\xab\x0f\x00\x00\x00\xc0\x28\xc8\xdf" "\x17\x90\xbf\xeb\x7d\x35\xca\xc7\x27\x7a\x8c\x4f\xb6\x8f\x4f\x6f\xac\x90" "\x8f\xd7\x7b\xbc\x7e\xaa\xc7\x78\xa3\xc7\x38\x00\x00\x00\x10\xc2\xef\x5e" "\x3d\x73\xcb\x1b\xd9\xc6\x7c\x77\xdb\x9d\x0f\x2f\x9f\x37\x6a\x5f\xf8\xf0" "\x6a\xe8\x98\xc7\xe8\xf3\xbe\xea\x29\xce\x47\xb8\xd5\xfc\xdb\x9d\xf7\x6c" "\xbb\xf9\x77\xcb\xbc\x65\x00\x00\x00\x8c\x97\xec\x7b\x9f\x5c\xbd\xe7\xe1" "\x77\x9e\x9b\xff\xf2\xe2\xc1\x93\x6d\x67\xbf\x57\xe3\xf9\x6e\x3e\x0f\xe8" "\x64\xbc\x36\xf0\x51\xec\xe7\xf7\x05\xcc\x16\xfa\x59\x7e\x0e\x7d\xb2\x33" "\x4f\x2d\xb1\x5e\x71\x9e\xe3\xeb\x52\xdb\x7b\x74\x9b\x3b\x0a\x00\x00\x00" "\x63\x2c\x3f\x7f\x6f\x86\xac\xb6\xd8\x76\xde\xdd\x0c\xb5\xda\xe2\xe2\xc6" "\xf9\xf8\x42\xa8\x67\x67\xce\x2e\x9f\x3e\x12\xfb\xf9\xe7\xb3\xfc\x71\xae" "\xde\xb8\xb6\xfc\xfe\x8a\xeb\x06\x00\x00\x00\xfa\xb7\x71\xbe\xdf\xfd\xfc" "\x3f\xff\x1c\xdf\x85\x30\x95\x2d\x3e\x73\x76\xf9\xcc\xb9\xf5\xfe\x6c\x6b" "\x79\xbd\xd6\x7e\x5d\x60\x6e\x63\x79\xd6\x7e\x5d\xa0\x59\x58\x7e\x34\xb1" "\xfc\x58\xec\xe7\x9f\xdf\xf9\xc3\xb9\x7d\x6b\xcb\x17\x4f\xfd\x68\xf9\x89" "\x41\xef\x3c\x00\x00\x00\x8c\x89\x73\xcf\x9f\x7f\xea\xf1\xe5\xe5\xd3\x3f" "\xf6\xc4\x13\x4f\x3c\x69\x3d\x19\xf6\x6f\x26\x00\x00\x60\xd0\x3e\xfb\xec" "\xcd\xfa\x4f\x8e\xcd\xfe\x7e\xfd\xfd\xff\x1b\xf3\xdf\x5d\x8d\x4f\x0e\xc5" "\x7e\x33\xce\xed\xf7\x97\xb8\x3c\xbf\x4f\x20\x7f\x1f\xc0\xa6\xf7\xeb\x3f" "\xd6\x99\x67\x2e\xb5\xde\xb3\x9d\xeb\x35\x0b\xeb\x4d\xc4\x68\x14\xea\x9e" "\x6e\xdb\x4e\x58\x9b\x6f\xb0\xf3\x75\xf3\xa9\x7c\xcd\xce\xed\x4c\x25\xf2" "\xcd\x14\xf2\xcd\x16\xf2\x15\xe7\x29\x98\x2c\xac\x9f\x75\x99\x4b\x30\x74" "\x99\x9f\x30\x5f\x6f\xae\xb0\xbc\x38\x0f\xe3\x64\x21\x47\x56\xc8\x7f\x47" "\x97\x5c\x00\x00\x00\x90\x5b\x7a\xee\xe9\x67\x97\xce\x3d\x7f\xfe\xbe\xb3" "\x4f\x3f\xfe\xe4\xe9\x27\x4f\x3f\x73\xec\xe8\x89\x07\x4e\x9c\x38\x72\xff" "\x77\xef\x5f\x5a\xbb\xaf\x7f\xa9\xfd\xee\x7e\x00\x00\x00\x60\x37\xda\xb8" "\xe9\x77\xd8\x95\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\xc0\xf8\xaa\xe2\xe3\xc4\x86\xbd\x8f\x00\x00\x00\x30\xee\x3e\xbf\x10" "\x42\x58\x11\x22\x11\xf9\x07\x0c\x6e\x6b\x3b\x13\x03\xd8\x86\x18\xe1\x58" "\x6d\x0c\xbf\x86\x5d\x11\xff\x2b\xfb\xda\x30\x88\x7f\x87\x42\x08\x21\x84" "\x18\xeb\x18\xc5\xf3\xbe\xd9\x11\xa8\x61\xcc\x62\x75\xb5\xf8\x49\xf3\x9b" "\xfd\xe0\x3f\xab\x6b\x76\xe6\x0a\x04\x00\x00\x00\x30\x6e\xae\x5c\x7e\xe1" "\x54\x7b\xbb\xc9\x4a\x36\xd0\x7c\xad\xad\x35\xd7\x9b\xab\x31\x6f\xde\xce" "\xde\xf7\xb7\xf9\x6b\x91\xaf\x76\xe9\xc1\xce\xeb\x25\xfb\x07\x5a\x0d\xe3" "\xae\xea\x9f\x7f\xf9\x47\x35\x7f\xa3\xeb\xf8\xbb\x2f\x0f\x36\xff\x74\xd8" "\xf8\xdd\x17\xfa\xfa\xfd\x57\xeb\xdc\xc0\xc9\x8e\xde\xbe\x7e\xf3\xde\xb5" "\xf4\xab\x85\x56\xfe\x10\xc2\xad\x93\x7d\xe6\x2f\xee\xff\xa3\xfd\x66\xec" "\x74\xb8\x90\xff\xae\xd0\x5f\xfe\xd5\x77\x0a\xf9\x1f\xeb\xe8\xd5\xfa\xcd" "\x7f\x77\x21\xff\xfe\x3e\xf3\x6f\xda\xff\x67\xfb\xcd\xd8\xe9\x9e\x98\x7f" "\x21\xf6\x0f\xdf\xd9\x6f\xfe\xce\x5d\xcc\x7f\x4a\xf3\xfd\xe8\xf7\x07\xe0" "\x3b\x85\xfd\x7f\x22\xf4\x9b\xbf\xb0\xff\xcd\x3e\x13\x16\xdc\x1b\xf3\x03" "\xc0\x38\x6a\xfd\x6f\xbe\x7a\x61\xb8\x85\x0c\x58\x7e\x94\x90\x1f\x4f\xcf" "\xc4\x7e\xbe\xbf\xf1\x70\x33\x14\xef\x7e\xd8\xea\xf1\x7f\xad\xb0\x9d\xc9" "\x6d\x57\xde\xb9\xdd\xfc\x38\xe8\xe6\xd8\x9f\x6e\xd5\xd1\x99\x37\xb7\xd5" "\xfa\xf3\xaf\xcb\x6c\x6c\xaf\x2b\x59\x67\x51\xef\xbb\x4a\x46\x43\xaa\xfe" "\x41\x7d\x1f\x77\x5a\xaa\xfe\x7a\xc5\x75\x94\x95\xaa\x7f\xaa\xe2\x3a\xca" "\x4a\xd5\xdf\xfd\xec\x7d\xf4\xa4\xea\x9f\xae\xb8\x8e\xb2\x52\xf5\xf7\x7d" "\x21\x62\xc8\x52\xf5\xef\x96\xeb\xca\xa9\xfa\x67\x2a\xae\xa3\xac\x54\xfd" "\xb3\x15\xd7\x51\x56\xaa\xfe\xad\xfe\x3f\x3e\x2c\xa9\xfa\x0f\x54\x5c\x47" "\x59\xa9\xfa\xe7\x2a\xae\xa3\xac\x54\xfd\x25\x2f\xab\x55\x2e\x55\xff\x7c" "\xc5\x75\x94\x95\xaa\xff\xfa\x8a\xeb\x28\x2b\x55\xff\x0d\x15\xd7\x51\x56" "\xaa\xfe\x1b\x2b\xae\x63\x58\xbe\x1e\xdb\xd4\xf9\x70\x7e\xfe\x39\x17\xc7" "\xf2\x7e\xb3\xd0\x6f\x74\xf9\x5a\xf6\xfd\xc7\x10\x00\x00\x00\x60\x47\xfd" "\x6b\x14\xe7\x81\x58\x69\xbb\x72\x30\xf4\x5a\x84\x18\x42\x34\x46\xa0\x06" "\xd1\x5f\x4c\x8f\x40\x0d\x7b\x29\x7c\x3d\x85\x10\x62\x68\x11\xa7\xfc\x5a" "\x1d\x76\x1d\xdb\x09\x73\x12\x0b\xf1\xd5\x61\x56\xbf\xf1\xb6\xb3\xef\x66" "\x06\x60\x54\x6d\xef\xf7\xff\x6e\x79\x97\x0e\x29\xfe\xff\x1f\x6f\xbe\xff" "\xe3\xcd\xf7\x9f\xaf\x92\xff\x25\x3e\x2b\xf4\x73\x13\x3d\xc6\x27\x7b\x8c" "\xd7\x7b\x8c\x4f\x15\xc6\x8b\x3f\xaf\x8d\x1e\xe3\x37\x14\xb6\xbb\xba\xda" "\xf9\x59\x06\x37\xf6\x18\xff\x5a\xdc\x83\xd4\xf8\x81\x1e\xaf\xbf\xb9\xc7" "\xf8\x42\x8f\xf1\x5b\x7a\x8c\xdf\xda\x63\x7c\xa2\xc7\x38\x00\x00\x00\xe3" "\xe1\xa6\xd8\x3a\x3f\x04\x00\x00\x80\xbd\xeb\xc5\x5f\x7f\xf4\xda\x6f\xef" "\x7a\xec\xf2\xfc\x97\x17\x0f\x9e\x0c\x53\x9b\xe6\x9d\x3f\x12\xfb\x8d\xf8" "\xb7\xf5\x57\x63\xbf\x38\xef\x7d\xae\x1e\xff\xe6\xff\xd3\xd8\xff\x65\x6c" "\xff\x10\xdb\x7f\x14\xd6\x77\xff\x09\x00\x00\x00\xec\xbc\xfc\x73\x62\xfc" "\xfd\x1f\x00\x00\x00\xf6\xae\xfc\x73\x4a\x9d\xff\x03\x00\x00\xc0\xde\x35" "\x1f\x5b\xe7\xff\x00\x00\x00\xb0\x77\x5d\x1f\x5b\xe7\xff\x00\x00\x00\xb0" "\x87\x65\xd3\xdd\x17\xc7\x36\xbf\x2e\x70\x47\x6c\xfb\x9d\xd7\x0f\x00\x18" "\x7d\xdf\x88\xed\x6d\xb1\x3d\x18\xdb\xdb\x63\xfb\xcd\xd8\xe6\xc7\x01\x77" "\xc6\xf6\x5b\x15\xd5\x07\x00\x0c\xce\x2f\xbe\xff\xb3\x13\x6f\x64\x1b\xf3" "\xfd\x1f\x2b\x8c\x5f\x89\xcb\xf3\x76\x93\x95\xf5\x2b\x05\x59\xad\x73\x26" "\xff\x7d\xb1\xdd\x1f\xdb\x6f\xf7\x59\x4f\xf1\xf3\x00\xfa\xcd\x9f\x3b\xd0" "\x67\x9e\x9d\xca\x3f\xb7\xcd\xfc\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xc0\xde\x51\x5b\x7b\x3c" "\x7e\x7c\x21\x0b\xe1\xad\x8f\xdf\x7c\xf8\xe7\x53\xaf\xfd\xf5\xda\xb2\xdb" "\x5b\x6b\x1c\x5a\x7b\xcc\x62\xaf\x19\x42\xa8\xb7\x5e\x97\x8f\x6e\xf4\x7f" "\x13\x57\xbc\x72\xf9\x85\x53\xed\xed\xd5\xd8\x66\xe1\x68\xc8\x42\xd6\x5a" "\x1e\x1e\xb9\xd4\xca\x34\x13\x42\x58\x09\x87\xc2\x27\xa1\x19\xde\x5f\x5a" "\xfe\xe2\xbd\xb7\x1f\x3a\xfc\xc1\x2b\xd3\x37\xbd\x7e\xfe\xa9\x97\x76\xf0" "\x4b\xd0\xb1\x7f\x00\x00\x00\xb0\x17\xfd\x3f\x00\x00\xff\xff\xb7\x40\x27" "\x88", 3907); syz_mount_image(/*fs=*/0x200000000ec0, /*dir=*/0x200000000080, /*flags=*/0, /*opts=*/0x2000000008c0, /*chdir=*/1, /*size=*/0xf43, /*img=*/0x200000002140); // openat arguments: [ // fd: fd_dir (resource) // file: ptr[in, buffer] { // buffer: {2e 00} (length 0x2) // } // flags: open_flags = 0x0 (4 bytes) // mode: open_mode = 0x0 (2 bytes) // ] // returns fd memcpy((void*)0x200000000240, ".\000", 2); res = syscall(__NR_openat, /*fd=*/0xffffff9c, /*file=*/0x200000000240ul, /*flags=*/0, /*mode=*/0); if (res != -1) r[0] = res; // ioctl$NILFS_IOCTL_CLEAN_SEGMENTS arguments: [ // fd: fd (resource) // cmd: const = 0x40786e88 (4 bytes) // arg: ptr[in, nilfs_ioctl_clean_segments_args] { // nilfs_ioctl_clean_segments_args { // argv0: nilfs_argv_typed[nilfs_vdesc, in, NILFS_VDESC_SIZE] { // v_base: nil // v_nmembs: len = 0x0 (4 bytes) // v_size: const = 0x40 (2 bytes) // v_flags: int16 = 0xd (2 bytes) // v_index: int64 = 0xe2 (8 bytes) // } // argv1: nilfs_argv_typed[nilfs_period, in, NILFS_PERIOD_SIZE] { // v_base: nil // v_nmembs: len = 0x0 (4 bytes) // v_size: const = 0x10 (2 bytes) // v_flags: int16 = 0x20c (2 bytes) // v_index: int64 = 0x7fffffffffffffff (8 bytes) // } // argv2: nilfs_argv_typed[int64, in, 8] { // v_base: nil // v_nmembs: len = 0x0 (4 bytes) // v_size: const = 0x8 (2 bytes) // v_flags: int16 = 0x1 (2 bytes) // v_index: int64 = 0x100002 (8 bytes) // } // argv3: nilfs_argv_typed[nilfs_bdesc, in, NILFS_BDESC_SIZE] { // v_base: nil // v_nmembs: len = 0x0 (4 bytes) // v_size: const = 0x28 (2 bytes) // v_flags: int16 = 0x0 (2 bytes) // v_index: int64 = 0xfffffffffffffff7 (8 bytes) // } // argv4: nilfs_argv_typed[int64, in, 8] { // v_base: ptr[in, array[int64]] { // array[int64] { // int64 = 0x9 (8 bytes) // } // } // v_nmembs: len = 0x1 (4 bytes) // v_size: const = 0x8 (2 bytes) // v_flags: int16 = 0x98f (2 bytes) // v_index: int64 = 0xffff (8 bytes) // } // } // } // ] *(uint64_t*)0x200000000640 = 0; *(uint32_t*)0x200000000648 = 0; *(uint16_t*)0x20000000064c = 0x40; *(uint16_t*)0x20000000064e = 0xd; *(uint64_t*)0x200000000650 = 0xe2; *(uint64_t*)0x200000000658 = 0; *(uint32_t*)0x200000000660 = 0; *(uint16_t*)0x200000000664 = 0x10; *(uint16_t*)0x200000000666 = 0x20c; *(uint64_t*)0x200000000668 = 0x7fffffffffffffff; *(uint64_t*)0x200000000670 = 0; *(uint32_t*)0x200000000678 = 0; *(uint16_t*)0x20000000067c = 8; *(uint16_t*)0x20000000067e = 1; *(uint64_t*)0x200000000680 = 0x100002; *(uint64_t*)0x200000000688 = 0; *(uint32_t*)0x200000000690 = 0; *(uint16_t*)0x200000000694 = 0x28; *(uint16_t*)0x200000000696 = 0; *(uint64_t*)0x200000000698 = 0xfffffffffffffff7; *(uint64_t*)0x2000000006a0 = 0x2000000003c0; *(uint64_t*)0x2000000003c0 = 9; *(uint32_t*)0x2000000006a8 = 1; *(uint16_t*)0x2000000006ac = 8; *(uint16_t*)0x2000000006ae = 0x98f; *(uint64_t*)0x2000000006b0 = 0xffff; syscall(__NR_ioctl, /*fd=*/r[0], /*cmd=*/0x40786e88, /*arg=*/0x200000000640ul); return 0; }