// https://syzkaller.appspot.com/bug?id=b3d4ed3e41b3085ce97f4504f4183e3f99115fb2 // 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 #ifndef __NR_memfd_create #define __NR_memfd_create 279 #endif #ifndef __NR_mmap #define __NR_mmap 222 #endif static unsigned long long procid; static __thread int clone_ongoing; static __thread int skip_segv; static __thread jmp_buf segv_env; static void segv_handler(int sig, siginfo_t* info, void* ctx) { if (__atomic_load_n(&clone_ongoing, __ATOMIC_RELAXED) != 0) { exit(sig); } uintptr_t addr = (uintptr_t)info->si_addr; const uintptr_t prog_start = 1 << 20; const uintptr_t prog_end = 100 << 20; int skip = __atomic_load_n(&skip_segv, __ATOMIC_RELAXED) != 0; int valid = addr < prog_start || addr > prog_end; if (skip && valid) { _longjmp(segv_env, 1); } exit(sig); } static void install_segv_handler(void) { struct sigaction sa; memset(&sa, 0, sizeof(sa)); sa.sa_handler = SIG_IGN; syscall(SYS_rt_sigaction, 0x20, &sa, NULL, 8); syscall(SYS_rt_sigaction, 0x21, &sa, NULL, 8); memset(&sa, 0, sizeof(sa)); sa.sa_sigaction = segv_handler; sa.sa_flags = SA_NODEFER | SA_SIGINFO; sigaction(SIGSEGV, &sa, NULL); sigaction(SIGBUS, &sa, NULL); } #define NONFAILING(...) \ ({ \ int ok = 1; \ __atomic_fetch_add(&skip_segv, 1, __ATOMIC_SEQ_CST); \ if (_setjmp(segv_env) == 0) { \ __VA_ARGS__; \ } else \ ok = 0; \ __atomic_fetch_sub(&skip_segv, 1, __ATOMIC_SEQ_CST); \ ok; \ }) 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 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"); } else if (strncmp(fs, "gfs2", 4) == 0 && (strstr(opts, "errors=panic") || strstr(opts, "debug"))) { strcat(opts, ",errors=withdraw"); } 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; } #define FS_IOC_SETFLAGS _IOW('f', 2, long) static void remove_dir(const char* dir) { int iter = 0; DIR* dp = 0; const int umount_flags = MNT_FORCE | UMOUNT_NOFOLLOW; retry: while (umount2(dir, umount_flags) == 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, umount_flags) == 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, umount_flags)) 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, umount_flags)) 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")) { } } 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 (;;) { sleep_ms(10); if (waitpid(-1, &status, WNOHANG | WAIT_FLAGS) == pid) break; if (current_time_ms() - start < 5000) continue; kill_and_wait(pid, &status); break; } remove_dir(cwdbuf); } } void execute_one(void) { if (write(1, "executing program\n", sizeof("executing program\n") - 1)) { } // syz_mount_image$ext4 arguments: [ // fs: ptr[in, buffer] { // buffer: {65 78 74 34 00} (length 0x5) // } // dir: ptr[in, buffer] { // buffer: {2e 2f 62 75 73 00} (length 0x6) // } // flags: mount_flags = 0x0 (8 bytes) // opts: ptr[in, fs_options[ext4_options]] { // fs_options[ext4_options] { // elems: array[fs_opt_elem[ext4_options]] { // } // common: array[fs_opt_elem[fs_options_common]] { // } // null: const = 0x0 (1 bytes) // } // } // chdir: int8 = 0x4 (1 bytes) // size: len = 0x512 (8 bytes) // img: ptr[in, buffer] { // buffer: (compressed buffer with length 0x512) // } // ] // returns fd_dir NONFAILING(memcpy((void*)0x200004c0, "ext4\000", 5)); NONFAILING(memcpy((void*)0x20000500, "./bus\000", 6)); NONFAILING(*(uint8_t*)0x20000540 = 0); NONFAILING(memcpy( (void*)0x20000c40, "\x78\x9c\xec\xdd\xcf\x6f\x54\x5b\x1d\x00\xf0\xef\x4c\x3b\x6d\x29\x85\x82" "\xb2\x50\xa3\x82\x88\xa2\x21\x4c\x7f\x00\x0d\x61\x23\x6c\x34\x86\x90\x18" "\x89\x2b\x17\x50\xdb\x69\x33\xe9\x0c\xd3\x74\x4a\xa4\x95\x45\x59\xba\x27" "\x91\xc4\x95\xfe\x09\xee\x5c\x98\xb0\xd2\xc4\x9d\x3b\xdd\x18\x37\xb8\x30" "\x41\x25\xef\x85\xbe\xe4\x2d\xe6\xe5\xde\xb9\xb4\x43\x7f\xbf\xd7\x76\x86" "\x76\x3e\x9f\xe4\xf6\xde\x73\xce\x30\xdf\x73\x3a\x9c\x73\xe6\x1e\x98\x39" "\x01\x74\xad\x0b\x11\xb1\x12\x11\x7d\x11\xf1\x30\x22\x86\xb3\xfc\x5c\x76" "\xc4\xed\xe6\x91\x3c\xee\xed\x9b\xa7\x53\xab\x6f\x9e\x4e\xe5\xa2\xd1\xb8" "\xff\xbf\x5c\x5a\x9e\xe4\x45\xcb\x9f\x49\x9c\xcc\x9e\x73\x20\x22\x7e\xfa" "\xa3\x88\x5f\xe4\x36\xc7\xad\x2f\x2d\xcf\x4d\x56\x2a\xa5\x85\x2c\x3d\xb2" "\x58\x9d\x1f\xa9\x2f\x2d\x5f\x2d\xe7\xb3\x9c\xf1\x89\xb1\x89\xd1\x9b\xd7" "\x6e\x8c\x1f\x58\x5b\xcf\x57\xff\xf0\xfa\x87\xe5\xbb\x3f\xfb\xd3\x1f\xbf" "\xf1\xea\x6f\x2b\xdf\xff\x55\x52\xad\xa1\x5f\x9f\x4a\xcb\x5a\xdb\x71\x90" "\x9a\x4d\x2f\xc4\x50\x4b\x5e\x6f\x44\xdc\x3d\x8c\x60\x1d\xd2\x9b\xfd\xfd" "\xe1\xe8\x49\x7a\xdb\x97\x22\xe2\x62\xda\xff\x87\xa3\x27\x7d\x35\x01\x80" "\xe3\xac\xd1\x18\x8e\xc6\x70\x6b\x1a\x00\x38\xee\x92\xfb\xff\xa1\xc8\xe5" "\x8b\xd9\x5a\xc0\x50\xe4\xf3\xc5\x62\x73\x0d\xef\x5c\x0c\xe6\x2b\xb5\xfa" "\xe2\x95\xe1\xda\xe3\x47\xd3\x91\xae\x61\x9d\x89\x42\x7e\xa6\x5c\x29\x8d" "\x66\x6b\x85\x67\xa2\x90\x4b\xd2\x63\xe9\xf5\x7a\x7a\xfc\xbd\xf4\xf3\xd2" "\xb5\x88\x38\x1b\x11\xcf\xfb\x4f\xa4\xe5\xc5\xa9\x5a\x65\xba\x93\x6f\x7c" "\x00\xa0\x8b\x9d\xdc\x30\xff\x7f\xdc\xdf\x9c\xff\x01\x80\x63\x6e\xa0\xd3" "\x15\x00\x00\xda\xce\xfc\x0f\x00\xdd\xa7\x75\xfe\xef\xef\x60\x3d\x00\x80" "\xf6\xf9\x1c\xf7\xff\x3e\x1d\x08\x00\xc7\x84\xf5\x7f\x00\xe8\x3e\xe6\x7f" "\x00\xe8\x3e\xbb\xce\xff\xcf\xda\x53\x0f\x00\xa0\x2d\x7e\x72\xef\x5e\x72" "\x34\x56\x9b\xdf\x7f\xfd\xee\x9b\xba\xaf\x4e\x97\xea\x73\xc5\xea\xe3\xa9" "\xe2\x54\x6d\x61\xbe\x38\x5b\xab\xcd\x56\x4a\xc5\xa9\x46\x63\xb7\xe7\xab" "\xd4\x6a\xf3\x63\xd7\xd7\x92\xf5\xa5\xe5\x07\xd5\xda\xe3\x47\x8b\x0f\xca" "\xd5\xc9\xd9\xd2\x83\x52\xe1\x30\x1b\x03\x00\xec\xc9\xd9\xf3\x2f\xff\x91" "\x4c\xfa\x2b\xb7\x4e\xa4\x47\xb4\xec\xe5\x60\xae\x86\xe3\x2d\xdf\xe9\x0a" "\x00\x1d\xd3\xd3\xe9\x0a\x00\x1d\xd3\x1b\x11\x7f\x59\xe9\x74\x2d\x80\x4e" "\xd8\xc3\x3d\xbe\x65\x00\x38\xe6\xb6\xd8\xa2\xf7\x3d\xdb\xfe\x17\xa1\x17" "\x36\x7f\x85\xa3\xea\xf2\x57\xad\xff\x43\xb7\xda\xcf\xfa\xbf\xef\x02\x81" "\xa3\xed\x8b\xad\xff\xff\xe0\xc0\xeb\x01\xb4\x9f\x39\x1c\xba\x57\xa3\x91" "\xb3\xe7\x3f\x00\x74\x19\x6b\xfc\xc0\xbe\xfe\xfd\x1f\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\xba\xd4\x50\x7a\xe4\xf2\xc5\x74\x2f\xf0\x95\xe4\x67\xbe\x58\x8c\x38" "\x15\x11\x67\xa2\x90\x9b\x29\xf7\xa5\x8f\x3b\x1d\x11\x7f\xef\x2f\xf4\xcf" "\x94\x2b\xa5\xb1\x4e\x57\x1a\x00\xd8\xa7\xfc\x7f\x72\xd9\xfe\x5f\x97\x87" "\x2f\x0d\x6d\x2c\xed\xcb\x7d\xd2\x9f\x9e\x23\xe2\x97\xbf\xbd\xff\x9b\x27" "\x93\x8b\x8b\x0b\x63\x49\xfe\xff\xd7\xf2\x17\x5f\x64\xf9\xe3\x7d\x9d\x68" "\x00\x00\xd0\xea\xf6\xe6\xac\xe6\x3c\x9d\x9d\x5b\x6e\xe4\xdf\xbe\x79\x3a" "\xf5\xee\x68\x67\x15\x5f\xdf\x69\x6e\x2e\x9a\xc4\x5d\xcd\x8e\x66\x49\x6f" "\xf4\xa6\xe7\x81\x28\x44\xc4\xe0\x47\xb9\x2c\xdd\x94\xbc\x5f\xe9\x39\x80" "\xf8\x2b\xcf\x22\xe2\x2b\xeb\xed\x7f\xd2\x12\x61\x28\x5d\x03\x69\xee\x7c" "\xba\x31\x7e\x12\xfb\xd4\x21\xc4\x5f\xff\xfd\x6f\x8c\x9f\x7f\x2f\x7e\x3e" "\x2d\x4b\xce\x85\xf4\x77\xf1\xe5\x03\xa8\x0b\x74\x9b\x97\x77\x9a\xe3\x64" "\xd6\xf7\x92\x2e\x96\xf5\xbf\x7c\x5c\x48\xcf\x5b\xf7\xff\x81\x74\x84\xda" "\xbf\x64\xfc\x4b\xc6\x92\xd5\x4d\xe3\x5f\x7e\x6d\xfc\xeb\xd9\x14\x3f\x97" "\xf6\xf9\x0b\x6b\xe9\x9d\x6b\xf2\xfa\xfa\x9f\x7f\xbc\x29\xb3\x31\xdc\x2c" "\x7b\x16\xf1\xb5\xde\xad\xe2\xe7\xd6\xe2\xe7\xb6\x1e\x7f\x0b\x97\xf6\xd8" "\xc6\x7f\x7d\xfd\x9b\x17\xb7\x2b\x6b\xfc\x2e\xe2\xf2\x96\xed\x7f\xb7\x23" "\x75\x35\x1d\x66\x47\x16\xab\xf3\x23\xf5\xa5\xe5\xab\xe5\xea\xe4\x6c\x69" "\xb6\xf4\x68\x7c\x7c\x62\x6c\x62\xf4\xe6\xb5\x1b\xe3\x23\x33\xe5\x4a\x69" "\xb4\xf9\xf3\xaf\x5b\xc5\xf8\xef\xad\x2b\xa7\xb7\x8b\x9f\xb4\x7f\x70\x9b" "\xf8\x03\x3b\xb7\x3f\xbe\xb3\xc7\xf6\xff\xfe\xd3\x87\x3f\xff\xd6\x0e\xf1" "\xbf\xf7\xed\xad\x5f\xff\x73\x3b\xc4\x4f\xe6\xc4\xef\xee\x31\xfe\xe4\xe0" "\xed\x6d\xb7\xef\x4e\xe2\x4f\x6f\xd3\xfe\x5d\x5e\xff\xb8\xb2\xc7\xf8\xaf" "\xfe\xbd\x3c\xbd\xc7\x87\x02\x00\x6d\x50\x5f\x5a\x9e\x9b\xac\x54\x4a\x0b" "\xbb\x5c\x24\xef\x35\x77\x7b\x8c\x8b\xa3\x79\x11\x2b\x11\x07\xf5\x84\xe9" "\xa2\x44\x44\x7c\x08\xed\xca\x2e\x4e\xb4\x35\xe8\x3f\xb3\x8e\xf5\x61\xb4" "\x7d\x1f\x17\x9d\x1c\x95\x80\x76\x58\xef\xf4\x9d\xae\x09\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\xb0\x9d\xfa\xd2\xf2\x5c\xff\x21\x7f\x5a\xab" "\xd3\x6d\x04\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\xe0\xf8\xfa\x2c\x00\x00\xff\xff\x28\xc2" "\xc6\x90", 1298)); NONFAILING(syz_mount_image(/*fs=*/0x200004c0, /*dir=*/0x20000500, /*flags=*/0, /*opts=*/0x20000540, /*chdir=*/4, /*size=*/0x512, /*img=*/0x20000c40)); // syz_mount_image$fuse arguments: [ // fs: nil // dir: ptr[in, buffer] { // buffer: {2e 2f 62 75 73 00} (length 0x6) // } // flags: mount_flags = 0x3000009 (8 bytes) // opts: nil // chdir: int8 = 0x1 (1 bytes) // size: const = 0x0 (8 bytes) // img: nil // ] // returns fd_dir NONFAILING(memcpy((void*)0x200000c0, "./bus\000", 6)); NONFAILING(syz_mount_image( /*fs=*/0, /*dir=*/0x200000c0, /*flags=MS_LAZYTIME|MS_STRICTATIME|MS_RDONLY|MS_NOEXEC*/ 0x3000009, /*opts=*/0, /*chdir=*/1, /*size=*/0, /*img=*/0)); // syz_mount_image$ext4 arguments: [ // fs: ptr[in, buffer] { // buffer: {65 78 74 34 00} (length 0x5) // } // dir: ptr[in, buffer] { // buffer: {2e 2f 66 69 6c 65 32 00} (length 0x8) // } // flags: mount_flags = 0x200001f (8 bytes) // opts: ptr[in, fs_options[ext4_options]] { // fs_options[ext4_options] { // elems: array[fs_opt_elem[ext4_options]] { // fs_opt_elem[ext4_options] { // elem: union ext4_options { // block_validity: buffer: {62 6c 6f 63 6b 5f 76 61 6c 69 64 69 // 74 79} (length 0xe) // } // comma: const = 0x2c (1 bytes) // } // fs_opt_elem[ext4_options] { // elem: union ext4_options { // errors_remount: buffer: {65 72 72 6f 72 73 3d 72 65 6d 6f 75 // 6e 74 2d 72 6f} (length 0x11) // } // comma: const = 0x2c (1 bytes) // } // fs_opt_elem[ext4_options] { // elem: union ext4_options { // journal_dev: fs_opt["journal_dev", fmt[hex, int32]] { // name: buffer: {6a 6f 75 72 6e 61 6c 5f 64 65 76} (length // 0xb) eq: const = 0x3d (1 bytes) val: int32 = 0x0 (18 bytes) // } // } // comma: const = 0x2c (1 bytes) // } // fs_opt_elem[ext4_options] { // elem: union ext4_options { // noinit_itable: buffer: {6e 6f 69 6e 69 74 5f 69 74 61 62 6c // 65} (length 0xd) // } // comma: const = 0x2c (1 bytes) // } // } // common: array[fs_opt_elem[fs_options_common]] { // } // null: const = 0x0 (1 bytes) // } // } // chdir: int8 = 0xfe (1 bytes) // size: len = 0x4e5 (8 bytes) // img: ptr[in, buffer] { // buffer: (compressed buffer with length 0x4e5) // } // ] // returns fd_dir NONFAILING(memcpy((void*)0x20000040, "ext4\000", 5)); NONFAILING(memcpy((void*)0x20000000, "./file2\000", 8)); NONFAILING(memcpy((void*)0x200001c0, "block_validity", 14)); NONFAILING(*(uint8_t*)0x200001ce = 0x2c); NONFAILING(memcpy((void*)0x200001cf, "errors=remount-ro", 17)); NONFAILING(*(uint8_t*)0x200001e0 = 0x2c); NONFAILING(memcpy((void*)0x200001e1, "journal_dev", 11)); NONFAILING(*(uint8_t*)0x200001ec = 0x3d); NONFAILING(sprintf((char*)0x200001ed, "0x%016llx", (long long)0)); NONFAILING(*(uint8_t*)0x200001ff = 0x2c); NONFAILING(memcpy((void*)0x20000200, "noinit_itable", 13)); NONFAILING(*(uint8_t*)0x2000020d = 0x2c); NONFAILING(*(uint8_t*)0x2000020e = 0); NONFAILING(memcpy( (void*)0x20000980, "\x78\x9c\xec\xdd\x41\x6b\x1c\x6d\x1d\x00\xf0\xff\x4c\x76\x7d\x9b\x36\xaf" "\x9b\xaa\x87\x5a\xb0\x2d\xb6\x92\x14\xed\x26\x69\x6c\x1b\x3c\x54\x05\xd1" "\x53\x41\xad\xf7\x1a\x93\x6d\x08\xd9\x64\x4b\xb2\x69\x9b\x50\x34\xc5\x0f" "\x20\x88\xa8\xe0\x45\x4f\x5e\x04\x3f\x80\x20\xfd\x08\x22\x14\xf4\x2e\x2a" "\x8a\x68\xab\x07\x0f\xd5\x91\xdd\x9d\x8d\x69\xba\x9b\xa4\x74\xb3\xcb\x9b" "\xfd\xfd\xe0\xc9\xcc\x33\x3b\x3b\xff\xe7\x9f\x65\x9e\x9d\x67\x66\xd8\x09" "\x60\x68\x5d\x8a\x88\xc9\x88\xc8\xb2\x2c\xbb\x1a\x11\xa5\x7c\x79\x9a\x97" "\xd8\x69\x95\xc6\x7a\x2f\x5f\x3c\x59\x68\x94\x24\xb2\xec\xee\xdf\x93\x48" "\xf2\x65\xed\x6d\xbd\x97\x4f\xcf\xe4\x6f\x3b\x15\x11\x5f\xff\x4a\xc4\xb7" "\x92\x37\xe3\x6e\x6c\x6d\xaf\xcc\x57\xab\x95\xf5\xbc\x3e\x55\x5f\x4d\x5e" "\x65\xd9\xf6\xb5\xe5\xd5\xf9\xa5\xca\x52\x65\x6d\x76\x76\xe6\xe6\xdc\xad" "\xb9\x1b\x73\xd3\x3d\xc9\x73\x3c\x22\x6e\x7f\xe9\xcf\x3f\xfc\xde\xcf\xbf" "\x7c\xfb\xd7\x9f\x79\xf4\x87\x7b\x7f\x9d\xfc\x76\x2b\xc1\x96\xbd\x79\xf4" "\x52\x2b\xf5\x62\xf3\x7f\xd1\x56\x88\x88\xf5\xe3\x08\x36\x20\x85\x66\x86" "\x2d\x37\x06\xdc\x16\x00\x00\x0e\xd6\x38\xde\xff\x48\x44\x7c\x32\x22\xae" "\x46\x29\x46\x9a\x47\x73\x00\x00\x00\xc0\x49\x92\x7d\x7e\x2c\x5e\x25\xad" "\xeb\x7f\x00\x00\x00\xc0\xc9\x94\x46\xc4\x58\x24\x69\x39\xbf\xdf\x77\x2c" "\xd2\xb4\x5c\x6e\xdd\xc3\xfb\xb1\x38\x9d\x56\x6b\x1b\xf5\x4f\x67\xa5\xdd" "\xf3\x05\xe3\x51\x4c\xef\x2f\x57\x2b\xd3\xf9\xbd\x03\xe3\x51\x4c\x1a\xf5" "\x99\xfc\x1e\xdb\x76\xfd\xfa\xbe\xfa\x6c\x44\x9c\x8d\x88\x1f\x94\x46\x9b" "\xf5\xf2\x42\xad\xba\x38\xd0\x33\x1f\x00\x00\x00\x30\x3c\xce\xec\x1b\xff" "\xff\xab\xd4\x1a\xff\x03\x00\x00\x00\x27\xcc\xf8\xa0\x1b\x00\x00\x00\x00" "\x1c\x3b\xe3\x7f\x00\x00\x00\x38\xf9\x8c\xff\x01\x00\x00\xe0\x44\xfb\xea" "\x9d\x3b\x8d\x92\xb5\x9f\x7f\xbd\xf8\x70\x6b\x73\xa5\xf6\xf0\xda\x62\x65" "\x63\xa5\xbc\xba\xb9\x50\x5e\xa8\xad\x3f\x28\x2f\xd5\x6a\x4b\xcd\xdf\xec" "\x5b\x3d\x6c\x7b\xd5\x5a\xed\xc1\x67\x63\x6d\xf3\xf1\x54\xbd\xb2\x51\x9f" "\xda\xd8\xda\xbe\xb7\x5a\xdb\x5c\xab\xdf\x5b\x7e\xed\x11\xd8\x00\x00\x00" "\x40\x1f\x9d\xbd\xf8\xec\xf7\x49\x44\xec\x7c\x6e\x34\x8d\x88\x2c\xd9\xf3" "\x5a\x31\x22\x1b\xd9\xbb\x72\xa1\xff\xed\x03\x8e\x4f\xfa\x36\x2b\xff\xe9" "\xf8\xda\x01\xf4\xdf\xc8\xa0\x1b\x00\x0c\x8c\x43\x7a\x18\x5e\xc5\x41\x37" "\x00\x18\xb8\xc3\xfa\x81\xae\x37\xef\xfc\xa6\xf7\x6d\x01\x00\x00\x8e\xc7" "\xc4\xc7\x77\xaf\xff\x37\x0b\x30\x3c\xf2\xeb\xff\x49\x32\xe8\x86\x00\x7d" "\xe7\xfa\x3f\x0c\x2f\xd7\xff\x61\x78\x15\x0f\x3a\x02\x30\x28\x80\x13\x2f" "\x3d\xc2\xae\xfe\xee\xd7\xff\xb3\xec\xad\x1a\x05\x00\x00\xf4\xdc\x58\xb3" "\x24\x69\x39\x1f\x07\x8c\x45\x9a\x96\xcb\x11\xef\x37\x1f\x0b\x50\x4c\xee" "\x2f\x57\x2b\xd3\x11\xf1\xe1\x88\xf8\x5d\xa9\xf8\x5e\xa3\x3e\xd3\x7c\x67" "\xe2\xf4\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x1c\x51\x96\x25\x91\x75\x31\xba\xbb\x0e\x00\x00\x00\xf0" "\x41\x16\x91\xfe\x25\xc9\x9f\xff\x35\x51\xba\x32\xb6\xff\xfc\xc0\x87\x92" "\x7f\x97\x9a\xd3\x88\x78\xf4\x93\xbb\x3f\x7a\x3c\x5f\xaf\xaf\xcf\x34\x96" "\xff\x63\x77\x79\xfd\xc7\xf9\xf2\xeb\xfd\x3e\x7b\x01\x00\x00\x00\x74\xd2" "\x1e\xa7\xb7\xc7\xf1\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\xd0\x4b\x2f\x5f\x3c\x59\x68\x97\x7e\xc6\xfd\xdb" "\x17\x23\x62\xbc\x53\xfc\x42\x9c\x6a\x4e\x4f\x45\x31\x22\x4e\xff\x33\x89" "\xc2\x9e\xf7\x25\x11\x31\xd2\x83\xf8\x3b\x4f\x23\xe2\x5c\xa7\xf8\x49\xa3" "\x59\x31\x9e\xb7\x62\x7f\xfc\x34\x22\x46\x07\x1c\xff\x4c\x0f\xe2\xc3\x30" "\x7b\xd6\xe8\x7f\xbe\xd0\x69\xff\x4b\xe3\x52\x73\xda\x79\xff\x2b\xe4\xe5" "\x5d\x75\xef\xff\xd2\xdd\xfe\x6f\xa4\x4b\xff\xf7\x7e\xa7\x0d\xa6\x6f\x2e" "\x3a\xff\xfc\x97\x53\x5d\xe3\x3f\x8d\x38\x5f\xe8\xdc\xff\xb4\xe3\x27\x5d" "\xe2\x5f\x3e\x62\x8e\xdf\xfc\xc6\xf6\x76\xb7\xd7\xb2\x9f\x45\x4c\x74\xfc" "\xfe\x49\x5e\x8b\x35\x95\x14\x1e\x4c\x6d\x6c\x6d\x5f\x5b\x5e\x9d\x5f\xaa" "\x2c\x55\xd6\x66\x67\x67\x6e\xce\xdd\x9a\xbb\x31\x37\x3d\x75\x7f\xb9\x5a" "\xc9\xff\x76\x8c\xf1\xfd\x4f\xfc\xea\xbf\x07\xe5\x7f\xba\x4b\xfc\xf1\x43" "\xf2\xbf\x72\xc4\xfc\xff\xf3\xfc\xf1\x8b\x8f\xb6\x66\x8b\xfb\x5e\x2a\xc6" "\x4f\xb3\x6c\xf2\x72\xe7\xcf\xff\x5c\x97\xf8\xed\xef\xbe\x4f\xe5\x1f\x77" "\xa3\x3e\xd1\x9e\xdf\x69\xcd\xef\x75\xe1\x17\xbf\xbd\x70\xf1\x80\xfc\x17" "\xbb\xe4\x7f\xd8\xe7\x3f\x79\xc4\xfc\xaf\x7e\xed\xbb\x7f\x3c\xe2\xaa\x00" "\x40\x1f\x6c\x6c\x6d\xaf\xcc\x57\xab\x95\x75\x33\x66\x8e\x6d\x66\x34\xfa" "\x18\x74\x3e\x0e\x5a\xa7\x7d\x10\xdb\x87\xf6\x7c\x27\x0f\xf5\xae\xdb\xc9" "\x4a\x83\xd8\x4f\x07\xd8\x29\x01\x00\x00\xc7\xe2\xff\x07\xfd\x83\x6e\x09" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0c\xaf\xc3" "\x7e\x06\x2c\x7a\xf0\x73\x62\xfb\x63\xee\x0c\x26\x55\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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" "\x03\xfd\x2f\x00\x00\xff\xff\xe5\xd7\xca\x9b", 1253)); NONFAILING(syz_mount_image( /*fs=*/0x20000040, /*dir=*/0x20000000, /*flags=MS_LAZYTIME|MS_SYNCHRONOUS|MS_RDONLY|MS_NOSUID|MS_NOEXEC|0x4*/ 0x200001f, /*opts=*/0x200001c0, /*chdir=*/0xfe, /*size=*/0x4e5, /*img=*/0x20000980)); } int main(void) { syscall(__NR_mmap, /*addr=*/0x1ffff000ul, /*len=*/0x1000ul, /*prot=*/0ul, /*flags=MAP_FIXED|MAP_ANONYMOUS|MAP_PRIVATE*/ 0x32ul, /*fd=*/(intptr_t)-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=*/(intptr_t)-1, /*offset=*/0ul); syscall(__NR_mmap, /*addr=*/0x21000000ul, /*len=*/0x1000ul, /*prot=*/0ul, /*flags=MAP_FIXED|MAP_ANONYMOUS|MAP_PRIVATE*/ 0x32ul, /*fd=*/(intptr_t)-1, /*offset=*/0ul); const char* reason; (void)reason; install_segv_handler(); use_temporary_dir(); loop(); return 0; }