// autogenerated by syzkaller (https://github.com/google/syzkaller) #define _GNU_SOURCE #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #ifndef __NR_memfd_create #define __NR_memfd_create 319 #endif static long syz_sysconfig_set__proc_sys_vm_percpu_pagelist_high_fraction(volatile long val) { char command[256]; sprintf(command, "echo %ld > /proc/sys/vm/percpu_pagelist_high_fraction", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_sysconfig_reset__proc_sys_vm_percpu_pagelist_high_fraction() { char command[256]; sprintf(command, "echo 0 > /proc/sys/vm/percpu_pagelist_high_fraction"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_sysconfig_set__proc_sys_vm_dirty_background_ratio(volatile long val) { char command[256]; sprintf(command, "echo %ld > /proc/sys/vm/dirty_background_ratio", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_sysconfig_reset__proc_sys_vm_dirty_background_ratio() { char command[256]; sprintf(command, "echo 10 > /proc/sys/vm/dirty_background_ratio"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_sysconfig_set__proc_sys_vm_watermark_boost_factor(volatile long val) { char command[256]; sprintf(command, "echo %ld > /proc/sys/vm/watermark_boost_factor", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_sysconfig_reset__proc_sys_vm_watermark_boost_factor() { char command[256]; sprintf(command, "echo 15000 > /proc/sys/vm/watermark_boost_factor"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static unsigned long long procid; #define BITMASK(bf_off, bf_len) (((1ull << (bf_len)) - 1) << (bf_off)) #define STORE_BY_BITMASK(type, htobe, addr, val, bf_off, bf_len) \ *(type*)(addr) = \ htobe((htobe(*(type*)(addr)) & ~BITMASK((bf_off), (bf_len))) | \ (((type)(val) << (bf_off)) & BITMASK((bf_off), (bf_len)))) static long syz_open_dev(volatile long a0, volatile long a1, volatile long a2) { if (a0 == 0xc || a0 == 0xb) { char buf[128]; sprintf(buf, "/dev/%s/%d:%d", a0 == 0xc ? "char" : "block", (uint8_t)a1, (uint8_t)a2); return open(buf, O_RDWR, 0); } else { char buf[1024]; char* hash; strncpy(buf, (char*)a0, sizeof(buf) - 1); buf[sizeof(buf) - 1] = 0; while ((hash = strchr(buf, '#'))) { *hash = '0' + (char)(a1 % 10); a1 /= 10; } return open(buf, a2, 0); } } static long syz_open_procfs(volatile long a0, volatile long a1) { char buf[128]; memset(buf, 0, sizeof(buf)); if (a0 == 0) { snprintf(buf, sizeof(buf), "/proc/self/%s", (char*)a1); } else if (a0 == -1) { snprintf(buf, sizeof(buf), "/proc/thread-self/%s", (char*)a1); } else { snprintf(buf, sizeof(buf), "/proc/self/task/%d/%s", (int)a0, (char*)a1); } int fd = open(buf, O_RDWR); if (fd == -1) fd = open(buf, O_RDONLY); return fd; } //% 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; } uint64_t r[10] = {0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff}; 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); intptr_t res = 0; memcpy((void*)0x20000140, "./bus\000", 6); res = syscall(__NR_creat, /*file=*/0x20000140ul, /*mode=*/0ul); if (res != -1) r[0] = res; syscall(__NR_fcntl, /*fd=*/r[0], /*cmd=*/4ul, /*flags=O_NONBLOCK|O_NOATIME|O_DIRECT|FASYNC|0x2*/ 0x46802ul); *(uint32_t*)0x20000100 = 1; *(uint32_t*)0x20000104 = 0x70; *(uint8_t*)0x20000108 = 0; *(uint8_t*)0x20000109 = 0; *(uint8_t*)0x2000010a = 0; *(uint8_t*)0x2000010b = 0; *(uint32_t*)0x2000010c = 0; *(uint64_t*)0x20000110 = 0x3c43; *(uint64_t*)0x20000118 = 0; *(uint64_t*)0x20000120 = 0; STORE_BY_BITMASK(uint64_t, , 0x20000128, 0, 0, 1); STORE_BY_BITMASK(uint64_t, , 0x20000128, 0, 1, 1); STORE_BY_BITMASK(uint64_t, , 0x20000128, 0, 2, 1); STORE_BY_BITMASK(uint64_t, , 0x20000128, 0, 3, 1); STORE_BY_BITMASK(uint64_t, , 0x20000128, 0, 4, 1); STORE_BY_BITMASK(uint64_t, , 0x20000128, 0, 5, 1); STORE_BY_BITMASK(uint64_t, , 0x20000128, 0, 6, 1); STORE_BY_BITMASK(uint64_t, , 0x20000128, 0, 7, 1); STORE_BY_BITMASK(uint64_t, , 0x20000128, 0, 8, 1); STORE_BY_BITMASK(uint64_t, , 0x20000128, 0, 9, 1); STORE_BY_BITMASK(uint64_t, , 0x20000128, 0, 10, 1); STORE_BY_BITMASK(uint64_t, , 0x20000128, 0, 11, 1); STORE_BY_BITMASK(uint64_t, , 0x20000128, 0, 12, 1); STORE_BY_BITMASK(uint64_t, , 0x20000128, 0, 13, 1); STORE_BY_BITMASK(uint64_t, , 0x20000128, 0, 14, 1); STORE_BY_BITMASK(uint64_t, , 0x20000128, 0, 15, 2); STORE_BY_BITMASK(uint64_t, , 0x20000128, 0, 17, 1); STORE_BY_BITMASK(uint64_t, , 0x20000128, 0, 18, 1); STORE_BY_BITMASK(uint64_t, , 0x20000128, 0, 19, 1); STORE_BY_BITMASK(uint64_t, , 0x20000128, 0, 20, 1); STORE_BY_BITMASK(uint64_t, , 0x20000128, 0, 21, 1); STORE_BY_BITMASK(uint64_t, , 0x20000128, 0, 22, 1); STORE_BY_BITMASK(uint64_t, , 0x20000128, 0, 23, 1); STORE_BY_BITMASK(uint64_t, , 0x20000128, 0, 24, 1); STORE_BY_BITMASK(uint64_t, , 0x20000128, 0, 25, 1); STORE_BY_BITMASK(uint64_t, , 0x20000128, 0, 26, 1); STORE_BY_BITMASK(uint64_t, , 0x20000128, 0, 27, 1); STORE_BY_BITMASK(uint64_t, , 0x20000128, 0, 28, 1); STORE_BY_BITMASK(uint64_t, , 0x20000128, 0, 29, 1); STORE_BY_BITMASK(uint64_t, , 0x20000128, 0, 30, 1); STORE_BY_BITMASK(uint64_t, , 0x20000128, 0, 31, 1); STORE_BY_BITMASK(uint64_t, , 0x20000128, 0, 32, 1); STORE_BY_BITMASK(uint64_t, , 0x20000128, 0, 33, 1); STORE_BY_BITMASK(uint64_t, , 0x20000128, 0, 34, 1); STORE_BY_BITMASK(uint64_t, , 0x20000128, 0, 35, 1); STORE_BY_BITMASK(uint64_t, , 0x20000128, 0, 36, 1); STORE_BY_BITMASK(uint64_t, , 0x20000128, 0, 37, 1); STORE_BY_BITMASK(uint64_t, , 0x20000128, 0, 38, 26); *(uint32_t*)0x20000130 = 0; *(uint32_t*)0x20000134 = 0; *(uint64_t*)0x20000138 = 0x20000000; *(uint64_t*)0x20000140 = 0; *(uint64_t*)0x20000148 = 0; *(uint64_t*)0x20000150 = 0; *(uint32_t*)0x20000158 = 0; *(uint32_t*)0x2000015c = 0; *(uint64_t*)0x20000160 = 0; *(uint32_t*)0x20000168 = 0; *(uint16_t*)0x2000016c = 0; *(uint16_t*)0x2000016e = 0; *(uint32_t*)0x20000170 = 0; *(uint32_t*)0x20000174 = 0; *(uint64_t*)0x20000178 = 0; res = syscall(__NR_perf_event_open, /*attr=*/0x20000100ul, /*pid=*/0, /*cpu=*/-1, /*group=*/-1, /*flags=*/0ul); if (res != -1) r[1] = res; memcpy((void*)0x20000200, "./bus\000", 6); syscall(__NR_truncate, /*file=*/0x20000200ul, /*len=*/1ul); memcpy( (void*)0x20000940, "Y\377\377\000\000\000\000\000K\262\002\200B\351\350\314\336\006\000l\250" "\032J\257\262M\272\270_\005U\315<|>\236\354^\016\276\030+-" "\233\2113\002\000\246\037+\263\305\220z5\340\337i\267\237\264QUw!" "j\221\016W\311\311\222\003\t\000\000\000\000\000\262\017\356\276\f8\314" "\177\000\000\000Z\201\000\000\000\000\030I\023\361\242x\004\201R\3245R" "\256\204_M^dQ:\274\257q\210\031nSF|;]\341\2604A\214\212\230\327|" "\334LF\r\261\375\277\213\307u\314P\335\023~\211\317\205\312\240%" "\306\307\021\000\000\000\000\000\000\000?M9\\\av~\'\331\260\254dya]" "8\235\267\v\3639\305{\234\203\347\ng\207\3313<" "u\276\352g\322\004e\362s\336}o#\220\332\234s,r\375:" "\313\307\vTmPZJ\254\213\320\300\274RK\313\0368\316\275[N\260\264<" "\253\206[\354\217\024\n\203\236&\\\267!\355\240\303," "\220m\017\000\000\000\000\000\000\377\320\263\224\000\000\000\000\000" "\000\000\235H\370\377Ro\243W\341\355\216Z\256X\223\177\323\271a\344\340" "\275\331\365\344e\371\312m\343\003\344\255\325&" "A\002\310\251\376\313\207\331\323\214\f\3008T~\304\275\220?" "\037\234\2330\031 " "\237\321p`\300/" "\000u\031\035\254\350%" "\267\t\2374\273\211\351\301\201\260\326\367\005\026\271\351\334~\323-" "s\346;\224\034^\006\332v;\314D\225sj\340\325\276S\254\345N\352\236yl[[" "\3165\356\a\234\226\253J^c\367\031\264\330\344\207\235p\352?/" "\313\232\2525\'Q\fuG\201\212@\227M=v\376\a\253p\363\223\341\177@" "9\300\322\361#\347N\211\370\350+" "\241\202\023\262\251\357\245\370\213k\263\236v\222\016\321\037\027Dx[" "\255\260\235/" "\226\3442mO\237h\352\363\024\315\226\211_)\033\342\326\b\224b\257;" "\222T\257z\224\237G\373\375|$k\003\327;\232y\356\371W?\263\371\370I." "E4\303eWq\372\":$\320\027Q\224\365\345mk\216&\361+#z\357*" "\316\231\276\271\220\274\271#-" "\215i\256\305\337\023\322K\213\365\f\262x\335\325\264\251^~O<" "\022\343\303P|7\251\310\261r0Z\230\207^\310C[" "\226\264lsyF\305\274\377OE\351\3270\347\376p\203\343[" "\004\214\247\241\331\344\272\222\027\277\340\341\001\267\213\030j\031n" "\310\377\351\364\364\317 " "a\327_w\017\235F\256\314A-" "\017\203\253U\325\2778\244O\264\357\310\314H\321=\276\265O\025\307;" "Lb\316\032\314\230\350\351e\340\302N\347\327\035\222\207F8\236\367\335" "\332W\365X\200\240f\316o\330\177\300\226\bSB\316&" "\004bA\355\374i\306\324/" "{i\035\002\020\306C\001^\317\223?" "w\001\204\240\326\242\020\244\374G\253D\326dGZ\262Cx\033\375D9\027\346" "\312uM\343\005)\342[\342j$F1n@\336\n%t.[\255\265\f<" "o\333\244\220\304\320I\246\226\241\000\273\335\224\000t/" "1YekG\177\275rI\036\2124=\242\351\3701\255\356\365\244\005#" "\177\250\037\037\266\353\206\302\352\030\024\304\300\253\350\3628\363" "\346}-\302Q\241\223\225\t\321\243\370\020\022\213#" "Cf\r\332\364\211\340\337\257W\bz6\352\227\241\276j4/" "\001\021\023\204\240O<" "\0372\2565\247\243\254\353\020\031\362\031\001\262;\313_\374\321dk\301%" "\316\373\005\230\373\2176\362o\n`\261*\225\262q\246\244q{\366F`\370_" "\301\375E\'", 952); res = syscall(__NR_memfd_create, /*name=*/0x20000940ul, /*flags=*/0ul); if (res != -1) r[2] = res; *(uint32_t*)0x20000040 = r[2]; *(uint64_t*)0x20000048 = 5; *(uint64_t*)0x20000050 = 0x80000001; *(uint64_t*)0x20000058 = 0x90000; syscall(__NR_ioctl, /*fd=*/r[1], /*cmd=*/0xc020f509, /*arg=*/0x20000040ul); syscall(__NR_mmap, /*addr=*/0x20200000ul, /*len=*/0x400000ul, /*prot=PROT_READ*/ 1ul, /*flags=MAP_LOCKED|MAP_FIXED|MAP_PRIVATE*/ 0x2012ul, /*fd=*/r[2], /*offset=*/0ul); *(uint16_t*)0x20000000 = 0; *(uint16_t*)0x20000002 = 0; *(uint64_t*)0x20000008 = 0; *(uint64_t*)0x20000010 = 1; *(uint32_t*)0x20000018 = 0; *(uint32_t*)0x2000001c = 0; memset((void*)0x20000020, 0, 16); syscall(__NR_ioctl, /*fd=*/r[2], /*cmd=*/0x40305828, /*arg=*/0x20000000ul); res = syscall(__NR_io_setup, /*n=*/2, /*ctx=*/0x20000400ul); if (res != -1) r[3] = *(uint64_t*)0x20000400; memcpy((void*)0x20000300, "./file0\000", 8); syscall(__NR_mkdir, /*path=*/0x20000300ul, /*mode=*/0ul); syscall(__NR_umount2, /*path=*/0ul, /*flags=UMOUNT_NOFOLLOW|MNT_FORCE*/ 9ul); memcpy((void*)0x20000080, "./file0\000", 8); memcpy((void*)0x200000c0, "ramfs\000", 6); syscall(__NR_mount, /*src=*/0ul, /*dst=*/0x20000080ul, /*type=*/0x200000c0ul, /*flags=*/0ul, /*data=*/0ul); memcpy((void*)0x20021000, "./file0\000", 8); res = syscall(__NR_open, /*file=*/0x20021000ul, /*flags=*/0ul, /*mode=*/0ul); if (res != -1) r[4] = res; memcpy((void*)0x200002c0, "./file0\000", 8); syscall(__NR_mkdir, /*path=*/0x200002c0ul, /*mode=S_IWOTH|S_IXUSR*/ 0x42ul); memcpy((void*)0x200001c0, "./file0\000", 8); memcpy((void*)0x20000200, "trusted.overlay.upper\000", 22); memcpy((void*)0x20000240, "\x00\xfb\x6b\x00\x00\x99\x78\x9d\x3a\xaa\xd6\xae\xe6\x9b\x49\xae\x7c" "\xc9\xa7\x09\x56\x96\x7d\x16\x6e\xce\x83\xed\xa8\x85\xa7\x30\x2b\xc1" "\x63\xbf\xf3\xed", 38); syscall(__NR_setxattr, /*path=*/0x200001c0ul, /*name=*/0x20000200ul, /*val=*/0x20000240ul, /*size=*/0x6bul, /*flags=*/0ul); syscall(__NR_fchdir, /*fd=*/r[4]); *(uint32_t*)0x20000100 = 1; *(uint32_t*)0x20000104 = 0x70; *(uint8_t*)0x20000108 = 0; *(uint8_t*)0x20000109 = 0; *(uint8_t*)0x2000010a = 0; *(uint8_t*)0x2000010b = 0; *(uint32_t*)0x2000010c = 0; *(uint64_t*)0x20000110 = 0x3c43; *(uint64_t*)0x20000118 = 0; *(uint64_t*)0x20000120 = 0; STORE_BY_BITMASK(uint64_t, , 0x20000128, 0, 0, 1); STORE_BY_BITMASK(uint64_t, , 0x20000128, 0, 1, 1); STORE_BY_BITMASK(uint64_t, , 0x20000128, 0, 2, 1); STORE_BY_BITMASK(uint64_t, , 0x20000128, 0, 3, 1); STORE_BY_BITMASK(uint64_t, , 0x20000128, 0, 4, 1); STORE_BY_BITMASK(uint64_t, , 0x20000128, 0, 5, 1); STORE_BY_BITMASK(uint64_t, , 0x20000128, 0, 6, 1); STORE_BY_BITMASK(uint64_t, , 0x20000128, 0, 7, 1); STORE_BY_BITMASK(uint64_t, , 0x20000128, 0, 8, 1); STORE_BY_BITMASK(uint64_t, , 0x20000128, 0, 9, 1); STORE_BY_BITMASK(uint64_t, , 0x20000128, 0, 10, 1); STORE_BY_BITMASK(uint64_t, , 0x20000128, 0, 11, 1); STORE_BY_BITMASK(uint64_t, , 0x20000128, 0, 12, 1); STORE_BY_BITMASK(uint64_t, , 0x20000128, 0, 13, 1); STORE_BY_BITMASK(uint64_t, , 0x20000128, 0, 14, 1); STORE_BY_BITMASK(uint64_t, , 0x20000128, 0, 15, 2); STORE_BY_BITMASK(uint64_t, , 0x20000128, 0, 17, 1); STORE_BY_BITMASK(uint64_t, , 0x20000128, 0, 18, 1); STORE_BY_BITMASK(uint64_t, , 0x20000128, 0, 19, 1); STORE_BY_BITMASK(uint64_t, , 0x20000128, 0, 20, 1); STORE_BY_BITMASK(uint64_t, , 0x20000128, 0, 21, 1); STORE_BY_BITMASK(uint64_t, , 0x20000128, 0, 22, 1); STORE_BY_BITMASK(uint64_t, , 0x20000128, 0, 23, 1); STORE_BY_BITMASK(uint64_t, , 0x20000128, 0, 24, 1); STORE_BY_BITMASK(uint64_t, , 0x20000128, 0, 25, 1); STORE_BY_BITMASK(uint64_t, , 0x20000128, 0, 26, 1); STORE_BY_BITMASK(uint64_t, , 0x20000128, 0, 27, 1); STORE_BY_BITMASK(uint64_t, , 0x20000128, 0, 28, 1); STORE_BY_BITMASK(uint64_t, , 0x20000128, 0, 29, 1); STORE_BY_BITMASK(uint64_t, , 0x20000128, 0, 30, 1); STORE_BY_BITMASK(uint64_t, , 0x20000128, 0, 31, 1); STORE_BY_BITMASK(uint64_t, , 0x20000128, 0, 32, 1); STORE_BY_BITMASK(uint64_t, , 0x20000128, 0, 33, 1); STORE_BY_BITMASK(uint64_t, , 0x20000128, 0, 34, 1); STORE_BY_BITMASK(uint64_t, , 0x20000128, 0, 35, 1); STORE_BY_BITMASK(uint64_t, , 0x20000128, 0, 36, 1); STORE_BY_BITMASK(uint64_t, , 0x20000128, 0, 37, 1); STORE_BY_BITMASK(uint64_t, , 0x20000128, 0, 38, 26); *(uint32_t*)0x20000130 = 0; *(uint32_t*)0x20000134 = 0; *(uint64_t*)0x20000138 = 0x20000000; *(uint64_t*)0x20000140 = 0; *(uint64_t*)0x20000148 = 0; *(uint64_t*)0x20000150 = 0; *(uint32_t*)0x20000158 = 0; *(uint32_t*)0x2000015c = 0; *(uint64_t*)0x20000160 = 0; *(uint32_t*)0x20000168 = 0; *(uint16_t*)0x2000016c = 0; *(uint16_t*)0x2000016e = 0; *(uint32_t*)0x20000170 = 0; *(uint32_t*)0x20000174 = 0; *(uint64_t*)0x20000178 = 0; syscall(__NR_perf_event_open, /*attr=*/0x20000100ul, /*pid=*/0, /*cpu=*/-1, /*group=*/-1, /*flags=*/0ul); memcpy((void*)0x20000040, "./bus\000", 6); res = syscall(__NR_creat, /*file=*/0x20000040ul, /*mode=*/0ul); if (res != -1) r[5] = res; syscall(__NR_ftruncate, /*fd=*/r[5], /*len=*/1ul); syscall(__NR_lseek, /*fd=*/r[5], /*offset=*/0x1200ul, /*whence=*/0ul); memcpy((void*)0x20000000, "./bus\000", 6); res = syscall(__NR_open, /*file=*/0x20000000ul, /*flags=*/0ul, /*mode=*/0ul); if (res != -1) r[6] = res; syscall(__NR_sendfile, /*fdout=*/r[5], /*fdin=*/r[6], /*off=*/0ul, /*count=*/0x8400fffffffaul); memcpy((void*)0x20000080, "/dev/sg#\000", 9); res = -1; res = syz_open_dev(/*dev=*/0x20000080, /*id=*/0, /*flags=O_NONBLOCK|O_LARGEFILE|O_RDWR*/ 0x8802); if (res != -1) r[7] = res; memcpy((void*)0x20000000, "\xb6\x3d\xb8\x5e\x1e\x8d\x02\x00\x00\x00\x00\x00\x00\x3e\xf0\x01\x1d" "\xcc\x82\x6a\x01\x00\x00\x80\x70\xcc\xd2\x87\x72\x18\xce\xbc\x9b\x97" "\xae\x21\xa1\x4d\x87\x2c\x67\x8c\xe2\x2c\x9b\x16\x00\x96", 48); syscall(__NR_write, /*fd=*/r[7], /*buf=*/0x20000000ul, /*count=*/0x30ul); syz_sysconfig_set__proc_sys_vm_percpu_pagelist_high_fraction(/*val=*/8); syz_open_procfs(/*pid=*/-1, /*file=*/0); *(uint64_t*)0x20000280 = 0x20000180; *(uint64_t*)0x20000288 = 0x92; *(uint64_t*)0x20000290 = 0x200012c0; *(uint64_t*)0x20000298 = 0x1000; *(uint64_t*)0x200002a0 = 0; *(uint64_t*)0x200002a8 = 0; syscall(__NR_readv, /*fd=*/r[7], /*vec=*/0x20000280ul, /*vlen=*/3ul); memcpy((void*)0x20000140, "./bus\000", 6); syscall(__NR_creat, /*file=*/0x20000140ul, /*mode=*/0ul); *(uint64_t*)0x20000540 = 0x200000c0; *(uint64_t*)0x200000c0 = 0xffffff7f; *(uint32_t*)0x200000c8 = 0x79000000; *(uint32_t*)0x200000cc = 0; *(uint16_t*)0x200000d0 = 1; *(uint16_t*)0x200000d2 = 0; *(uint32_t*)0x200000d4 = r[0]; *(uint64_t*)0x200000d8 = 0x20000000; *(uint64_t*)0x200000e0 = 0x1a31e3fd987a7d49; *(uint64_t*)0x200000e8 = 0; *(uint64_t*)0x200000f0 = 0; *(uint32_t*)0x200000f8 = 0; *(uint32_t*)0x200000fc = -1; syscall(__NR_io_submit, /*ctx=*/r[3], /*nr=*/0x1bul, /*iocbpp=*/0x20000540ul); syz_sysconfig_reset__proc_sys_vm_percpu_pagelist_high_fraction(); *(uint64_t*)0x20000100 = 0; *(uint32_t*)0x20000108 = 4; *(uint64_t*)0x20000110 = 0; syscall(__NR_sigaltstack, /*ss=*/0x20000100ul, /*oss=*/0ul); syz_sysconfig_set__proc_sys_vm_dirty_background_ratio(/*val=*/8); res = -1; res = syz_open_dev(/*dev=*/0xc, /*major=*/4, /*minor=*/1); if (res != -1) r[8] = res; syscall(__NR_ioctl, /*fd=*/r[8], /*cmd=*/0x5437, /*arg=*/0ul); *(uint8_t*)0x20000080 = 0; *(uint8_t*)0x20000081 = 0; *(uint16_t*)0x20000082 = 0x48d1; syscall(__NR_ioctl, /*fd=*/r[8], /*cmd=*/0x5452, /*arg=*/0x20000080ul); memcpy((void*)0x20000240, "ext2\000", 5); memcpy((void*)0x20000280, "mnt\000", 4); *(uint8_t*)0x20000080 = 0; memcpy( (void*)0x20000540, "\x78\x9c\xec\xdd\x4f\x68\x14\x57\x1c\x07\xf0\xdf\xcc\xee\x36\xcd\x1f\x4a" "\x9a\x5e\x0a\x85\xb6\x50\x4a\x69\x03\x21\xbd\xf5\xd6\x94\x42\x0b\x81\x12" "\x42\xe9\xa5\x2d\xa4\x94\xd2\x4b\x4b\x52\x48\x13\x7a\xcb\xf6\xe4\xc5\x83" "\x9e\x55\x72\xf2\x12\xc4\x9b\xd1\xa3\xe4\x12\xbc\x28\x82\xa7\xa8\x39\xc4" "\x8b\xa0\xc1\x83\xc1\x83\x1e\x56\x66\x37\xd1\xc5\xac\x18\x77\x93\x9d\x98" "\xf9\x7c\x60\x98\x99\xe4\x3d\x7e\x6f\xd8\xf9\xbe\xd9\xcb\xbc\x0d\xa0\xb0" "\x06\x23\x62\x2c\x22\x4a\x11\x31\x1c\x11\x95\x88\x48\x9a\x1b\x7c\xdc\xd8" "\x06\xb7\x4f\x17\x7b\x57\xa7\x6a\x0b\xb5\xda\x8f\x0f\x92\x7a\xbb\xec\x7c" "\xa7\xe9\x4e\xbf\xfe\x88\xa8\x46\xc4\x57\x11\xb1\x92\x26\xf1\x57\x39\x62" "\x7e\xf9\x97\x8d\x47\x6b\xdf\x7f\x76\x7c\xae\xf2\xe9\xd9\xe5\x9f\x7b\xbb" "\x7a\x91\xdb\x36\x37\xd6\x7f\xd8\x3a\x33\x71\xec\xc2\xf8\x97\xf3\xd7\x6e" "\xdc\x9b\x48\x62\x2c\x06\x9a\xae\xeb\x20\x6a\x26\x2d\xfe\x56\x4e\x22\x86" "\x0e\xa2\xd8\x21\x91\x94\xf3\x1e\x01\x7b\x31\xf9\xdf\xf9\x9b\x59\xee\xdf" "\x8b\x88\x4f\xea\xf9\xaf\x44\x1a\x8d\x0f\xef\xc4\xec\x5b\x2b\x95\xf8\xe2" "\x74\x8b\x6e\xf5\x5b\xfa\xe4\xfd\xeb\x1f\x74\x7b\xbc\xc0\xfe\xaa\xd5\x2a" "\xd9\x33\xb0\x5a\x03\x0a\x27\x8d\x88\x81\x48\xd2\x91\x88\x68\x1c\xa7\xe9" "\xc8\x48\xe3\x3b\xfc\xad\x52\x5f\xfa\xf7\xcc\xec\xbf\xc3\x7f\xce\xcc\x4d" "\xff\x91\xf7\x4c\x05\xec\x97\x81\x88\xf5\xef\x2e\xf5\x5c\xec\x7f\x21\xff" "\x77\x4b\x8d\xfc\x03\x47\x57\x96\xff\x9f\x26\x97\x6e\x67\xc7\x5b\xa5\xbc" "\x47\x03\x74\x53\x96\xff\xe1\xdf\x16\x3e\x0f\xf9\x87\x37\xd7\xd0\xb7\x6d" "\x75\x6b\x3b\xff\x5f\xb7\x55\x0e\x38\x44\x3c\xff\xa1\xb8\xe4\x1f\x8a\x4b" "\xfe\xa1\xb8\xe4\x1f\x8e\x8e\xb7\x5f\xb3\xbd\xfc\x43\x71\xc9\x3f\x14\x97" "\xfc\x43\x71\xc9\x3f\x1c\x0d\x69\x1b\x7d\x9a\xf3\x0f\x00\x14\x4b\xad\x27" "\xef\x37\x90\x81\xbc\xe4\x3d\xff\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\xbb\x2d\xf6\xae\x4e\xed\x6c\xdd\xaa\x79\xe5\x54\xc4" "\xe6\x37\x11\x51\x6e\x55\xbf\xb4\xbd\xae\x51\x63\x65\xe3\xbe\x87\x49\xd6" "\xec\x99\xa4\xd1\xed\x65\xaa\x7b\xa9\xff\xeb\x47\x9d\x8c\xbe\x73\xe7\x72" "\x7e\xfb\xfa\x9d\x3b\xf9\xd6\xbf\xfa\x61\xbe\xf5\x17\xa6\x23\xaa\xff\x47" "\xc4\x68\xb9\xbc\xfb\xfe\x4b\xda\x5a\x57\xab\xd9\xbb\xaf\xf8\x7f\xe5\xf7" "\x0e\x0b\x74\x28\xef\x9f\xf2\x7b\xb2\x94\x6f\xfd\xf1\xb5\x88\xcb\xd9\xfc" "\x33\xda\x6a\xfe\x49\xe3\xfd\xfa\xbe\xc5\xfc\x53\xa9\xaf\x9f\x96\xed\xda" "\xf0\x3c\xf4\xff\x3c\xee\xf0\x02\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xe8" "\x9a\xa7\x01\x00\x00\xff\xff\x91\x67\x70\x77", 605); syz_mount_image(/*fs=*/0x20000240, /*dir=*/0x20000280, /*flags=MS_SILENT|MS_RDONLY|MS_MANDLOCK|0x100*/ 0x8141, /*opts=*/0x20000080, /*chdir=*/0, /*size=*/0x25d, /*img=*/0x20000540); syz_sysconfig_reset__proc_sys_vm_dirty_background_ratio(); syscall(__NR_setfsgid, /*fsgid=*/0xee01); memcpy((void*)0x20000b80, "ext4\000", 5); memcpy((void*)0x20000bc0, "./bus\000", 6); *(uint8_t*)0x20000040 = 0; memcpy( (void*)0x20000c40, "\x78\x9c\xec\xdc\xcb\x6b\x5c\x55\x18\x00\xf0\xef\xde\x3c\x9a\x36\xb1\x93" "\x8a\xa8\x2d\x82\x01\xa9\x15\xc5\x69\xda\x14\x85\xae\x5a\xd7\xa2\x82\x2e" "\xba\xec\x98\x4c\x4a\xc8\xf4\x61\x26\x82\x09\x5d\xa4\x75\xaf\x2e\x44\x5c" "\x14\xa4\x7f\x82\xe0\xde\xba\x70\x25\xb8\xa8\x0b\xad\x7f\x41\x11\x8b\x14" "\xdd\xb4\x2e\x22\x77\x1e\xe9\xd0\x64\x92\xd8\xce\xf4\xf4\xf1\xfb\xc1\x99" "\x7b\xce\x9c\xe9\x7c\xdf\x37\x97\xce\x3d\x07\xe6\x26\x80\x27\xd6\x44\xf1" "\x90\x47\xec\x8d\x88\x93\x59\x44\xa9\xf5\x7c\x1e\x11\xc3\x8d\xde\x48\xc4" "\x4a\xf3\x75\xb7\x6f\x9e\x9f\x2e\x5a\x16\xab\xab\xef\xff\x95\x45\x16\x11" "\xb7\x6e\x9e\x9f\x6e\xbf\x57\xd6\x3a\x8e\xb6\x06\x23\x11\x71\xf5\xad\x2c" "\x9e\xfe\x74\x7d\xdc\xfa\xd2\xf2\x7c\xa5\x56\xab\x2e\xb4\xc6\x07\x17\x4f" "\x9f\x3b\x58\x5f\x5a\x7e\x7d\xee\x74\xe5\x54\xf5\x54\xf5\xcc\x91\xa9\x37" "\x8f\x4c\xbd\x31\x35\xd5\xc3\x5a\xaf\x9f\xfb\xf0\xeb\x17\x7e\x79\xe7\xe5" "\x8b\x97\x3f\x9b\x7c\xf7\xab\xdd\x3f\x65\x71\x2c\xc6\x5a\x73\x9d\x75\xf4" "\xca\x44\x4c\xac\x7d\x26\x9d\x06\x23\xa2\xd2\xeb\x60\x89\x0c\xb4\xea\xe9" "\xac\x33\x1b\x4c\x98\x10\x00\x00\x9b\xca\x3b\xd6\x70\xcf\x46\x29\x06\xe2" "\xce\xe2\xad\x14\x3f\xfe\x9a\x34\x39\x00\x00\x00\xa0\x27\x56\x07\x22\x56" "\x01\x00\x00\x80\xc7\x5c\x66\xff\x0f\x00\x00\x00\x8f\xb9\xf6\xef\x00\x6e" "\xdd\x3c\x3f\xdd\x6e\x69\x7f\x91\xf0\x60\xdd\x38\x1e\x11\xe3\xcd\xfa\xdb" "\xf7\x37\x37\x67\x06\x63\xa5\x71\x1c\x89\xa1\x88\xd8\xf5\x77\x16\x9d\xb7" "\xb5\x66\xcd\x7f\x76\xdf\x26\x8a\x48\xdf\xfd\x5c\x2d\x5a\xf4\xe9\x3e\xe4" "\xcd\xac\x5c\x88\x88\xe7\x37\x3a\xff\x59\xa3\xfe\xf1\xc6\x5d\xdc\xeb\xeb" "\xcf\x23\x62\xb2\x07\xf1\x27\xee\x1a\x3f\x4a\xf5\x1f\xeb\x41\xfc\xd4\xf5" "\x03\xf0\x64\xba\x72\xbc\x79\x21\x5b\x7f\xfd\xcb\xd7\xd6\x3f\xb1\xc1\xf5" "\x6f\x70\x83\x6b\xd7\xbd\x48\x7d\xfd\x6b\xaf\xff\x6e\xaf\x5b\xff\xdd\xa9" "\x7f\xa0\xcb\xfa\xef\xbd\x6d\xc6\xd8\xf7\xef\xab\x57\xbb\xcd\x75\xae\xff" "\x4e\x7c\xfe\xfb\x4c\x11\xbf\x38\xde\x57\x51\xff\xc3\x8d\x0b\x11\xfb\x06" "\x37\xaa\x3f\x5b\xab\x3f\xeb\x52\xff\xc9\x6d\xc6\x18\x9d\xbe\x7e\xa9\xdb" "\x5c\x51\x7f\x51\x6f\xbb\x3d\xe8\xfa\x57\x2f\x47\xec\x8f\x8d\xeb\x6f\xcb" "\x36\xfb\xfb\x44\x07\x67\xe7\x6a\xd5\xc9\xe6\x63\x97\x18\xfb\x7f\x38\x71" "\xa0\x5b\xfc\xce\xf3\x5f\xb4\x22\x7e\x7b\x2f\xf0\x20\x14\xe7\x7f\x57\x97" "\xfa\xb7\x3a\xff\xe7\xb6\x19\x63\xfc\xb9\x3f\xf7\x76\x9b\xdb\xba\xfe\xfc" "\x8f\xe1\xec\x83\x46\x6f\xb8\xf5\xcc\x27\x95\xc5\xc5\x85\x43\x11\xc3\xd9" "\xdb\xeb\x9f\x3f\xbc\x79\x2e\xed\xd7\xb4\xdf\xa3\xa8\xff\x95\x97\x36\xff" "\xff\xbf\x51\xfd\xc5\x77\xc2\x4a\xeb\x73\x28\xf6\x02\x17\x5a\xc7\x62\x7c" "\xf1\xae\x98\xa3\xfb\x0f\x7f\x7b\xef\xf5\xf7\x57\x51\xff\xcc\x3d\x9e\xff" "\x2f\xb6\x19\xe3\x9b\xef\x2f\x7d\xd4\x6d\x2e\x75\xfd\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x3c\x1a\xf2\x88\x18\x8b\x2c\x2f\xaf\xf5\xf3\xbc\x5c\x8e\x18\x8d" "\x88\x67\x62\x57\x5e\x3b\x5b\x5f\x7c\x6d\xf6\xec\xc7\x67\x66\x8a\xb9\x88" "\xf1\x18\xca\x67\xe7\x6a\xd5\xc9\x88\x28\x35\xc7\x59\x31\x3e\xd4\xe8\xdf" "\x19\x1f\xbe\x6b\x3c\x15\x11\x7b\x22\xe2\xcb\xd2\xce\xc6\xb8\x3c\x7d\xb6" "\x36\x93\xba\x78\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xd6\x8c\x46\xc4\x58" "\x64\x79\x39\x22\xf2\x88\xf8\xa7\x94\xe7\xe5\x72\xea\xac\x00\x00\x00\x80" "\x9e\x1b\x4f\x9d\x00\x00\x00\x00\xd0\x77\xf6\xff\x00\x00\x00\xf0\xf8\xb3" "\xff\x07\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xa0\xcf" "\xf6\xbc\x78\xe5\x5a\x16\x11\x2b\x47\x77\x36\x5a\x61\xb8\x35\x37\x94\x34" "\x33\xa0\xdf\xf2\xd4\x09\x00\xc9\x0c\xa4\x4e\x00\x48\x66\x30\x75\x02\x40" "\x32\xf6\xf8\x40\xb6\xc5\xfc\x48\xd7\x99\x1d\x3d\xcf\x05\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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" "\x87\xd7\x81\xbd\x57\xae\x65\x11\xb1\x72\x74\x67\xa3\x15\x86\x5b\x73\x43" "\x49\x33\x03\xfa\x2d\x4f\x9d\x00\x90\xcc\x40\xea\x04\x80\x64\x06\x53\x27" "\x00\x24\x63\x8f\x0f\x64\x5b\xcc\x8f\x74\x9d\xd9\xd1\xf3\x5c\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x78\x78\x8d\x35\x5a\x96\x97\x23\x22\x6f\xf4\xf3\xbc\x5c\x8e\x78\x2a" "\x22\xc6\x63\x28\x9b\x9d\xab\x55\x27\x23\x62\x77\x44\xfc\x56\x1a\xda\x51" "\x8c\x0f\xa5\x4e\x1a\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\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\x9e\xab\x2f\x2d" "\xcf\x57\x6a\xb5\xea\x82\x8e\x8e\x8e\xce\x5a\x27\xf5\x37\x13\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x29\xd4\x97\x96\xe7\x2b\xb5\x5a\x75\xa1\x9e\x3a\x13" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x20\xb5\xfa\xd2\xf2\x7c\xa5\x56\xab\x2e\xf4\xb1\x93\xba\x46\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xd2" "\xf9\x2f\x00\x00\xff\xff\xb3\x35\x06\x19", 2944); syz_mount_image(/*fs=*/0x20000b80, /*dir=*/0x20000bc0, /*flags=*/0, /*opts=*/0x20000040, /*chdir=*/1, /*size=*/0xb80, /*img=*/0x20000c40); memcpy((void*)0x20000100, "./cgroup/cgroup.procs\000", 22); syscall(__NR_truncate, /*file=*/0x20000100ul, /*len=*/0ul); syz_sysconfig_set__proc_sys_vm_watermark_boost_factor(/*val=*/9); memcpy((void*)0x20000000, "./bus\000", 6); syscall(__NR_creat, /*file=*/0x20000000ul, /*mode=*/0ul); res = -1; res = syz_open_dev(/*dev=*/0xc, /*major=*/4, /*minor=*/1); if (res != -1) r[9] = res; memcpy( (void*)0x20000140, "\x1b\x5b\x07\x07\x31\x00\x31\x6d\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x40\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x38\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x10\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x09\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x85\x29\x2f\x0d\xec\x14" "\xd1\x6e\x93\xe0\xeb\x53\x0e\x47\x66\x44\xfc\x95\x85\xdc\x7b\x31\xcc\xc9" "\xbf\x97\xb3\xa4\x5e\x14\x5b\x20\x52\x92\x7d\x00\x00\x00\x00\xe4\x71\x4e" "\x70\x57\xb1\x92\x2b\x03\x5c\xb4\x27\xfa\x50\x8e\x57\x64\x1a\x56\x22\x1b" "\x6b\xc5\x70\xdc\x11\x15\xbf\xc3\xe3\x0e\x65\x21\xaf\x1f\x23", 195); syscall(__NR_write, /*fd=*/r[9], /*data=*/0x20000140ul, /*len=*/0x78ul); syz_sysconfig_reset__proc_sys_vm_watermark_boost_factor(); return 0; }