// https://syzkaller.appspot.com/bug?id=050d9b36a89f3bc42efe47dd9558faee19e8469d // autogenerated by syzkaller (https://github.com/google/syzkaller) #define _GNU_SOURCE #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #ifndef __NR_memfd_create #define __NR_memfd_create 319 #endif static unsigned long long procid; static void sleep_ms(uint64_t ms) { usleep(ms * 1000); } static uint64_t current_time_ms(void) { struct timespec ts; if (clock_gettime(CLOCK_MONOTONIC, &ts)) exit(1); return (uint64_t)ts.tv_sec * 1000 + (uint64_t)ts.tv_nsec / 1000000; } static void use_temporary_dir(void) { char tmpdir_template[] = "./syzkaller.XXXXXX"; char* tmpdir = mkdtemp(tmpdir_template); if (!tmpdir) exit(1); if (chmod(tmpdir, 0777)) exit(1); if (chdir(tmpdir)) exit(1); } static void thread_start(void* (*fn)(void*), void* arg) { pthread_t th; pthread_attr_t attr; pthread_attr_init(&attr); pthread_attr_setstacksize(&attr, 128 << 10); int i = 0; for (; i < 100; i++) { if (pthread_create(&th, &attr, fn, arg) == 0) { pthread_attr_destroy(&attr); return; } if (errno == EAGAIN) { usleep(50); continue; } break; } exit(1); } typedef struct { int state; } event_t; static void event_init(event_t* ev) { ev->state = 0; } static void event_reset(event_t* ev) { ev->state = 0; } static void event_set(event_t* ev) { if (ev->state) exit(1); __atomic_store_n(&ev->state, 1, __ATOMIC_RELEASE); syscall(SYS_futex, &ev->state, FUTEX_WAKE | FUTEX_PRIVATE_FLAG, 1000000); } static void event_wait(event_t* ev) { while (!__atomic_load_n(&ev->state, __ATOMIC_ACQUIRE)) syscall(SYS_futex, &ev->state, FUTEX_WAIT | FUTEX_PRIVATE_FLAG, 0, 0); } static int event_isset(event_t* ev) { return __atomic_load_n(&ev->state, __ATOMIC_ACQUIRE); } static int event_timedwait(event_t* ev, uint64_t timeout) { uint64_t start = current_time_ms(); uint64_t now = start; for (;;) { uint64_t remain = timeout - (now - start); struct timespec ts; ts.tv_sec = remain / 1000; ts.tv_nsec = (remain % 1000) * 1000 * 1000; syscall(SYS_futex, &ev->state, FUTEX_WAIT | FUTEX_PRIVATE_FLAG, 0, &ts); if (__atomic_load_n(&ev->state, __ATOMIC_ACQUIRE)) return 1; now = current_time_ms(); if (now - start > timeout) return 0; } } static bool write_file(const char* file, const char* what, ...) { char buf[1024]; va_list args; va_start(args, what); vsnprintf(buf, sizeof(buf), what, args); va_end(args); buf[sizeof(buf) - 1] = 0; int len = strlen(buf); int fd = open(file, O_WRONLY | O_CLOEXEC); if (fd == -1) return false; if (write(fd, buf, len) != len) { int err = errno; close(fd); errno = err; return false; } close(fd); return true; } //% This code is derived from puff.{c,h}, found in the zlib development. The //% original files come with the following copyright notice: //% Copyright (C) 2002-2013 Mark Adler, all rights reserved //% version 2.3, 21 Jan 2013 //% This software is provided 'as-is', without any express or implied //% warranty. In no event will the author be held liable for any damages //% arising from the use of this software. //% Permission is granted to anyone to use this software for any purpose, //% including commercial applications, and to alter it and redistribute it //% freely, subject to the following restrictions: //% 1. The origin of this software must not be misrepresented; you must not //% claim that you wrote the original software. If you use this software //% in a product, an acknowledgment in the product documentation would be //% appreciated but is not required. //% 2. Altered source versions must be plainly marked as such, and must not be //% misrepresented as being the original software. //% 3. This notice may not be removed or altered from any source distribution. //% Mark Adler madler@alumni.caltech.edu //% BEGIN CODE DERIVED FROM puff.{c,h} #define MAXBITS 15 #define MAXLCODES 286 #define MAXDCODES 30 #define MAXCODES (MAXLCODES + MAXDCODES) #define FIXLCODES 288 struct puff_state { unsigned char* out; unsigned long outlen; unsigned long outcnt; const unsigned char* in; unsigned long inlen; unsigned long incnt; int bitbuf; int bitcnt; jmp_buf env; }; static int puff_bits(struct puff_state* s, int need) { long val = s->bitbuf; while (s->bitcnt < need) { if (s->incnt == s->inlen) longjmp(s->env, 1); val |= (long)(s->in[s->incnt++]) << s->bitcnt; s->bitcnt += 8; } s->bitbuf = (int)(val >> need); s->bitcnt -= need; return (int)(val & ((1L << need) - 1)); } static int puff_stored(struct puff_state* s) { s->bitbuf = 0; s->bitcnt = 0; if (s->incnt + 4 > s->inlen) return 2; unsigned len = s->in[s->incnt++]; len |= s->in[s->incnt++] << 8; if (s->in[s->incnt++] != (~len & 0xff) || s->in[s->incnt++] != ((~len >> 8) & 0xff)) return -2; if (s->incnt + len > s->inlen) return 2; if (s->outcnt + len > s->outlen) return 1; for (; len--; s->outcnt++, s->incnt++) { if (s->in[s->incnt]) s->out[s->outcnt] = s->in[s->incnt]; } return 0; } struct puff_huffman { short* count; short* symbol; }; static int puff_decode(struct puff_state* s, const struct puff_huffman* h) { int first = 0; int index = 0; int bitbuf = s->bitbuf; int left = s->bitcnt; int code = first = index = 0; int len = 1; short* next = h->count + 1; while (1) { while (left--) { code |= bitbuf & 1; bitbuf >>= 1; int count = *next++; if (code - count < first) { s->bitbuf = bitbuf; s->bitcnt = (s->bitcnt - len) & 7; return h->symbol[index + (code - first)]; } index += count; first += count; first <<= 1; code <<= 1; len++; } left = (MAXBITS + 1) - len; if (left == 0) break; if (s->incnt == s->inlen) longjmp(s->env, 1); bitbuf = s->in[s->incnt++]; if (left > 8) left = 8; } return -10; } static int puff_construct(struct puff_huffman* h, const short* length, int n) { int len; for (len = 0; len <= MAXBITS; len++) h->count[len] = 0; int symbol; for (symbol = 0; symbol < n; symbol++) (h->count[length[symbol]])++; if (h->count[0] == n) return 0; int left = 1; for (len = 1; len <= MAXBITS; len++) { left <<= 1; left -= h->count[len]; if (left < 0) return left; } short offs[MAXBITS + 1]; offs[1] = 0; for (len = 1; len < MAXBITS; len++) offs[len + 1] = offs[len] + h->count[len]; for (symbol = 0; symbol < n; symbol++) if (length[symbol] != 0) h->symbol[offs[length[symbol]]++] = symbol; return left; } static int puff_codes(struct puff_state* s, const struct puff_huffman* lencode, const struct puff_huffman* distcode) { static const short lens[29] = {3, 4, 5, 6, 7, 8, 9, 10, 11, 13, 15, 17, 19, 23, 27, 31, 35, 43, 51, 59, 67, 83, 99, 115, 131, 163, 195, 227, 258}; static const short lext[29] = {0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, 4, 4, 4, 4, 5, 5, 5, 5, 0}; static const short dists[30] = { 1, 2, 3, 4, 5, 7, 9, 13, 17, 25, 33, 49, 65, 97, 129, 193, 257, 385, 513, 769, 1025, 1537, 2049, 3073, 4097, 6145, 8193, 12289, 16385, 24577}; static const short dext[30] = {0, 0, 0, 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9, 10, 10, 11, 11, 12, 12, 13, 13}; int symbol; do { symbol = puff_decode(s, lencode); if (symbol < 0) return symbol; if (symbol < 256) { if (s->outcnt == s->outlen) return 1; if (symbol) s->out[s->outcnt] = symbol; s->outcnt++; } else if (symbol > 256) { symbol -= 257; if (symbol >= 29) return -10; int len = lens[symbol] + puff_bits(s, lext[symbol]); symbol = puff_decode(s, distcode); if (symbol < 0) return symbol; unsigned dist = dists[symbol] + puff_bits(s, dext[symbol]); if (dist > s->outcnt) return -11; if (s->outcnt + len > s->outlen) return 1; while (len--) { if (dist <= s->outcnt && s->out[s->outcnt - dist]) s->out[s->outcnt] = s->out[s->outcnt - dist]; s->outcnt++; } } } while (symbol != 256); return 0; } static int puff_fixed(struct puff_state* s) { static int virgin = 1; static short lencnt[MAXBITS + 1], lensym[FIXLCODES]; static short distcnt[MAXBITS + 1], distsym[MAXDCODES]; static struct puff_huffman lencode, distcode; if (virgin) { lencode.count = lencnt; lencode.symbol = lensym; distcode.count = distcnt; distcode.symbol = distsym; short lengths[FIXLCODES]; int symbol; for (symbol = 0; symbol < 144; symbol++) lengths[symbol] = 8; for (; symbol < 256; symbol++) lengths[symbol] = 9; for (; symbol < 280; symbol++) lengths[symbol] = 7; for (; symbol < FIXLCODES; symbol++) lengths[symbol] = 8; puff_construct(&lencode, lengths, FIXLCODES); for (symbol = 0; symbol < MAXDCODES; symbol++) lengths[symbol] = 5; puff_construct(&distcode, lengths, MAXDCODES); virgin = 0; } return puff_codes(s, &lencode, &distcode); } static int puff_dynamic(struct puff_state* s) { static const short order[19] = {16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15}; int nlen = puff_bits(s, 5) + 257; int ndist = puff_bits(s, 5) + 1; int ncode = puff_bits(s, 4) + 4; if (nlen > MAXLCODES || ndist > MAXDCODES) return -3; short lengths[MAXCODES]; int index; for (index = 0; index < ncode; index++) lengths[order[index]] = puff_bits(s, 3); for (; index < 19; index++) lengths[order[index]] = 0; short lencnt[MAXBITS + 1], lensym[MAXLCODES]; struct puff_huffman lencode = {lencnt, lensym}; int err = puff_construct(&lencode, lengths, 19); if (err != 0) return -4; index = 0; while (index < nlen + ndist) { int symbol; int len; symbol = puff_decode(s, &lencode); if (symbol < 0) return symbol; if (symbol < 16) lengths[index++] = symbol; else { len = 0; if (symbol == 16) { if (index == 0) return -5; len = lengths[index - 1]; symbol = 3 + puff_bits(s, 2); } else if (symbol == 17) symbol = 3 + puff_bits(s, 3); else symbol = 11 + puff_bits(s, 7); if (index + symbol > nlen + ndist) return -6; while (symbol--) lengths[index++] = len; } } if (lengths[256] == 0) return -9; err = puff_construct(&lencode, lengths, nlen); if (err && (err < 0 || nlen != lencode.count[0] + lencode.count[1])) return -7; short distcnt[MAXBITS + 1], distsym[MAXDCODES]; struct puff_huffman distcode = {distcnt, distsym}; err = puff_construct(&distcode, lengths + nlen, ndist); if (err && (err < 0 || ndist != distcode.count[0] + distcode.count[1])) return -8; return puff_codes(s, &lencode, &distcode); } static int puff(unsigned char* dest, unsigned long* destlen, const unsigned char* source, unsigned long sourcelen) { struct puff_state s = { .out = dest, .outlen = *destlen, .outcnt = 0, .in = source, .inlen = sourcelen, .incnt = 0, .bitbuf = 0, .bitcnt = 0, }; int err; if (setjmp(s.env) != 0) err = 2; else { int last; do { last = puff_bits(&s, 1); int type = puff_bits(&s, 2); err = type == 0 ? puff_stored(&s) : (type == 1 ? puff_fixed(&s) : (type == 2 ? puff_dynamic(&s) : -1)); if (err != 0) break; } while (!last); } *destlen = s.outcnt; return err; } //% END CODE DERIVED FROM puff.{c,h} #define ZLIB_HEADER_WIDTH 2 static int puff_zlib_to_file(const unsigned char* source, unsigned long sourcelen, int dest_fd) { if (sourcelen < ZLIB_HEADER_WIDTH) return 0; source += ZLIB_HEADER_WIDTH; sourcelen -= ZLIB_HEADER_WIDTH; const unsigned long max_destlen = 132 << 20; void* ret = mmap(0, max_destlen, PROT_WRITE | PROT_READ, MAP_PRIVATE | MAP_ANON, -1, 0); if (ret == MAP_FAILED) return -1; unsigned char* dest = (unsigned char*)ret; unsigned long destlen = max_destlen; int err = puff(dest, &destlen, source, sourcelen); if (err) { munmap(dest, max_destlen); errno = -err; return -1; } if (write(dest_fd, dest, destlen) != (ssize_t)destlen) { munmap(dest, max_destlen); return -1; } return munmap(dest, 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; } #define FS_IOC_SETFLAGS _IOW('f', 2, long) static void remove_dir(const char* dir) { int iter = 0; DIR* dp = 0; retry: while (umount2(dir, MNT_DETACH | UMOUNT_NOFOLLOW) == 0) { } dp = opendir(dir); if (dp == NULL) { if (errno == EMFILE) { exit(1); } exit(1); } struct dirent* ep = 0; while ((ep = readdir(dp))) { if (strcmp(ep->d_name, ".") == 0 || strcmp(ep->d_name, "..") == 0) continue; char filename[FILENAME_MAX]; snprintf(filename, sizeof(filename), "%s/%s", dir, ep->d_name); while (umount2(filename, MNT_DETACH | UMOUNT_NOFOLLOW) == 0) { } struct stat st; if (lstat(filename, &st)) exit(1); if (S_ISDIR(st.st_mode)) { remove_dir(filename); continue; } int i; for (i = 0;; i++) { if (unlink(filename) == 0) break; if (errno == EPERM) { int fd = open(filename, O_RDONLY); if (fd != -1) { long flags = 0; if (ioctl(fd, FS_IOC_SETFLAGS, &flags) == 0) { } close(fd); continue; } } if (errno == EROFS) { break; } if (errno != EBUSY || i > 100) exit(1); if (umount2(filename, MNT_DETACH | UMOUNT_NOFOLLOW)) exit(1); } } closedir(dp); for (int i = 0;; i++) { if (rmdir(dir) == 0) break; if (i < 100) { if (errno == EPERM) { int fd = open(dir, O_RDONLY); if (fd != -1) { long flags = 0; if (ioctl(fd, FS_IOC_SETFLAGS, &flags) == 0) { } close(fd); continue; } } if (errno == EROFS) { break; } if (errno == EBUSY) { if (umount2(dir, MNT_DETACH | UMOUNT_NOFOLLOW)) exit(1); continue; } if (errno == ENOTEMPTY) { if (iter < 100) { iter++; goto retry; } } } exit(1); } } static void kill_and_wait(int pid, int* status) { kill(-pid, SIGKILL); kill(pid, SIGKILL); for (int i = 0; i < 100; i++) { if (waitpid(-1, status, WNOHANG | __WALL) == pid) return; usleep(1000); } DIR* dir = opendir("/sys/fs/fuse/connections"); if (dir) { for (;;) { struct dirent* ent = readdir(dir); if (!ent) break; if (strcmp(ent->d_name, ".") == 0 || strcmp(ent->d_name, "..") == 0) continue; char abort[300]; snprintf(abort, sizeof(abort), "/sys/fs/fuse/connections/%s/abort", ent->d_name); int fd = open(abort, O_WRONLY); if (fd == -1) { continue; } if (write(fd, abort, 1) < 0) { } close(fd); } closedir(dir); } else { } while (waitpid(-1, status, __WALL) != pid) { } } static void reset_loop() { char buf[64]; snprintf(buf, sizeof(buf), "/dev/loop%llu", procid); int loopfd = open(buf, O_RDWR); if (loopfd != -1) { ioctl(loopfd, LOOP_CLR_FD, 0); close(loopfd); } } static void setup_test() { prctl(PR_SET_PDEATHSIG, SIGKILL, 0, 0, 0); setpgrp(); write_file("/proc/self/oom_score_adj", "1000"); if (symlink("/dev/binderfs", "./binderfs")) { } } struct thread_t { int created, call; event_t ready, done; }; static struct thread_t threads[16]; static void execute_call(int call); static int running; static void* thr(void* arg) { struct thread_t* th = (struct thread_t*)arg; for (;;) { event_wait(&th->ready); event_reset(&th->ready); execute_call(th->call); __atomic_fetch_sub(&running, 1, __ATOMIC_RELAXED); event_set(&th->done); } return 0; } static void execute_one(void) { int i, call, thread; for (call = 0; call < 6; call++) { for (thread = 0; thread < (int)(sizeof(threads) / sizeof(threads[0])); thread++) { struct thread_t* th = &threads[thread]; if (!th->created) { th->created = 1; event_init(&th->ready); event_init(&th->done); event_set(&th->done); thread_start(thr, th); } if (!event_isset(&th->done)) continue; event_reset(&th->done); th->call = call; __atomic_fetch_add(&running, 1, __ATOMIC_RELAXED); event_set(&th->ready); event_timedwait(&th->done, 50 + (call == 0 ? 4000 : 0)); break; } } for (i = 0; i < 100 && __atomic_load_n(&running, __ATOMIC_RELAXED); i++) sleep_ms(1); } static void execute_one(void); #define WAIT_FLAGS __WALL static void loop(void) { int iter = 0; for (;; iter++) { char cwdbuf[32]; sprintf(cwdbuf, "./%d", iter); if (mkdir(cwdbuf, 0777)) exit(1); reset_loop(); int pid = fork(); if (pid < 0) exit(1); if (pid == 0) { if (chdir(cwdbuf)) exit(1); setup_test(); execute_one(); exit(0); } int status = 0; uint64_t start = current_time_ms(); for (;;) { if (waitpid(-1, &status, WNOHANG | WAIT_FLAGS) == pid) break; sleep_ms(1); if (current_time_ms() - start < 5000) continue; kill_and_wait(pid, &status); break; } remove_dir(cwdbuf); } } uint64_t r[3] = {0xffffffffffffffff, 0x0, 0xffffffffffffffff}; void execute_call(int call) { intptr_t res = 0; switch (call) { case 0: memcpy((void*)0x20000040, "udf\000", 4); memcpy((void*)0x20000c40, "./bus\000", 6); memcpy( (void*)0x20000c80, "\x78\x9c\xec\xdd\x4f\x6c\x1c\xd7\x7d\x07\xf0\xdf\x1b\x91\x22\x25\xb7" "\x15\x13\xdb\x8a\xdd\xc6\xc5\xa6\x2d\x52\x99\xb1\x5c\xfd\x8b\xa9\x58" "\x85\xbb\xaa\x69\xb6\x01\x64\x99\x08\xc5\xdc\x02\x70\x45\xae\x54\xc2" "\xd4\x92\x20\xa9\x46\x36\xd2\x82\xe9\xa5\x87\x1e\x02\x14\x45\x0f\x39" "\x11\x68\x8d\x02\x09\x1a\x18\x4d\x11\x14\xe8\x85\x6d\x5d\x20\x39\xd4" "\x87\x22\xa7\x9e\x88\x16\x36\x82\xa0\x07\xb6\x08\x90\x53\xc0\x60\x66" "\xdf\x92\x4b\x8a\xb2\x18\x53\x94\x48\xfb\xf3\xb1\xa9\xef\xee\xcc\x7b" "\x33\xef\xcd\x8c\x67\x64\x41\x6f\x5e\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x11\xbf\xff\xca\xe5\x33\x67\xd3\xa3\x6e" "\x05\x00\xf0\x30\x5d\x1d\xfb\xd2\x99\x73\x9e\xff\x00\xf0\xb1\x72\xcd" "\xff\xff\x03\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xc0\x41\x97\xa2" "\x88\xc7\x23\xc5\xdc\xd5\xb5\x34\x51\x7d\x6f\xeb\xbf\x32\xdd\xba\x7d" "\x67\x7c\x78\x64\xe7\x6a\xc7\x52\x55\xf3\x48\x55\xbe\xfc\xe9\x3f\x7b" "\xee\xfc\x85\xcf\xbf\x30\x74\xb1\x93\x1f\x5c\xff\x41\x7b\x3a\x5e\x1b" "\xbb\x76\xb9\xf6\xf2\xec\xad\xb9\xf9\xe6\xc2\x42\x73\xaa\x36\xde\x9a" "\x9e\x9c\x9d\x6a\xee\x7a\x0b\x7b\xad\xbf\xdd\x60\x75\x00\x6a\xb7\x5e" "\xbf\x3d\x75\xe3\xc6\x42\xed\xdc\xf3\xe7\xb7\xac\xbe\x33\xf0\x7e\xdf" "\x63\x27\x07\x2e\x0d\x3d\x7b\xfa\x99\x4e\xd9\xf1\xe1\x91\x91\xb1\xae" "\x32\x3d\xbd\x1f\x7a\xef\x77\xb9\xd7\x08\x8f\xa3\x51\xc4\xe9\x48\xf1" "\xdc\x77\x7e\x94\x1a\x11\x51\xc4\xde\x8f\xc5\x7d\xae\x9d\xfd\x76\xac" "\xea\xc4\x60\xd5\x89\xf1\xe1\x91\xaa\x23\x33\xd3\x8d\xd6\x62\xb9\x72" "\xb4\x73\x20\x8a\x88\x5a\x57\xa5\x7a\xe7\x18\x3d\x84\x73\xb1\x27\xf5" "\x88\xa5\xb2\xf9\x65\x83\x07\xcb\xee\x8d\xcd\x35\xe6\x1b\xd7\x67\x9a" "\xb5\xd1\xc6\xfc\xe2\xf4\xe2\xf4\x6c\x6b\x34\xb5\x5b\x5b\xf6\xa7\x16" "\x45\x5c\x4c\x11\xcb\x11\xb1\xda\x77\xf7\xe6\x7a\xa3\x88\x9e\x48\xf1" "\xcd\x13\x6b\xe9\x7a\x44\x1c\xe9\x1c\x87\xcf\x55\x03\x83\xef\xdd\x8e" "\x62\x1f\xfb\xb8\x0b\x65\x3b\x6b\xbd\x11\xcb\xc5\x21\x38\x67\x07\x58" "\x5f\x14\xf1\x6a\xa4\xf8\xc9\x3b\xa7\x62\xb2\x3c\x66\xf9\x27\x3e\x1b" "\xf1\x6a\x99\xdf\x8b\x78\xab\xcc\x97\x22\x52\x79\x61\x5c\x88\x78\x6f" "\x87\xeb\x88\xc3\xa9\x27\x8a\xf8\x8b\xf2\xfc\x5f\x5a\x4b\x53\xd5\xfd" "\xa0\x73\x5f\xb9\xf2\xe5\xda\x17\x5b\x37\x66\xbb\xca\x76\xee\x2b\x87" "\xfe\xf9\x10\xd5\x83\xef\xe1\x38\xe0\xf7\xa6\xfe\x28\xa2\x51\xdd\xf1" "\xd7\xd2\x87\xff\xcd\x0e\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x0f\xda\xb1\x28\xe2\xe9\x48\xf1\xca\x7f\xfe\x71\x35\xae\x38" "\xaa\x71\xe9\x27\x2e\x0d\xfd\xc1\xc0\x2f\x77\x8f\x19\x7f\xea\x3e\xdb" "\x29\xcb\x3e\x1f\x11\x4b\xc5\xee\xc6\xe4\x1e\xcd\x43\x88\x47\xd3\x68" "\x4a\x8f\x78\x2c\xf1\xc7\x59\x7f\x14\xf1\x27\x79\xfc\xdf\xd7\x1f\x75" "\x63\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x3e" "\xd6\x8a\xf8\x61\xa4\x78\xf1\xdd\x53\x69\x39\x75\xcf\x29\x3e\xdd\xba" "\x59\xbb\xd6\xb8\x3e\xd3\x9e\x15\xb6\x33\xf7\x6f\x67\xce\xf4\xf5\xf5" "\xf5\xf5\x5a\x6a\x67\x3d\xe7\x44\xce\xa5\x9c\xcb\x39\x57\x72\xae\xe6" "\x8c\x22\xcf\x31\x9d\xb7\x53\x2f\x72\xfd\x9c\x4b\x39\x97\x73\xae\xe4" "\x5c\xcd\x19\x47\xf2\xfe\x73\xd6\x73\x4e\xe4\x5c\xca\xb9\x9c\x73\x25" "\xe7\x6a\xce\x72\xe7\x55\xfd\x9c\xf5\x9c\x13\x39\x97\x72\x2e\xe7\x5c" "\xc9\xb9\x9a\x33\x0e\xc8\xdc\xbd\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x1f\x25\x45\x14\xf1\xb3\x48\xf1\x8d\xaf\xae\xa5\x48" "\x11\x51\x8f\x98\x88\x76\xae\xf4\x3d\xea\xd6\x01\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\xa5\xbe\x54\xc4\x77\x23\x45\xed\x0f" "\xeb\x1b\xcb\x7a\x22\x22\x55\xff\xb6\x9d\x2a\x7f\xb9\x10\xf5\xa3\x65" "\x7e\x32\xea\x43\x65\xbe\x14\xf5\xcb\x39\x1b\x55\xf6\xd4\xbf\xfe\x08" "\xda\xcf\xde\xf4\xa6\x22\x7e\x10\x29\xfa\xfa\xdf\xde\x38\xe1\xf9\xfc" "\xf7\xb6\xbf\x6d\x5c\x06\xf1\xd6\xd7\x36\xbf\xfd\x6a\x4f\x3b\x8f\x74" "\x56\x0e\xbc\xdf\xf7\xd8\xc9\x13\x97\x86\x46\x7e\xfd\xa9\x7b\x7d\x4e" "\x3b\x35\x60\xf0\xca\x74\xeb\xf6\x9d\xda\xf8\xf0\xc8\xc8\x58\xd7\xe2" "\x9e\xbc\xf7\x4f\x76\x2d\x1b\xc8\xfb\x2d\x1e\x4c\xd7\x89\x88\x85\x37" "\xde\x7c\xbd\x31\x33\xd3\x9c\xff\x18\x7e\x78\x3f\x5f\x48\x07\xa5\x3d" "\x3e\xf8\xf0\x28\x3e\xac\xf5\xef\xb4\xea\x51\xdf\x99\x78\x18\xca\xe7" "\xff\x7b\x91\xe2\x77\xde\xfd\xaf\xce\x03\xbf\xf3\xfc\xff\xa5\xf6\xb7" "\x8d\x27\x7c\xfc\xf4\x4f\x37\x9f\xff\x2f\x6e\xdf\xd0\x3e\x3d\xff\x1f" "\xef\x5a\xf6\x62\xfe\xdd\x48\x6f\x4f\x44\xff\xe2\xad\xb9\xde\x93\x11" "\xfd\x0b\x6f\xbc\x79\x7a\xfa\x56\xe3\x66\xf3\x66\xb3\x75\xe1\xcc\x99" "\x2f\x0c\x0d\x7d\xe1\xfc\x99\xde\xa3\x11\xfd\x37\xa6\x67\x9a\x5d\x9f" "\xf6\x7c\xa8\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x1e" "\xae\x54\xc4\xef\x45\x8a\xc6\x0f\xd6\x52\x2d\x22\xee\x54\xe3\xb5\x06" "\x2e\x0d\x3d\x7b\xfa\x99\x23\x71\xa4\x1a\x6f\xb5\x65\xdc\xd6\x6b\x63" "\xd7\x2e\xd7\x5e\x9e\xbd\x35\x37\xdf\x5c\x58\x68\x4e\xd5\xc6\x5b\xd3" "\x93\xb3\x53\xcd\xdd\xee\xae\xbf\x1a\xee\x35\x3e\x3c\xb2\x2f\x9d\xb9" "\xaf\x63\xfb\xdc\xfe\x63\xfd\x2f\xcf\xce\xbd\x31\x3f\x7d\xf3\x8f\x16" "\x77\x5c\x7f\xbc\xff\xf2\xf5\x85\xc5\xf9\xc6\xe4\xce\xab\xe3\x58\x14" "\x11\xf5\xee\x25\x83\x55\x83\xc7\x87\x47\xaa\x46\xcf\x4c\x37\x5a\x55" "\xd5\xd1\x1d\x07\xd3\xfd\xe2\x7a\x53\x11\xff\x1d\x29\x26\x2f\xd4\xd2" "\x67\xf2\xb2\x3c\xfe\x6f\xfb\x08\xff\x2d\xe3\xff\x97\xb6\x6f\x68\xa7" "\x31\x7f\xff\xb1\xf7\xf1\x7f\x9f\xe8\x5a\x56\xee\x33\xa5\x22\x7e\x1a" "\x29\x7e\xfb\x2f\x9f\x8a\xcf\x54\xed\x3c\x1e\x77\x1d\xb3\x5c\xee\x6f" "\x23\xc5\xe0\xc5\x4f\xe7\x72\x71\xb4\x2c\xd7\x69\x43\xfb\xbd\x02\xed" "\x91\x81\x65\xd9\xff\x8b\x14\xff\xf0\xb3\xad\x65\x3b\xe3\x21\x1f\xdf" "\x2c\x7b\x76\xd7\x07\xf6\x90\x28\xcf\xff\x89\x48\xf1\xdd\x3f\xff\x56" "\xfc\x46\x5e\xb6\xf5\xfd\x0f\x3b\x9f\xff\xe3\xdb\x37\xb4\x4f\xe3\x3f" "\x9f\xe8\x5a\x76\x7c\xcb\xfb\x0a\xf6\xdc\x75\xf2\xf9\x3f\x1d\x29\x5e" "\x7a\xfc\xed\xf8\xcd\xbc\xec\x83\xde\xff\xd1\x79\xf7\xc6\xa9\x5c\x78" "\xe3\xfd\x1c\xfb\x74\xfe\x9f\xec\x5a\x36\x90\xf7\xfb\x5b\x0f\xa6\xeb" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x87\x5a\x6f\x2a\xe2\xef\x22\xc5" "\x33\x23\x3d\xe9\x85\xbc\x6c\x37\x7f\xff\x6f\x6a\xfb\x86\xf6\xe9\xef" "\x7f\x7d\xaa\x6b\xd9\xd4\x43\x9a\xaf\x68\xcf\x07\x15\x00\x00\x00\x00" "\x0e\x88\xde\x54\xc4\x0f\x23\xc5\xcd\xc5\xb7\x37\xc6\x50\x6f\x1d\xff" "\xdd\x35\xfe\xf3\x77\x37\xc7\x7f\x0e\xa7\x6d\x6b\xab\x3f\xe7\xfb\x95" "\xea\xbd\x01\x0f\xf2\xcf\xff\xba\x0d\xe4\xfd\x4e\xec\xbd\xdb\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x70\xa0\xa4\x54" "\xc4\x0b\x79\x3e\xf5\x89\xfb\xcc\xa7\xbe\x12\x29\x5e\xf9\xf1\x73\xb9" "\x5c\x3a\x59\x96\xeb\xcc\x03\x3f\x50\xfd\xda\x7f\x75\xb6\x75\xfa\xf2" "\xcc\xcc\xec\x64\x63\xb1\x71\x7d\xa6\x59\x1b\x9b\x6b\x4c\x36\xcb\xba" "\x4f\x44\x8a\xb5\xbf\xf9\x74\xae\x5b\x54\xf3\xab\x77\xe6\x9b\x6f\xcf" "\xf1\xbe\x39\x17\xfb\x7c\xa4\x18\xf9\x76\xa7\x6c\x1c\x8d\xe2\xc9\x1f" "\x77\xe6\x26\x7f\x62\xb3\xec\xd9\xb2\xec\x27\x22\xc5\xff\xfc\x7d\x77" "\xd9\xd8\x98\xc7\xfa\xc9\xcd\xb2\xe7\xca\xb2\x7f\x1d\x29\xbe\xf2\x4f" "\x3b\x97\x3d\xb9\x59\xf6\x7c\x59\xf6\x5b\x91\xe2\xfb\x5f\xa9\x75\xca" "\x1e\x2f\xcb\x76\xde\x8f\xfa\xa9\xcd\xb2\xcf\x4f\xce\xce\xdc\xf5\x2a" "\x54\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xf8" "\x45\xf5\xa6\x22\xfe\x2c\x52\xfc\xef\xad\xe5\x8d\xb1\xfc\x79\xfe\xff" "\xde\xae\xaf\x95\xb7\xbe\xd6\x35\xdf\xff\x36\x77\xaa\x79\xfe\x07\xaa" "\xf9\xff\xef\xf5\xb9\xbb\x6e\x67\x5f\xf7\x9b\xff\x7f\xe0\xc1\x75\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\x0e\x8d\x14" "\x45\xbc\x19\x29\xe6\xae\xae\xa5\x95\xbe\xf2\x7b\x5b\xff\x95\xe9\xd6" "\xed\x3b\xe3\xc3\x23\x3b\x57\x3b\x96\xaa\x9a\x47\xaa\xf2\xe5\x4f\xff" "\xd9\x73\xe7\x2f\x7c\xfe\x85\xa1\x8b\x9d\xfc\xe0\xfa\x0f\xda\xd3\xf1" "\xda\xd8\xb5\xcb\xb5\x97\x67\x6f\xcd\xcd\x37\x17\x16\x9a\x53\xb5\xf1" "\xd6\xf4\xe4\xec\x54\x73\xd7\x5b\xd8\x6b\xfd\xed\x06\xab\x03\x50\xbb" "\xf5\xfa\xed\xa9\x1b\x37\x16\x6a\xe7\x9e\x3f\xbf\x65\xf5\x9d\x81\xf7" "\xfb\x1e\x3b\x39\x70\x69\xe8\xd9\xd3\xcf\x74\xca\x8e\x0f\x8f\x8c\x8c" "\x75\x95\xe9\xe9\xdd\xba\xc9\x6f\x7f\xe8\xc6\x6c\x9e\xd7\xed\x8e\x46" "\x11\x7f\x15\x29\x9e\xfb\xce\x8f\xd2\xbf\xf4\x45\x14\xb1\xf7\x63\x71" "\x9f\x6b\x67\xbf\x1d\xab\x3a\x31\x58\x75\x62\x7c\x78\xa4\xea\xc8\xcc" "\x74\xa3\xb5\x58\xae\x1c\xed\x1c\x88\x22\xa2\xd6\x55\xa9\xde\x39\x46" "\xbb\x3c\x17\x8f\x4c\x3d\x62\xa9\x6c\x7e\xd9\xe0\xc1\xb2\x7b\x63\x73" "\x8d\xf9\xc6\xf5\x99\x66\x6d\xb4\x31\xbf\x38\xfd\xcf\xcd\xd9\xd6\x68" "\x6a\xb7\xb6\xec\x4f\x2d\x8a\xb8\x98\x22\x96\x23\x62\xb5\xef\xee\xcd" "\xf5\x46\x11\xaf\x47\x8a\x6f\x9e\x58\x4b\xff\xda\x17\x71\xa4\x73\x1c" "\x3e\x77\x75\xec\x4b\x67\xce\xdd\xbb\x1d\xc5\x3e\xf6\x71\x17\xca\x76" "\xd6\x7a\x23\x96\x8b\x43\x70\xce\x0e\xb0\xbe\x28\xe2\x1f\x23\xc5\x4f" "\xde\x39\x15\xff\xd6\x17\xd1\x13\xed\x9f\xf8\x6c\xc4\xab\x65\x7e\x2f" "\xe2\xad\x32\x5f\x8a\x48\xe5\x85\x71\x21\xe2\xbd\x1d\xae\x23\x0e\xa7" "\x9e\x28\xe2\xff\xcb\xf3\x7f\x69\x2d\xbd\xd3\x57\xde\x0f\x3a\xf7\x95" "\x2b\x5f\xae\x7d\xb1\x75\x63\xb6\xab\x6c\xe7\xbe\x72\xe8\x9f\x0f\x0f" "\xd3\x01\xbf\x37\xf5\x47\x11\xdf\xaf\xee\xf8\x6b\xe9\xdf\xfd\x77\x0d" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x70\x80\x14\xf1\x6b" "\x91\xe2\xc5\x77\x4f\xa5\x6a\x7c\xf0\xc6\x98\xe2\xe9\xd6\xcd\xda\xb5" "\xc6\xf5\x99\xf6\xb0\xbe\xce\xd8\xbf\xce\x98\xe9\xf5\xf5\xf5\xf5\x5a" "\x6a\x67\x3d\xe7\x44\xce\xa5\x9c\xcb\x39\x57\x72\xae\xe6\x8c\x22\xd7" "\xcf\x59\xcf\x39\x91\x73\x29\xe7\x72\x99\xbd\xed\xb1\xc6\x55\xfd\x9c" "\x71\x24\xd7\xcf\x59\xcf\x39\x91\x73\x29\xe7\x72\xce\x95\x9c\xab\x39" "\xa3\x27\xd7\xcf\x59\xcf\x39\x91\x73\x29\xe7\x72\xce\x95\x9c\xab\x39" "\xe3\x80\x8c\xdd\x03\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x3e\x5a\x8a\xea\x9f\x14\xdf\xf8\xea\x5a\x5a\xef\x6b\xcf\x2f" "\x3d\x11\xed\x5c\x31\x1f\xe8\x47\xde\xcf\x03\x00\x00\xff\xff\x75\x41" "\xf7\x54", 3096); syz_mount_image(0x20000040, 0x20000c40, 0x2000000, 0x20000080, 1, 0xc18, 0x20000c80); break; case 1: memcpy((void*)0x20000140, "./bus\000", 6); res = syscall(__NR_creat, 0x20000140ul, 0ul); if (res != -1) r[0] = res; break; case 2: res = syscall(__NR_io_setup, 0x7fd, 0x20000000ul); if (res != -1) r[1] = *(uint64_t*)0x20000000; break; case 3: memcpy((void*)0x20000100, "cgroup.controllers\000", 19); res = syscall(__NR_openat, 0xffffff9c, 0x20000100ul, 0x275aul, 0ul); if (res != -1) r[2] = res; break; case 4: syscall(__NR_write, r[2], 0x20000180ul, 0x208e24bul); break; case 5: *(uint64_t*)0x20000540 = 0x200000c0; *(uint64_t*)0x200000c0 = 0x20000; *(uint32_t*)0x200000c8 = 0; *(uint32_t*)0x200000cc = 0; *(uint16_t*)0x200000d0 = 1; *(uint16_t*)0x200000d2 = 0; *(uint32_t*)0x200000d4 = r[0]; *(uint64_t*)0x200000d8 = 0x20000000; *(uint64_t*)0x200000e0 = 0x377140be6b5ef4c7; *(uint64_t*)0x200000e8 = 0; *(uint64_t*)0x200000f0 = 0; *(uint32_t*)0x200000f8 = 0; *(uint32_t*)0x200000fc = -1; syscall(__NR_io_submit, r[1], 0x20000000000001cbul, 0x20000540ul); break; } } int main(void) { syscall(__NR_mmap, 0x1ffff000ul, 0x1000ul, 0ul, 0x32ul, -1, 0ul); syscall(__NR_mmap, 0x20000000ul, 0x1000000ul, 7ul, 0x32ul, -1, 0ul); syscall(__NR_mmap, 0x21000000ul, 0x1000ul, 0ul, 0x32ul, -1, 0ul); for (procid = 0; procid < 6; procid++) { if (fork() == 0) { use_temporary_dir(); loop(); } } sleep(1000000); return 0; }