// https://syzkaller.appspot.com/bug?id=b30ea69cb87bce1089eefd3969b308f63c4e218c // 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 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, loopfd = -1, 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) { memset(loopname, 0, sizeof(loopname)); snprintf(loopname, sizeof(loopname), "/dev/loop%llu", procid); if (setup_loop_device(data, size, loopname, &loopfd) == -1) return -1; 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) { ioctl(loopfd, LOOP_CLR_FD, 0); close(loopfd); } errno = err; return res; } uint64_t r[2] = {0xffffffffffffffff, 0xffffffffffffffff}; int main(void) { syscall(__NR_mmap, /*addr=*/0x1ffff000ul, /*len=*/0x1000ul, /*prot=*/0ul, /*flags=*/0x32ul, /*fd=*/-1, /*offset=*/0ul); syscall(__NR_mmap, /*addr=*/0x20000000ul, /*len=*/0x1000000ul, /*prot=*/7ul, /*flags=*/0x32ul, /*fd=*/-1, /*offset=*/0ul); syscall(__NR_mmap, /*addr=*/0x21000000ul, /*len=*/0x1000ul, /*prot=*/0ul, /*flags=*/0x32ul, /*fd=*/-1, /*offset=*/0ul); intptr_t res = 0; memcpy((void*)0x20000040, "ext4\000", 5); memcpy((void*)0x20000500, "./file1\000", 8); *(uint16_t*)0x200001c0 = 0; sprintf((char*)0x200001c2, "0x%016llx", (long long)0); memcpy( (void*)0x200001d4, "\x00\x00\x00\x00\x00\x00\x00\x00\xf7\x00\x00\x2a\xa4\xa3\xc4\x83\xf5\xe3" "\x52\xca\x17\x28\x10\x81\x51\x66\x4f\xe1\x58\x64\xda\xc4\xe1\x2b\x3c\xf1" "\xee\xa8\x2d\x5b\xe5\xc3\xd0\x16\xd6\x0f\x9e\x28\x5b\xc9\xd2\x50\xc2\x60" "\xaf\x69\xcf\xaa\x50\x5a\x87\x85\x5a\xd7\xad\xda\x2f\xb3\x56\x74\x17\xa2" "\x49\x22\x02\x29\xac\x8b\x37\x73\x08\x92\x31\xd7\x5c\xde\x1e\xf1\x21\xf7" "\x0e\xfa\xaf\xfb\x03\x56\x56\xac\x50\xde\x39\x5e\x09\x1d\x56\x5d\xa9\xb0" "\x48\x05\xcd\x93\x80\x0e\xc1\x71\xb1\x03\x53\x20\x51\x51\x04\xfe\xde\x83" "\xe4\xf3\xc8\xa6\xa4\x43\x7f\x9a\x40\x19\x01\x0d\xa0\xbb\xc4\x6b\x26\x2f" "\x06\xc5\x1d\x56\x77\x0e\xb0\x71\xb5\xda\x8c", 155); sprintf((char*)0x2000026f, "0x%016llx", (long long)0xee00); sprintf((char*)0x20000281, "0x%016llx", (long long)-1); memcpy( (void*)0x200035c0, "\x78\x9c\xec\xdd\xcf\x6f\x14\xd7\x1d\x00\xf0\xef\xcc\x7a\xa9\x01\xd3\x35" "\x6d\x0f\x14\xa9\x14\x15\x2a\x83\x5a\xd6\x36\x16\x60\xf5\x00\x54\xaa\xca" "\x09\xa9\x2d\xbd\x53\xd7\x5e\x5b\x96\xd7\xac\xe5\x5d\x7e\xd8\x42\x95\x51" "\xff\x80\x4a\x55\xd5\x56\xea\xa9\xa7\x5e\x2a\xe5\x0f\x88\x14\xf1\x27\x44" "\x91\x90\x92\x7b\x94\xa0\x44\x51\x02\xc9\x21\x87\x24\x1b\xed\x7a\x96\x80" "\xb3\xeb\x1f\xc1\xf6\x20\xfb\xf3\x91\x86\x79\xef\xcd\xce\x7c\xbf\x0f\xb4" "\xb3\xf3\x66\x1e\xbb\x01\xec\x5b\x27\x23\xe2\x6a\x44\x14\x22\xe2\x6c\x44" "\x94\xb2\xf6\x34\x5b\xae\xb5\x2a\x2b\xab\xaf\x7b\xfa\xe4\xfe\x64\x6b\x69" "\xb5\xdf\xf8\x38\x89\x24\x6b\xeb\x1c\x2b\xc9\xd6\x87\x57\x77\x89\xfe\x88" "\xf8\xc3\xb5\x88\x3f\x27\xdf\x8e\x5b\x5f\x5a\x9e\x9b\xa8\x56\x2b\x8b\x59" "\x7d\xb8\x31\xbf\x30\x5c\x5f\x5a\x3e\x37\x3b\x3f\x31\x53\x99\xa9\xdc\x1a" "\x1b\x1b\xbd\x38\x7e\x69\xfc\xc2\xf8\xc8\xb6\xf4\x73\x30\x22\x2e\xff\xe6" "\xf1\x3f\xff\xf6\xbf\xdf\x5e\x7e\xe3\x97\x77\xdf\xbd\xf9\xe1\x99\xbf\xb4" "\xd2\x1a\xc8\xb6\x3f\xdf\x8f\xf5\x34\x4b\x5b\x8b\xbb\xda\xf5\x62\xfb\xef" "\xa2\xa3\x2f\x22\x16\xb7\x76\x98\x57\x56\x21\x5b\x17\x73\xce\x03\x00\x80" "\xcd\x69\x5d\xcb\xff\x20\x22\x7e\xd6\xbe\xfe\x2f\x45\xa1\x7d\x75\x0a\x00" "\x00\x00\xec\x25\xcd\x2b\x03\xf1\x45\x12\xd1\x04\x00\x00\x00\xf6\xac\xb4" "\x3d\x07\x36\x49\xcb\xd9\x5c\x80\x81\x48\xd3\x72\x79\x75\x0e\xef\x8f\xe2" "\x50\x5a\xad\xd5\x1b\xbf\x98\xae\xdd\xbe\x35\xb5\x3a\x57\x76\x30\x8a\xe9" "\xf4\x6c\xb5\x32\x92\xcd\x15\x1e\x8c\x62\xd2\xaa\x8f\x66\x73\x6c\x3b\xf5" "\xf3\x6b\xea\x85\x88\x38\x1a\x11\xff\x28\x1d\x6c\xd7\xcb\x93\xb5\xea\x54" "\xde\x37\x3f\x00\x00\x00\x60\x9f\x38\xbc\x66\xfc\xff\x59\xe9\x4a\xde\x29" "\x01\x00\x00\x00\x3b\x61\x30\xef\x04\x00\x00\x00\x80\x1d\x67\xfc\x0f\x00" "\x00\x00\x7b\x9f\xf1\x3f\x00\x00\x00\xec\x69\xbf\xbb\x7e\xbd\xb5\x34\x3b" "\xbf\x7f\x3d\x75\x67\xe9\xf6\x5c\xed\xce\xb9\xa9\x4a\x7d\xae\x3c\x7f\x7b" "\xb2\x3c\x59\x5b\x5c\x28\xcf\xd4\x6a\x33\xed\xef\xec\x9b\xdf\xe8\x78\xd5" "\x5a\x6d\xe1\x40\x56\xae\x37\x86\xeb\x4b\xcb\x37\xe7\x6b\xcd\x42\xe3\xe6" "\xec\x0b\x3f\x81\x0d\x00\x00\x00\xec\xa2\xa3\x3f\x7d\xf8\x4e\x12\x11\x2b" "\xbf\x3a\xd8\x5e\x5a\x0e\xe4\x9d\x14\xb0\x2b\x92\xad\xbc\xf8\xfd\x9d\xcb" "\x03\xd8\x7d\x85\xbc\x13\x00\x72\xd3\x97\x77\x02\x40\x6e\x8a\x79\x27\x00" "\xe4\x6e\xa3\xfb\x00\x3d\x27\xef\xbc\xd9\xa5\xcd\xa0\x02\x00\x00\x5e\x49" "\x43\x3f\xee\xfd\xfc\xdf\xbd\x01\xd8\xdb\xd2\xbc\x13\x00\x00\x76\x9d\xe7" "\xff\xb0\x7f\x15\x3d\xac\x83\x7d\xef\xfb\x1b\x6c\xdf\xd2\xf3\xff\xae\x9a" "\xcd\x2d\x25\x04\x00\x00\x6c\xbb\x81\xf6\x92\xa4\xe5\xec\x59\xe0\x40\xa4" "\x69\xb9\x1c\x71\xa4\xfd\xb3\x00\xc5\x64\x7a\xb6\x5a\x19\xc9\xc6\x07\x6f" "\x97\x8a\xdf\x6b\xd5\x47\xdb\x7b\x26\x5b\xfb\xbf\xc3\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xb0\x8f\x35\x9b" "\x49\x34\x01\x00\x00\x80\x3d\x2d\x22\xfd\x20\x69\x7f\x9b\x7f\xc4\x50\xe9" "\xf4\xc0\xda\xfb\x03\x07\x92\xcf\x4b\xed\x75\x44\xdc\xfd\xcf\x8d\x7f\xdd" "\x9b\x68\x34\x16\x47\x5b\xed\x9f\x3c\x6b\x6f\xfc\x3b\x6b\x3f\x9f\xc7\x1d" "\x0c\x00\x00\x00\x60\xad\xce\x38\xbd\x33\x8e\x07\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x80\xed\xf4\xf4\xc9\xfd" "\xc9\xce\xb2\x9b\x71\x3f\xfa\x75\x44\x0c\x76\x8b\xdf\x17\xfd\xed\x75\x7f" "\x14\x23\xe2\xd0\xa7\x49\xf4\x3d\xb7\x5f\x12\x11\x85\x6d\x88\xbf\xf2\x20" "\x22\x8e\x75\x8b\x9f\xb4\xd2\x8a\xc1\x2c\x8b\x6e\xf1\x0f\xe6\x18\x3f\x8d" "\x88\xc3\xdb\x10\x1f\xf6\xb3\x87\xad\xf3\xcf\xd5\x6e\xef\xbf\x34\x4e\xb6" "\xd7\xdd\xdf\x7f\x7d\xd9\xf2\xb2\x7a\x9f\xff\xd2\x67\xe7\xbf\x42\x8f\xf3" "\xcf\x91\x4d\xc6\x38\xfe\xe8\xb5\xe1\x9e\xf1\x1f\x44\x1c\xef\xeb\x7e\xfe" "\xe9\xc4\x4f\x7a\xc4\x3f\xb5\xc9\xf8\x7f\xfa\xe3\xf2\x72\xaf\x6d\xcd\xff" "\x46\x0c\x75\xfd\xfc\x49\x5e\x88\x35\xdc\x98\x5f\x18\xae\x2f\x2d\x9f\x9b" "\x9d\x9f\x98\xa9\xcc\x54\x6e\x8d\x8d\x8d\x5e\x1c\xbf\x34\x7e\x61\x7c\x64" "\x78\x7a\xb6\x5a\xc9\xfe\xec\x1a\xe3\xef\x3f\x79\xfd\xab\xf5\xfa\x7f\xa8" "\x47\xfc\xc1\x0d\xfa\x7f\x7a\x93\xfd\xff\xf2\xd1\xbd\x27\x3f\x5c\x2d\x16" "\xbb\xc5\x3f\x73\xaa\xfb\xe7\xef\xb1\x1e\xf1\xd3\xec\xb3\xef\xe7\x59\xb9" "\xb5\x7d\xa8\x53\x5e\x59\x2d\x3f\xef\xc4\xff\xdf\x3a\xb1\x5e\xff\xa7\x7a" "\xf4\x7f\xa3\x7f\xff\x33\x9b\xec\xff\xd9\xdf\xff\xf5\xbd\x4d\xbe\x14\x00" "\xd8\x05\xf5\xa5\xe5\xb9\x89\x6a\xb5\xb2\xf8\x9d\x0b\x8f\xe3\xa5\x76\xdf" "\xa8\xd0\x1f\x3b\x75\x64\x05\x05\x85\x9e\x85\xbc\xcf\x4c\x00\x00\xc0\x76" "\xfb\xe6\xa2\x3f\xef\x4c\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x60\xff\xda\x8d\xaf\x13\x5b\x1b\x73\x25\x9f\xae\x02\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\xac\xeb\xeb\x00\x00\x00\xff\xff\xf5\xd7\xd0\x7d", 1220); syz_mount_image(/*fs=*/0x20000040, /*dir=*/0x20000500, /*flags=*/0x4500, /*opts=*/0x200001c0, /*chdir=*/0x12, /*size=*/0x4c4, /*img=*/0x200035c0); memcpy((void*)0x20000100, "./bus\000", 6); syscall(__NR_creat, /*file=*/0x20000100ul, /*mode=*/0ul); memcpy((void*)0x20001280, "/dev/loop", 9); *(uint8_t*)0x20001289 = 0x30; *(uint8_t*)0x2000128a = 0; memcpy((void*)0x20001240, "./bus\000", 6); syscall(__NR_mount, /*src=*/0x20001280ul, /*dst=*/0x20001240ul, /*type=*/0ul, /*flags=*/0x1000ul, /*data=*/0ul); memcpy((void*)0x20000400, "./bus\000", 6); res = syscall(__NR_open, /*file=*/0x20000400ul, /*flags=*/0x14103eul, /*mode=*/0ul); if (res != -1) r[0] = res; memcpy((void*)0x20000280, "cgroup.controllers\000", 19); res = syscall(__NR_openat, /*fd=*/0xffffff9c, /*file=*/0x20000280ul, /*flags=*/0x275aul, /*mode=*/0ul); if (res != -1) r[1] = res; syscall(__NR_ftruncate, /*fd=*/r[1], /*len=*/0x27f7ul); sprintf((char*)0x20000040, "0x%016llx", (long long)0); syscall(__NR_write, /*fd=*/r[1], /*buf=*/0x20000040ul, /*len=*/0xfea0ul); *(uint64_t*)0x20000000 = 0x20001640; memcpy( (void*)0x20001640, "\x5b\xd7\xd7\x1d\xcf\xcf\xbb\x0c\xfc\x4f\xe8\x45\x30\x6b\xf4\xf9\xe0\x43" "\xc0\xa3\x73\x58\x4c\x5a\x54\x09\x6d\xe4\xda\xdb\x6d\x77\x7e\xc8\x49\x3c" "\x8d\x2a\xe9\x23\x91\x49\x4a\xe7\x57\x81\xfd\x91\xca\x69\xbb\x6d\xf6\xae" "\x84\xf0\xb6\x38\x06\x9c\xaa\x06\xf7\xee\x03\x4a\x6c\xb5\x49\xac\x4a\xf6" "\x52\x48\x98\xb2\x2b\x4f\x05\xbe\x0d\x81\xf8\xff\x76\xb7\x89\x94\x4e\x6c" "\xe8\x1a\x90\xb0\xb2\x7f\xdc\x24\x7f\xba\x59\xf2\x84\xa0\xc6\x1a\x54\xc3" "\xaf\x23\x3b\x17\xa4\x13\xb1\xfd\xc4\x6a\x1f\x9b\x5a\x76\x3c\x69\x2a\x41" "\xc5\x1b\x37\x18\x00\xd6\xae\xdb\xca\x60\x0e\x36\x38\xd4\x24\x22\x0f\x62" "\xb6\x6a\x13\x6e\x0d\xf2\x8a\xaa\x0d\xa0\x15\xcd\x20\xcc\x57\x7b\x22\x1e" "\xbb\xe3\x2d\xb8\x87\x5d\xd2\xff\xf1\xd1\x79\xeb\x0b\x1f\x94\x80\xe3\x45" "\x91\x3f\x4f\x34\xf0\x34\x75\xf4\x2d\xa8\xfb\xca\xbe\x5d\x19\x0f\x31\x1a" "\x1f\x1a\x0d\x50\x62\x97\xb4\x0a\x29\x61\xf2\xba\x82\xd6\xc7\x25\xc7\x29" "\x38\x59\x10\x4b\xf7\x35\x13\x70\xb3\x12\x3a\xcf\x5b\x79\xc7\xf8\xf7\xef" "\xa5\xce\xd6\x6d\x6f\x0e\xd8\x28\x48\xf2\x32\x75\x80\xcd\x6a\x41\xc4\x86" "\x9d\x36\xd9\x4c\xc7\x24\xcd\x4a\xeb\x6c\xd5\x1d\x73\x59\x1a\x4d\xd3\xec" "\x1c\x51\x29\x14\xf7\xa8\x0b\xeb\x48\xa7\x12\x57\x3b\x87\x9d\x86\x7d\xf0" "\x54\x99\x94\xd0\x63\x8d\xfa\x4d\x07\xd2\x30\xa7\xa4\x5f\x32\xe7\x17\x70" "\x97\xb4\xdb\xc3\xc4\xf5\xc2\xd6\x72\x4f\x65\x34\x12\xf1\xdf\x99\x19\x53" "\x87\x90\x41\x45\x22\xc7\x07\xc0\x0c\xc5\xbe\xb3\xca\x4b\x12\x47\x37\x81" "\xec\xc6\x25\x0d\xed\x3d\x63\xe0\x0b\x59\x8e\x1d\x23\x29\x27\xbf\xac\x84" "\x1b\x16\x03\x69\xac\xce\x31\xe9\x36\x02\x77\xe6\xf9\xa3\x02\xf0\x46\x9f" "\x8d\xac\xa4\xa0\x96\xe8\x9a\x2c\x84\x6f\x36\xe9\x2a\x4f\xe9\xe4\xdf\xe2" "\xf1\x09\x7a\x00\xd7\x01\xbf\x1c\x1b\x7b\x55\x24\x90\x87\x3e\x60\xac\x5a" "\x93\x67\x5e\x3b\xde\x68\x23\x86\x28\xb8\x8f\xd1\x14\x04\x46\x91\x2f\xfb" "\x43\x24\x34\x1a\x94\xa6\x9d\x98\xf1\xe8\xb1\x9e\xc2\x41\x53\xa0\x8b\x01" "\xbc\xa9\x56\x3f\xf3\x0a\xbf\x19\xa8\xb4\x56\x46\x71\x53\x38\x47\x24\x8f" "\x21\xb1\x1f\x96\x04\x99\xd1\x8b\x62\x8f\xb3\x2a\x94\xee\x6d\x12\xab\x39" "\x83\x31\x0c\xa2\xb5\x25\x0d\x70\x8a\x8e\x29\x98\xf7\x3a\x56\x57\x04\xfa" "\x08\x5f\xd0\xb7\x5a\x70\x11\x85\xfd\x43\xf0\x01\x54\x47\xc5\x23\x78\x4e" "\x7d\xc2\xf8\x64\x95\xbd\xb4\x14\xda\x1a\x8f\x28\x7d\x03\x9b\xcc\x21\xfa" "\xe6\x9c\x30\xb7\x11\x38\x65\x17\x20\xff\x4c\x4b\x98\x68\x8a\xc2\x56\x05" "\x30\x9a\x5f\x6f\xbb\x20\x24\x83\xd5\x09\x70\x50\x0d\xb6\x33\x85\x23\x40" "\x4b\xb0\x80\x6d\xcb\xe2\x30\xac\x20\x27\x93\x39\xec\x95\x42\x42\x3e\x52" "\x73\x2d\x7f\x4c\xa4\xaf\x18\x6d\xde\x80\xe2\xc7\xc5\x1a\x8a\xa2\x69\xe2" "\x16\xf3\x8d\xe8\x16\x0e\x52\x1d\xa8\x58\xd9\xeb\x9c\x4f\xc1\x96\x81\x73" "\x1a\x01\x8e\x88\xfb\xdd\x44\x19\x46\xb0\xb2\x80\x3f\x05\x10\xe2\xc6\x94" "\x39\x90\x87\xe5\x2d\xa2\x32\x60\x52\x55\x99\x7b\x1d\xbb\xda\xe1\x87\xf0" "\x81\x89\xe8\xe9\xf8\x7e\x4a\x44\xb6\x09\xc9\x66\x72\xa7\x6c\x29\x39\x69" "\xb0\xb1\x18\xa0\xe8\x57\x3a\x55\x20\xac\x1b\x77\x25\x77\xeb\xa4\xb5\xf8" "\x11\x0c\x1f\xc3\xdf\x8e\x0c\x19\x47\x63\xb2\x46\xac\x60\xc1\xfe\x59\xf8" "\xb4\x3d\xfe\x81\x13\x76\xdb\x4e\x80\xfc\x83\xd2\xf6\x1c\x61\xa8\x6b\x38" "\x1e\xd3\x6b\xeb\x12\x2d\xcd\x3c\x6d\xf6\xad\x72\xf1\x6a\x94\xa8\x5d\x7b" "\x04\x36\xe3\x90\xd2\x22\x6f\xd5\xf1\x65\xec\xad\xac\xe5\x7c\x25\xf2\xdd" "\xb5\xd6\xf9\xf9\x31\x4a\xa3\x66\x8f\xa6\x05\xe1\x89\x82\x40\xa4\x7c\xb6" "\x58\xee\x43\xaa\x6a\xf4\x2f\x53\x1b\xcd\x24\x0b\x34\xaf\x42\x8b\x54\xfd" "\x64\xd6\x04\x10\xfd\x23\x72\x94\x0f\x2d\x3c\xe8\x29\x84\xa5\xa8\xb4\x82" "\xf8\x69\x76\xe3\xad\x9a\x3f\x17\x9a\xeb\x7c\xcd\xf8\x15\x1e\xe3\x23\xa2" "\x94\xfb\x69\x93\xa3\xb2\xe2\x4b\xaf\x9a\xed\xe4\xad\x31\x70\xc6\xe1\x0a" "\x66\x0b\x9d\x5f\x9a\x55\x69\x17\x09\x33\xbb\xb2\x6d\xff\x19\xef\x2e\x82" "\x4a\x75\xce\x5e\x9b\xa0\x3f\x52\x96\xf0\xa3\x26\x48\x2e\x85\x31\x1f\x25" "\x24\x7b\xc0\x21\xd3\xbe\x30\xa0\x3c\x77\x01\x5e\x20\x4a\x34\x1a\xc8\xd4" "\xd7\x88\x6a\xac\xdf\xec\x1a\x40\x93\x12\xfa\x6b\xa9\x20\x0b\x5f\x00\xfd" "\xa9\x8f\xb0\x8d\x4f\xa7\x9c\xc2\xca\x5d\x8b\xee\x8a\xb5\x2c\x98\xb5\x5a" "\x66\x9d\x4a\xbc\x0b\xa6\xbe\x0c\x80\x62\x14\xcd\x30\x36\x8d\x28\xe0\x97" "\x73\xe6\xe2\x47\x0e\x97\xa9\xd8\x31\x0f\x0a\x8d\x02\x40\xf2\x51\x01\x58" "\xe7\xf3\x24\x38\xad\x35\x6a\x3e\xc5\xc5\x32\x5f\xde\x74\xdc\x70\x1c\x39" "\xaa\x2b\x55\x39\x4e\xc0\x0f\xa2\xb4\x0c\x9d\x19\x50\x40\xd9\x4f\xa6\x73" "\x11\x80\x02\x2d\xee\x72\x61\xe6\x26\xb5\x67\x21\x60\x2f\xd1\xe1\xff\x10" "\xcc\x90\x75\xa6\xbf\xab\x97\xf3\x8c\xf7\x06\x1b\xa7\xc2\x8a\xdf\xc2\x33" "\xae\x3c\xcf\x01\xa3\x9a\xf1\xdb\x47\x67\x9b\x3f\x5c\x45\xbd\x54\x46\x47" "\x24\x25\x88\xc6\x65\xb8\x3a\x92\x11\xe0\xa6\xba\x67\xbf\x19\x35\x26\x5b" "\xce\xc1\xf3\x82\xf7\xa0\x7c\xa4\xd5\x95\x6f\x9e\xe5\x84\x2c\xc9\xcd\x79" "\x54\x34\x28\x92\x3f\x59\x95\xf7\xfa\xa8\x6f\x28\xe9\x6a\xa7\xa6\x95\x05" "\x84\x95\x1e\x41\x26\x2d\x87\x17\x59\x05\xe4\x2b\x2d\xa1\x4e\x9d\xb6\x2a" "\x28\x93\x99\x6b\x75\x1a\xaa\x33\x08\xca\x14\xec\xf6\xd4\xc1\xa8\x9e\x41" "\x52\x44\xa9\xfa\x84\x30\x71\xe1\x74\x63\x26\x60\xb7\x4c\x0e\xa1\xb7\x00" "\xfc\xf9\x81\xf8\xb0\xfe\xe6\xcc\x82\x5d\x82\xd2\x64\x6d\x99\x29\x6c\xb0" "\x0f\x18\x6a\x88\x0f\x93\x54\x14\xc1\x27\x64\x33\x3f\xa2\xe2\x18\x9d\x43" "\xa7\x08\x78\x0f\xf5\x24\xa7\xa8\xf5\x80\xa3\x02\xd5\x2f\xce\xbe\xbf\x89" "\x05\x24\xb1\xba\x96\x95\xc8\x4d\x9d\xb9\xba\xf8\xa3\x43\x1d\x8a\x26\x20" "\xf3\x34\xb9\x39\x49\xbe\xb3\xcb\xf0\x45\x1f\x4c\xb5\xb3\xe8\xc7\x5e\xd4" "\xef\x67\x7d\x60\x34\x1e\xa0\xc1\x68\x7c\xcc\xee\x75\x4d\xcb\x69\xe1\xc2" "\xa6\xe1\xc8\x31\x2d\x1d\xa4\x14\xea\x4d\x8b\xdb\xae\x78\x2d\x80\xf3\xb0" "\x6f\x0c\x2a\x13\xf3\x28\xec\x6c\x0b\x59\xf2\xe5\xf0\xba\x59\xa6\x43\x9e" "\x55\x9e\x82\x2f\x39\x52\xd4\x99\xb6\x52\x84\xb3\xa0\xb9\x13\xc8\x30\xcf" "\x81\x14\x83\x91\x1c\x36\x39\x57\x23\xcf\x3a\x6f\x5b\xaa\xf1\x4b\x50\xeb" "\x58\x96\x31\xbf\x26\xdf\x2f\xa4\x85\xf8\xca\xc7\x72\x25\x75\xdf\x7d\x5e" "\x14\x71\xe0\xe3\xdb\x2d\x73\xc8\xdc\xd5\x9c\x76\x5f\xc8\x17\x2d\x15\x11" "\x9a\xc5\x59\xa0\x63\x42\x4c\x5b\xdc\xca\xa3\xad\x02\x48\x01\x32\xb2\x4c" "\xc0\x29\xbe\x37\xc0\xd6\x53\x9e\x9f\x4f\xdc\xbd\x4d\x0c\x56\x6c\xb7\x6e" "\x42\xdd\x58\xec\x30\x25\xc7\x7d\x46\x90\xc5\x98\x06\xba\x5c\x20\xe0\xb1" "\x53\x9a\x4c\xac\x93\x6e\xdc\x5d\x2f\x56\x93\x63\x67\xe9\xde\x01\xcd\x34" "\x7f\xd6\xc8\x18\x4b\x26\x3a\x7c\x92\x6d\x03\xef\xa9\xaf\xa9\x0d\x00\x7d" "\xb9\xdd\x95\x3d\xf9\x1b\x35\x3d\x52\x2d\xd9\x15\xa6\xc8\x7e\x96\x50\xa2" "\x7c\xef\x29\x42\x9b\xb2\x18\xb7\xe0\xfd\x67\x65\x8e\x92\x81\x0e\xf0\xfc" "\x76\x40\x60\x87\x46\xb3\xa5\xf3\xde\xbf\x2a\xf0\x42\xc8\xdc\x66\x41\x37" "\x6e\xfa\x97\xb9\xc4\x09\x4f\xbf\xd4\xcd\x59\x1d\xd6\x32\x8b\xc0\x09\xd6" "\x10\xa0\xcf\x27\x43\xdc\xfe\x5d\x53\x31\x3c\xca\xe5\xff\xc2\x91\xc0\x3c" "\x18\x9c\x88\xa0\x1c\x34\xa1\xf6\x69\xdf\xbd\x0d\xb2\xd9\xd9\x14\xf3\x06" "\xdb\xae\xdd\x1a\x64\xb4\x8e\x18\xc7\xb1\x0a\xd2\x8c\x2e\xde\xf6\xf3\x61" "\x88\x40\x72\x35\x20\x20\xab\x6c\x77\x12\xa7\xc9\x42\x4b\xf0\x5d\xd7\xdf" "\xbe\xb1\xd2\x7f\x4c\x99\xe0\x87\x0f\x01\x85\x85\x09\x96\x57\xe8\xcc\x35" "\x8a\x15\x52\xa0\x68\xe6\xfe\x82\xf0\xfe\xa7\x9e\x09\x4b\xb3\x2f\xc9\xba" "\xc7\x06\xed\xe1\x2c\xf5\xe0\xc0\x87\x0a\xaf\x23\x11\xc7\xd3\x8b\x0f\x67" "\xeb\xec\xdf\xd2\x09\x64\xf2\x28\x96\x6d\xd4\xc5\xab\xaa\x7f\x40\x8e\x4e" "\x0c\x34\x12\x17\x73\xc8\x8a\x16\xa9\xf4\x47\x14\x0a\x19\xcc\x2e\x4c\x9b" "\x79\x75\xa9\x4d\x42\xbc\xd4\x7d\xd9\x84\x04\xc5\x5c\x17\xf8\x86\x2a\x04" "\x2e\x54\x4c\xd8\xdb\xac\x43\x79\xc8\x89\x1a\x49\x98\x2c\x83\x42\x1a\x1e" "\x28\xab\xb1\xc2\xa8\xa9\x2a\xef\xf0\xf6\xe6\xf1\x6e\x2b\x5a\x4f\xc2\x02" "\xc6\xc2\x83\xf1\x53\x4f\xa3\x53\xff\x26\x58\x97\xfe\x64\x5e\x0f\x8a\x31" "\x0c\xd7\xc9\xf9\x9d\xe2\x59\xab\x21\x3f\x1d\x4b\x70\x39\x09\xad\x50\xeb" "\xf9\x96\x4c\x30\x21\xfc\xec\x04\xab\x31\xd8\x71\x10\x01\x26\x4e\x41\x80" "\xe4\xb1\x7f\x05\x20\x72\x29\x18\x0b\xcd\x1c\x12\xba\x42\xef\x96\xb9\x58" "\x27\x89\x89\xb5\x56\x43\x99\xbf\x78\xbe\x80\x8f\xff\xb1\x42\x6b\x13\x23" "\xd3\xa7\xd1\xcb\xf3\xfc\x67\x1a\x68\x77\xdf\x25\x85\xf9\x3a\x09\x8f\x12" "\x14\x93\x23\xf1\xbc\x3e\x23\x96\x6e\x77\xd5\x59\xd4\x4e\xaa\x0a\x7d\x1d" "\x7b\x7b\xf4\xa8\xff\x5e\x5b\xfa\x11\x0e\x08\x02\xb2\xf4\x92\x33\xaa\x4b" "\x11\xb8\xa1\x96\x6e\x44\x86\x58\xa1\x57\x28\x33\x9d\xfc\x3d\x8b\x7a\xec" "\x81\x9d\x54\x7d\x59\x71\x94\xcd\xaf\xf3\x88\xb8\xd9\x30\x37\x94\x59\xef" "\xc2\x48\xbe\x0e\xbb\x1a\x41\x64\x0f\xe3\x73\xe6\x59\x2c\x5c\xdc\x6a\xa5" "\x20\xbe\xf2\x92\x2c\xdd\xdf\xe5\xed\x00\xf5\x27\x52\x5c\x85\xea\xfc\xa8" "\x5c\xc0\x63\x56\x4b\x46\xc4\xa2\x84\xec\xab\xee\x95\x9e\x8a\xb5\xb8\x5c" "\xc8\x77\x60\x0b\x1f\xef\x86\xde\xf5\x45\xac\x7a\xd6\xda\x72\x56\x63\x44" "\x19\x6d\xbc\xc7\xfb\x8d\x7f\xf5\xb6\x80\x5c\xa8\x64\x28\xce\xc7\x17\x8a" "\x74\x89\x80\x0d\x53\x48\x89\x59\x0a\xff\x73\xdf\xd8\xab\x32\x4a\x10\xf2" "\x7e\x67\x8f\x3c\x2d\x5c\x5c\x05\xcb\x37\xad\xef\x73\x9c\x21\x39\x51\x54" "\xd4\x8b\x68\x8b\x03\x50\x1f\xca\xab\x95\x12\xac\xae\x91\x4f\xa5\x3e\x1f" "\x6a\x77\xbe\x36\xdf\x58\x1b\xc7\x3a\xa7\xae\x5c\x6f\x99\x02\xe4\x85\x8b" "\x48\xd1\x10\x07\x86\xf1\x1b\xe4\xd6\x1a\xce\x69\xbb\xf7\xcf\x5f\x38\x88" "\x1f\xb9\x16\xb1\x67\xfb\xbc\x36\xc5\x43\x80\xaa\xaf\x4d\x20\x1d\xb3\xff" "\x13\xde\xd1\xe9\x60\x7d\x0e\x93\x70\xaf\x56\x77\x4e\xe5\xf9\xa3\x75\xed" "\xe6\x7c\x7b\xce\xad\x31\x72\xe4\x5e\x1d\x8c\xd2\x4a\x21\x9f\x3b\x95\xae" "\x68\x4b\x42\x7a\x97\x5e\xa3\x20\x1e\x60\x6d\x94\x5e\x04\xe1\x7a\x17\xa1" "\x40\x09\x04\x49\x4e\x5e\x50\xe5\xa0\x73\xc3\xa2\x55\x11\xf8\x4c\x66\x58" "\xb5\x04\x5c\x3a\x5a\x66\xd8\xfd\x66\x32\xc2\xe7\xc3\x31\x98\x2b\xab\xa8" "\x75\x4a\x2d\x30\xc0\x77\x18\x36\x74\x37\xce\xb9\x35\x7f\x3c\xa4\xfc\xed" "\xd1\xfb\x2a\x4c\xbe\x0b\xf5\x55\x91\x78\xd1\x4d\xa6\x72\xf5\x82\x80\xb7" "\xaa\x98\x1c\x50\x81\x0f\x2f\x30\xb6\x59\x6a\x04\xac\x97\x67\xb5\xad\x7b" "\xbb\x55\x6c\xaf\xdb\x91\x8d\xa6\x37\xfe\x36\x45\xcf\x68\xdc\x77\x40\x42" "\x8f\xa2\xa0\x1e\x7d\xc8\x22\x5d\x61\x56\x88\x56\x9b\xed\x55\x82\xf9\x75" "\x06\xe5\x70\x57\xeb\x93\x01\x89\x74\x55\x8b\xf5\x3b\xdc\x44\xbf\x74\xfd" "\xe6\x95\xce\x9c\x15\x82\xd5\x9c\x7c\xa3\x0d\xc6\xb4\x3b\x57\x5f\x53\xf7" "\x4f\x69\x0e\x5a\x6d\xa4\x28\x4d\x84\x75\x16\xfc\xaa\x75\x1f\xf2\x8b\x55" "\x33\x28\xde\x47\xf8\x68\x9f\x84\x56\x7a\xf4\x61\x4b\xda\x40\x84\xf0\x6d" "\x42\x91\x33\x41\xf8\x33\xfc\xd7\x34\xc5\xe4\x16\x2f\x7a\x40\xfc\x7d\x41" "\x1a\x9f\x03\xbe\x10\xa9\x5a\x71\x7e\x34\xe1\xb2\x30\x3a\x29\xcd\xeb\x1a" "\x16\x9f\x06\xf2\x49\x97\xe1\x68\x74\x61\x7a\x17\x76\xb3\x5b\xd4\xd7\xf5" "\x7f\x2e\x6d\xe0\x0a\xc3\x09\x97\x10\xe5\x8c\x31\x83\x40\x3c\x2f\xd0\xd5" "\x77\x7e\xbb\xa9\x81\xe4\x6f\xd4\x58\x8a\xef\x2f\x85\xd8\x36\x78\x02\xb5" "\x8a\x8a\xee\x23\x7c\x32\x94\x2f\xb5\x82\x08\xe3\x4f\x3d\x62\xb7\xd9\x97" "\x8a\x06\xa2\x87\x59\x36\x32\x72\x6c\xaa\x69\x1f\x83\xdf\x72\xd6\x15\xaa" "\xe8\x83\x46\x72\x53\x53\x80\x5c\x08\x32\xe0\x0c\x64\x53\xeb\xfa\xf0\x4e" "\xf4\x15\x84\x59\x8b", 2561); *(uint64_t*)0x20000008 = 0xa01; syscall(__NR_writev, /*fd=*/r[0], /*vec=*/0x20000000ul, /*vlen=*/1ul); return 0; }