// https://syzkaller.appspot.com/bug?id=52da7fe45821e13541722c281eec0d818fe822b2 // 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 #ifndef __NR_memfd_create #define __NR_memfd_create 279 #endif #ifndef __NR_mmap #define __NR_mmap 222 #endif #ifndef __NR_openat #define __NR_openat 56 #endif static unsigned long long procid; 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, 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; } static void setup_common() { if (mount(0, "/sys/fs/fuse/connections", "fusectl", 0, 0)) { } } static void setup_binderfs() { if (mkdir("/dev/binderfs", 0777)) { } if (mount("binder", "/dev/binderfs", "binder", 0, NULL)) { } if (symlink("/dev/binderfs", "./binderfs")) { } } static void loop(); static void sandbox_common() { prctl(PR_SET_PDEATHSIG, SIGKILL, 0, 0, 0); setsid(); struct rlimit rlim; rlim.rlim_cur = rlim.rlim_max = (200 << 20); setrlimit(RLIMIT_AS, &rlim); rlim.rlim_cur = rlim.rlim_max = 32 << 20; setrlimit(RLIMIT_MEMLOCK, &rlim); rlim.rlim_cur = rlim.rlim_max = 136 << 20; setrlimit(RLIMIT_FSIZE, &rlim); rlim.rlim_cur = rlim.rlim_max = 1 << 20; setrlimit(RLIMIT_STACK, &rlim); rlim.rlim_cur = rlim.rlim_max = 128 << 20; setrlimit(RLIMIT_CORE, &rlim); rlim.rlim_cur = rlim.rlim_max = 256; setrlimit(RLIMIT_NOFILE, &rlim); if (unshare(CLONE_NEWNS)) { } if (mount(NULL, "/", NULL, MS_REC | MS_PRIVATE, NULL)) { } if (unshare(CLONE_NEWIPC)) { } if (unshare(0x02000000)) { } if (unshare(CLONE_NEWUTS)) { } if (unshare(CLONE_SYSVSEM)) { } typedef struct { const char* name; const char* value; } sysctl_t; static const sysctl_t sysctls[] = { {"/proc/sys/kernel/shmmax", "16777216"}, {"/proc/sys/kernel/shmall", "536870912"}, {"/proc/sys/kernel/shmmni", "1024"}, {"/proc/sys/kernel/msgmax", "8192"}, {"/proc/sys/kernel/msgmni", "1024"}, {"/proc/sys/kernel/msgmnb", "1024"}, {"/proc/sys/kernel/sem", "1024 1048576 500 1024"}, }; unsigned i; for (i = 0; i < sizeof(sysctls) / sizeof(sysctls[0]); i++) write_file(sysctls[i].name, sysctls[i].value); } static int wait_for_loop(int pid) { if (pid < 0) exit(1); int status = 0; while (waitpid(-1, &status, __WALL) != pid) { } return WEXITSTATUS(status); } static void drop_caps(void) { struct __user_cap_header_struct cap_hdr = {}; struct __user_cap_data_struct cap_data[2] = {}; cap_hdr.version = _LINUX_CAPABILITY_VERSION_3; cap_hdr.pid = getpid(); if (syscall(SYS_capget, &cap_hdr, &cap_data)) exit(1); const int drop = (1 << CAP_SYS_PTRACE) | (1 << CAP_SYS_NICE); cap_data[0].effective &= ~drop; cap_data[0].permitted &= ~drop; cap_data[0].inheritable &= ~drop; if (syscall(SYS_capset, &cap_hdr, &cap_data)) exit(1); } static int do_sandbox_none(void) { if (unshare(CLONE_NEWPID)) { } int pid = fork(); if (pid != 0) return wait_for_loop(pid); setup_common(); sandbox_common(); drop_caps(); if (unshare(CLONE_NEWNET)) { } write_file("/proc/sys/net/ipv4/ping_group_range", "0 65535"); setup_binderfs(); loop(); exit(1); } void loop(void) { memcpy((void*)0x20000040, "nilfs2\000", 7); memcpy((void*)0x20000a80, "./file0\000", 8); *(uint16_t*)0x20000240 = 0; *(uint8_t*)0x20000242 = 0; sprintf((char*)0x20000243, "0x%016llx", (long long)-1); *(uint64_t*)0x20000255 = 0; memcpy( (void*)0x2000025d, "\x3d\xa4\x72\x87\xf9\x04\x44\x0d\x9c\xbf\x55\x76\xdd\x5e\x41\x92\xe6\x2c" "\x39\x43\xf1\xb2\x2c\x56\x85\xfd\xa7\x80\x32\xb0\xef\xaf\xd4\x96\x2a\xdc" "\x19\xb8\xf7\xe9\x63\x13\x73\x67\x5c\x9e\xfa\xcd\xd3\x70\xd6\xbd\xc7\xe3" "\x90\x3b\xe8\x03\x67\x1e\xad\x32\x66\x9e\x67\x9c\x19\x0b\xd7\xe1\x40\x5b" "\xa2\x20\x6d\x11\x12\x77\x04\x1e\x44\x35\x16\x9b\x58\x0e\xe7\x77\x7f\x48" "\xb0\x9b\x9f\xa7\xad\x8a\x6e\x36\x34\xfd\xef\xf9\xa6\xef\x9a\xe5\x37\x53" "\x07\xbd\x20\xc7\x3c\x25\x82\x8b\x18\xa9\xc1\x2f\x8b\x21\xd9\x6a\x26\xa1" "\x0b\xed\x6e\xc8\x53\x0a\xe8\x74\x92\x4b\x10\xf7\x29\xa7\x07\x21\xe2\xe4" "\x20\xcb\x54\x27\x50\xa5\x7f\x86\xec\x6a\xcd\x3a\xef\x03\xe8\xcc\xb0\x6b" "\x13\x25\x5c\x47\x07\x90\x2a\x2d\xe5\xce\x04\xbe\x0f\xb1\xdb\x83\x69\x4e" "\x78\x96\x33\xfa\xb3\xa6\xf6\x4e\xa8\xad\x0b\x2c\x59\xd3\xbe\x50\xef\x0e" "\xf2\x77\x8d\x3d\x63\x9b\x07\x58\xb2\xfc\x8f\xfd\xa9\x7f\xcf\x85\xbd\x4c" "\x0b\x47\xf7\x6f\x9e\xb4\xd4\x4d\x51\x47\xe9\x09\x00\x00\x00\x00\x00\x00" "\x00\xa5\x59\x47\x3b\xb2\x23\x17\xe5\x21\x7c\xc4\x19\xa7\x90\x02\x91\x0f" "\x6f\xdc\x5d\x3f\x28\x27\xab\x2a\x0d\xff\x41\x16\x6d\xcc\x88\x37\x90\xfe" "\x20\xba\xd6\x56\x60\x5f\x60\xb4\x79\x2f\x50\xe2\x5e\x78\xb9\xfd\x72\x87" "\x5c\xd8\x03\x50\xe4\x12\x5a\x9d\x39\xf7\xd4\x0e\xc7\x34\xba\x8e\x6d\xa3" "\x85\x3f\x5c\x4d\x6a\x40\x26\x44\x88\x14\x82\xd7\xb7\x03\xe1\xe7\x03\x6c" "\xd7\x7c\xc2\xbf\x97\x2f\x86\x0f\xc4\x0a\x41\x50\x15\x63\xab\x9f\x5e\x99" "\xe7\xeb\xe4\x5b\xca\x96\x88\xcb\xe9\x08\x33\x4a\xa0\x54\xb7\xea\x18\xe6" "\xba\x74\x5c\xa1\xe4\x4b\x14\xf4\x0d\x61\x55\x8e\x2a\x9e\x42\xc9\x1b\x22" "\x6c\x6b\xa8\x97\x4c\xc8\x1e\xf5\x8f\xc6\x18\xd7\x71\x7c\xd7\x0a\xae\x7a" "\xd6\x13\xbb\xab\x31\x86\xb2\x11\xa8\x5e\x4e\x62\x33\x05\xab\x8c\x10\x65" "\xad\x08\xd6\x4c\x94\x79\x53\x19\x47\xf0\x8f\xac\x9a\xe4\x7d\x65\x9a\xbf" "\xce\x23\xf8\x83\xf7\xf0\x7a\xab\x33\x21\x56\xaa\xde\xd0\xba\x80\x97\x50" "\x39\xb8\xf8\x3f\xd5\xa7\x11\x7e\xe8\xd7\x71\xa1\x93\x69\xed\x66\x1c\x78" "\xb9\x87\xff\xc5\xd5\xef\x7a\x70\x70\x31\x00\xa7\x62\x98\x00\x00\x00\x00" "\xb8\xfd\x8e\x88\x89\x43\x56\x0b\xda\x90\x3a\x90\x61\x40\x93\x31\xcc\x6c" "\x50\x62\x5b\xe0\xbd\x9b\x5d\xd5\xbd\xd5\xf8\x75\x30\xda\x6c\x6a\x7d\xad" "\x5b\xdf\x05\x11\x70\x7b\xeb\x98\xaa\x52\x9a\xc7\xa6\x0c\xdb\xf9\x3e\x93" "\x8f\xe0\xaf\x3a\x6c\x2a\xf3\x7e\x75\x64\x4a\x13\x12\x7f\x7f\xa9\x00\xe1" "\x2a\xb2\xe4\x47\x6f\x85\xb1\xd1\x47\x69\xf9\xb5\x16\x45\x74\xcd\x27\xa6" "\x1a\x6e\x75\xec\xed\xb4\x84\xb6\x44\x3c\xf1\x40\xc4\x38\x42\xca\x3a\xb2" "\x9f\xe3\xce\xbe\xde\x0a\xef\x27\x87\x02\x00\x1d\x11\x2b\x74\x38\xf7\x9e" "\xeb\x54\x58\x8e\x58\xf8\xba\x81\x2e\xbf\xa8\x97\xbc\xa1\xb9\x59\x32\x14" "\x9d\x45\x1b\xc1\xf2\xdb\x31\xff\xe1\x48\x04\x0b\x1f\x8f\xd6\xce\xab\xe3" "\xa0\x4a\x33\xbe\x7a\xba\xa2\xc0\x5f\x18\xf1\xb9\x67\x87\xf0\x1b\x3e\x0b" "\x4a\x84\x72\xf9\x09\xe2\xd5\xa1\x9e\x2c\xd6\xe5\x51\xaf\x11\x2d\xb9\x1f" "\x06\xcd\x14\x8c\x7c\xcb\xe9\xbd\x98\x8e\xd8\xc4\x69\x0c\xe3\x84\x2f\x35" "\xad\x2a\x1c\x56\x92\x9e\xc6\xff\x1b\xe3\xe1\x0e\x36\xa4\x8c\xa7\xa4\xc5" "\x95\x85\xcc\x0c\x18\x14\x4b\x5c\x48\x4f\x7a\xb1\x8a\x61\x16\xa3\xdf\xef" "\x92\x04\x2f\xb3\xf4\x9c\x9d\x12\x22\xe0\x1d\x14\x9b\x1a\x5c\xd3\x85\x87" "\xf6\x54\x9c\x6c\x44\x02\x7e\xdc\xf7\x85\x6c\xdd\x91\x82\x08\xb7\x15\x27" "\x7b\xfb\x0d\x3c\x42\xc8\x5c\x21\x57\x47\x8b\xd0\xe1\x28\x76\x32\x55\x5e" "\x29\x9d\xf7\x76\x94\x1f\x88\x1c\xf8\x7e\xb9\x9e\x1e\xe2\x53\xf7\xe5\x67" "\xc4\x56\xed\x3a\x87\xc0\x02\xc4\x70\xba\x2b\x94\x86\xe7\xf0\x25\x31\x6c" "\x94\x84\x2a\x0e\x95\xbc\x30\x80\x12\x6f\x8a\x04\x28\xd3\x71\xf4\x2c\x73" "\x74\xec\x79\x15\x06\x01\x2e\x9a\x01\x36\x3e\x2e\x15\x12\x59\xfd\x78\xc4" "\xc6\x6d\xde\xa5\x2a\x0f\x91\x1a", 872); *(uint32_t*)0x200005c5 = -1; sprintf((char*)0x200005c9, "%023llo", (long long)0); *(uint16_t*)0x200005e0 = 0; sprintf((char*)0x200005e2, "0x%016llx", (long long)-1); memcpy( (void*)0x20001540, "\x78\x9c\xec\xdd\x4d\x6c\x5c\x47\xe1\x00\xf0\x79\x6b\xaf\x13\x27\xe9\x3f" "\x9b\x3f\x09\x35\x69\x68\x13\x0a\x6d\xf9\xa8\xdd\x38\x26\x7c\x44\x90\x54" "\x8d\x90\x88\x9a\x8a\x5b\xa5\x8a\x4b\x94\xa6\x25\xaa\x1b\x10\xa9\x04\xad" "\x7a\x70\x72\xe2\x46\xab\x2a\x48\x9c\xf8\x10\xa7\x5e\x2a\x40\x48\xf4\x82" "\xa2\x9e\xb8\x54\xa2\x91\x2a\xa4\x9e\x0a\x07\x0e\x44\x41\xaa\xc4\x01\x0a" "\xc9\x22\xaf\x67\xd6\xbb\x93\xdd\xbe\x5d\xc7\xf6\xee\x7a\x7f\x3f\xe9\x79" "\x76\xde\xcc\xee\xcc\x5b\xbf\xf7\xf6\x7d\xcd\x4c\x00\xc6\x56\xa5\xf1\x77" "\x61\x61\xa6\x08\xe1\xca\x9b\xaf\x9d\xfc\xfb\x03\x7f\x9b\x5e\x9e\x73\xbc" "\x99\xa3\xd6\xf8\x3b\xd9\x12\xab\x86\x10\x8a\x18\x9f\xcc\x3e\xef\xfd\x89" "\x95\xf0\xe6\x07\x2f\x9f\xed\x14\x16\x61\xbe\xf1\x37\xc5\xc3\x13\x37\x9a" "\xef\xdd\x19\x42\x58\x0a\x07\xc3\xd5\x50\x0b\xfb\xaf\x5c\x7b\xf5\xed\xf9" "\xc7\x4f\x5f\x3a\x75\xf9\xd0\x3b\xaf\x1f\xbb\xbe\x31\x4b\x0f\x00\x00\xe3" "\xe5\x5b\x57\x8f\x2d\xec\xfb\xcb\x9f\xee\xd9\xf3\xe1\x1b\xf7\x9e\x08\xdb" "\x9a\xf3\xd3\xf1\x79\x2d\xc6\x77\xc5\xe3\xfe\x13\xf1\xc0\x3f\x1d\xff\x57" "\x42\x7b\xbc\x68\x99\x5a\x4d\x65\xf9\x26\xe3\x54\x99\x6e\xcf\x37\xd1\x21" "\x5f\x6b\x39\xd5\x2c\xdf\x64\x97\xf2\xa7\xb2\xf2\xab\x5d\xf2\x6d\x0b\x1f" "\x5d\xfe\x44\xcb\xbc\x4e\xcb\x0d\xa3\x2c\xad\xc7\xb5\x50\x54\x66\xdb\xe2" "\x95\xca\xec\xec\xca\x39\x79\x68\x9c\xd7\x4f\x15\xb3\x17\xce\x2f\x3e\x73" "\x71\x40\x15\x05\xd6\xdd\x3f\xef\x0b\x21\x1c\x1c\xa1\xe9\x78\x5f\xf9\x57" "\x7e\xba\x07\x5d\xe7\x38\xd5\x87\xa0\x0e\x23\x39\x9d\x18\x82\x3a\x6c\xd1" "\xa9\xbe\x7b\xd0\x7b\x20\x80\x15\xf9\xfd\xc2\xdb\x2c\xe5\x57\x16\xee\x4c" "\xf3\xd3\x26\x7b\x2b\xff\xc6\xa3\x95\xce\xef\x87\x75\xb0\xd9\xeb\xbf\xf2" "\x47\xab\xfc\x5f\x5d\xb2\xc7\x61\xfd\x6c\xd5\xb5\x29\x2d\x57\xda\x8e\x76" "\xc5\x78\x7e\x1f\x21\x7f\x7e\xa9\xfb\xf6\x97\xdf\xe9\x68\x9f\x9b\xdf\x8f" "\xa8\xf6\x58\xcf\x6e\xf7\x11\x46\xe5\xfe\x42\xb7\x7a\x4e\x6c\x72\x3d\xd6" "\xaa\x5b\xfd\xf3\xf5\x62\xab\xfa\x5a\x0c\xd3\xf7\xf0\xf5\x2c\xbd\x75\xfb" "\xc9\xff\xa7\xa3\xf2\x3f\x06\x3a\xfb\xd7\xa8\x5d\xff\x37\x99\xc6\x7d\x0a" "\xeb\xf7\x59\xf5\x01\xef\x7f\x80\xe1\x95\x3f\x37\x57\x8f\x52\x7a\xfe\x5c" "\x5f\x9e\xbe\xad\x24\x7d\x7b\x49\xfa\x74\x49\xfa\x8e\x92\xf4\x9d\x25\xe9" "\x30\xce\x7e\xfb\xc2\x8f\xc3\x2b\xc5\xea\x79\x7e\x7e\x4e\xdf\xef\xf5\xf0" "\x74\x9d\xed\xae\x18\xfe\x5f\x9f\xf5\xc9\xaf\x47\xf6\x5b\x7e\xfe\xdc\x6f" "\xbf\xee\xb4\xfc\xfc\x79\x62\x18\x66\xbf\x3f\xf3\xe4\xb9\x2f\x3f\xfd\xd4" "\xb5\x95\xe7\xff\x8b\xe6\xfa\x7f\x2b\xae\xef\xe9\x74\xa3\x16\xb7\xad\xab" "\x31\x43\xba\x5e\x98\x5f\x57\x6f\x3e\xfb\x5f\x6b\x2f\xa7\xd2\x25\xdf\xff" "\x67\xf5\xb9\xab\x43\xfe\xc6\xeb\xbd\xed\xf9\x8a\xbd\xab\x9f\x13\x5a\xf6" "\x33\xb7\xd5\x63\xa6\xfd\x7d\xbb\xbb\xe5\x3b\xd0\x9e\xaf\x96\xe5\x9b\x8e" "\xd3\xf6\xac\xbe\xf9\xf1\xc9\x8e\xec\x7d\xe9\xf8\x23\xed\x57\xd3\xf7\x35" "\x99\x2d\x6f\x35\x5b\x8e\xa9\xac\x1e\x69\xbf\xb2\x27\x86\x79\x3d\x60\x2d" "\xd2\xfa\xd8\xed\xf9\xff\xb4\x7e\xce\x84\x6a\xf1\xcc\xf9\xc5\x73\x8f\xc4" "\x78\x5a\x4f\xff\x38\x51\xdd\xb6\x3c\xff\xf0\x26\xd7\x1b\xb8\x73\xbd\xb6" "\xff\x99\x09\xed\xed\x7f\x76\x35\xe7\x57\x2b\xad\xfb\x85\xdd\xab\xf3\x8b" "\xd6\xfd\x42\x2d\x9b\x3f\xdf\x65\xfe\x91\x18\x4f\xbf\x73\xdf\x99\x98\x6e" "\xcc\x9f\x3d\xfb\xdd\xc5\xa7\xd7\x7b\xe1\x61\xcc\x5d\x7c\xf1\xa5\xe7\xce" "\x2c\x2e\x9e\xfb\xbe\x17\x9d\x5f\x1c\x2e\xcf\xf3\x8d\x21\xa9\x6a\x1f\x2f" "\xd2\x69\xcb\xb0\xd4\xc7\x8b\xa1\x7b\x31\xe0\x1d\x13\xb0\xe1\xe6\x5e\x78" "\xfe\x7b\x73\x17\x5f\x7c\xe9\xe1\xf3\xcf\x9f\x79\xf6\xdc\xb3\xe7\x2e\x1c" "\x39\x7a\xf4\xc8\xfc\xfc\xd1\xaf\x1c\x59\x98\x6b\x1c\xd7\xcf\xb5\x1e\xdd" "\xb7\x5a\x1a\x40\x6d\x81\xf5\xb4\xfa\xa3\x3f\xe8\x9a\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\xbd\xfa\xc1\xa9\x93\xd7\xde\x7d\xeb\x4b\xef\xad\xb4" "\xff\x5f\x6d\xff\x97\xda\xff\xa7\x27\x7f\x53\xfb\xff\x1f\x65\xed\xff\xf3" "\x76\xf2\xa9\x1d\x7c\x6a\x07\xb8\xa7\x43\x7a\x23\x4f\xd6\xc1\xea\x54\x96" "\xaf\x1a\xa7\x8f\x65\xf5\xdd\x9b\x95\xb3\x2f\x7b\xdf\xc7\x63\xd8\x1c\xc7" "\x2f\xb6\xff\x4f\xc5\xe5\xfd\xba\xa6\xfa\xdc\x9d\xcd\xcf\xfb\xef\x4d\xf9" "\xb2\xee\x04\x6e\xeb\x2f\x65\x2a\xeb\x83\x24\x1f\x2f\xf0\x53\x31\xbc\x1c" "\xc3\x5f\x06\x18\xa0\x62\xba\xf3\xec\x18\x96\xf5\x6f\x9d\xd6\xf5\xd4\x3f" "\x45\x4b\xbf\x14\x75\xfd\x03\x8f\x8e\xf4\x7f\x4b\x6b\x43\xea\xc7\x24\xb5" "\xff\xee\xd8\xaf\x53\xcb\x3f\x7b\xcf\x26\xd4\x91\xf5\xb7\x19\xcd\x09\x07" "\xbd\x8c\x40\x67\xff\xd0\xff\xb7\x69\xe8\xa6\xc9\xcd\x2d\xef\xa7\x71\x63" "\x18\xf8\x72\x6f\xfe\x54\xef\x7a\x94\xde\xeb\x08\x36\x00\xeb\x63\xd0\xe3" "\x7f\xa6\xeb\x9e\x29\xbc\xf0\x87\x6f\x6e\x5f\x9e\x52\xb6\x1b\x8f\xb6\xef" "\x2f\xf3\xfe\x4b\xa1\x1f\x7f\x7e\xb7\x3d\x3e\xec\xe3\x4f\x2a\x7f\x6b\x8d" "\xff\xd9\x1c\xff\xae\xe7\xfd\x5f\x36\x62\x5e\x6d\x6d\xe5\xfe\xfb\x67\xd7" "\xdf\x6b\x29\x36\xec\xef\xb5\xfc\x7c\xf9\x53\x3f\xd0\x7b\xfb\x2b\xff\xc3" "\x58\x7e\x5a\x9a\x07\x43\x6f\xe5\xd7\x7f\x91\x95\x9f\xdf\x10\xea\xd1\x7f" "\xb2\xf2\x77\xf4\x58\xfe\x6d\xcb\x7f\xa0\x4b\x01\x25\x03\x18\xfe\x37\x96" "\x9f\xbe\xb6\x87\xee\xef\xb5\xfc\x95\x1a\x17\x95\xf6\x7a\xe4\xd7\x8d\xd3" "\xfd\xbf\xfc\xba\x71\x72\x33\x5b\xfe\xd4\xb7\x67\xdf\xcb\xbf\xc6\x81\x1a" "\x6f\xc5\xf2\x61\x9c\x8d\xca\x38\xb3\xfd\xca\xc6\xff\x6d\x1e\xb4\xaf\x7d" "\xfc\xdf\x68\x69\x7d\xc7\xff\xed\x26\x7f\x0e\xe3\x8b\x31\x9e\x76\x84\xe9" "\x39\x87\x7c\xbc\x93\x7e\xeb\x9f\x9e\xaf\x48\xbf\x03\xfb\xb2\xcf\x2f\x4a" "\x7e\xdf\x8c\xff\x3b\xda\xbe\x1a\xc3\xb2\xed\x21\x8d\xff\x9b\xd6\xc7\x5a" "\xfc\xc9\x6f\x89\x37\xbe\xcb\x14\xaf\x76\xf8\x6e\xb7\xea\xbe\x06\x46\xd5" "\xfb\xee\xff\x95\x4c\x4b\x43\x50\x07\xd3\x56\x9b\x9a\xe3\xc4\x0d\xb8\x1e" "\xf5\x7a\x7d\x63\x2f\x68\x95\x18\x68\xe1\x0c\xfc\xfb\x1f\xf4\x79\xc2\xa0" "\xcb\x1f\xf4\xf7\x5f\x26\x1f\xff\x37\x3f\x86\xcf\xc7\xff\xcd\xd3\xf3\xf1" "\x7f\xf3\xf4\x7c\xfc\xdf\x3c\x3d\x1f\x5f\x2f\x4f\xcf\xc7\xff\xcd\xbf\xcf" "\x7c\xfc\xdf\x3c\xfd\xee\xec\x73\xf3\xf1\x81\x67\x4a\xd2\x3f\x51\x92\xbe" "\xbf\x73\x7a\xf3\xb4\xfd\x9e\x92\xf7\x1f\x28\x49\xff\xe4\x47\xa4\x3f\xb7" "\x33\x84\x43\x25\xef\xbf\xb7\x24\xfd\xbe\x92\xf4\x74\xff\x73\xba\x4b\xfa" "\xfd\x25\xef\xff\x74\x49\xfa\x67\x4a\xd2\x1f\x28\x49\x7f\xa8\x24\xfd\xb3" "\x25\xe9\x5b\x5d\x6a\x8f\x32\xae\xcb\x0f\xe3\x2c\x6f\x9f\x67\xfb\x87\xf1" "\x91\xee\xff\x74\xdb\xfe\xf7\x96\xa4\x03\xa3\xeb\x27\x6f\x1c\x7e\xec\xa9" "\xdf\x7c\xbb\xb6\xd2\xfe\x7f\xaa\x79\x3d\x24\xdd\xc7\x3b\x11\xe3\xd5\x78" "\xee\xfc\xc3\x18\xcf\xef\x7b\x87\x96\xf8\x72\xda\x5b\x31\xfe\xd7\x2c\x7d" "\xd8\xaf\x77\xc0\x38\xc9\xfb\xcf\xc8\x7f\xdf\x1f\x2c\x49\x07\x46\x57\x7a" "\xce\xcb\xf6\x0d\x63\xa8\xd8\xde\x79\x76\x0c\xcb\xfa\xad\xea\x76\x9c\xcf" "\x68\xf9\x5c\x0c\x3f\x1f\xc3\x2f\xc4\xf0\xe1\x18\xce\xc6\x70\x2e\x86\x87" "\x63\x38\xbf\x49\xf5\x63\x63\x3c\xf6\xeb\xdf\x1d\x7b\xa5\x58\x3d\xdf\xdf" "\x9d\xa5\xf7\xfa\x3c\x79\xde\x1e\xa8\xad\x9f\xa8\x10\xc2\x91\x1e\xeb\x93" "\x5f\x1f\xe8\xf7\x79\xf6\xbc\x1f\xbf\x7e\xdd\x69\xf9\x6b\x6c\x0e\x06\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x30\x30\x95\xc6\xdf\x85\x85\x99\x22\x84\x2b\x6f\xbe\x76" "\xf2\xc9\xd3\xe7\xe7\x96\xe7\x1c\x6f\xe6\xa8\x35\xfe\x4e\xb6\xc4\xaa\xcd" "\xf7\x85\xf0\x48\x0c\x27\x62\xf8\xf3\xf8\xe2\xe6\x07\x2f\x9f\x6d\x0d\x6f" "\xc5\xb0\x08\xf3\xa1\x08\x45\x73\x7e\x78\xe2\x46\xb3\xa4\x9d\x21\x84\xa5" "\x70\x30\x5c\x0d\xb5\xb0\xff\xca\xb5\x57\xdf\x9e\x7f\xfc\xf4\xa5\x53\x97" "\x0f\xbd\xf3\xfa\xb1\xeb\x1b\xf7\x0d\x00\x00\x00\xc0\xd6\xf7\xbf\x00\x00" "\x00\xff\xff\x60\x3f\x0d\x95", 2689); syz_mount_image(/*fs=*/0x20000040, /*dir=*/0x20000a80, /*flags=MS_NOEXEC|MS_NODIRATIME*/ 0x808, /*opts=*/0x20000240, /*chdir=*/1, /*size=*/0xa81, /*img=*/0x20001540); memcpy((void*)0x20000000, "net_prio.prioidx\000", 17); syscall(__NR_openat, /*fd=*/0xffffff9c, /*file=*/0x20000000ul, /*flags=*/0x275aul, /*mode=*/0ul); } 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); do_sandbox_none(); return 0; }