// 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); memcpy((void*)0x20000600, "hfsplus\000", 8); memcpy((void*)0x20000200, "./bus\000", 6); memcpy( (void*)0x200012c0, "\x78\x9c\xec\xdd\xcf\x6f\x1c\x67\x19\x07\xf0\xef\x6c\x1c\x3b\x1b\x4a\xea" "\xa6\x49\x9b\xa2\x48\xb5\x1a\x09\x10\x16\x89\x1d\xcb\x05\x73\x21\x20\x84" "\x7c\xa8\x50\x55\x0e\x9c\xad\xc4\x69\xac\x6c\xd2\x62\xbb\xc8\xad\x10\x31" "\xbf\xaf\x3d\xf4\x0f\x28\x07\xdf\x38\x21\x71\x8f\x54\x2e\xbd\xc0\xad\x57" "\x4b\x5c\x2a\x21\x71\xe9\xa5\xe6\xb4\x68\x66\x67\xed\x8d\xbd\x4e\xed\xe0" "\x78\xd7\xf4\xf3\x89\xc6\xef\x33\xf3\xce\xbc\xf3\xcc\x33\x3b\x3b\xfb\x43" "\xd1\x06\xf8\xd2\x9a\x9f\xcc\xc8\xc3\x14\x99\x9f\x7c\x6d\xad\x9c\xdf\xdc" "\x98\x69\x6d\x6e\xcc\xdc\xeb\xc6\x49\xc6\x92\x34\x92\x91\x4e\x93\xe2\xf3" "\x76\xbb\xfd\x51\x72\x23\x9d\x29\x2f\x95\x0b\xeb\xe1\x8a\x9e\xf8\x11\x1f" "\x2c\xcd\xbd\xf1\xc9\x67\x9b\x9f\x36\xb6\x97\x8c\x74\xd7\x6f\xec\xb7\xcd" "\xc1\xad\xd7\x53\x26\x92\x9c\xaa\xdb\xa3\x1a\xef\xe6\xff\x3c\xde\x4e\x55" "\xca\x82\x5d\xe9\x16\x0e\x06\xed\x74\x92\xf6\x23\x7e\xfe\xf1\x33\xdb\x3d" "\x3d\x9a\xfd\xb6\x3e\x73\x2c\x39\x02\x4f\x57\xd1\xb9\x6f\xee\x31\x9e\x9c" "\xad\x2f\xf4\xf2\x75\x40\xe7\xae\xd8\xb9\x67\x9f\x68\xeb\x83\x4e\x00\x00" "\x00\x00\x8e\xc1\xb3\x5b\xd9\xca\x5a\xce\x0d\x3a\x0f\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x38\x49\xea\xdf\xff\x2f\xea\xa9\xd1\x8d\x27\x52\x74\x7f" "\xff\x7f\xb4\x5e\x96\x3a\x1e\x2e\x2f\x1f\x6e\xf5\x87\x4f\x2b\x0f\x00\x00" "\x00\x00\x00\x00\x00\x38\x46\x2f\x6f\x65\x2b\x6b\x39\xd7\x9d\x6f\x17\xd5" "\x77\xfe\xaf\x54\x33\x17\xaa\xbf\x5f\xc9\x3b\x59\xc9\x62\x96\x73\x35\x6b" "\x59\xc8\x6a\x56\xb3\x9c\xe9\x24\xe3\x3d\x03\x8d\xae\x2d\xac\xae\x2e\x4f" "\x1f\x60\xcb\xeb\x7d\xb7\xbc\xfe\x05\x89\x8e\xd5\x6d\xf3\x68\x8e\x1b\x00" "\x00\x00\x00\x00\x00\x00\x4e\xaa\xcb\x9f\xf7\x5d\xfc\x9b\xcc\xef\x7c\xff" "\x0f\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xc3\xa0\x48\x4e\x75\x9a" "\x6a\xba\xd0\x8d\xc7\xd3\x18\x49\x72\x26\xc9\x68\xb9\xde\x7a\xf2\x8f\x6e" "\x7c\x92\x3d\x1c\x74\x02\x00\x00\x00\x70\x0c\x9e\xdd\xca\x56\xd6\x72\xae" "\x3b\xdf\x2e\xaa\xf7\xfc\x2f\x54\xef\xfb\xcf\xe4\x9d\xdc\xcf\x6a\x96\xb2" "\x9a\x56\x16\x73\xab\xfa\x2c\xa0\xf3\xae\xbf\xb1\xb9\x31\xd3\xda\xdc\x98" "\xb9\x57\x4e\x7b\xc7\xfd\xc1\xbf\x0f\x95\x46\x35\x62\x3a\x9f\x3d\xf4\xdf" "\xf3\xa5\x6a\x8d\x66\x6e\x67\xa9\x5a\x72\x35\x37\xf3\x56\x5a\xb9\x95\x46" "\xb5\x65\xe9\x52\x37\x9f\xfe\x79\xfd\xba\xcc\xa9\xf8\x7e\xed\x80\x99\xdd" "\xaa\xdb\xf2\xc8\xdf\xaf\xdb\x3d\x1e\x1c\xea\x60\xf7\x73\xc8\x0f\x53\xc6" "\xab\x8a\x9c\xde\xae\xc8\x54\x9d\x5b\x59\x8d\xe7\x1e\x5f\x89\x43\x9e\x9d" "\xdd\x7b\x9a\x4e\x63\x3b\xd9\x0b\xbb\xf6\xb4\xeb\x20\x9e\xa8\xe6\x67\xeb" "\xb6\x3c\x9e\x3f\xec\x57\xf3\x81\xd8\x5d\x89\xeb\x3d\x8f\xbe\x17\x1e\x5f" "\xf3\xe4\x1b\x7f\xfd\xf3\xcf\xee\xb4\xee\xdf\xbd\x73\x7b\x65\x72\x78\x0e" "\xe9\x60\x4e\xd5\x6d\xbb\xbb\x60\x77\x25\x66\x7a\x2a\xf1\xe2\xff\x73\x25" "\xf6\x98\xaa\x2a\x71\x71\x7b\x7e\x3e\x3f\xce\x4f\x33\x99\x89\xbc\x9e\xe5" "\x2c\xe5\x17\x59\xc8\x6a\x16\x33\x91\x1f\x55\xd1\x42\xfd\x78\x2e\x7a\x2e" "\xf9\x7d\x2a\x75\xe3\x91\xb9\xd7\xbf\x28\x93\xd1\xfa\xbc\x74\x4e\xd6\xe1" "\x72\x7a\xa5\xda\xf6\x5c\x96\xf2\x93\xbc\x95\x5b\x59\xcc\xab\xd5\xbf\xeb" "\x99\xce\x77\x32\x9b\xd9\xcc\xf5\x9c\xe1\x8b\x07\x78\xa6\x6d\xec\x73\xd5" "\xb7\xbf\xda\x37\xf9\x2b\xdf\xac\x83\x66\x92\x3f\xd6\xed\x70\x28\xeb\xfa" "\x5c\x4f\x5d\x7b\x9f\x73\xc7\xab\xbe\xde\x25\x3b\x55\x3a\x7f\xf4\xf7\xa3" "\x91\xaf\xd5\x41\xb9\x8f\xdf\xd6\xed\x70\xd8\x5d\x89\xe9\x9e\x4a\x3c\xff" "\xf8\x4a\xfc\xa9\x7a\x5a\x59\x69\xdd\xbf\xbb\x7c\x67\xe1\xed\x83\xed\xee" "\xfc\xfb\x75\x50\x5e\x47\xbf\x1f\xaa\xbb\x44\xf9\x78\x39\x5f\x9e\xac\x6a" "\xee\xd1\x47\x47\xd9\xf7\x7c\xdf\xbe\xe9\xaa\xef\xc2\x76\x5f\x63\x4f\xdf" "\xc5\xed\xbe\xce\x95\xba\xbe\xef\x95\x3a\x5a\xbf\x86\x2b\xd7\x1e\xab\xb3" "\xea\xde\xb1\xca\xbe\x17\xfb\xee\x65\xa6\xea\xbb\xd4\xd3\xd7\xef\xf5\x16" "\x00\x43\xef\xec\xb7\xce\x8e\x36\xff\xd5\xfc\x7b\xf3\xc3\xe6\xef\x9a\x77" "\x9a\xaf\x9d\xf9\xe1\xd8\x77\xc7\x2e\x8f\xe6\xf4\xdf\x4e\x7f\x6f\x64\xea" "\xd4\xd7\x1b\x97\x8b\xbf\xe4\xc3\xfc\x6a\xe7\xfd\x3f\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\xf0\xe4\x56\xde\x7d\xef\xee\x42\xab\xb5\xb8\xbc\x2b\x68\xb7\xdb\x0f\xf6" "\xe9\x3a\xc9\x41\xf7\xe7\xcc\x8e\x71\xa7\x2f\x3d\x93\x1c\xcd\x80\xcd\xc7" "\x9c\xaf\x61\x0f\xfe\xd3\x6e\xb7\xeb\x25\xc5\xf1\xec\xf4\x9f\x1f\x27\x4f" "\xba\x79\xbb\x36\x14\xa5\x1b\x50\x30\xe0\x27\x26\xe0\xa9\xbb\xb6\x7a\xef" "\xed\x6b\x2b\xef\xbe\xf7\xed\xa5\x7b\x0b\x6f\x2e\xbe\xb9\x78\x7f\x6e\x76" "\x76\x6e\x6a\x6e\xf6\xd5\x99\x6b\xb7\x97\x5a\x8b\x53\x9d\xbf\x83\xce\x12" "\x78\x1a\x76\x6e\xfa\x83\xce\x04\x00\x00\x00\x00\x00\x00\x00\x00\x00\x38" "\xa8\xe3\xf8\xef\x04\x83\x3e\x46\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\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\x64\x9b\x9f\xcc\xc8\xc3" "\x14\x99\x9e\xba\x3a\x55\xce\x6f\x6e\xcc\xb4\xca\xa9\x1b\xef\xac\x39\x92" "\xa4\x91\xa4\xf8\x65\x52\x7c\x94\xdc\x48\x67\xca\x78\xcf\x70\x45\xef\xd8" "\x8d\x9e\xf8\x83\xa5\xb9\x37\x3e\xf9\x6c\xf3\xd3\x9d\xb1\x46\xba\xeb\x37" "\x76\x6f\x77\x78\xeb\xf5\x94\x89\x24\xa7\xea\xf6\xa8\xc6\xbb\xf9\x84\xe3" "\xb5\x1f\x74\xa3\x62\xfb\x08\xcb\x82\x5d\xe9\x16\x0e\x06\xed\xbf\x01\x00" "\x00\xff\xff\xe5\x26\x12\xe5", 1609); syz_mount_image(/*fs=*/0x20000600, /*dir=*/0x20000200, /*flags=MS_POSIXACL|MS_SYNCHRONOUS|MS_NOATIME*/ 0x10410, /*opts=*/0x20000140, /*chdir=*/1, /*size=*/0x649, /*img=*/0x200012c0); memcpy((void*)0x200001c0, "./file1\000", 8); syscall(__NR_unlink, /*path=*/0x200001c0ul); return 0; }