// https://syzkaller.appspot.com/bug?id=f86606dfb403cc9435c0ed5f17e1d80c110cddef // 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"); } 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; } int main(void) { syscall(__NR_mmap, /*addr=*/0x1ffff000ul, /*len=*/0x1000ul, /*prot=*/0ul, /*flags=MAP_FIXED|MAP_ANONYMOUS|MAP_PRIVATE*/ 0x32ul, /*fd=*/-1, /*offset=*/0ul); syscall(__NR_mmap, /*addr=*/0x20000000ul, /*len=*/0x1000000ul, /*prot=PROT_WRITE|PROT_READ|PROT_EXEC*/ 7ul, /*flags=MAP_FIXED|MAP_ANONYMOUS|MAP_PRIVATE*/ 0x32ul, /*fd=*/-1, /*offset=*/0ul); syscall(__NR_mmap, /*addr=*/0x21000000ul, /*len=*/0x1000ul, /*prot=*/0ul, /*flags=MAP_FIXED|MAP_ANONYMOUS|MAP_PRIVATE*/ 0x32ul, /*fd=*/-1, /*offset=*/0ul); const char* reason; (void)reason; if (write(1, "executing program\n", sizeof("executing program\n") - 1)) { } memcpy((void*)0x20000100, "hfsplus\000", 8); memcpy((void*)0x20000240, "./file0\000", 8); memcpy((void*)0x20000140, "decompose,part=0x0000000010000003,decompose,barrier,force,gid=", 62); sprintf((char*)0x2000017e, "0x%016llx", (long long)0); memcpy((void*)0x20000190, "\x2c\x6e\x6c\x73\x3d\x6d\x61\x63\x72\x6f\x6d\x61\x6e\x00\x61\x6e\x2c" "\xae", 18); memcpy( (void*)0x20000c80, "\x78\x9c\xec\xdd\x4d\x6c\x1c\x67\x19\x00\xe0\x77\x76\xd7\x1b\x6f\x2a\xb9" "\xdb\x34\x69\x0b\x42\x8a\xd5\x88\x08\x1a\x48\x6c\x2f\x25\x41\x42\x22\x54" "\x08\xf9\x50\xa1\x48\x08\xa9\xd7\x25\x71\x1a\xcb\x6b\x37\xb2\x5d\xe4\x44" "\x88\x38\x40\xe1\x08\x27\x94\x43\x0f\x45\xc8\x1c\x2a\x0e\xa8\x07\xa4\x56" "\x1c\x10\xe5\x8c\x84\xc4\x15\xe5\x1e\x89\x7b\xc4\x81\x45\x33\x3b\xb3\x5e" "\xef\xda\x6b\x2f\xfe\x6b\xdd\xe7\x91\x66\xe7\x9b\x6f\xbe\x9f\x77\xde\xce" "\x8c\x77\x67\x1b\x6d\x00\x9f\x59\xb3\x6f\xc4\xd8\x7a\x24\x31\x7b\xe9\xf5" "\xb5\x74\xfb\xf1\x46\xa3\xf5\x78\xa3\xb1\x58\x94\x23\xe2\x54\x44\x94\x22" "\x2a\x9d\x55\x24\x4b\x11\xc9\xc7\x11\xd7\xa3\xb3\xc4\xe7\xd2\xca\x7c\xb8" "\x64\xa7\x79\x5e\x7d\xf2\xe1\xbb\x17\x1f\xbd\xdf\x18\xef\xd6\x54\x8a\xf6" "\xa5\x61\xfd\x36\xb5\x87\xcc\xb0\x9e\x2f\x31\x19\x11\xe5\x7c\x3d\xa2\xca" "\x4e\xe3\xdd\x8c\xd7\x06\xc6\x7b\x30\xd2\xd0\x49\x37\xee\x34\x61\x17\x8a" "\xc4\xc1\x71\x6b\x0f\x58\x1f\xa5\xfb\x1e\xae\x5b\xe0\x93\xee\x41\x44\x79" "\x6c\x9b\xfa\x7a\xc4\xe9\x88\x18\xcf\xdf\x07\x44\x7e\x77\x28\x1d\x71\x78" "\x07\x6e\xa4\xbb\x1c\x00\x00\x00\x7c\x32\x95\x77\x6b\xf0\xec\xd3\x78\x1a" "\x6b\x31\x71\x34\xe1\x00\x00\x00\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\xc9\x90\x74" "\x7e\x33\x30\xc9\x97\x52\x51\x9e\x8c\xa4\xf8\xfd\xff\x6a\x5e\x97\xaa\x56" "\x8f\x39\xde\xe1\xbe\xb2\xcb\xfe\x77\x6e\x1f\x51\x20\x00\x00\x00\x00\x00" "\x00\x00\x70\x28\x3e\xc8\xbf\xb8\x3f\xff\x34\x9e\xc6\x5a\x4c\x14\xf5\xed" "\x24\xfb\xce\xff\xe5\x6c\xe3\x6c\xf6\xfa\x4c\xbc\x1d\x2b\x31\x17\xcb\x71" "\x39\xd6\xa2\x19\xab\xb1\x1a\xcb\x31\x1d\x31\x36\xd1\x33\x60\x75\xad\xb9" "\xba\xba\x3c\x3d\xd8\xf3\x37\x91\xf6\x6c\xb7\xdb\x0f\xf2\x9e\x33\x11\x51" "\x1f\xe8\x39\x73\x04\x07\x0d\x00\x00\x00\x00\x00\x00\x00\x27\xd7\x4f\x63" "\x36\x26\x8e\x3b\x08\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xe8\x95" "\x44\x94\x3b\xab\x6c\x39\x5b\x94\xeb\x51\xaa\x44\xc4\x78\x44\x54\xd3\x76" "\xeb\x11\x7f\x2e\xca\x9f\x12\x1f\x6d\x57\xf9\x97\xa3\x8f\x03\x00\x00\x00" "\x8e\x5a\x2d\x5f\x4f\x24\xff\xed\x14\xda\x49\xf6\x99\xff\x85\xec\x73\xff" "\x78\xbc\x1d\x4b\xb1\x1a\xf3\xb1\x1a\xad\x98\x8b\x5b\xd9\xb3\x80\xce\xa7" "\xfe\xd2\x3f\xd6\x1b\xad\xc7\x1b\x8d\xc5\x74\x19\x1c\xf8\xdb\xff\x1e\x29" "\x8e\x6c\xc4\x88\x28\xc7\xc3\x1d\x66\x9e\xca\x5a\x9c\xeb\xf6\x98\x8d\xef" "\xc6\xf7\xe3\x52\x4c\xc6\x8d\x58\x8e\xf9\xf8\x51\x34\x63\x35\xe6\x62\x32" "\x6a\xe9\x41\x44\x33\x92\xa8\xd7\x3a\x4f\x2f\xea\x45\x9c\xdb\xc7\x7b\x7d" "\xcb\xd6\x8d\xfe\xd8\xce\xf7\x6d\xbf\x94\x45\x52\x8b\xdb\x31\x9f\xc5\x76" "\x39\x6e\x56\xa3\xf3\xd8\x24\x3b\x86\x74\xce\x97\x7a\x66\xfb\x53\x35\xa2" "\x6f\xc6\x87\x69\x76\x92\x6f\xe5\xf6\x98\xa3\x5b\x3d\xff\xbd\x7e\x9d\x3f" "\x97\xc9\xb5\x9f\xdd\xe3\x18\x07\x2c\x0f\xa1\x9e\x1d\xf9\x58\x37\x23\x53" "\x69\xee\xf3\x6c\x3c\x37\x3c\xf7\x23\x9e\x27\xfd\x33\x4d\x47\xa9\xfb\x0c" "\xea\xec\xe6\x2c\xe9\x66\xff\x4c\x45\xce\x7f\x38\x4a\xce\x4f\xf7\x1c\xe8" "\x2f\xb6\xe6\xfc\xa0\x8d\xf8\x28\xad\x3f\x13\x33\x51\xca\xcf\xbe\x88\x17" "\xb6\xe6\xfc\xee\x17\x1f\x9d\xd9\xda\xf9\xcb\xff\xfc\xeb\x8d\x3b\xa5\xa5" "\x85\x3b\xb7\x57\x2e\x1d\xe2\x21\xed\xc7\xe4\x6e\x0d\xc6\x8a\x42\x7f\x26" "\x1a\x3d\x99\x78\x71\xf8\xd9\x97\x67\xa2\x95\x66\x62\x7d\xef\x99\x18\xeb" "\xaf\x18\xdf\x6b\xcf\xc3\x55\xcd\xb3\x91\xdd\x8a\xf6\x78\xb7\xfc\x4e\x56" "\x6a\xc6\xcb\x3d\xa7\xe0\x5b\x71\x2b\xe6\xe2\x6a\x4c\xc5\x74\x5c\x8b\xa9" "\xf8\x46\xcc\x44\xa3\x7b\x86\xa5\xcb\xb9\x2d\x79\xad\x34\x16\xb7\xe6\x24" "\xbb\xd6\x4a\x83\xf7\xb7\xda\x90\xe0\x2f\x7c\xa9\xa7\xd1\x2f\x77\x69\x7c" "\xa8\x2a\xfd\x15\x69\x5e\x9e\xeb\xc9\x6b\xef\x9d\xae\x9e\xed\xcb\x6b\xae" "\xff\x2a\xa6\x7a\xce\xbe\x33\xc3\xcf\xbe\x91\xff\x0a\xa4\xf3\x7f\x3e\x2f" "\xa7\x73\xfc\xac\xf8\x8b\xf3\x83\xfd\x1e\xf2\x41\xd8\x92\x89\xfc\xde\x5c" "\x64\xe2\xf9\xe1\x99\xf8\x6d\x3b\x7d\x5d\x69\x2d\x2d\x2c\xdf\x69\xde\x1d" "\x36\xc9\xbd\xcd\xe2\xc5\x7c\x9d\x5e\xb6\xef\x6c\xbd\x37\xff\x6e\xef\x51" "\xf7\xff\x75\x3f\x08\xe9\xf9\x72\xa6\x7b\x22\x65\x39\xa9\x15\xe7\x4b\xba" "\xef\xf9\x34\xda\xf1\x18\xc8\x57\x35\xff\xc6\xa5\xd3\xaf\x34\xb0\xef\x5c" "\x77\x5f\x3d\x26\x62\x3e\xbe\xb7\xe3\x95\x5a\xcd\xdf\xc3\x0d\x8e\xd4\xd9" "\xf7\x62\xef\xbe\x7f\x6d\xde\x39\xab\xf9\xfb\x9b\x4a\x92\xa6\xb3\xef\x5d" "\x4e\xbc\x15\xad\xec\x5d\x48\x9f\x5d\x6f\xd5\x00\x1c\xb1\xd3\xaf\x9c\xae" "\xd6\x9e\xd4\xfe\x5e\x7b\xaf\xf6\xf3\xda\x9d\xda\xeb\xe3\xaf\x9d\xba\x76" "\xea\x0b\xd5\x18\xfb\x5b\xe5\xa3\xf2\x1f\x4b\xbf\x2f\x7d\x33\x79\x25\xde" "\x8b\x9f\xc4\xc4\x71\x47\x0a\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x27\xc1\xca\xbd\xfb\x0b" "\xcd\x56\x6b\x6e\xb9\x5b\x88\xf1\x9e\x9a\x76\x39\x62\x79\xb0\xcd\x68\x85" "\xea\x8e\x73\x0d\x2f\x44\x69\xd7\x36\x1b\xcf\xec\x6d\xc0\xa8\x47\x6c\xd6" "\x3c\xdc\x66\xae\x24\x2f\x54\xf7\x73\xa4\x27\xa3\x50\x8b\xb4\x50\xfc\x1a" "\x56\x6b\x6e\xb9\xf8\x85\xa5\xfd\x8e\xfc\x41\x44\x0c\x69\x53\xdd\x77\xf0" "\x49\x54\x6b\x07\x13\xea\x8e\x85\x74\xf0\x03\x19\xb0\xf8\xe1\xb4\xac\xa6" "\x5d\x1e\xa1\x7b\xa5\xe8\xb5\x7d\x9b\x4a\xac\x8c\xc7\x42\x33\xa9\x6c\x73" "\xc5\x9d\xda\xbc\x0a\xa2\xbe\xd0\x6c\xfd\xa7\xbd\xa5\x7b\x2d\x7a\x2e\x19" "\xe0\x84\xbb\xb2\xba\x78\xf7\xca\xca\xbd\xfb\x5f\x9d\x5f\x6c\xbe\x39\xf7" "\xe6\xdc\xd2\xcc\xb5\xab\xd7\xae\x36\xbe\x3e\xfd\xb5\x2b\xb7\xe7\x5b\x73" "\x53\x9d\xd7\xe3\x8e\x12\x38\x0c\x2b\xf7\xee\x97\x8f\x3b\x06\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x60\x34\xf9\xff\xfd\xbf\xfa\x7f\xff\x63\x86\xca" "\x2e\x6d\xaa\xcb\x2b\xdb\xcf\x7c\xfe\xa8\x0f\x15\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xf8\x94\x9a" "\x7d\x23\xc6\xd6\xff\x90\xc4\xf4\xd4\xe5\xa9\x74\xfb\xf1\x46\xa3\x95\x2e" "\x45\x79\xb3\x65\x25\x22\x4a\x11\x91\xfc\x38\x22\xf9\x38\xe2\x7a\x74\x96" "\xa8\xf7\x0c\x97\xec\x34\xcf\xab\x4f\x3e\x7c\xf7\xe2\xa3\xf7\x1b\x9b\x63" "\x55\x8a\xf6\xa5\x61\xfd\x0a\xd5\xa1\x7b\xd7\xf3\x25\x26\x23\xa2\x9c\xaf" "\x87\x1a\x4b\x5f\x4e\x6d\x33\xcc\xe0\x78\x37\x7b\xc6\x5b\xdf\x6d\xdc\x6d" "\x25\xdd\x23\x4c\x13\x76\xa1\x48\x1c\x1c\xb7\xff\x05\x00\x00\xff\xff\xaa" "\x53\xef\xe6", 1821); syz_mount_image(/*fs=*/0x20000100, /*dir=*/0x20000240, /*flags=MS_STRICTATIME|MS_DIRSYNC*/ 0x1000080, /*opts=*/0x20000140, /*chdir=*/0x44, /*size=*/0x71d, /*img=*/0x20000c80); memcpy((void*)0x20000c40, "./file1\000", 8); syscall(__NR_unlinkat, /*fd=*/0xffffff9c, /*path=*/0x20000c40ul, /*flags=*/0ul); return 0; }