Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // autogenerated by syzkaller (https://github.com/google/syzkaller)
- #define _GNU_SOURCE
- #include <arpa/inet.h>
- #include <endian.h>
- #include <errno.h>
- #include <fcntl.h>
- #include <net/if.h>
- #include <netinet/in.h>
- #include <setjmp.h>
- #include <stdbool.h>
- #include <stddef.h>
- #include <stdint.h>
- #include <stdio.h>
- #include <stdlib.h>
- #include <string.h>
- #include <sys/ioctl.h>
- #include <sys/mman.h>
- #include <sys/mount.h>
- #include <sys/socket.h>
- #include <sys/stat.h>
- #include <sys/syscall.h>
- #include <sys/types.h>
- #include <unistd.h>
- #include <linux/genetlink.h>
- #include <linux/if_addr.h>
- #include <linux/if_link.h>
- #include <linux/in6.h>
- #include <linux/loop.h>
- #include <linux/neighbour.h>
- #include <linux/net.h>
- #include <linux/netlink.h>
- #include <linux/rtnetlink.h>
- #include <linux/veth.h>
- static long syz_sysconfig_set__proc_sys_vm_mmap_rnd_bits(volatile long val)
- {
- char command[256];
- sprintf(command, "echo %ld > /proc/sys/vm/mmap_rnd_bits", val);
- int ret = system(command);
- if (ret != 0) {
- return 0;
- }
- return 0;
- }
- static long syz_sysconfig_reset__proc_sys_vm_mmap_rnd_bits()
- {
- char command[256];
- sprintf(command, "echo 28 > /proc/sys/vm/mmap_rnd_bits");
- int ret = system(command);
- if (ret != 0) {
- return 0;
- }
- return 0;
- }
- static long syz_sysconfig_set__proc_sys_net_ipv4_conf_default_route_localnet(volatile long val)
- {
- char command[256];
- sprintf(command, "echo %ld > /proc/sys/net/ipv4/conf/default/route_localnet", val);
- int ret = system(command);
- if (ret != 0) {
- return 0;
- }
- return 0;
- }
- static long syz_sysconfig_set__proc_sys_vm_zone_reclaim_mode(volatile long val)
- {
- char command[256];
- sprintf(command, "echo %ld > /proc/sys/vm/zone_reclaim_mode", val);
- int ret = system(command);
- if (ret != 0) {
- return 0;
- }
- return 0;
- }
- static long syz_sysconfig_reset__proc_sys_vm_zone_reclaim_mode()
- {
- char command[256];
- sprintf(command, "echo 0 > /proc/sys/vm/zone_reclaim_mode");
- int ret = system(command);
- if (ret != 0) {
- return 0;
- }
- return 0;
- }
- #ifndef __NR_memfd_create
- #define __NR_memfd_create 319
- #endif
- #ifndef __NR_seccomp
- #define __NR_seccomp 317
- #endif
- 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))))
- struct nlmsg {
- char* pos;
- int nesting;
- struct nlattr* nested[8];
- char buf[4096];
- };
- static void netlink_init(struct nlmsg* nlmsg, int typ, int flags,
- const void* data, int size)
- {
- memset(nlmsg, 0, sizeof(*nlmsg));
- struct nlmsghdr* hdr = (struct nlmsghdr*)nlmsg->buf;
- hdr->nlmsg_type = typ;
- hdr->nlmsg_flags = NLM_F_REQUEST | NLM_F_ACK | flags;
- memcpy(hdr + 1, data, size);
- nlmsg->pos = (char*)(hdr + 1) + NLMSG_ALIGN(size);
- }
- static void netlink_attr(struct nlmsg* nlmsg, int typ, const void* data,
- int size)
- {
- struct nlattr* attr = (struct nlattr*)nlmsg->pos;
- attr->nla_len = sizeof(*attr) + size;
- attr->nla_type = typ;
- if (size > 0)
- memcpy(attr + 1, data, size);
- nlmsg->pos += NLMSG_ALIGN(attr->nla_len);
- }
- static int netlink_send_ext(struct nlmsg* nlmsg, int sock, uint16_t reply_type,
- int* reply_len, bool dofail)
- {
- if (nlmsg->pos > nlmsg->buf + sizeof(nlmsg->buf) || nlmsg->nesting)
- exit(1);
- struct nlmsghdr* hdr = (struct nlmsghdr*)nlmsg->buf;
- hdr->nlmsg_len = nlmsg->pos - nlmsg->buf;
- struct sockaddr_nl addr;
- memset(&addr, 0, sizeof(addr));
- addr.nl_family = AF_NETLINK;
- ssize_t n = sendto(sock, nlmsg->buf, hdr->nlmsg_len, 0,
- (struct sockaddr*)&addr, sizeof(addr));
- if (n != (ssize_t)hdr->nlmsg_len) {
- if (dofail)
- exit(1);
- return -1;
- }
- n = recv(sock, nlmsg->buf, sizeof(nlmsg->buf), 0);
- if (reply_len)
- *reply_len = 0;
- if (n < 0) {
- if (dofail)
- exit(1);
- return -1;
- }
- if (n < (ssize_t)sizeof(struct nlmsghdr)) {
- errno = EINVAL;
- if (dofail)
- exit(1);
- return -1;
- }
- if (hdr->nlmsg_type == NLMSG_DONE)
- return 0;
- if (reply_len && hdr->nlmsg_type == reply_type) {
- *reply_len = n;
- return 0;
- }
- if (n < (ssize_t)(sizeof(struct nlmsghdr) + sizeof(struct nlmsgerr))) {
- errno = EINVAL;
- if (dofail)
- exit(1);
- return -1;
- }
- if (hdr->nlmsg_type != NLMSG_ERROR) {
- errno = EINVAL;
- if (dofail)
- exit(1);
- return -1;
- }
- errno = -((struct nlmsgerr*)(hdr + 1))->error;
- return -errno;
- }
- static int netlink_query_family_id(struct nlmsg* nlmsg, int sock,
- const char* family_name, bool dofail)
- {
- struct genlmsghdr genlhdr;
- memset(&genlhdr, 0, sizeof(genlhdr));
- genlhdr.cmd = CTRL_CMD_GETFAMILY;
- netlink_init(nlmsg, GENL_ID_CTRL, 0, &genlhdr, sizeof(genlhdr));
- netlink_attr(nlmsg, CTRL_ATTR_FAMILY_NAME, family_name,
- strnlen(family_name, GENL_NAMSIZ - 1) + 1);
- int n = 0;
- int err = netlink_send_ext(nlmsg, sock, GENL_ID_CTRL, &n, dofail);
- if (err < 0) {
- return -1;
- }
- uint16_t id = 0;
- struct nlattr* attr = (struct nlattr*)(nlmsg->buf + NLMSG_HDRLEN +
- NLMSG_ALIGN(sizeof(genlhdr)));
- for (; (char*)attr < nlmsg->buf + n;
- attr = (struct nlattr*)((char*)attr + NLMSG_ALIGN(attr->nla_len))) {
- if (attr->nla_type == CTRL_ATTR_FAMILY_ID) {
- id = *(uint16_t*)(attr + 1);
- break;
- }
- }
- if (!id) {
- errno = EINVAL;
- return -1;
- }
- recv(sock, nlmsg->buf, sizeof(nlmsg->buf), 0);
- return id;
- }
- 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;
- }
- static long syz_genetlink_get_family_id(volatile long name,
- volatile long sock_arg)
- {
- int fd = sock_arg;
- if (fd < 0) {
- fd = socket(AF_NETLINK, SOCK_RAW, NETLINK_GENERIC);
- if (fd == -1) {
- return -1;
- }
- }
- struct nlmsg nlmsg_tmp;
- int ret = netlink_query_family_id(&nlmsg_tmp, fd, (char*)name, false);
- if ((int)sock_arg < 0)
- close(fd);
- if (ret < 0) {
- return -1;
- }
- return ret;
- }
- //% 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 [email protected]
- //% 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[35] = {0xffffffffffffffff,
- 0xffffffffffffffff,
- 0xffffffffffffffff,
- 0xffffffffffffffff,
- 0xffffffffffffffff,
- 0xffffffffffffffff,
- 0xffffffffffffffff,
- 0xffffffffffffffff,
- 0xffffffffffffffff,
- 0xffffffffffffffff,
- 0xffffffffffffffff,
- 0xffffffffffffffff,
- 0xffffffffffffffff,
- 0xffffffffffffffff,
- 0x0,
- 0xffffffffffffffff,
- 0xffffffffffffffff,
- 0xffffffffffffffff,
- 0xffffffffffffffff,
- 0xffffffffffffffff,
- 0xffffffffffffffff,
- 0xffffffffffffffff,
- 0xffffffffffffffff,
- 0xffffffffffffffff,
- 0xffffffffffffffff,
- 0xffffffffffffffff,
- 0x0,
- 0xffffffffffffffff,
- 0xffffffffffffffff,
- 0xffffffffffffffff,
- 0xffffffffffffffff,
- 0xffffffffffffffff,
- 0xffffffffffffffff,
- 0x0,
- 0x0};
- int main(void)
- {
- syscall(__NR_mmap, /*addr=*/0x1ffffffff000ul, /*len=*/0x1000ul, /*prot=*/0ul,
- /*flags=MAP_FIXED|MAP_ANONYMOUS|MAP_PRIVATE*/ 0x32ul, /*fd=*/-1,
- /*offset=*/0ul);
- syscall(__NR_mmap, /*addr=*/0x200000000000ul, /*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=*/0x200001000000ul, /*len=*/0x1000ul, /*prot=*/0ul,
- /*flags=MAP_FIXED|MAP_ANONYMOUS|MAP_PRIVATE*/ 0x32ul, /*fd=*/-1,
- /*offset=*/0ul);
- const char* reason;
- (void)reason;
- intptr_t res = 0;
- if (write(1, "executing program\n", sizeof("executing program\n") - 1)) {
- }
- memcpy((void*)0x200000000040, "./bus\000", 6);
- res = syscall(__NR_creat, /*file=*/0x200000000040ul, /*mode=*/0ul);
- if (res != -1)
- r[0] = res;
- syscall(__NR_fcntl, /*fd=*/r[0], /*cmd=*/4ul,
- /*flags=O_NONBLOCK|O_DIRECT|FASYNC|0x100*/ 0x6900ul);
- memcpy((void*)0x200000000080, "./bus\000", 6);
- syscall(__NR_truncate, /*file=*/0x200000000080ul, /*len=*/0x1000ul);
- memcpy((void*)0x200000000000, "./bus\000", 6);
- res = syscall(__NR_open, /*file=*/0x200000000000ul, /*flags=*/0ul,
- /*mode=*/0ul);
- if (res != -1)
- r[1] = res;
- syscall(__NR_sendfile, /*fdout=*/r[0], /*fdin=*/r[1], /*off=*/0ul,
- /*count=*/0x8400fffffffaul);
- *(uint64_t*)0x200000000980 = 0;
- syscall(__NR_ioctl, /*fd=*/-1, /*cmd=*/0x40086607, /*arg=*/0x200000000980ul);
- memcpy((void*)0x200000000040, "/proc/sys/net/ipv4/tcp_wmem\000", 28);
- syscall(__NR_openat, /*fd=*/0xffffffffffffff9cul, /*file=*/0x200000000040ul,
- /*flags=*/1, /*mode=*/0);
- memcpy((void*)0x200000000200, "ext4\000", 5);
- memcpy((void*)0x2000000001c0, "./mnt\000", 6);
- memcpy((void*)0x200000000080, "user_xattr", 10);
- *(uint8_t*)0x20000000008a = 0x2c;
- *(uint8_t*)0x20000000008b = 0;
- memcpy(
- (void*)0x200000000680,
- "\x78\x9c\xec\xdd\x31\x68\x33\x65\x1c\x06\xf0\xe7\x2e\x89\x9f\xfd\xbe\x20"
- "\x55\x17\x41\x50\x41\x44\xb4\x50\xea\x26\xb8\xd4\x45\xa1\x20\xa5\x88\x08"
- "\x2a\x54\x44\x5c\x94\x56\xa8\x2d\x6e\xad\x93\x8b\x83\xce\x2a\x9d\x5c\x8a"
- "\xb8\x59\x1d\xa5\x4b\x71\x51\x04\xa7\xaa\x1d\xea\x22\x68\x71\xb0\x38\xe8"
- "\x10\xb9\x5c\x2b\xd5\x46\x14\x53\x73\xf2\xdd\xef\x07\x97\xdc\x25\xef\x7b"
- "\xff\xf7\xb8\x7b\xde\x64\x39\x2e\x40\x6b\x4d\x27\x99\x4f\xd2\x49\x32\x93"
- "\xa4\x97\xa4\x38\xdf\xe0\xae\x7a\x99\x3e\xdd\xdc\x9e\xda\x5f\x4e\x06\x83"
- "\xc7\x7f\x2c\x86\xed\xea\xed\xda\x59\xbf\x6b\x49\xb6\x92\x3c\x98\x64\xaf"
- "\x2c\xf2\x62\x37\xd9\xd8\x7d\xfa\xe8\xe7\x83\x47\xef\x7d\x63\xbd\x77\xcf"
- "\x7b\xbb\x4f\x4d\x4d\xf4\x20\x4f\x1d\x1f\x1d\x3e\x76\xf2\xee\xe2\xeb\x1f"
- "\x2e\x3c\xb0\xf1\xf9\x97\xdf\x2f\x16\x99\x4f\xff\x0f\xc7\x75\xf9\x8a\x11"
- "\x9f\x75\x8b\xe4\x96\xff\xa2\xd8\xff\x44\xd1\x6d\x7a\x04\xfc\x13\x4b\xaf"
- "\x7e\xf0\x55\x95\xfb\x5b\x93\xdc\x3d\xcc\x7f\x2f\x65\xea\x93\xf7\xe6\xda"
- "\x0d\x7b\xbd\xdc\xff\xce\x5f\xf5\x7d\xeb\x87\x2f\x6e\x9f\xe4\x58\x81\xcb"
- "\x37\x18\xf4\xaa\xdf\xc0\xad\x01\xd0\x3a\x65\x92\x7e\x8a\x72\x36\x49\xbd"
- "\x5e\x96\xb3\xb3\xf5\x7f\xf8\xaf\x3b\x57\xcb\x97\x56\xd7\x5e\x99\x79\x61"
- "\x75\x7d\xe5\xf9\xa6\x67\x2a\xe0\xb2\xf4\x93\xc3\x47\x3e\xbe\xf2\xd1\xb5"
- "\x3f\xe5\xff\xbb\x4e\x9d\x7f\xe0\xfa\x55\xe5\xff\x89\xa5\x9d\x6f\xaa\xf5"
- "\x93\x4e\xd3\xa3\x01\x26\xa9\xca\xff\xcc\xb3\x9b\xf7\x45\xfe\xa1\x75\xe4"
- "\x1f\xda\x4b\xfe\xa1\xbd\xe4\x1f\xda\x4b\xfe\xa1\xbd\xe4\x1f\xda\x4b\xfe"
- "\xa1\xbd\xe4\x1f\xda\x4b\xfe\xa1\xbd\xe4\x1f\xda\xeb\x7c\xfe\x01\x80\x76"
- "\x19\x5c\x69\xfa\x0e\x64\xa0\x29\x4d\xcf\x3f\x00\x00\x00\x00\x00\x00\x00"
- "\x00\x00\x00\x00\x00\x00\x00\xc0\x45\xdb\x53\xfb\xcb\x67\xcb\xa4\x6a\x7e"
- "\xfa\x76\x72\xfc\x70\x92\xee\xa8\xfa\x9d\xe1\xf3\x88\x93\x1b\x87\xaf\x57"
- "\x7f\x2a\xaa\x66\xbf\x2b\xea\x6e\x63\x79\xe6\xce\x31\x77\x30\xa6\xf7\x1b"
- "\xbe\xfb\xfa\xa6\x6f\x9b\xad\xff\xd9\x1d\xcd\xd6\xdf\x5c\x49\xb6\x5e\x4b"
- "\x32\xd7\xed\x5e\xbc\xfe\x8a\xd3\xeb\xef\xdf\xbb\xf9\x6f\xbe\xef\x3d\x37"
- "\x66\x81\x31\x3d\xf4\x64\xb3\xf5\x7f\xdd\x69\xb6\xfe\xc2\x41\xf2\x49\x35"
- "\xff\xcc\x8d\x9a\x7f\xca\xdc\x36\x7c\x1f\x3d\xff\xf4\xab\xf3\x37\x66\xfd"
- "\x97\x7f\x19\x73\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\x4c\xcc\x6f\x01"
- "\x00\x00\xff\xff\xc9\xf4\x6d\x29",
- 566);
- res = -1;
- res = syz_mount_image(
- /*fs=*/0x200000000200, /*dir=*/0x2000000001c0,
- /*flags=MS_LAZYTIME|MS_I_VERSION|MS_SHARED|MS_PRIVATE|MS_REC|MS_RELATIME|MS_NOSUID*/
- 0x2b44002, /*opts=*/0x200000000080, /*chdir=*/1, /*size=*/0x236,
- /*img=*/0x200000000680);
- if (res != -1)
- r[2] = res;
- memcpy((void*)0x200000000100, "/dev/input/event#\000", 18);
- res = -1;
- res = syz_open_dev(/*dev=*/0x200000000100, /*id=*/1, /*flags=*/0);
- if (res != -1)
- r[3] = res;
- syscall(__NR_ioctl, /*fd=*/r[3], /*cmd=*/0x80284504,
- /*arg=*/0x200000000780ul);
- syscall(__NR_dup2, /*oldfd=*/-1, /*newfd=*/r[2]);
- syscall(__NR_ioperm, /*from=*/1ul, /*num=*/0x3ful,
- /*on=*/0xfffffffffffffff8ul);
- memcpy((void*)0x200000000040, "/proc/sys/net/ipv4/tcp_congestion_control\000",
- 42);
- syscall(__NR_openat, /*fd=*/0xffffffffffffff9cul, /*file=*/0x200000000040ul,
- /*flags=*/1, /*mode=*/0);
- res = syscall(__NR_socket, /*domain=*/0x11ul, /*type=SOCK_DGRAM*/ 2ul,
- /*proto=*/0x300);
- if (res != -1)
- r[4] = res;
- *(uint16_t*)0x200000fbe000 = 2;
- *(uint64_t*)0x200000fbe008 = 0x200000000140;
- *(uint16_t*)0x200000000140 = 0x28;
- *(uint8_t*)0x200000000142 = 3;
- *(uint8_t*)0x200000000143 = 0;
- *(uint32_t*)0x200000000144 = 0xfffff034;
- *(uint16_t*)0x200000000148 = 6;
- *(uint8_t*)0x20000000014a = 0;
- *(uint8_t*)0x20000000014b = 0;
- *(uint32_t*)0x20000000014c = 0x400;
- syscall(__NR_setsockopt, /*fd=*/r[4], /*level=*/1, /*optname=*/0x1a,
- /*optval=*/0x200000fbe000ul, /*optlen=*/0x10ul);
- res = syscall(__NR_socket, /*domain=*/0xaul,
- /*type=SOCK_RAW|0x100000000*/ 0x100000003ul, /*proto=*/0x3c);
- if (res != -1)
- r[5] = res;
- memcpy((void*)0x200000000500, "iso9660\000", 8);
- memcpy((void*)0x200000000280, "./file0\000", 8);
- memcpy((void*)0x200000000540, "unhide,gid=", 11);
- sprintf((char*)0x20000000054b, "0x%016llx", (long long)0);
- memcpy((void*)0x20000000055d, ",map=off,norock,gid=", 20);
- sprintf((char*)0x200000000571, "0x%016llx", (long long)0);
- memcpy((void*)0x200000000583, ",giM\r", 5);
- sprintf((char*)0x200000000588, "0x%016llx", (long long)0);
- memcpy((void*)0x20000000059a, ",check=strict,\000", 15);
- memcpy(
- (void*)0x2000000002c0,
- "\x78\x9c\xec\xdc\xcf\x6b\xe3\x46\x1c\x07\xd0\x51\x71\x8a\x49\x2f\x85\xa5"
- "\x4d\xd6\x7b\x51\x77\xa1\xa4\xa1\xf5\x4a\x0a\x6b\x63\xf6\x64\x1c\xd9\xab"
- "\xad\x7f\x14\xdb\x81\xe6\x58\x48\x02\xa5\x39\xb5\xa7\xe6\xd4\xff\xbc\x45"
- "\xb6\x93\x92\x26\x8d\xdd\x92\x44\x21\xbc\x07\xc9\x8c\xa5\x8f\xe4\x31\x08"
- "\x7d\xd1\x98\x71\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
- "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
- "\x42\xd4\x3b\x4c\x92\x34\x0a\xc3\x62\x7c\xf4\x63\xfc\xef\x7a\x87\xd3\xc9"
- "\xe8\x8e\xfd\x97\xe7\xfb\xea\x5a\x73\xc7\xfb\x86\x10\x95\x7f\xa1\x5e\x0f"
- "\xbb\xcb\x4d\xbb\x2f\xfe\xde\xfd\x45\xf9\xef\x75\xd8\x59\xbe\xda\x09\xf5"
- "\xb2\xa9\x87\x8b\xcf\xbe\xfc\xfc\xfd\x8b\xda\x27\x97\xc7\xdf\x31\xa0\x47"
- "\xf1\xdb\xef\x17\xbf\xfc\x74\x7e\x7e\xfa\xeb\x7f\x39\xa8\x5e\xf9\xb0\xef"
- "\xcd\x20\x1f\x17\xb3\x49\x31\xea\x0e\xf2\xb8\x98\x4d\xe2\x4e\xab\x95\xbc"
- "\xfd\xd0\x9f\xc5\xfd\x62\x98\xcf\x8e\x67\xf3\x7c\x14\xf7\xa6\x79\x77\x3e"
- "\x99\xc6\x7b\xbd\x6f\xe2\xb4\xd3\x39\x88\xf3\xe6\xf1\xe4\x68\x3c\x38\xec"
- "\x0e\xf3\xcb\x8d\xed\xef\xb2\x24\x69\xc5\x1f\x9b\x3f\xe4\xdd\xe9\x6c\x32"
- "\x7e\xfb\xb1\x39\xeb\x7d\x28\x86\xc3\x62\x3c\x58\x64\xca\xdd\x65\xa6\x5d"
- "\x5e\x88\xdf\x17\xf3\x78\x9e\x77\x47\x71\x7c\xf6\xf3\xf9\xe9\xc1\xba\x41"
- "\x96\xa1\x74\x93\x50\xb6\x2e\x94\x25\x59\x96\xa6\x59\x96\xb6\xde\x75\xde"
- "\xb5\x93\xa4\x76\x63\x43\xf2\x0f\xe1\x46\xa2\xfa\x8b\x96\x6a\xdd\xf3\x1d"
- "\x1c\xfe\xbf\x3f\x57\xf5\x1f\x00\x00\x00\x78\xbe\xa2\xc5\x1c\x7b\xf9\xfc"
- "\xbf\xb5\x98\x87\x8f\x42\xbf\x18\xe6\x49\xd5\xc3\x02\x00\x00\x00\xee\xd1"
- "\xe2\x9b\xff\x9d\xb2\xd9\x2a\x7b\xbb\x21\xf2\xfc\x0f\x00\x00\x00\xcf\xcd"
- "\xfa\x35\x76\x6b\x13\xd1\xb7\xe1\xe5\x32\xf1\xf2\x64\xd9\x9e\xac\x12\xab"
- "\x75\x7e\xdb\xfd\x62\x98\x37\x7b\x93\xb3\x76\x1a\xbe\xbe\x5a\xed\x77\xfb"
- "\xd9\xb6\x16\xd3\x0f\xfb\xa1\xb1\x4c\x35\xb6\x97\xed\xf6\xf5\x33\xd6\xcb"
- "\x54\xda\x7c\x9f\x86\xfd\xf0\x6a\x99\x78\xb5\xf7\xa6\x6c\xde\xec\xdd\x92"
- "\xcc\x36\x4e\x1e\x94\x49\x00\x78\xee\x5e\xaf\xa9\xc7\x9b\xd4\xff\xfd\xb0"
- "\x5a\xd3\x1a\x37\xca\x62\x1a\x6a\x8d\x5b\x2a\x6b\xa2\xb2\x02\xc0\x53\x71"
- "\xf5\x0b\x36\x0f\xd8\xa9\xfa\x33\x02\x00\xd7\xa9\xd2\x00\x00\x00\x00\x00"
- "\x00\x00\x00\x00\x00\x00\xf0\xf4\x3d\xc6\xfa\x3f\x1d\x9d\x2a\x3a\x51\x2d"
- "\x84\x4d\xc2\x9f\x86\x10\x9e\xca\x98\x17\x9d\x10\xc2\x1f\x95\x0f\xa3\xea"
- "\x3b\x13\xf0\xd0\xfe\x0a\x00\x00\xff\xff\xef\x66\xcd\x0d",
- 572);
- syz_mount_image(/*fs=*/0x200000000500, /*dir=*/0x200000000280, /*flags=*/0,
- /*opts=*/0x200000000540, /*chdir=*/1, /*size=*/0x23c,
- /*img=*/0x2000000002c0);
- syscall(__NR_mprotect, /*addr=*/0x200000000000ul, /*len=*/0x2000ul,
- /*prot=PROT_READ*/ 1ul);
- syscall(__NR_dup, /*oldfd=*/-1);
- res =
- syscall(__NR_socket, /*domain=*/2ul, /*type=SOCK_RAW*/ 3ul, /*proto=*/5);
- if (res != -1)
- r[6] = res;
- *(uint32_t*)0x200000000140 = 0xc;
- syscall(__NR_getsockopt, /*fd=*/r[6], /*level=*/0, /*optname=*/8,
- /*optval=*/0x200000000040ul, /*optlen=*/0x200000000140ul);
- memcpy((void*)0x200000000080, "/dev/input/event#\000", 18);
- res = -1;
- res = syz_open_dev(/*dev=*/0x200000000080, /*id=*/1,
- /*flags=O_SYNC|O_NOFOLLOW|O_CREAT|O_WRONLY*/ 0x121041);
- if (res != -1)
- r[7] = res;
- syscall(__NR_write, /*fd=*/r[7], /*data=*/0x200000000040ul, /*len=*/0x373ul);
- *(uint16_t*)0x200000000180 = 0xa;
- *(uint16_t*)0x200000000182 = htobe16(0);
- *(uint32_t*)0x200000000184 = htobe32(0);
- *(uint64_t*)0x200000000188 = htobe64(0);
- *(uint64_t*)0x200000000190 = htobe64(0xac141409);
- *(uint32_t*)0x200000000198 = 0;
- syscall(__NR_sendto, /*fd=*/r[5], /*buf=*/0x200000000000ul, /*len=*/0x6a48ul,
- /*f=*/0ul, /*addr=*/0x200000000180ul, /*addrlen=*/0x1cul);
- res = syscall(__NR_socket, /*domain=*/2ul, /*type=*/2ul, /*proto=*/0);
- if (res != -1)
- r[8] = res;
- memcpy((void*)0x200000000080,
- "#}\004\344\374\036\377~\261\340\245\235\310\3123\'\022xY!"
- "\244\234\227\361\374\260\350~\221\325\004i}\003\000@"
- "\016\346\2315b\000\000\000\000\000\000\000\216\226\267="
- "\271OmILO\215\000\000\000\000\000\376\000\000\000\000\000\000\000\000"
- "\000",
- 74);
- res = syscall(__NR_memfd_create, /*name=*/0x200000000080ul, /*flags=*/0ul);
- if (res != -1)
- r[9] = res;
- *(uint32_t*)0x200000000000 = 4;
- syscall(__NR_setsockopt, /*fd=*/r[8], /*level=*/0, /*optname=*/0xa,
- /*optval=*/0x200000000000ul, /*optlen=*/4ul);
- *(uint32_t*)0x200000000040 = 2;
- *(uint32_t*)0x200000000044 = 0x80;
- *(uint8_t*)0x200000000048 = 0xb8;
- *(uint8_t*)0x200000000049 = 0;
- *(uint8_t*)0x20000000004a = 0;
- *(uint8_t*)0x20000000004b = 0;
- *(uint32_t*)0x20000000004c = 0;
- *(uint64_t*)0x200000000050 = 0;
- *(uint64_t*)0x200000000058 = 0;
- *(uint64_t*)0x200000000060 = 0;
- STORE_BY_BITMASK(uint64_t, , 0x200000000068, 0, 0, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000068, 0, 1, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000068, 0, 2, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000068, 0, 3, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000068, 0, 4, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000068, 0, 5, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000068, 0, 6, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000068, 0, 7, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000068, 0, 8, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000068, 0, 9, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000068, 0, 10, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000068, 0, 11, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000068, 0, 12, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000068, 0, 13, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000068, 0, 14, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000068, 0, 15, 2);
- STORE_BY_BITMASK(uint64_t, , 0x200000000068, 0, 17, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000068, 0, 18, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000068, 0, 19, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000068, 0, 20, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000068, 0, 21, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000068, 0, 22, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000068, 0, 23, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000068, 0, 24, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000068, 0, 25, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000068, 0, 26, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000068, 0, 27, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000068, 0, 28, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000068, 0, 29, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000068, 0, 30, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000068, 0, 31, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000068, 0, 32, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000068, 0, 33, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000068, 0, 34, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000068, 0, 35, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000068, 0, 36, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000068, 0, 37, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000068, 0, 38, 26);
- *(uint32_t*)0x200000000070 = 0;
- *(uint32_t*)0x200000000074 = 0;
- *(uint64_t*)0x200000000078 = 0;
- *(uint64_t*)0x200000000080 = 0;
- *(uint64_t*)0x200000000088 = 0;
- *(uint64_t*)0x200000000090 = 0;
- *(uint32_t*)0x200000000098 = 0;
- *(uint32_t*)0x20000000009c = 0;
- *(uint64_t*)0x2000000000a0 = 0;
- *(uint32_t*)0x2000000000a8 = 0;
- *(uint16_t*)0x2000000000ac = 0;
- *(uint16_t*)0x2000000000ae = 0;
- *(uint32_t*)0x2000000000b0 = 0;
- *(uint32_t*)0x2000000000b4 = 0;
- *(uint64_t*)0x2000000000b8 = 0;
- syscall(__NR_perf_event_open, /*attr=*/0x200000000040ul, /*pid=*/0,
- /*cpu=*/-1, /*group=*/-1, /*flags=*/0ul);
- syscall(__NR_sync_file_range, /*fd=*/-1, /*off=*/0ul, /*nbytes=*/0ul,
- /*flags=*/0ul);
- syscall(__NR_ftruncate, /*fd=*/r[9], /*len=*/0x40001ul);
- memcpy((void*)0x200000000140, "msdos\000", 6);
- memcpy((void*)0x200000000180, "./file0\000", 8);
- memcpy((void*)0x200000000000,
- "\x00\x0f\x7f\xf7\x72\x18\x75\xd8\xba\xcc\xeb\x2f\xbb\x96\x0d\x5b\x1c"
- "\x33\x98\x8e\xac\x29\x7f\x7d\xed\xa3\x42\xbf\x10\xfb\x3d\x0a\x1e\x03"
- "\xa8\x0e\xf3\xae\xad\x29\x5a\xb1\xff\x55\x00\xa9\x93\x0e\x66\x77\x94"
- "\x15\xd3\x78\xac\x83\x82\x3c\xf0\x0e\x2c\xfe\x37\x6c\x78\x72\xfa\x83"
- "\xcd\x71\xe2\x9a\x17\xae\x07\x0b",
- 76);
- memcpy(
- (void*)0x200000000280,
- "\x78\x9c\xec\xdb\x31\x6b\x13\x61\x18\x07\xf0\x27\x31\x6a\xd4\x25\xb3\x38"
- "\x1c\xb8\x38\x05\x15\x3f\x80\x22\x11\xc4\x03\x41\xc9\xa0\x93\x42\x74\x49"
- "\x4a\xa1\x59\xae\x9d\xf2\x51\xfa\x69\xfa\x6d\x0a\x25\x53\xb6\xb7\xb4\xd7"
- "\x26\x6d\x48\x86\x0c\x97\x6b\x9b\xdf\x6f\xb9\x3f\xfc\xb9\xe3\x7d\x86\xbb"
- "\xe3\x3d\xb8\x3f\xaf\xf6\x86\x83\xfd\xf1\xff\xd1\x87\x69\xb4\x1b\x8d\x68"
- "\x7e\x8c\x2c\x66\x8d\xe8\x44\x33\xae\x4d\x02\x00\x78\x48\x66\x29\xc5\x59"
- "\x4a\x29\x3d\x9d\xc4\xb3\xe3\x48\x29\xd5\xbd\x22\x00\xa0\x6a\xde\xff\x00"
- "\xb0\x7b\x7e\xfe\xfa\xfd\xed\x53\x9e\xf7\x7e\x64\x59\x3b\xe2\x74\x52\xf4"
- "\x8b\x7e\x79\x2c\xfb\x2f\x5f\xf3\xde\xdb\xec\x52\x67\x71\xd6\xb4\x28\xfa"
- "\x8f\xe6\xfd\xbb\xb2\xcf\x6e\xf7\x8f\xe3\xf9\x55\xff\x7e\x65\xff\x24\xde"
- "\xbc\x2e\xfb\x8b\xee\xf3\xf7\x7c\xa9\x7f\x11\x83\xea\xc7\x07\x00\x00\x80"
- "\x9d\xd0\xcd\xe6\x56\xee\xef\xbb\xdd\x75\x7d\x99\x6e\x7c\x1f\x58\xda\xbf"
- "\xb7\xe2\x65\x6b\x6b\x63\x00\x00\x1b\x18\x1f\x1e\x0d\xff\x8e\x46\xff\x0e"
- "\xaa\x09\x71\x52\xd5\x95\x85\xfb\x11\x5a\x77\x63\x19\xc2\xa6\xa1\xee\x27"
- "\x13\x50\xb5\xc5\x4d\x5f\xf7\x4a\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
- "\x00\x80\x75\xb6\xf1\x3b\x51\xdd\x33\x02\x00\x00\x00\x00\x00\x00\x00\x00"
- "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
- "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xb0\x7b\xce\x03\x00\x00\xff\xff"
- "\xe4\x1d\x39\x6d",
- 328);
- syz_mount_image(/*fs=*/0x200000000140, /*dir=*/0x200000000180,
- /*flags=MS_SYNCHRONOUS*/ 0x10, /*opts=*/0x200000000000,
- /*chdir=*/1, /*size=*/0x148, /*img=*/0x200000000280);
- memcpy((void*)0x200000000240, "./file0\000", 8);
- syscall(__NR_chown, /*file=*/0x200000000240ul, /*uid=*/0, /*gid=*/0);
- syscall(__NR_socket, /*domain=*/2ul, /*type=*/2ul, /*proto=*/0);
- syz_sysconfig_set__proc_sys_vm_mmap_rnd_bits(/*val=*/5);
- memcpy((void*)0x200000000000, "./bus\000", 6);
- syscall(__NR_creat, /*file=*/0x200000000000ul, /*mode=*/0ul);
- *(uint32_t*)0x200000000200 = 9;
- *(uint32_t*)0x200000000204 = 0x80;
- *(uint8_t*)0x200000000208 = 0;
- *(uint8_t*)0x200000000209 = 0;
- *(uint8_t*)0x20000000020a = 0;
- *(uint8_t*)0x20000000020b = 0;
- *(uint32_t*)0x20000000020c = 0;
- *(uint64_t*)0x200000000210 = 0;
- *(uint64_t*)0x200000000218 = 0;
- *(uint64_t*)0x200000000220 = 0;
- STORE_BY_BITMASK(uint64_t, , 0x200000000228, 0, 0, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000228, 0, 1, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000228, 0, 2, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000228, 0, 3, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000228, 0, 4, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000228, 0, 5, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000228, 0, 6, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000228, 0, 7, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000228, 0, 8, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000228, 0, 9, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000228, 0, 10, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000228, 0, 11, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000228, 0, 12, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000228, 0, 13, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000228, 0, 14, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000228, 0, 15, 2);
- STORE_BY_BITMASK(uint64_t, , 0x200000000228, 0, 17, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000228, 0, 18, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000228, 0, 19, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000228, 0, 20, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000228, 0, 21, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000228, 0, 22, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000228, 0, 23, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000228, 0, 24, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000228, 0, 25, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000228, 0, 26, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000228, 0, 27, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000228, 0, 28, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000228, 0, 29, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000228, 0, 30, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000228, 0, 31, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000228, 0, 32, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000228, 0, 33, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000228, 0, 34, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000228, 0, 35, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000228, 0, 36, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000228, 0, 37, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000228, 0, 38, 26);
- *(uint32_t*)0x200000000230 = 0;
- *(uint32_t*)0x200000000234 = 0;
- *(uint64_t*)0x200000000238 = 0x200000000000;
- *(uint64_t*)0x200000000240 = 0;
- *(uint64_t*)0x200000000248 = 0;
- *(uint64_t*)0x200000000250 = 0;
- *(uint32_t*)0x200000000258 = 0;
- *(uint32_t*)0x20000000025c = 0;
- *(uint64_t*)0x200000000260 = 0;
- *(uint32_t*)0x200000000268 = 0;
- *(uint16_t*)0x20000000026c = 0;
- *(uint16_t*)0x20000000026e = 0;
- *(uint32_t*)0x200000000270 = 0;
- *(uint32_t*)0x200000000274 = 0;
- *(uint64_t*)0x200000000278 = 0;
- syscall(__NR_perf_event_open, /*attr=*/0x200000000200ul, /*pid=*/0,
- /*cpu=*/0ul, /*group=*/-1, /*flags=*/0ul);
- memcpy((void*)0x200000000080, "./bus\000", 6);
- res = syscall(__NR_open, /*file=*/0x200000000080ul, /*flags=*/0ul,
- /*mode=*/0ul);
- if (res != -1)
- r[10] = res;
- syscall(__NR_mmap, /*addr=*/0x200000000000ul, /*len=*/0x600000ul,
- /*prot=*/0ul, /*flags=MAP_FIXED|MAP_PRIVATE*/ 0x12ul, /*fd=*/r[10],
- /*offset=*/0ul);
- *(uint16_t*)0x200000000040 = 2;
- *(uint16_t*)0x200000000042 = htobe16(0);
- *(uint8_t*)0x200000000044 = 0xac;
- *(uint8_t*)0x200000000045 = 0x14;
- *(uint8_t*)0x200000000046 = 0x14;
- *(uint8_t*)0x200000000047 = 0xaa;
- syscall(__NR_connect, /*fd=*/r[8], /*addr=*/0x200000000040ul,
- /*addrlen=*/0x10ul);
- res = syscall(__NR_pipe2, /*pipefd=*/0x200000000100ul, /*flags=*/0x80ul);
- if (res != -1)
- r[11] = *(uint32_t*)0x200000000104;
- syscall(__NR_shutdown, /*fd=*/r[11], /*how=*/0ul);
- res = syscall(__NR_socket, /*domain=*/0x11ul, /*type=SOCK_DGRAM*/ 2ul,
- /*proto=*/0x300);
- if (res != -1)
- r[12] = res;
- *(uint16_t*)0x200000000040 = 0;
- *(uint16_t*)0x200000000042 = 0x8000;
- syscall(__NR_setsockopt, /*fd=*/r[12], /*level=*/0x107, /*optname=*/0x12,
- /*optval=*/0x200000000040ul, /*optlen=*/4ul);
- syscall(__NR_sendfile, /*fdout=*/r[8], /*fdin=*/r[9], /*off=*/0ul,
- /*count=*/0xffe4ul);
- syz_sysconfig_reset__proc_sys_vm_mmap_rnd_bits();
- syz_sysconfig_set__proc_sys_net_ipv4_conf_default_route_localnet(/*val=*/1);
- *(uint16_t*)0x200000000180 = 3;
- *(uint64_t*)0x200000000188 = 0x2000000000c0;
- *(uint16_t*)0x2000000000c0 = 0x400;
- *(uint8_t*)0x2000000000c2 = 1;
- *(uint8_t*)0x2000000000c3 = 4;
- *(uint32_t*)0x2000000000c4 = 6;
- *(uint16_t*)0x2000000000c8 = 6;
- *(uint8_t*)0x2000000000ca = 0xa3;
- *(uint8_t*)0x2000000000cb = -1;
- *(uint32_t*)0x2000000000cc = 0xfffffffb;
- *(uint16_t*)0x2000000000d0 = 0x7fff;
- *(uint8_t*)0x2000000000d2 = 0x64;
- *(uint8_t*)0x2000000000d3 = -1;
- *(uint32_t*)0x2000000000d4 = 0x8f;
- res = syscall(__NR_seccomp, /*op=*/1ul,
- /*flags=SECCOMP_FILTER_FLAG_LOG_LISTENER*/ 0xaul,
- /*arg=*/0x200000000180ul);
- if (res != -1)
- r[13] = res;
- syscall(__NR_seccomp, /*op=*/1ul, /*flags=*/0ul, /*arg=*/0ul);
- *(uint64_t*)0x200000000080 = 0;
- *(uint64_t*)0x200000000088 = 0;
- syscall(__NR_prlimit64, /*pid=*/0, /*res=RLIMIT_NOFILE*/ 7ul,
- /*new=*/0x200000000080ul, /*old=*/0ul);
- res = syscall(__NR_ioctl, /*fd=*/r[13], /*cmd=*/0xc0502100,
- /*arg=*/0x200000000480ul);
- if (res != -1)
- r[14] = *(uint64_t*)0x200000000480;
- memcpy((void*)0x200000000140, "cgroup.controllers\000", 19);
- res = syscall(__NR_openat, /*fd=*/0xffffff9c, /*file=*/0x200000000140ul,
- /*flags=*/0x275a, /*mode=*/0);
- if (res != -1)
- r[15] = res;
- syscall(__NR_mmap, /*addr=*/0x200000000000ul, /*len=*/0xb36000ul,
- /*prot=*/0ul,
- /*flags=MAP_STACK|MAP_POPULATE|MAP_FIXED|MAP_SHARED*/ 0x28011ul,
- /*fd=*/r[15], /*offset=*/0ul);
- syz_sysconfig_set__proc_sys_vm_zone_reclaim_mode(/*val=*/6);
- *(uint64_t*)0x200000455000 = 0;
- *(uint32_t*)0x200000455008 = 0;
- *(uint64_t*)0x200000455010 = 0;
- syscall(__NR_sigaltstack, /*ss=*/0x200000455000ul, /*oss=*/0ul);
- *(uint32_t*)0x20000001d000 = 1;
- *(uint32_t*)0x20000001d004 = 0x80;
- *(uint8_t*)0x20000001d008 = 0;
- *(uint8_t*)0x20000001d009 = 0;
- *(uint8_t*)0x20000001d00a = 0;
- *(uint8_t*)0x20000001d00b = 0x48;
- *(uint32_t*)0x20000001d00c = 0;
- *(uint64_t*)0x20000001d010 = 0x100;
- *(uint64_t*)0x20000001d018 = 0;
- *(uint64_t*)0x20000001d020 = 0;
- STORE_BY_BITMASK(uint64_t, , 0x20000001d028, 0, 0, 1);
- STORE_BY_BITMASK(uint64_t, , 0x20000001d028, 0, 1, 1);
- STORE_BY_BITMASK(uint64_t, , 0x20000001d028, 0, 2, 1);
- STORE_BY_BITMASK(uint64_t, , 0x20000001d028, 0, 3, 1);
- STORE_BY_BITMASK(uint64_t, , 0x20000001d028, 0, 4, 1);
- STORE_BY_BITMASK(uint64_t, , 0x20000001d028, 0, 5, 1);
- STORE_BY_BITMASK(uint64_t, , 0x20000001d028, 0, 6, 1);
- STORE_BY_BITMASK(uint64_t, , 0x20000001d028, 0, 7, 1);
- STORE_BY_BITMASK(uint64_t, , 0x20000001d028, 0, 8, 1);
- STORE_BY_BITMASK(uint64_t, , 0x20000001d028, 0, 9, 1);
- STORE_BY_BITMASK(uint64_t, , 0x20000001d028, 0, 10, 1);
- STORE_BY_BITMASK(uint64_t, , 0x20000001d028, 0, 11, 1);
- STORE_BY_BITMASK(uint64_t, , 0x20000001d028, 0, 12, 1);
- STORE_BY_BITMASK(uint64_t, , 0x20000001d028, 0, 13, 1);
- STORE_BY_BITMASK(uint64_t, , 0x20000001d028, 0, 14, 1);
- STORE_BY_BITMASK(uint64_t, , 0x20000001d028, 0, 15, 2);
- STORE_BY_BITMASK(uint64_t, , 0x20000001d028, 0, 17, 1);
- STORE_BY_BITMASK(uint64_t, , 0x20000001d028, 0, 18, 1);
- STORE_BY_BITMASK(uint64_t, , 0x20000001d028, 0, 19, 1);
- STORE_BY_BITMASK(uint64_t, , 0x20000001d028, 0, 20, 1);
- STORE_BY_BITMASK(uint64_t, , 0x20000001d028, 0, 21, 1);
- STORE_BY_BITMASK(uint64_t, , 0x20000001d028, 0, 22, 1);
- STORE_BY_BITMASK(uint64_t, , 0x20000001d028, 0, 23, 1);
- STORE_BY_BITMASK(uint64_t, , 0x20000001d028, 0, 24, 1);
- STORE_BY_BITMASK(uint64_t, , 0x20000001d028, 0, 25, 1);
- STORE_BY_BITMASK(uint64_t, , 0x20000001d028, 0, 26, 1);
- STORE_BY_BITMASK(uint64_t, , 0x20000001d028, 0xffdffffffffffffd, 27, 1);
- STORE_BY_BITMASK(uint64_t, , 0x20000001d028, 0, 28, 1);
- STORE_BY_BITMASK(uint64_t, , 0x20000001d028, 0, 29, 1);
- STORE_BY_BITMASK(uint64_t, , 0x20000001d028, 0, 30, 1);
- STORE_BY_BITMASK(uint64_t, , 0x20000001d028, 0, 31, 1);
- STORE_BY_BITMASK(uint64_t, , 0x20000001d028, 0, 32, 1);
- STORE_BY_BITMASK(uint64_t, , 0x20000001d028, 0, 33, 1);
- STORE_BY_BITMASK(uint64_t, , 0x20000001d028, 0, 34, 1);
- STORE_BY_BITMASK(uint64_t, , 0x20000001d028, 0, 35, 1);
- STORE_BY_BITMASK(uint64_t, , 0x20000001d028, 0, 36, 1);
- STORE_BY_BITMASK(uint64_t, , 0x20000001d028, 0, 37, 1);
- STORE_BY_BITMASK(uint64_t, , 0x20000001d028, 0, 38, 26);
- *(uint32_t*)0x20000001d030 = 0;
- *(uint32_t*)0x20000001d034 = 0;
- *(uint64_t*)0x20000001d038 = 3;
- *(uint64_t*)0x20000001d040 = 0x401;
- *(uint64_t*)0x20000001d048 = 0x429;
- *(uint64_t*)0x20000001d050 = 0;
- *(uint32_t*)0x20000001d058 = 0;
- *(uint32_t*)0x20000001d05c = 4;
- *(uint64_t*)0x20000001d060 = 3;
- *(uint32_t*)0x20000001d068 = 0;
- *(uint16_t*)0x20000001d06c = 4;
- *(uint16_t*)0x20000001d06e = 0;
- *(uint32_t*)0x20000001d070 = 0;
- *(uint32_t*)0x20000001d074 = 0;
- *(uint64_t*)0x20000001d078 = 8;
- res = syscall(__NR_perf_event_open, /*attr=*/0x20000001d000ul, /*pid=*/0,
- /*cpu=*/0x20000000006ul, /*group=*/-1,
- /*flags=PERF_FLAG_FD_CLOEXEC|PERF_FLAG_FD_OUTPUT*/ 0xaul);
- if (res != -1)
- r[16] = res;
- syscall(__NR_mmap, /*addr=*/0x200000ffd000ul, /*len=*/0x3000ul, /*prot=*/0ul,
- /*flags=MAP_FIXED|MAP_SHARED|0x200000000000*/ 0x200000000011ul,
- /*fd=*/r[16], /*offset=*/0ul);
- *(uint32_t*)0x2000000009c0 = 1;
- *(uint32_t*)0x2000000009c4 = 0x80;
- *(uint8_t*)0x2000000009c8 = 0;
- *(uint8_t*)0x2000000009c9 = 6;
- *(uint8_t*)0x2000000009ca = 2;
- *(uint8_t*)0x2000000009cb = 0;
- *(uint32_t*)0x2000000009cc = 0;
- *(uint64_t*)0x2000000009d0 = 0;
- *(uint64_t*)0x2000000009d8 = 0;
- *(uint64_t*)0x2000000009e0 = 0;
- STORE_BY_BITMASK(uint64_t, , 0x2000000009e8, 0, 0, 1);
- STORE_BY_BITMASK(uint64_t, , 0x2000000009e8, 0, 1, 1);
- STORE_BY_BITMASK(uint64_t, , 0x2000000009e8, 0, 2, 1);
- STORE_BY_BITMASK(uint64_t, , 0x2000000009e8, 0, 3, 1);
- STORE_BY_BITMASK(uint64_t, , 0x2000000009e8, 0, 4, 1);
- STORE_BY_BITMASK(uint64_t, , 0x2000000009e8, 0, 5, 1);
- STORE_BY_BITMASK(uint64_t, , 0x2000000009e8, 0, 6, 1);
- STORE_BY_BITMASK(uint64_t, , 0x2000000009e8, 0, 7, 1);
- STORE_BY_BITMASK(uint64_t, , 0x2000000009e8, 0, 8, 1);
- STORE_BY_BITMASK(uint64_t, , 0x2000000009e8, 0, 9, 1);
- STORE_BY_BITMASK(uint64_t, , 0x2000000009e8, 0, 10, 1);
- STORE_BY_BITMASK(uint64_t, , 0x2000000009e8, 0, 11, 1);
- STORE_BY_BITMASK(uint64_t, , 0x2000000009e8, 0, 12, 1);
- STORE_BY_BITMASK(uint64_t, , 0x2000000009e8, 0, 13, 1);
- STORE_BY_BITMASK(uint64_t, , 0x2000000009e8, 0, 14, 1);
- STORE_BY_BITMASK(uint64_t, , 0x2000000009e8, 0, 15, 2);
- STORE_BY_BITMASK(uint64_t, , 0x2000000009e8, 0, 17, 1);
- STORE_BY_BITMASK(uint64_t, , 0x2000000009e8, 0, 18, 1);
- STORE_BY_BITMASK(uint64_t, , 0x2000000009e8, 0, 19, 1);
- STORE_BY_BITMASK(uint64_t, , 0x2000000009e8, 0, 20, 1);
- STORE_BY_BITMASK(uint64_t, , 0x2000000009e8, 0, 21, 1);
- STORE_BY_BITMASK(uint64_t, , 0x2000000009e8, 0, 22, 1);
- STORE_BY_BITMASK(uint64_t, , 0x2000000009e8, 0, 23, 1);
- STORE_BY_BITMASK(uint64_t, , 0x2000000009e8, 0, 24, 1);
- STORE_BY_BITMASK(uint64_t, , 0x2000000009e8, 0, 25, 1);
- STORE_BY_BITMASK(uint64_t, , 0x2000000009e8, 0, 26, 1);
- STORE_BY_BITMASK(uint64_t, , 0x2000000009e8, 0, 27, 1);
- STORE_BY_BITMASK(uint64_t, , 0x2000000009e8, 0, 28, 1);
- STORE_BY_BITMASK(uint64_t, , 0x2000000009e8, 0, 29, 1);
- STORE_BY_BITMASK(uint64_t, , 0x2000000009e8, 0, 30, 1);
- STORE_BY_BITMASK(uint64_t, , 0x2000000009e8, 0, 31, 1);
- STORE_BY_BITMASK(uint64_t, , 0x2000000009e8, 0, 32, 1);
- STORE_BY_BITMASK(uint64_t, , 0x2000000009e8, 0, 33, 1);
- STORE_BY_BITMASK(uint64_t, , 0x2000000009e8, 0, 34, 1);
- STORE_BY_BITMASK(uint64_t, , 0x2000000009e8, 0, 35, 1);
- STORE_BY_BITMASK(uint64_t, , 0x2000000009e8, 0, 36, 1);
- STORE_BY_BITMASK(uint64_t, , 0x2000000009e8, 0, 37, 1);
- STORE_BY_BITMASK(uint64_t, , 0x2000000009e8, 0, 38, 26);
- *(uint32_t*)0x2000000009f0 = 0;
- *(uint32_t*)0x2000000009f4 = 0;
- *(uint64_t*)0x2000000009f8 = 0;
- *(uint64_t*)0x200000000a00 = 0;
- *(uint64_t*)0x200000000a08 = 0;
- *(uint64_t*)0x200000000a10 = 0x800000000000;
- *(uint32_t*)0x200000000a18 = 0;
- *(uint32_t*)0x200000000a1c = 0;
- *(uint64_t*)0x200000000a20 = 5;
- *(uint32_t*)0x200000000a28 = 0;
- *(uint16_t*)0x200000000a2c = 0;
- *(uint16_t*)0x200000000a2e = 0;
- *(uint32_t*)0x200000000a30 = 9;
- *(uint32_t*)0x200000000a34 = 0;
- *(uint64_t*)0x200000000a38 = 0;
- res = syscall(__NR_perf_event_open, /*attr=*/0x2000000009c0ul, /*pid=*/0,
- /*cpu=*/0xful, /*group=*/-1, /*flags=*/0ul);
- if (res != -1)
- r[17] = res;
- memcpy((void*)0x200000000000, "/sys/kernel/notes", 17);
- res = syscall(__NR_openat, /*fd=*/0xffffffffffffff9cul,
- /*dir=*/0x200000000000ul, /*flags=*/0, /*mode=*/0);
- if (res != -1)
- r[18] = res;
- syscall(__NR_read, /*fd=*/r[18], /*buf=*/0x2000000003c0ul, /*count=*/0x86ul);
- syscall(__NR_ioctl, /*fd=*/r[18], /*cmd=*/0x80045300,
- /*arg=*/0x200000000040ul);
- syscall(__NR_ioctl, /*fd=*/r[17], /*cmd=*/0xf504, /*arg=*/0ul);
- *(uint64_t*)0x200000000500 = r[14];
- *(uint32_t*)0x200000000508 = 0;
- *(uint32_t*)0x20000000050c = r[13];
- *(uint32_t*)0x200000000510 = 0;
- *(uint32_t*)0x200000000514 = 0;
- syscall(__NR_ioctl, /*fd=*/r[13], /*cmd=*/0x40182103,
- /*arg=*/0x200000000500ul);
- syz_sysconfig_reset__proc_sys_vm_zone_reclaim_mode();
- syscall(
- __NR_mmap, /*addr=*/0x200000000000ul, /*len=*/0xa000ul,
- /*prot=PROT_WRITE|PROT_EXEC*/ 6ul,
- /*flags=MAP_LOCKED|MAP_GROWSDOWN|MAP_FIXED|MAP_ANONYMOUS|0x42*/ 0x2172ul,
- /*fd=*/-1, /*offset=*/0ul);
- syscall(__NR_mremap, /*addr=*/0x200000005000ul, /*len=*/0x4000ul,
- /*newlen=*/0x1000ul, /*flags=*/0ul, /*newaddr=*/0x200000003000ul);
- *(uint16_t*)0x200000000080 = 1;
- *(uint64_t*)0x200000000088 = 0x200000000040;
- *(uint16_t*)0x200000000040 = 6;
- *(uint8_t*)0x200000000042 = 0;
- *(uint8_t*)0x200000000043 = 0;
- *(uint32_t*)0x200000000044 = 0;
- res = syscall(__NR_seccomp, /*op=*/1ul,
- /*flags=SECCOMP_FILTER_FLAG_LOG_LISTENER*/ 0xaul,
- /*arg=*/0x200000000080ul);
- if (res != -1)
- r[19] = res;
- syscall(__NR_ioctl, /*fd=*/-1, /*cmd=*/0xc0502100, /*arg=*/0ul);
- *(uint32_t*)0x200000000700 = 1;
- *(uint32_t*)0x200000000704 = 0x80;
- *(uint8_t*)0x200000000708 = 0;
- *(uint8_t*)0x200000000709 = 0;
- *(uint8_t*)0x20000000070a = 0;
- *(uint8_t*)0x20000000070b = 0;
- *(uint32_t*)0x20000000070c = 0;
- *(uint64_t*)0x200000000710 = 0x40000000000050d;
- *(uint64_t*)0x200000000718 = 0;
- *(uint64_t*)0x200000000720 = 0;
- STORE_BY_BITMASK(uint64_t, , 0x200000000728, 0, 0, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000728, 0, 1, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000728, 0, 2, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000728, 0, 3, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000728, 0, 4, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000728, 0, 5, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000728, 0, 6, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000728, 0, 7, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000728, 0, 8, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000728, 0, 9, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000728, 0, 10, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000728, 0, 11, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000728, 0, 12, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000728, 0, 13, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000728, 0, 14, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000728, 0, 15, 2);
- STORE_BY_BITMASK(uint64_t, , 0x200000000728, 0, 17, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000728, 0, 18, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000728, 0, 19, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000728, 0, 20, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000728, 0, 21, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000728, 0, 22, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000728, 0, 23, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000728, 0, 24, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000728, 0, 25, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000728, 0, 26, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000728, 0, 27, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000728, 0, 28, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000728, 0, 29, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000728, 0, 30, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000728, 0, 31, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000728, 0, 32, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000728, 0, 33, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000728, 0, 34, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000728, 0, 35, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000728, 0, 36, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000728, 0, 37, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000728, 0, 38, 26);
- *(uint32_t*)0x200000000730 = 0x8000;
- *(uint32_t*)0x200000000734 = 0;
- *(uint64_t*)0x200000000738 = 0x200000001800;
- *(uint64_t*)0x200000000740 = 0;
- *(uint64_t*)0x200000000748 = 0;
- *(uint64_t*)0x200000000750 = 0;
- *(uint32_t*)0x200000000758 = 0;
- *(uint32_t*)0x20000000075c = 0;
- *(uint64_t*)0x200000000760 = 0;
- *(uint32_t*)0x200000000768 = 0;
- *(uint16_t*)0x20000000076c = 5;
- *(uint16_t*)0x20000000076e = 0;
- *(uint32_t*)0x200000000770 = 0;
- *(uint32_t*)0x200000000774 = 0;
- *(uint64_t*)0x200000000778 = 0;
- res = syscall(__NR_perf_event_open, /*attr=*/0x200000000700ul, /*pid=*/0,
- /*cpu=*/0xff7ffffffffffffful, /*group=*/-1, /*flags=*/0ul);
- if (res != -1)
- r[20] = res;
- memcpy((void*)0x2000000003c0, "/dev/hwrng\000", 11);
- res = syscall(__NR_openat, /*fd=*/0xffffffffffffff9cul,
- /*file=*/0x2000000003c0ul, /*flags=O_CREAT|O_RDWR*/ 0x42,
- /*mode=*/0);
- if (res != -1)
- r[21] = res;
- *(uint32_t*)0x200000000340 = 3;
- *(uint32_t*)0x200000000344 = 0x70;
- *(uint8_t*)0x200000000348 = -1;
- *(uint8_t*)0x200000000349 = 0x20;
- *(uint8_t*)0x20000000034a = 0;
- *(uint8_t*)0x20000000034b = 0;
- *(uint32_t*)0x20000000034c = 0;
- *(uint64_t*)0x200000000350 = 0x3c4;
- *(uint64_t*)0x200000000358 = 0x90400;
- *(uint64_t*)0x200000000360 = 8;
- STORE_BY_BITMASK(uint64_t, , 0x200000000368, 0, 0, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000368, 1, 1, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000368, 1, 2, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000368, 0, 3, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000368, 0, 4, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000368, 1, 5, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000368, 1, 6, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000368, 0, 7, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000368, 1, 8, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000368, 1, 9, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000368, 0, 10, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000368, 1, 11, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000368, 0, 12, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000368, 1, 13, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000368, 1, 14, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000368, 1, 15, 2);
- STORE_BY_BITMASK(uint64_t, , 0x200000000368, 1, 17, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000368, 0, 18, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000368, 1, 19, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000368, 1, 20, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000368, 0, 21, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000368, 1, 22, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000368, 1, 23, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000368, 1, 24, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000368, 1, 25, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000368, 0, 26, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000368, 0, 27, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000368, 0, 28, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000368, 0, 29, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000368, 5, 30, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000368, 4, 31, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000368, 0, 32, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000368, 0x2000, 33, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000368, 4, 34, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000368, 6, 35, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000368, 4, 36, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000368, 0xd5, 37, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000368, 0x40, 38, 26);
- *(uint32_t*)0x200000000370 = 5;
- *(uint32_t*)0x200000000374 = 0;
- *(uint64_t*)0x200000000378 = 0x200000000000;
- *(uint64_t*)0x200000000380 = 0;
- *(uint64_t*)0x200000000388 = 0;
- *(uint64_t*)0x200000000390 = 0;
- *(uint32_t*)0x200000000398 = 0;
- *(uint32_t*)0x20000000039c = 0;
- *(uint64_t*)0x2000000003a0 = 0;
- *(uint32_t*)0x2000000003a8 = 0;
- *(uint16_t*)0x2000000003ac = 0;
- *(uint16_t*)0x2000000003ae = 0;
- *(uint32_t*)0x2000000003b0 = 0;
- *(uint32_t*)0x2000000003b4 = 0;
- *(uint64_t*)0x2000000003b8 = 0;
- syscall(__NR_perf_event_open, /*attr=*/0x200000000340ul, /*pid=*/-1,
- /*cpu=*/0xaul, /*group=*/r[21],
- /*flags=PERF_FLAG_FD_CLOEXEC|PERF_FLAG_FD_NO_GROUP*/ 9ul);
- syscall(__NR_rt_tgsigqueueinfo, /*gid=*/0, /*tid=*/0, /*sig=*/0,
- /*info=*/0ul);
- memcpy((void*)0x200000000080, "./cgroup/syz1\000", 14);
- syscall(__NR_mkdirat, /*fd=*/0xffffffffffffff9cul, /*path=*/0x200000000080ul,
- /*mode=*/0x1fful);
- memcpy((void*)0x200000000180, "./cgroup.cpu/syz0\000", 18);
- syscall(__NR_mkdirat, /*fd=*/0xffffffffffffff9cul, /*path=*/0x200000000180ul,
- /*mode=*/0x1fful);
- memcpy((void*)0x2000000001c0, "/dev/loop#\000", 11);
- res = -1;
- res = syz_open_dev(
- /*dev=*/0x2000000001c0, /*id=*/0x75f,
- /*flags=O_TRUNC|O_SYNC|O_NOCTTY|O_EXCL|FASYNC|O_RDWR*/ 0x103382);
- if (res != -1)
- r[22] = res;
- memcpy((void*)0x200000000240, ".^\305", 3);
- res = syscall(__NR_memfd_create, /*name=*/0x200000000240ul, /*flags=*/0ul);
- if (res != -1)
- r[23] = res;
- *(uint64_t*)0x2000000002c0 = 2;
- *(uint32_t*)0x2000000002c8 = 0;
- *(uint32_t*)0x2000000002cc = 9;
- syscall(__NR_ptrace, /*req=*/0x4209ul, /*pid=*/-1, /*args=*/0x2000000002c0ul,
- /*data=*/0x200000000840ul);
- *(uint64_t*)0x200000000540 = 0x2000000004c0;
- memset((void*)0x2000000004c0, 66, 1);
- *(uint64_t*)0x200000000548 = 1;
- syscall(__NR_pwritev, /*fd=*/r[23], /*vec=*/0x200000000540ul, /*vlen=*/1ul,
- /*off_low=*/0x81805, /*off_high=*/0);
- *(uint32_t*)0x200000000600 = 0;
- *(uint32_t*)0x200000000604 = 0x70;
- *(uint8_t*)0x200000000608 = 7;
- *(uint8_t*)0x200000000609 = 0;
- *(uint8_t*)0x20000000060a = 0x10;
- *(uint8_t*)0x20000000060b = -1;
- *(uint32_t*)0x20000000060c = 0;
- *(uint64_t*)0x200000000610 = 0x400000000000004;
- *(uint64_t*)0x200000000618 = 0x222;
- *(uint64_t*)0x200000000620 = 0;
- STORE_BY_BITMASK(uint64_t, , 0x200000000628, 1, 0, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000628, 0, 1, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000628, 1, 2, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000628, 1, 3, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000628, 1, 4, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000628, 0, 5, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000628, 0, 6, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000628, 0, 7, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000628, 1, 8, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000628, 1, 9, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000628, 0, 10, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000628, 0, 11, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000628, 0, 12, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000628, 0, 13, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000628, 1, 14, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000628, 0, 15, 2);
- STORE_BY_BITMASK(uint64_t, , 0x200000000628, 0, 17, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000628, 0, 18, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000628, 0, 19, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000628, 0, 20, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000628, 1, 21, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000628, 0, 22, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000628, 1, 23, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000628, 0, 24, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000628, 0, 25, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000628, 0, 26, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000628, 1, 27, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000628, 1, 28, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000628, 0, 29, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000628, 0x400, 30, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000628, 1, 31, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000628, 0, 32, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000628, 2, 33, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000628, 0x18ed, 34, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000628, 5, 35, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000628, 6, 36, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000628, 7, 37, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000628, 1, 38, 26);
- *(uint32_t*)0x200000000630 = 0x1f;
- *(uint32_t*)0x200000000634 = 0;
- *(uint64_t*)0x200000000638 = 0x200000000000;
- *(uint64_t*)0x200000000640 = 0;
- *(uint64_t*)0x200000000648 = 0;
- *(uint64_t*)0x200000000650 = 0;
- *(uint32_t*)0x200000000658 = 0;
- *(uint32_t*)0x20000000065c = 0;
- *(uint64_t*)0x200000000660 = 0;
- *(uint32_t*)0x200000000668 = 0;
- *(uint16_t*)0x20000000066c = 0;
- *(uint16_t*)0x20000000066e = 0;
- *(uint32_t*)0x200000000670 = 0;
- *(uint32_t*)0x200000000674 = 0;
- *(uint64_t*)0x200000000678 = 0;
- syscall(__NR_perf_event_open, /*attr=*/0x200000000600ul, /*pid=*/0,
- /*cpu=*/0x40006ul, /*group=*/-1, /*flags=PERF_FLAG_FD_OUTPUT*/ 2ul);
- syscall(__NR_ioctl, /*fd=*/r[22], /*cmd=*/0x4c00, /*arg=*/r[23]);
- syscall(__NR_sendfile, /*fdout=*/r[22], /*fdin=*/r[22], /*off=*/0ul,
- /*count=*/0x24002da8ul);
- *(uint32_t*)0x2000000000c0 = 0;
- *(uint16_t*)0x2000000000c8 = 0;
- *(uint64_t*)0x2000000000d0 = 0;
- *(uint16_t*)0x2000000000d8 = 0;
- *(uint32_t*)0x2000000000e0 = 5;
- *(uint32_t*)0x2000000000e4 = 2;
- *(uint32_t*)0x2000000000e8 = 8;
- *(uint32_t*)0x2000000000ec = 0;
- memcpy((void*)0x2000000000f0,
- "\x5b\x6e\x29\x27\x20\xad\x1c\x12\x27\x16\x75\x1d\xa9\xbf\x18\x95\x13"
- "\xd6\x1d\x47\x96\xc0\x7a\x6a\x60\xc4\x8e\x0a\x82\x9f\x91\xb9\x77\x39"
- "\x80\x9d\x64\xe8\x69\xae\x16\x79\x8a\x44\xaa\xd6\x14\xfa\xc6\xa2\x1d"
- "\x3d\xcf\x2b\x3e\x87\x15\x87\xf5\x3c\xd8\x09\xf9\x8e",
- 64);
- memcpy((void*)0x200000000130,
- "\xf8\xb6\x99\xc9\x29\xb9\x2e\xe7\x22\x24\x0b\x5b\x4c\x44\xa4\x1e\xb8"
- "\x8c\x87\xcf\xf1\x86\x6b\xe0\xbe\xc4\x80\xeb\xc5\xc2\x18\x9e",
- 32);
- *(uint64_t*)0x200000000150 = 0;
- *(uint64_t*)0x200000000158 = 0x2d;
- *(uint32_t*)0x200000000160 = 0;
- syscall(__NR_ioctl, /*fd=*/r[22], /*cmd=*/0x4c02, /*arg=*/0x2000000000c0ul);
- *(uint64_t*)0x200000001780 = 0x200000000400;
- memcpy((void*)0x200000000400,
- "\x36\xc9\x7c\x5d\x31\x13\x14\x18\x06\x6f\x38\x49\xd2\xfb\x42\x61\x5b"
- "\xac\x0f\x05\x79\x77\xc1\xf7\x1c\x18\x07\xcb\xbc\xb7\x06\x41\x84\x2c"
- "\x59\x3d\x05\x0d\x2d\x59\xea\x59\x46\x9f\x46\xed\x74",
- 47);
- *(uint64_t*)0x200000001788 = 0x2f;
- *(uint64_t*)0x200000001790 = 0x200000001580;
- memcpy((void*)0x200000001580,
- "\x04\x7a\x8b\x91\x82\xc3\xd4\xb3\x95\xf6\x00\x45\xaf\x55\x4a\x7a\xca"
- "\x83\x45\x15\x7a\x24\x01\x14\x60\xa9\xf1\x5d\x41\x6f\x95\xc6\x26\x3e"
- "\x4a\x56\xb3\xbe\x54\xf2\xa7\xde\x5b\xca\xed\x31\x0e\x5f\x31\x94\x19"
- "\xa8\x36\x32\xa8\x81\x5e\x82\x2c\x67\x47\x00\x74\x7f\x13\x00\x0f\x4b"
- "\x0b\x8e\x1b\xc0\x89\x87\x28\x88\xdd\x53\x77\xa0\x7c\x38\x65\x52\xe4"
- "\x12\x73\x7c\x7b\x2a\x93\x9a\xb1\x31\x06\xbe\x21\x96\x3e\x6d\x77\x1a"
- "\x2c\x5a\x4d\x77\x21\xd8\x77\x06\x41\x13\x9b\x66\xd8\x5b\x56\xcd\x59"
- "\x4b\x21\xc9\x13\xd2\xb6\xbc\xb7\x6e\x24\x6b\xd9\x14\x39\x3a\x50\x4c"
- "\xa9\x8f\x84\xbe\x5c\x04\xe1\xb0\x67\x49\x60\x86\xcd\x1a\x7b\x68\x07"
- "\x8c\x1a\x86\x01\xaf\xb9\x78\x3e\xdd\xdc\x1b\x28\xee\x4f\xc5",
- 168);
- *(uint64_t*)0x200000001798 = 0xa8;
- *(uint64_t*)0x2000000017a0 = 0x200000000440;
- memcpy((void*)0x200000000440,
- "\x50\xce\xf2\x5c\xf1\xf6\xdd\x8f\x14\x65\x17\x48\x38\xd0\x14\xe4\x56"
- "\x57\x11\x11\x16\x3c\x21\x2d\x60\xcb\x60\xfb\x29\xd7\x8b\x70\x0d\x98"
- "\x17\x73\x65\x6b\xbb\x0c\x95\xc5\xf8\xba\x48\xc9\x76\x55\x1e\x29\x42"
- "\x47\x23\xca\x1d\x1b\xd9\xc4\x16\x87\xa7\x4a\xd7\x4e\xc6\x58\x98\x0e"
- "\x9b\x07\x47\xf6\xcd\x2d\x34\x26\xc0\x55\x9e\xe6\xdc\x41\x85\x9e\x6b"
- "\xb0\xa9\x85\xa6\x95\x1c\xa0\x80\x0d\x8c\xe0",
- 96);
- *(uint64_t*)0x2000000017a8 = 0x60;
- *(uint64_t*)0x2000000017b0 = 0x200000000500;
- memcpy((void*)0x200000000500, "*/a", 3);
- *(uint64_t*)0x2000000017b8 = 3;
- *(uint64_t*)0x2000000017c0 = 0x200000001640;
- memcpy((void*)0x200000001640,
- "\x22\x1c\xb9\x7f\xe0\x46\x14\x76\x99\x8a\x0c\x0a\xd8\x8d\x54\x51\xf2"
- "\xdc\x52\x97\xda\x62\xa0\x14\xb1\x5d\x1b\x89\x64\x84\x20\xa4\xf9\xee"
- "\xf2\x34\xa8\x42\x5b\xf9\x48\xf8\x38\x26",
- 44);
- *(uint64_t*)0x2000000017c8 = 0x2c;
- *(uint64_t*)0x2000000017d0 = 0x200000001680;
- memcpy((void*)0x200000001680,
- "\x22\xb7\x6e\x1a\x21\x64\xca\xcc\x70\xf6\xf3\xb7\x62\x6c\x97\xa0\x1a"
- "\xaa\xd8\xad\x35\x70\xce\x48\x4d\x28\xe4\x13\xde\x37\x44\x08\xbb\x40"
- "\xf5\x5a\x6f\x1f\x1f\x75\x8c\x7a\x52\x12\xee\xe3\xd1\x88\xa6\x58\x98"
- "\xfa\x2e\x2a\xe0\x15\x74\x64\xd1\xe2\xa4\x07\xb7\x12\xd2\x24\xf3\x33"
- "\xc4\xfa\x82\x48\x60\x0d\x86\x75\x4d\xbe\x9b\xd3\xb8\x43\x91\xf6\xbb"
- "\x10\xee\x12\x78\x0e\x9d\xa9\x67\x96\xfd\x88\x43\x2f\xb4\xba\x48\xc2"
- "\xab\x78\x74\xe4\xc3\xdc\x51\x88\x85\x65\x5d\x54\xf1\x30\x66\x11\x54"
- "\xd6\x43\x71\x35\xd5\xf1\x79\xe2\x47\x72\x80\x5d\x29\xe5\x8e\xdf\xfb"
- "\xe8\x6d\x1b\x10\xcc\xbd\xc5\xf2\x78\x06\x43\x39\xc7\x93\xa7\xb1\xa0"
- "\x5b\x47\x31\xa6\x9e\x2a\xc5\x0f\xc0\x20\xe8\x38\xc5\x95\xac\x97\x58"
- "\xee\x2d\x6b\x8d\x61\x1f\x68\x41\x48\xc5\x11\xe9\x15\x4a\x30\xeb\xfb"
- "\x60\x68\xd5\xf5\xa8\xe7\xf1\xdb\xf8\xd1\x1c\x43\x4c\xad\xa2\x4a\xff"
- "\x6e\x6d\x58\x4b\x48\x8d\x5b\x77\x47\xa7\xdf\x19\xa9\x6e\xf2\xdb\xf9"
- "\x25\xdd\x89\x26\x64\xd5\xb0\x20\x73\xb9\x24\x4f\xa5\xcf\x54\x88\x68"
- "\x0a\xa1\x69\x6a\xf9\x4b\x8b\xe0\xac\x5e\xe2\x76\x0c\x09",
- 252);
- *(uint64_t*)0x2000000017d8 = 0xfc;
- syscall(__NR_writev, /*fd=*/r[20], /*vec=*/0x200000001780ul, /*vlen=*/6ul);
- *(uint32_t*)0x200000000780 = 0;
- *(uint16_t*)0x200000000788 = 0;
- *(uint64_t*)0x200000000790 = 0;
- *(uint16_t*)0x200000000798 = 0;
- *(uint32_t*)0x2000000007a0 = 3;
- *(uint32_t*)0x2000000007a4 = 0;
- *(uint32_t*)0x2000000007a8 = 0xc;
- *(uint32_t*)0x2000000007ac = 0xd;
- memcpy((void*)0x2000000007b0,
- "\x0c\x7f\x70\xa1\x67\xf6\xcc\x18\x8c\xb6\x1c\x01\x00\x40\xc1\x4c\x32"
- "\xa9\xab\x32\x2f\xb8\xb5\x7b\xe5\xe3\xe3\xfc\xcf\xf8\xf0\x02\x3e\x2c"
- "\x81\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
- "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00",
- 64);
- memcpy((void*)0x2000000007f0,
- "\x94\x1a\xcb\x4e\x4d\x09\x17\x91\x5e\x09\x30\xcc\xea\xd6\xe9\x17\x80"
- "\xed\x6d\x96\x77\xf4\x13\x36\xde\x09\xd5\x26\x44\xd8\x82\xc5",
- 32);
- *(uint64_t*)0x200000000810 = 0xffff8001;
- *(uint64_t*)0x200000000818 = 0x64;
- *(uint32_t*)0x200000000820 = 0;
- syscall(__NR_ioctl, /*fd=*/r[22], /*cmd=*/0x4c02, /*arg=*/0x200000000780ul);
- *(uint64_t*)0x200000000140 = 0;
- *(uint32_t*)0x200000000148 = 0x3f37bf1f;
- *(uint32_t*)0x20000000014c = -1;
- *(uint32_t*)0x200000000150 = 0;
- *(uint32_t*)0x200000000154 = 0;
- syscall(__NR_ioctl, /*fd=*/r[19], /*cmd=*/0x40182103,
- /*arg=*/0x200000000140ul);
- syscall(__NR_munlock, /*addr=*/0x200000002000ul, /*size=*/0x1000ul);
- memcpy((void*)0x200000000300, "./bus\000", 6);
- res = syscall(__NR_creat, /*file=*/0x200000000300ul, /*mode=*/0ul);
- if (res != -1)
- r[24] = res;
- memcpy((void*)0x200000000580, "ext4\000", 5);
- memcpy((void*)0x200000000040, "./file0\000", 8);
- memcpy((void*)0x200000000280, "bsdgroups", 9);
- *(uint8_t*)0x200000000289 = 0x2c;
- memcpy((void*)0x20000000028a, "grpjquota=", 10);
- *(uint8_t*)0x200000000294 = 0x2c;
- memcpy((void*)0x200000000295, "discard", 7);
- *(uint8_t*)0x20000000029c = 0x2c;
- memcpy((void*)0x20000000029d, "init_itable", 11);
- *(uint8_t*)0x2000000002a8 = 0x3d;
- sprintf((char*)0x2000000002a9, "0x%016llx", (long long)0x61);
- *(uint8_t*)0x2000000002bb = 0x2c;
- memcpy((void*)0x2000000002bc, "nogrpid", 7);
- *(uint8_t*)0x2000000002c3 = 0x2c;
- memcpy((void*)0x2000000002c4, "subj_user", 9);
- *(uint8_t*)0x2000000002cd = 0x3d;
- memcpy((void*)0x2000000002ce, "/\242\305", 3);
- *(uint8_t*)0x2000000002d1 = 0x2c;
- memcpy((void*)0x2000000002d2, "func", 4);
- *(uint8_t*)0x2000000002d6 = 0x3d;
- memcpy((void*)0x2000000002d7, "FILE_MMAP", 9);
- *(uint8_t*)0x2000000002e0 = 0x2c;
- *(uint8_t*)0x2000000002e1 = 0;
- memcpy(
- (void*)0x2000000005c0,
- "\x78\x9c\xec\xdd\x4d\x6f\x1b\x45\x1f\x00\xf0\xff\xae\xe3\x3c\x69\x9b\x87"
- "\xa4\x08\xa1\x96\x0b\x11\x48\xa5\x12\xc2\x4d\x53\x28\x82\x0b\x6d\xcf\x20"
- "\x21\xc1\x85\x5b\xa3\xd6\xad\x42\xdd\x17\x25\x41\xa2\x15\x87\xf6\x80\xb8"
- "\x70\x28\x12\x52\x0f\x48\xa0\xaa\x17\x3e\x04\x87\x0a\x89\x2f\xc0\x89\x72"
- "\xe3\x8a\x54\x21\xd4\x56\xbc\x5c\x8c\xd6\x5e\xc7\x6e\x62\x27\x21\xd8\xdd"
- "\x24\xfb\xfb\x49\x6b\xcf\xec\x38\x9e\xf9\x7b\x33\xd9\x19\xaf\x27\x0e\xa0"
- "\xb4\x66\xb2\x9b\x34\xe2\x60\x44\x9c\x4e\x22\xa6\x7a\xca\xc6\x22\x2f\x9c"
- "\x69\x3f\xee\xc1\xef\x9f\x9c\xc9\xb6\x24\x9a\xcd\xf7\x7e\x4b\x22\xc9\xf7"
- "\x75\x1e\x9f\xe4\xf7\xfb\xf2\xcc\x44\x44\xfc\x78\x2a\xe2\xe9\xca\xda\x7a"
- "\x97\xae\x5e\xbb\x30\xdf\x68\xd4\x17\xf3\xfc\x91\xe5\x8b\x57\x8e\x2c\x5d"
- "\xbd\xf6\xca\xc2\xc5\xf9\xf3\xf5\xf3\xf5\x4b\xc7\x5f\x7d\xed\x8d\xb9\xd7"
- "\x8f\xcf\x1d\x1b\x5a\xa8\xd5\x0f\xbe\x6b\xdc\x3a\xf0\xf3\xa9\x3f\x3e\x5b"
- "\x7c\x74\xe8\xce\x9f\xf1\x61\x12\x27\x62\x32\x2f\xec\x8d\x63\x58\x66\x62"
- "\x66\xe5\x35\xe9\x95\xbd\xae\x6f\x0d\xbb\xb2\x82\x54\xf2\x78\xfa\xc5\xc9"
- "\xf6\xd7\x39\x7e\xd5\x88\x78\x36\xa6\xa2\x92\xf7\xfa\xcc\x54\x2c\x7c\x5e"
- "\x68\xe3\x80\x91\x6a\x56\x22\x9a\x40\x49\x25\xfa\x3f\x94\x54\x67\x1c\xd0"
- "\x99\xdb\x8f\x62\x1e\xbc\x9d\xdd\x3f\xd9\x9e\x00\xad\x8d\x7f\xac\xfd\xde"
- "\x48\x4c\xb4\xe6\x46\x7b\x1f\x24\x3d\x33\xa3\xf6\x7c\x77\x7a\x08\xf5\x67"
- "\x75\x4c\xfc\xf0\xed\x17\xd9\x16\x23\x7a\x1f\x62\x3d\xd7\x6f\x44\xc4\x81"
- "\x7e\xf1\x27\xad\xb6\x4d\xb7\xde\xc5\xc9\xe2\x4f\x1f\x8b\x3f\x8d\x88\xd9"
- "\xfc\x3e\xdb\x3f\xb7\xc5\xfa\x67\x56\xe5\x77\x52\xfc\x27\x7a\xe2\x3f\xb5"
- "\xc5\xfa\x8b\x8e\x1f\x80\x72\xba\x7b\xb2\x7d\x22\x5f\x7b\xfe\x4b\x57\xc6"
- "\x3f\xd1\x67\xfc\x33\xd9\xe7\xdc\xb5\x15\x45\x9f\xff\x06\x8f\xff\xba\xf1"
- "\x57\x06\x8c\xff\xde\xdd\x64\x1d\x77\x6e\x7f\x73\x62\x50\x59\xef\xf8\x2f"
- "\xdb\xb2\xfa\x3b\x63\xc1\x27\xe1\xfe\x8d\x88\xe7\xfa\xc6\x9f\xac\xc4\x9f"
- "\xf4\x89\x3f\x1b\xf7\x9c\xde\x64\x1d\x2f\xd4\xbf\xbe\x37\xa8\xac\xe8\xf8"
- "\x9b\xb7\x23\x0e\xf5\x9d\xff\x74\xaf\x68\x25\xeb\x5e\x9f\x3c\x72\x6e\xa1"
- "\x51\x9f\x6d\xdf\xf6\xaf\xe3\xe6\xa7\xcd\x5b\x83\xea\x2f\x3a\xfe\xec\xf8"
- "\xef\x1d\x10\xff\x7a\xc7\x3f\xdb\x77\x65\x93\x75\x7c\xff\xf0\xd1\x2f\x83"
- "\xca\x36\x8e\x3f\xfd\x75\x3c\x79\xbf\x95\x1a\xcf\xf7\x7c\x3c\xbf\xbc\xbc"
- "\x78\x34\x62\x3c\x79\x7b\xed\xfe\x0d\x26\x22\x9d\xc7\x74\x9e\x23\x8b\xff"
- "\xf0\x8b\xeb\xf7\xff\x7e\xf1\xef\xc9\xe6\x0e\x9b\x8c\xff\xc1\xe1\xe3\xef"
- "\x6c\x35\xfe\xfb\x7f\x75\xe7\xe8\xa3\x90\xc5\x7f\x76\x8b\xc7\xff\xe6\x26"
- "\xeb\x98\x9b\xad\x7d\x35\xa8\xac\xe8\xdf\x7f\x00\x00\x00\x00\x00\x00\xd8"
- "\x4d\xd2\xd6\x67\x39\x92\xb4\xb6\x92\x4e\xd3\x5a\xad\xbd\x86\xf7\x99\xd8"
- "\x9b\x36\x2e\x2f\x2d\xbf\x7c\xee\xf2\x47\x97\xce\xb6\x3f\xf3\x31\x1d\xd5"
- "\xb4\x73\xa9\x7b\xaa\x9d\x4f\xb2\xfc\xd1\xfc\xf3\xb0\x9d\xfc\xdc\xaa\xfc"
- "\xb1\x88\xd8\x1f\x11\x5f\x56\xf6\xb4\xf2\xb5\x33\x97\x1b\x67\x8b\x0e\x1e"
- "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xb6\x89\x7d"
- "\xab\xd6\xff\x3f\xac\xb4\xd7\xff\x03\x25\x31\x56\x74\x03\x80\xc2\xe8\xff"
- "\x50\x5e\xfa\x3f\x94\x97\xfe\x0f\xe5\xa5\xff\x43\x79\xe9\xff\x50\x5e\xfa"
- "\x3f\x94\x97\xfe\x0f\xe5\xa5\xff\x43\x79\xe9\xff\x50\x5e\xfa\x3f\x00\x00"
- "\x00\x00\xec\x4a\xfb\x9f\xbf\x7b\x2f\x89\x88\xeb\x6f\xee\x69\x6d\x99\xf1"
- "\xbc\xac\x5a\x68\xcb\x80\x51\x4b\x8b\x6e\x00\x50\x98\x4a\xd1\x0d\x00\x0a"
- "\xe3\xd2\x3f\x94\x97\x39\x3e\x90\xac\xa4\xfe\x6e\xb6\x3d\x5e\x3e\x31\xe8"
- "\x07\xef\x26\x23\x6d\x17\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xd0\xf5"
- "\xd2\x41\xeb\xff\xa1\xac\xac\xff\x87\xf2\xb2\xfe\x1f\xca\xeb\x3f\xac\xff"
- "\xf7\xaf\x03\x60\x87\x33\xc7\x07\x36\x5a\xc5\x6f\xfd\x3f\x00\x00\x00\x00"
- "\x00\x00\x00\x00\x00\x00\x14\x6f\xb2\xb5\x25\x69\x2d\x5f\x0b\x3c\x19\x69"
- "\x5a\xab\x45\xfc\x3f\x22\xa6\xa3\x9a\x9c\x5b\x68\xd4\x67\x23\xe2\xa9\x88"
- "\xf8\xa9\x52\xfd\x5f\x96\x3f\x5a\x74\xa3\x01\x00\x00\x00\x00\x00\x00\x00"
- "\x00\x00\x00\x00\x00\x00\x00\x60\x97\x59\xba\x7a\xed\xc2\x7c\xa3\x51\x5f"
- "\x1c\x42\xa2\x99\x7f\x99\xf0\xd0\x9e\xf0\x5f\x24\xc6\x22\xe2\x89\x57\x2a"
- "\x21\xb1\x6b\x13\x45\xff\x65\x02\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
- "\x00\x00\x00\x80\xf2\xe9\x2e\xfa\x2d\xba\x25\x00\x00\x00\x00\x00\x00\x00"
- "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
- "\x00\x00\x00\x00\x00\x00\x50\x9c\xee\xf7\xff\x8f\x2e\x51\x74\x8c\x00\x00"
- "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
- "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
- "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
- "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
- "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
- "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
- "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
- "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
- "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
- "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
- "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
- "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
- "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
- "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
- "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
- "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
- "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
- "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
- "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
- "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
- "\x00\x00\xc0\xce\xf4\x4f\x00\x00\x00\xff\xff\xaa\xbd\x24\xbf",
- 1401);
- syz_mount_image(/*fs=*/0x200000000580, /*dir=*/0x200000000040,
- /*flags=MS_NOATIME*/ 0x400, /*opts=*/0x200000000280,
- /*chdir=*/1, /*size=*/0x579, /*img=*/0x2000000005c0);
- memcpy((void*)0x200000000000, ".\000", 2);
- res = syscall(__NR_open, /*file=*/0x200000000000ul, /*flags=*/0ul,
- /*mode=*/0ul);
- if (res != -1)
- r[25] = res;
- memcpy((void*)0x200000000340, "./file0\000", 8);
- memcpy((void*)0x200000000200,
- "\023\023w\305\3745\324\024T\325\324\035)\255\032`)"
- "Y\201F\346\276\026nA\255\r\275@T\003<\2373\273\332\202$"
- "\242\363\327r\347cnH\263<\277p\203r\350\361\271\223>"
- "\305\022wC\276\"\006 \236\360-\371\313\362\366\350\200\3238/\000",
- 78);
- syscall(__NR_renameat, /*oldfd=*/r[25], /*old=*/0x200000000340ul,
- /*newfd=*/r[25], /*new=*/0x200000000200ul);
- *(uint32_t*)0x200000000100 = 4;
- *(uint32_t*)0x200000000104 = 0x80;
- *(uint8_t*)0x200000000108 = 3;
- *(uint8_t*)0x200000000109 = 7;
- *(uint8_t*)0x20000000010a = 8;
- *(uint8_t*)0x20000000010b = 0x5b;
- *(uint32_t*)0x20000000010c = 0;
- *(uint64_t*)0x200000000110 = 1;
- *(uint64_t*)0x200000000118 = 0x2002;
- *(uint64_t*)0x200000000120 = 1;
- STORE_BY_BITMASK(uint64_t, , 0x200000000128, 1, 0, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000128, 0, 1, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000128, 1, 2, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000128, 1, 3, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000128, 1, 4, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000128, 0, 5, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000128, 0, 6, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000128, 0, 7, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000128, 1, 8, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000128, 1, 9, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000128, 0, 10, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000128, 0, 11, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000128, 1, 12, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000128, 0, 13, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000128, 0, 14, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000128, 3, 15, 2);
- STORE_BY_BITMASK(uint64_t, , 0x200000000128, 1, 17, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000128, 0, 18, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000128, 0, 19, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000128, 0, 20, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000128, 1, 21, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000128, 1, 22, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000128, 0, 23, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000128, 1, 24, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000128, 0, 25, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000128, 0, 26, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000128, 0, 27, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000128, 1, 28, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000128, 0, 29, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000128, 0, 30, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000128, 0, 31, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000128, 1, 32, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000128, 0, 33, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000128, 0, 34, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000128, 1, 35, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000128, 0, 36, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000128, 1, 37, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000128, 0, 38, 26);
- *(uint32_t*)0x200000000130 = 8;
- *(uint32_t*)0x200000000134 = 4;
- *(uint64_t*)0x200000000138 = 0x200000000000;
- *(uint64_t*)0x200000000140 = 1;
- *(uint64_t*)0x200000000148 = 0x9bf301e579dcd74b;
- *(uint64_t*)0x200000000150 = 5;
- *(uint32_t*)0x200000000158 = 0xfffff456;
- *(uint32_t*)0x20000000015c = 3;
- *(uint64_t*)0x200000000160 = 0;
- *(uint32_t*)0x200000000168 = 0x800003fd;
- *(uint16_t*)0x20000000016c = 0x4400;
- *(uint16_t*)0x20000000016e = 0;
- *(uint32_t*)0x200000000170 = 0xae15;
- *(uint32_t*)0x200000000174 = 0;
- *(uint64_t*)0x200000000178 = 0x7ff;
- syscall(__NR_perf_event_open, /*attr=*/0x200000000100ul, /*pid=*/-1,
- /*cpu=*/1ul, /*group=*/r[24],
- /*flags=PERF_FLAG_FD_CLOEXEC|PERF_FLAG_FD_NO_GROUP*/ 9ul);
- res = syscall(__NR_io_setup, /*n=*/0xb, /*ctx=*/0x200000000040ul);
- if (res != -1)
- r[26] = *(uint64_t*)0x200000000040;
- *(uint64_t*)0x200000000540 = 0x2000000000c0;
- *(uint64_t*)0x2000000000c0 = 0;
- *(uint32_t*)0x2000000000c8 = 0;
- *(uint32_t*)0x2000000000cc = 0;
- *(uint16_t*)0x2000000000d0 = 1;
- *(uint16_t*)0x2000000000d2 = 0;
- *(uint32_t*)0x2000000000d4 = r[24];
- *(uint64_t*)0x2000000000d8 = 0x200000000000;
- *(uint64_t*)0x2000000000e0 = 0x200a00;
- *(uint64_t*)0x2000000000e8 = 0;
- *(uint64_t*)0x2000000000f0 = 0;
- *(uint32_t*)0x2000000000f8 = 0;
- *(uint32_t*)0x2000000000fc = -1;
- syscall(__NR_io_submit, /*ctx=*/r[26], /*nr=*/0xf10ul,
- /*iocbpp=*/0x200000000540ul);
- memcpy((void*)0x2000000001c0,
- "\x6c\xae\xdf\x78\xe8\x24\x0e\x44\x81\xff\x03\x43", 12);
- *(uint64_t*)0x2000000001d0 = 0x200000000580;
- memcpy(
- (void*)0x200000000580,
- "\x9b\x17\x72\x2d\x35\x6a\x4e\xcf\xac\x6d\xae\xd9\x61\x8c\x25\x89\xf5\x0e"
- "\xa9\x8d\x4d\xff\x5e\xa5\x21\xfb\x86\xdb\x39\x1f\x77\x34\x5c\xa6\xb2\x46"
- "\xfd\xb2\x7d\x96\x08\x0a\x72\xf4\x4f\xbb\x6b\x0b\x35\x09\x3b\xb6\x5d\x9d"
- "\x2d\x15\xe1\xa3\xdc\x21\xcd\x98\x8b\x8d\x57\xb2\xe7\xb8\xe7\xbb\x81\x9c"
- "\xd1\x30\x6c\x9c\x7c\x4f\xcd\x99\x90\x21\x34\x30\x5d\xde\x3c\x6d\xfb\xca"
- "\xbe\x7f\x32\x38\x86\x00\x43\xaf\x64\xb7\x0f\x94\xec\x9e\xb0\x33\x27\x46"
- "\xef\x78\x7a\x64\x5e\x65\x26\xaa\x51\x7b\x01\x2a\xd8\x0b\x40\x72\x7d\x00"
- "\x4e\x05\x6e\x37\x45\x7a\xbc\xd0\xd9\x2f\xa9\xca\x76\xdc\xe5\x69\x21\x26"
- "\xdc\xe5\x01\x45\xd8\xbe\x0f\x8f\x96\x9a\xdd\x79\xb8\xe4\x0c\x8f\x06\xe9"
- "\x51\xf7\xe3\xb9\x8d\xf9\x30\x7e\x11\x3d\x4d\x19\x0d\x51\x5f\x06\x52\xec"
- "\x02\x4e\xcb\x2e\xd9\x9c\x49\x4f\x5b\x16\xc5\x2b\x16\x52\x6f\xa2\x8f\x94"
- "\x25\x74\xab\x4b\x20\xdd\x55\xf4\x9d\x9d\xe8\x9c\x77\x81\x16\x75\x3b\x25"
- "\x12\x19\xc0\x6f\x12\xaf\x01\xf2\x17\xaf\x75\xb4\x09\x13\x46\x7b\x75\x27"
- "\xec\xf2\xcb\x6a\x81\xd5\xa5\xc8\x4a\x37\x20\xfc\xa8\x17\xd7\x9d\x5f\x6c"
- "\xc3\x99\xfd\xee\xc0\x25\x2f\x0f\x0b\x78\x6c\x75\x84\xdb\x3a\x2e\x50\xed"
- "\xef\x48\x56\x71\xd8\xbb\x73\x4c\xd6\x23\xfc\xf2\x63\x44\x97\xe8\xf3\xbf"
- "\xf7\xf7\x64\x9b\x27\x31\xdc\x00\x7e\x4b\xdb\x18\x0f\x43\xc4\x6a\xec\x0a"
- "\xa8\x36\x1d\x1b\xb6\x2f\xda\x8f\xf3\x4c\xd6\x4d\xec\xfe\x0e\xe8\x79\x5a"
- "\x5c\xbe\x22\x22\x26\xca\x12\x11\x35\xb9\x40\x59\x44\x79\x0b\x15\x2a\xa9"
- "\x33\x74\xce\x08\xf0\xaf\x5e\xf6\xc7\xe7\x1b\x82\x9e\x28\xe7\xc3\x65\xe3"
- "\xa3\x5a\xfa\x7f\xcd\xfc\x11\x48\x41\xcf\xeb\x69\x87\x32\x10\xf1\x32\xb7"
- "\x60\x27\xfb\xfa\xa1\x53\x62\x44\x28\x66\x23\x37\x90\x27\xc2\x78\x4e\x2d"
- "\xe1\x51\x18\x7c\x4e\x8f\xdc\x8a\x3a\xcb\x81\x45\x37\xf5\x97\x38\xbb\x7d"
- "\x3a\xbb\x68\x6a\x62\x5d\x1e\xfc\x86\xf1\x6d\x6f\xf7\xe1\x25\x33\x3f\xff"
- "\x62\x97\x8c\x02\xd2\xd1\x52\x44\x58\x41\xb6\x00\xf8\xd9\x2d\x72\x32\xa1"
- "\x32\x14\x53\xdf\xbd\xa5\x47\xbf\x67\xef\xa9\x15\xc1\x36\x5c\x6d\xf6\x6d"
- "\x69\x09\x16\x75\x34\x0f\x98\x0c\xed\x33\xd0\x6e\xbc\x34\x3c\x61\x66\x68"
- "\x1a\x37\x6b\x47\xad\x0d\x8f\x8a\xe0\xad\x20\x3c\xbf\x26\x29\x14\x0f\x7b"
- "\x71\x27\xfc\x45\x7d\xf0\xc7\xef\xfa\xd3\x6c\xbe\x58\x79\x33\xc1\xf0\x26"
- "\x7c\x66\x9d\xc6\xdb\x78\xe1\x02\xd3\x79\x86\xcf\xcd\xa1\x5a\xd5\x49\x53"
- "\x85\xb3\x02\x21\x92\xe1\xfc\xd8\x5b\x2f\xf3\x43\xb0\x92\x96\x31\x16\xd8"
- "\x50\xa8\x93\xb7\x94\x55\x27\xae\xe0\xfc\xe7\xc7\x76\xb9\xb1\x3f\x64\x3d"
- "\xd2\x19\xad\x85\xd0\x7e\xe8\x45\x0a\x74\xb8\x1b\xf5\x0c\x43\x88\x6b\xbd"
- "\xc7\xf1\x43\x80\xcc\x67\xa4\x26\xcd\x56\xd9\x9b\x60\xdb\x70\xb7\xa7\x40"
- "\x80\x79\x78\xe0\xe2\x7c\xe2\x52\x3b\x83\x7f\xbd\xf5\xc5\x0f\xeb\x27\x45"
- "\x68\x87\xdf\x29\x35\x34\x9e\x45\x30\x6d\xef\xf3\x15\xe9\x1b\x04\xc9\x18"
- "\xfb\xa4\xac\xb0\xe3\x67\x05\xd7\x5d\x9e\xfb\x85\x04\x51\x4d\x72\xca\x9e"
- "\x9a\x1b\xc6\x6d\xde\x70\x2f\x35\x47\xc4\x45\xbc\x68\x52\x75\xa4\x91\x13"
- "\x87\x89\x16\xcb\xdc\x9c\x9b\xc0\x3c\x5a\x6a\x82\xbc\x2c\xee\x29\x19\xac"
- "\x34\x83\xae\xc7\x4f\x9c\x96\xbe\x6f\x03\x78\x80\x88\xa5\x78\x72\x3d\x8b"
- "\xd7\x58\x4b\x83\x90\x55\x0a\x95\xb0\x87\x31\xe4\xf0\xf8\x1a\x2f\x6e\xa1"
- "\xe8\xb2\x3e\x43\x39\xbf\x40\xaa\xec\x7d\x76\x0e\x59\xad\x54\xbd\x7a\x14"
- "\x20\x76\xf7\xb1\xd2\x49\xc0\x66\xf2\x9c\x1a\xe7\x97\x71\x33\xa2\xe0\xb6"
- "\x0e\x3f\xf9\x83\x64\x49\x5f\x8b\x41\x27\xf5\x4c\xbf\x6f\x0c\x24\xa8\x0c"
- "\x5d\x39\x76\xd7\x7d\x62\xf2\xf1\xca\x50\xa5\x62\x0d\xab\x44\x79\xec\x7b"
- "\xb2\x9f\x48\x22\x50\xeb\xbd\x0a\x62\x13\x4e\x97\x55\x06\x5c\x71\x02\xa9"
- "\xe1\x17\xcb\x67\x57\x09\x6c\x9e\x69\x6d\x2a\x55\x24\xd4\xba\x41\x24\x33"
- "\x15\x0a\x06\x1c\x50\xce\x82\x79\x96\xbf\xe3\x69\xe0\x7c\xb4\xf2\xfb\x04"
- "\xae\x9a\xcc\xd3\x6a\xaf\xf6\x51\x42\xde\x55\x1d\x43\xc9\xe4\xb7\x4d\x49"
- "\x72\x1a\x8c\x56\x9c\x75\xd3\x45\xc0\x7a\x3a\x2e\x43\x76\xb5\x5a\x60\x37"
- "\x1c\x04\x45\xe7\xd2\xbb\x41\x45\x77\x63\xaf\x1d\x78\x97\x29\x33\x04\xd1"
- "\x33\xa3\xa8\xef\xf0\x83\xfd\xcf\x65\x14\xbf\xd6\xf8\x58\x44\x26\x73\x73"
- "\x3c\xdd\xb0\xcf\xd5\x07\xc6\x22\xea\x3a\x4b\x72\x6d\x79\x30\x36\x5a\x66"
- "\x53\xef\x0a\x4f\x70\x32\x4d\x7a\xc5\x82\x83\xa2\x3e\x0d\xdc\xb6\xab\xbb"
- "\x25\x2b\xf5\x75\x52\x9a\x30\xd6\xce\xa6\xb0\xa2\xba\xd8\xa7\x83\x9f\x1a"
- "\xc6\x9f\xd0\xff\xbe\x6f\xbb\x21\x7c\xcc\x0d\xfe\xb5\x13\x35\x09\x74\x69"
- "\xbf\x4a\x2c\x23\x7e\xbf\x88\x70\xb5\xd7\xe2\xa8\xfb\xb0\xc9\xc1\x18\xb6"
- "\x1b\x98\x10\xa6\x68\x65\x20\xc9\x2a\xe6\x99\x31\x9b\x7d\x7e\x23\x74\x06"
- "\x73\x33\xfb\x67\x81\xaf\x84\x5c\x22\x8d\xfd\x73\xc8\x28\x61\x13\x4e\xc9"
- "\xc9\xef\xcb\xc5\x29\x1f\xed\x3e\x99\x4e\x5f\xc0\xbe\x0e\x6c\x24\x21\x78"
- "\x88\x84\x87\x9f\xd2\x18\x90\x0d\x1f\xf9\x6b\xc9\x7c\x69\xce\xc0\x4d\x0a"
- "\x7e\x92\x33\xc2\xc5\xeb\xa3\x16\x30\x95\xb2\x78\xe9\x9c\x7d\x20\x1a\x37"
- "\x32\xec\x22\x0f\xdd\x73\xdb\xa8\x48\xb5\x3a\x86\xe5\x5f\xd0\x7e\x42\x90"
- "\x6b\xdc\x07\x81\x13\x52\xa2\x37\x51\x51\x27\x8b\x32\xda\xd0\x46\xea\x77"
- "\x99\x49\x22\xce\x49\x7f\x9a\x4d\x08\x69\x77\xd6\x52\x8a\xd6\xd7\x2e\x49"
- "\xb0\x87\xe6\xfd\x00\x2d\xae\x49\x74\xf3\x84\xdc\xa1\x81\x36\x25\x1d\xfa"
- "\xb2\xed\x17\x3d\x18\x60\x0a\xe5\x8f\x41\x58\xd1\xd1\x87\xc8\x3b\xd8\x11"
- "\x8e\x17\x99\x09\x33\x8a\x6b\x36\xe2\x37\xda\x91\x7a\xcb\xeb\xe6\x59\x13"
- "\xb2\x3c\xb8\x8e\x73\x8a\x0d\x66\xf7\x5d\x66\xed\xc7\xec\x29\x1d\x37\x12"
- "\xea\x49\x00\x56\x99\xe4\x69\x68\x83\x4b\xdb\x98\xbf\xac\x47\x67\x88\x8a"
- "\xea\xa5\xf1\x23\x3d\xcb\x85\xc3\xc0\x08\x93\x46\x6b\xa7\x1a\x7b\x80\x13"
- "\x7a\xa4\x9e\x07\x0e\x72\xdf\xe6\x11\xfd\x14\x46\xeb\x6a\x31\x12\x7c\xa5"
- "\x5e\xb3\x76\x57\xf3\x7a\x28\x24\x91\x0e\xf2\x44\x92\xce\xb4\x4a\x44\xcd"
- "\xbf\x0a\xc5\xe3\x36\x73\xe7\x09\x55\xfd\xcf\x5f\x18\xd5\xcc\x13\xac\xf1"
- "\x68\x59\x5e\x79\x76\xfd\xa9\x1a\x17\x08\x6e\x07\xf0\x48\x73\xfc\x51\xa5"
- "\xe4\x61\x23\x75\x02\xfd\xae\x2b\xc6\xe5\xca\x99\x0d\x8b\x3f\x73\x1a\xa1"
- "\x09\x0e\x70\x71\x2e\x4d\xa9\x5c\x5d\xd7\xb9\x10\x4c\xc1\xb8\xe2\x1f\xe2"
- "\x69\x7a\xc2\x74\x13\x18\x5c\x9d\xe2\xe7\xcd\xf0\xc2\x98\xc0\x5b\x37\x4d"
- "\xe1\x34\x81\x35\x2d\xac\xe4\x21\xfd\xe7\xb0\x3d\xcc\xda\x2b\x7a\xfc\x21"
- "\x31\xa8\x81\xfc\x5c\x70\x65\x9e\x86\xf7\xbf\x0a\x12\x58\xee\x1e\xf1\x2e"
- "\xe0\x9a\xe7\x19\xf5\x10\x53\x25\x02\x68\x8b\x98\x27\x9a\xe6\xa7\x9e\x87"
- "\xf3\x9f\x73\x49\xac\xfa\xa7\xf9\xdc\xbf\xd8\x8b\x46\x06\x6b\x9d\x5a\x32"
- "\xeb\xcf\x62\xd0\xf5\xef\x27\x77\x53\x50\xed\x2f\x80\x4c\xab\x07\x22\x88"
- "\x5b\x2d\x58\x72\xb6\xf3\xbd\xb7\x00\xc2\xc1\x58\x94\x83\xf1\x0d\xd3\xfc"
- "\xd8\x78\x57\x61\xad\xaf\x73\x11\x7b\x92\x9c\x88\x1d\x0e\x3c\x67\x9b\x37"
- "\xeb\x86\x5a\x50\xb9\xb1\xf9\x36\x23\xc9\xea\x33\x7c\xcf\x23\x1b\x77\xf0"
- "\x82\x47\x36\x64\xdf\xe9\x79\x7c\xeb\x10\x1c\x6c\x64\x68\x36\xf5\xb9\xa2"
- "\x45\xc9\x20\x23\x35\xfa\xf9\x31\x88\x04\xda\x3c\xca\x18\x6f\x87\x43\x07"
- "\xe4\x75\xa4\x8e\xb1\x75\x85\xf1\x4b\x8f\x8c\xf5\x17\x95\xff\xe9\xd5\x8a"
- "\x83\x68\x12\xe4\x25\x6c\x78\x2b\x11\xdf\x24\x8c\x71\x2e\x52\x1d\x6c\xf1"
- "\xbb\xd9\x16\x99\x38\x05\x1d\xfd\xae\x77\xed\xde\x9b\xe5\x32\x1e\x31\xa7"
- "\xd8\x3b\x6a\x33\xf4\x0a\xa2\xca\xca\x28\x80\xd1\xde\x2c\x44\x48\x28\x39"
- "\x92\xa4\x3e\x8c\x07\xc0\xe8\xdc\x41\xbd\xb1\x31\xb1\x96\xe0\x8e\x5d\xe9"
- "\x7b\x24\x8b\x7b\x83\xe1\xf6\xeb\xbb\x50\x45\x1f\x5f\x39\xc2\x54\x7a\xfd"
- "\x93\x8d\x2e\x51\xa1\xec\xc5\xd8\xd9\x34\x5f\xd3\x01\x3e\x9d\x45\x1a\xb4"
- "\x09\x95\x45\x11\x30\x9a\x91\xdf\xac\xd0\x45\x1c\x9f\xbd\x85\x49\xa9\xc4"
- "\x1a\x79\x2f\x3b\x54\xae\xd0\x92\x5a\x77\x77\x1e\x4f\x43\x67\x4e\x87\x7f"
- "\xef\xfd\x6a\x3c\x20\x8a\x5c\x27\xc9\xf8\xbe\x3e\xc8\x86\x79\xa3\x1a\xf5"
- "\x87\xbc\xd6\x64\x96\xd0\x49\x09\x7d\x94\x8e\x2f\x0b\x71\xe0\x7b\x80\xf2"
- "\x3b\x81\x45\x4c\x6c\xdc\x3e\x4e\x31\xa9\x37\x98\x8d\x4e\x75\x35\x4c\x54"
- "\xc7\xa6\x1d\x7a\xc8\xb3\x21\x8a\x38\xc1\x71\xfc\xda\x78\x4b\x16\xd9\x57"
- "\xa5\xe3\x26\x65\x7f\x10\xf5\x59\xb5\x65\x62\x45\x23\xce\xa8\x1c\xf6\xaa"
- "\x7f\xc6\x08\x3c\x26\x87\x10\xfc\xe6\x23\x4f\xbf\x16\xc4\x86\xca\x6e\x08"
- "\x6b\xad\x70\x68\xc0\x7f\x26\x70\x21\xcd\x58\xd4\x1a\x77\x9a\x09\xb9\x3d"
- "\xb5\x5b\x4d\x43\x70\xa5\x2b\x90\x14\x93\xa7\x92\xf3\x9e\x30\x0f\x35\x61"
- "\x8f\x4b\xd7\xcd\xd7\x2b\xe0\x23\x70\x4e\x0f\x2a\x1d\x4c\x92\x12\x3d\x26"
- "\x99\x59\xcb\x6a\x4a\x5d\x77\x87\xd8\x57\x14\x0e\xf6\x3f\xdb\xa3\x10\x7a"
- "\xbb\x10\x42\xe8\xa1\x0e\xec\x20\x95\xb4\xf0\xed\xae\x19\x8a\x10\x10\x56"
- "\x8c\x06\x04\x92\x2c\xfa\x83\x74\x2a\x6a\xe8\x0c\xf6\x29\x80\x83\xae\xc4"
- "\x52\x28\x29\x59\x72\xf9\xeb\xaf\x77\x05\x4c\xf4\xd5\x68\xe2\x72\xaf\xcb"
- "\x93\xc4\x11\x66\x6d\xfe\x22\x7c\x5c\x49\xc1\xcc\xb2\xaf\x96\x62\x32\x98"
- "\x62\x06\x62\xfd\x61\xfd\x2c\x16\x46\x90\xee\x91\xc4\x59\x53\xd1\x79\x95"
- "\xfa\x6b\xa0\xed\xe4\x1a\x79\xed\x64\x87\xa1\xc6\x19\xf0\xe6\x49\x82\xd6"
- "\x13\x7f\x94\x0d\xb3\x96\x6e\xa9\x28\x38\x27\x6f\xc2\x6e\xca\xf3\x8a\xd6"
- "\x8b\xd4\x17\x3d\xea\xd0\xe5\x93\x76\x24\xf6\xd0\x30\x2a\x38\x00\x98\x22"
- "\x30\xf3\x4d\xa3\x65\xf6\x06\x0e\xb9\x8d\x27\x93\xf4\x5d\xcc\x3d\x48\x40"
- "\x05\x01\xcf\xf9\x34\x13\x95\x00\x5c\xa1\x60\xd7\xee\xbe\x72\x7c\x41\x5f"
- "\x0f\xb4\x61\x80\x89\xc9\x95\xbb\x0a\x02\x0a\xb9\x1f\x27\x38\x6e\x26\x33"
- "\x7a\xe1\x1a\xe7\x40\x0c\xf0\xde\x8e\x62\xd7\xbd\x05\x43\x5a\x75\xc8\x53"
- "\xba\xb2\x73\xd9\x25\x37\x77\xed\x75\x4f\xab\x8c\x83\x29\xda\x2a\x02\x0f"
- "\xf9\xaf\xdd\x7a\x5c\xf3\x39\x3b\x93\x17\x18\x29\xf0\x54\xf4\x3e\x6f\xc7"
- "\x0c\x37\x57\x21\x5e\xa6\xa6\x14\x75\xe7\x0e\x1c\x5e\xf9\x84\x9a\xce\x8d"
- "\x19\x96\x6b\x07\xa0\xcf\xdd\xb9\xa4\xec\x09\x6a\x3e\x73\x56\xc1\xfe\xaf"
- "\x7d\x88\x82\x9e\xe6\x28\x1f\x9d\x28\xd5\x92\x96\x5b\xa4\xe6\x0c\xc2\xb9"
- "\x88\xcc\xc1\x00\xa0\x17\x38\x0e\xde\x1d\xce\xa9\xad\x25\x30\x40\x9c\xd6"
- "\x7c\x52\x95\x5d\xec\x91\x37\x4b\x2a\x66\xc4\x85\x82\x54\x70\xf1\x3c\x9e"
- "\x22\x1a\x74\xa3\xc3\x13\x2e\x12\x93\x0c\xa5\xa3\x7a\x69\xb6\x50\xd4\xd7"
- "\xb3\x70\x80\xb5\xbc\xe6\x0c\x44\x54\x3b\x41\xde\x85\x34\x53\x48\x41\x88"
- "\x36\x48\xae\xed\xb3\xf3\xe1\xb4\xd4\x0c\xee\x43\xec\x31\x05\x08\x80\xfa"
- "\x8e\x1b\xb5\x38\xa4\x5d\x5a\x8a\x8e\x6a\xdd\x20\xe9\x11\x4a\x60\x66\x8c"
- "\xaf\x68\xb4\x8b\x6b\xc5\xc2\xb5\x39\x6d\x5c\x41\x0c\x17\x90\x5e\x99\xed"
- "\xc7\xa5\x68\xce\xf9\x8e\x37\xfc\x9a\x0e\xa3\x77\x97\xe8\x93\xc4\x22\x09"
- "\x4c\x8a\x69\x8d\x48\xef\xaf\x94\x3b\x76\x36\x8b\xf5\x45\x3b\x65\x74\xa4"
- "\x4a\x64\x82\xac\x8b\x51\x80\xcd\x5b\x65\x14\xdb\xb7\x9e\x63\x22\xbe\x22"
- "\x28\xe9\xde\xf3\x74\xe5\xd6\x00\xb0\xc2\x03\x4f\xa7\x51\x6f\xa9\x8f\x59"
- "\x3b\xf8\x69\xae\x14\x40\xc0\x7f\xc2\xe2\x58\x89\xc1\x98\xf0\xf9\x91\x1a"
- "\xc5\x80\xc4\xf3\x5a\xa6\xe1\x74\x6b\x2c\xde\xe3\xef\x7a\xc9\xcf\x61\x44"
- "\x1a\xf4\xfd\x3a\x63\xc4\xdc\xba\x46\x78\xc2\x5d\x29\xbf\xc6\x8c\xb6\xc6"
- "\x66\x29\x40\x91\x1b\x2a\x30\xd9\xc6\x4f\xad\x5e\x36\x21\xe1\x33\x71\xbd"
- "\x37\xa2\xdc\xf9\x1a\xd1\x2b\xbe\x63\xca\x21\x1c\x43\x67\x02\x79\x8f\x7a"
- "\x9d\x14\x5d\x55\xa9\xaa\x6c\xe2\xd1\x13\xef\x3b\xe0\x80\x95\xc5\x3d\x12"
- "\xff\x28\xbe\xb8\xce\x64\x91\x72\x2d\xb9\x23\xa4\x63\x31\xaa\x7e\xfc\xe2"
- "\x4b\x57\x4c\xdd\xda\x69\xc2\xb2\x0f\x8d\xc7\x03\x00\x94\x07\xaf\x8e\xc6"
- "\x41\x2c\x37\xae\x4d\xfb\xe2\x89\x5c\xc3\x26\x84\xd7\x81\x07\xfe\x97\x73"
- "\x06\xa2\x77\xea\x65\x77\x05\x57\x0c\xf0\xec\xc0\x03\x3f\x26\x4b\x0e\xab"
- "\x5e\x93\xa3\xf5\xf8\xa3\x1c\x2f\x1e\x16\x86\xb2\x03\x57\xad\xad\x04\x75"
- "\x78\x12\xda\x2c\x2c\x0a\x95\x13\x7e\x1e\x46\x1c\xe4\xb6\xf6\x2b\xf5\x46"
- "\x5a\x91\xb2\x75\xc2\x91\xfd\x0b\x5e\x7a\x88\xc5\x4d\xc2\x5f\x0c\x83\x25"
- "\x35\x59\x37\xc0\x89\x78\x7c\xbc\x7c\xb8\xce\xf3\x88\x44\xce\x04\x42\xc9"
- "\x19\xc4\x31\xe1\x77\x05\x86\x68\x42\xa2\x3d\xf8\x03\x08\x50\x76\x4a\xa4"
- "\xbd\x24\x59\x98\x99\xca\x85\x02\xff\x33\xfc\x04\x42\x67\x3e\x23\x18\x79"
- "\xc3\x27\xd6\xd0\x83\xce\xac\x79\xce\x19\xe3\x91\x60\x59\xc4\x09\x62\x0a"
- "\xdc\x52\x23\xa8\x57\xd5\xf8\x68\x08\x36\x2f\x0f\xcc\x7d\x10\x9d\x98\xeb"
- "\xc4\x2e\xb4\xdc\x79\xec\x1e\x9f\x53\x0b\x03\xc9\x5f\xa6\x0d\x14\x9c\x3e"
- "\x27\xab\xf9\xca\xba\xf5\x22\x0b\x26\x1f\xfc\xd3\x91\x2e\x53\x9b\x89\x60"
- "\x1f\x35\x8e\x12\xfb\x6c\x71\x08\xa4\xf0\x7d\xa0\xa0\x08\xd1\x4c\x88\x35"
- "\x94\x1b\xcb\xa4\x15\xc8\x23\x0d\xd8\xe7\x33\x2b\x69\xa0\x2d\xe5\xcf\x90"
- "\xa7\x1b\x80\x74\x2d\xde\x73\x36\x0d\xa8\xbf\xd2\x46\x50\xcf\xc1\x95\xa8"
- "\xc6\xc6\xd5\x20\x4a\x05\x57\xfa\x20\x12\xc9\xf8\x99\xa3\xd6\x6d\xdf\xf4"
- "\x8f\xcf\xbe\x31\x09\x3c\x6f\xe8\xcc\x76\x48\x48\x8f\x0f\xdb\x77\xe3\xe9"
- "\x5f\x3d\xbe\xf1\x9f\x48\x98\x73\x0d\xd3\x80\xf2\xee\x3a\x23\x84\x0d\x69"
- "\x94\x11\xba\xcd\x4e\x1c\x0b\xb2\x3f\xe8\x5b\xc0\xa6\x7c\x64\x93\xa4\xaa"
- "\x1f\xd6\xfb\x2f\x9e\xa1\xb9\xaf\xc2\x02\x13\xdf\x74\x16\xe1\x02\xfb\x04"
- "\x6a\xdd\xb0\xc4\xc4\x14\xe1\x73\x8a\xc7\x1d\xe3\x45\x7d\x5b\x3c\xcf\x39"
- "\xca\x05\x7e\x52\x32\x8e\x23\x83\x1d\x16\xc6\xdc\x8f\x05\x9d\x6b\xd7\x49"
- "\x04\x82\xa0\x57\x32\xfd\x0f\x31\xb2\x19\xc7\x22\x3c\x49\x8e\xab\xf5\x86"
- "\x13\xc8\x0e\xfe\x9e\x0d\x5c\x78\x14\xe8\xde\x42\xbd\x2d\xf6\xe2\x05\x4f"
- "\x5b\xe2\xd7\x37\xb8\x37\x83\x0e\x73\x5b\x8b\xc7\x59\x58\xf8\xaa\x70\x84"
- "\x83\x6f\xeb\x74\xf0\xb7\x2b\x20\x3d\x8e\x48\xe2\x64\x3e\xc2\xc8\x55\x21"
- "\x55\x5c\xbe\xea\x8d\x51\x54\x7c\x8d\x13\x04\xb8\x3a\xc2\x54\x56\x21\xad"
- "\x42\x6a\xd5\x8a\x62\x6c\xf5\xeb\xe6\x3b\xd8\x05\x35\x97\x94\x9e\x43\x34"
- "\x11\x64\xf0\xdb\x93\x8e\x01\x3e\x87\xe9\x9a\x8f\xae\x9a\x55\xa9\x31\x49"
- "\x0f\x00\x6a\x6e\x6b\x2d\xd2\x64\xff\x55\x69\x7f\x66\xf7\x75\x22\x49\xe9"
- "\x93\xc0\x66\x2a\x91\xf6\x3c\x8e\x6c\x59\x73\xb0\x8c\x66\x0c\xf7\xf8\x80"
- "\x18\x4b\xd6\x61\xe3\xae\x6c\xea\xbd\x05\xad\x09\x88\x48\x71\x4d\xc7\xa9"
- "\xdc\x75\x5c\x8c\xf7\xe1\x95\x03\x7a\x43\xf2\x09\xb5\xcb\x4a\x3a\x17\xfd"
- "\xed\xcf\x1c\xa3\x9e\x81\xd0\x4e\xb0\x12\x61\xcd\xaf\x9d\xed\xde\x2a\xb2"
- "\x8e\x86\x34\x7b\x99\x22\xb3\x75\x23\xc1\xad\x5a\x75\x1a\x81\xec\x01\x46"
- "\x7a\x01\x5c\x76\xce\x9c\x85\xc7\x54\x07\xbe\x99\x72\x7b\x76\xe9\x72\x54"
- "\xe0\xec\x69\xe8\x1b\x05\x05\x36\xe5\xd0\x31\x21\x8c\x3f\xef\x6a\x31\xca"
- "\x76\x6c\x5d\x83\xa1\xe6\x74\x16\xb4\x06\x5c\xa7\x5f\x22\xb4\xef\xbe\x51"
- "\x3d\xf2\x91\x72\x42\x96\xc3\xeb\xd0\xbb\x84\x97\x0e\x14\x9b\xf5\xee\x80"
- "\x5b\x82\x0c\xd7\x9b\xa5\x2b\x40\x7c\x52\x13\xb6\x24\xa4\x8c\x8a\x3a\x70"
- "\xb0\xf6\xed\xc6\x11\x28\x6d\xf4\xc0\x7b\x97\x88\x32\x06\x07\xbe\xd6\x5b"
- "\x93\xda\x24\x55\x90\xba\xee\xd0\xb8\x92\x9f\xa6\x8c\xc8\xdf\x11\x92\xd7"
- "\x25\xce\x27\x10\x83\xb8\x1c\xc2\xc6\xba\xf5\x48\x46\xb4\x58\x58\x40\xec"
- "\x73\x3b\x9c\x19\x9b\x20\xea\x5f\x0b\x11\xdc\x20\xd4\x5e\xbd\x62\x76\xce"
- "\x95\x50\xe8\x63\x0b\x6e\x37\xca\xd4\xdf\x79\x9c\x93\x91\x2a\x5f\xc2\x2f"
- "\x18\x6c\xf5\xb9\xe0\x62\xfd\x23\x25\x8f\x29\xf6\xba\x93\xe5\x1b\x78\x08"
- "\x63\x6a\x89\xbc\x3b\x54\x01\x83\xb6\x3d\x36\x46\x3b\x41\x25\x54\xed\x86"
- "\x15\xea\xb7\xb4\x5d\x8f\xb7\x60\x82\xc3\xe9\x4a\xd4\x99\x25\x36\x3f\x77"
- "\x19\x8a\x33\xfa\x77\xdc\x76\xe4\xd2\x9f\x10\x46\xbb\x28\x94\x84\xbd\x37"
- "\xe3\x81\xac\xaf\x99\xfd\x74\x33\xc5\x8a\xe3\x02\xb5\x3d\x2a\x34\x4b\x8b"
- "\x29\x70\x2e\x47\x77\xa5\xbf\x5d\xab\x60\x3f\x38\xf1\x1e\xd7\x31\x6c\x16"
- "\x32\x0b\xc7\xed\xbf\xe9\xdb\x09\x3f\x28\xba\xf2\x3a\xc5\x32\x46\x0d\x3d"
- "\x86\x3d\x7d\xb5\x55\xb8\x43\x47\x62\xd9\xa9\x58\xb0\x7c\x7d\x5b\x52\x52"
- "\x90\x78\x01\xff\xf5\xa5\x51\xb7\xad\xa4\xee\xcc\xc0\xef\x74\xbe\xd9\x60"
- "\x0a\xcf\xf3\xe5\x49\x29\xba\xe1\x23\x87\x7d\x4c\x8c\xdd\xbb\xa2\xf6\xbf"
- "\x18\x5d\xf4\xcd\x0d\xb4\xa2\xa1\x2e\x0b\x60\x97\xc5\x9c\x0b\xd2\x5d\x39"
- "\xbc\xe6\x8d\x45\xf3\xec\x78\xcd\x03\x7d\x7b\xae\x19\xb3\x6e\x9a\xc6\x7e"
- "\x1f\xee\x4f\x39\xb6\x05\x52\x41\xe6\x13\xa4\xcb\x0a\x50\x2b\x1d\xec\x10"
- "\x90\xc4\xfb\xe7\x96\x27\xe1\xf4\x78\xe3\x0a\x7c\x96\x60\x8f\xbf\xd3\xae"
- "\x1a\xa1\xee\xd3\xde\x31\x46\x70\xad\xf9\x93\x29\x00\xcf\xf9\x51\x7b\xb8"
- "\xb0\x17\xab\xa5\x80\xfa\x72\x1a\x24\x51\x79\x46\x3c\x6c\x60\x90\x1e\x48"
- "\x88\x6e\xf3\x4a\xa6\x61\xc2\x71\xeb\x96\x22\xfa\x71\x47\xaa\x2b\x1c\xb8"
- "\xe2\xee\xc5\x9d\xd3\x51\x43\x0c\x29\x0d\x09\xb4\x0c\xf8\x4a\x3e\x07\x90"
- "\x63\x11\xdb\x19\xdf\x9d\x79\xde\xd4\xeb\x07\x1c\x89\xa3\x06\x21\x52\x25"
- "\x7b\xf9\xc5\x50\xdb\x20\x5f\x26\x64\x80\x2a\xbe\x0a\xfc\x4e\x8b\x9f\x0d"
- "\xe3\xb8\x75\xe6\x76\xdc\x50\x00\xed\x30\xaa\x73\x0a\x1c\xae\x4d\xaa\xce"
- "\x13\x02\x19\xac\x4f\xb9\xf6\x75\xb5\x25\x44\x56\x26\xa7\xc2\x56\x69\xd1"
- "\xc8\xdd\x8c\x37\x50\xde\x83\x05\x56\x30\x25\x8d\x8b\x38\xdf\xe4\xf8\x17"
- "\x7d\x05\xc8\xb3\x39\xaf\x5a\x6b\xbf\xd3\xa3\xae\xeb\x68\xcd\x1c\x65\x42"
- "\x5a\x5f\x27\x5f\xd7\xb2\x7f\xbc\xa4\x30\xca\x96\xdc\x5d\x39\xf6\xc5\xd7"
- "\xa8\xfc\xf5\xfe\x2d\x25\xee\x99\xf4\x91\x0b\x60\xd5\xd6\x04\x22\x1f\xac"
- "\xb8\xd2\x50\x70\xec\xea\xed\x53\x0f\x2c\xbc\xc2\xcf\xb8\xa0\xab\x25\xb0"
- "\x31\x8a\x69\xef\xaa\xd4\xd0\xc4\x1a\xee\x36\xd4\x93\x00\x4d\x16\x27\xc7"
- "\xc3\x18\x50\x0d\x17\x0e\x9d\xba\xcb\x6d\x7e\xb2\x53\xba\x73\x84\x26\xa1"
- "\xe8\x40\xa2\xda\x1d\x85\x5b\x10\x37\x4e\x2f\x83\x55\x26\x04\x25\x24\x89"
- "\x0b\x69\x88\x69\xaa\x4b\x4c\x0c\xc2\x52\x2c\xb7\x29\x9e\x14\x64\x7c\xe4"
- "\x49\x3a\x0a\x4e\x28\xe8\x93\xec\x16\x1a\xca\x2c\x82\x95\x35\x0e\x61\x46"
- "\x4c\x07\x18\xed\x00\xa1\xbd\xa7\xb0\x01\x6f\xa0\xdb\x9f\x04\xf4\x5c\x56"
- "\xac\x3f\x5a\x37\xf0\x54\xb5\x73\x2f\xa4\x3d\x96\x1b\x1f\x89\x7f\x5d\xe6"
- "\x83\x50\x48\xa0\x88\xee\x46\x96\xb4\x45\x41\xdc\x89\x8e\x28\x94\xb8\x89"
- "\xe0\xa0\x90\x99\xf5\xab\x2d\xb1\x1e\x76\x54\xdb\xb6\xc0\x5e\xc2\xd1\x0b"
- "\xdc\x62\x2e\x95\xc6\x02\xf7\x23\x53\x1b\xac\xf4\x9d\x5e\xe1\x59\xa2\x3a"
- "\x33\xdf\xb5\x9a\x7d\x9d\x7d\x0b\x07\x17\x89\x13\x68\x09\x0e\x38\xe7\x79"
- "\xe2\x6c\x4a\x43\x8f\xac\xb6\xee\xec\x84\x9f\x0b\x5e\xcd\x1f\x1a\xaf\x45"
- "\xc1\x24\x9f\x06\xc0\x67\x97\xc8\xd0\x56",
- 4096);
- *(uint32_t*)0x2000000001d8 = 0x1000;
- *(uint32_t*)0x2000000001dc = 3;
- *(uint64_t*)0x2000000001e0 = 0x200000000080;
- STORE_BY_BITMASK(uint8_t, , 0x200000000080, 0x4d, 0, 7);
- STORE_BY_BITMASK(uint8_t, , 0x200000000080, 1, 7, 1);
- *(uint8_t*)0x200000000081 = 1;
- STORE_BY_BITMASK(uint8_t, , 0x200000000082, 7, 0, 4);
- STORE_BY_BITMASK(uint8_t, , 0x200000000082, 0, 4, 1);
- STORE_BY_BITMASK(uint8_t, , 0x200000000082, 1, 5, 1);
- STORE_BY_BITMASK(uint8_t, , 0x200000000082, 0, 6, 2);
- memcpy((void*)0x200000000083, "\x9d\x66\x6b\xae", 4);
- *(uint8_t*)0x200000000087 = 3;
- memcpy((void*)0x200000000088, "\x50\x77\x68\xdf", 4);
- *(uint8_t*)0x20000000008c = 0xbf;
- *(uint8_t*)0x20000000008d = 1;
- *(uint8_t*)0x20000000008e = 7;
- memcpy((void*)0x20000000008f, "\xe6\x9f\xcd", 3);
- memcpy((void*)0x200000000092,
- "\x59\x5d\xc2\x2c\x97\x10\x47\x88\x80\x38\xc9\x42\x17\x4b\x02\x72\xe3"
- "\x21\x66\xe2\x94\x87\xeb\x6a\xe2\x6b\xf7\x12\x9c\x56\x0f\xe6\x04\x17"
- "\xc3\xfe\xba\xa7\x89\xd0\x4b\xa6\x78\xd8\xcb\x69",
- 46);
- *(uint8_t*)0x2000000001e8 = 1;
- *(uint32_t*)0x2000000001ec = 0x5be9;
- *(uint32_t*)0x2000000001f0 = 5;
- *(uint64_t*)0x2000000001f8 = 0x200000000180;
- syscall(__NR_ioctl, /*fd=*/r[24], /*cmd=*/0x5393, /*arg=*/0x2000000001c0ul);
- memcpy((void*)0x200000000000, "/dev/zero\000", 10);
- res = syscall(__NR_openat, /*fd=*/0xffffffffffffff9cul,
- /*file=*/0x200000000000ul, /*flags=*/0, /*mode=*/0);
- if (res != -1)
- r[27] = res;
- *(uint32_t*)0x200000000180 = 1;
- *(uint32_t*)0x200000000184 = 0x70;
- *(uint8_t*)0x200000000188 = 0;
- *(uint8_t*)0x200000000189 = 0;
- *(uint8_t*)0x20000000018a = 0;
- *(uint8_t*)0x20000000018b = 0;
- *(uint32_t*)0x20000000018c = 0;
- *(uint64_t*)0x200000000190 = 2;
- *(uint64_t*)0x200000000198 = 0;
- *(uint64_t*)0x2000000001a0 = 0;
- STORE_BY_BITMASK(uint64_t, , 0x2000000001a8, 0, 0, 1);
- STORE_BY_BITMASK(uint64_t, , 0x2000000001a8, 0, 1, 1);
- STORE_BY_BITMASK(uint64_t, , 0x2000000001a8, 0, 2, 1);
- STORE_BY_BITMASK(uint64_t, , 0x2000000001a8, 0, 3, 1);
- STORE_BY_BITMASK(uint64_t, , 0x2000000001a8, 0, 4, 1);
- STORE_BY_BITMASK(uint64_t, , 0x2000000001a8, 3, 5, 1);
- STORE_BY_BITMASK(uint64_t, , 0x2000000001a8, 0, 6, 1);
- STORE_BY_BITMASK(uint64_t, , 0x2000000001a8, 0, 7, 1);
- STORE_BY_BITMASK(uint64_t, , 0x2000000001a8, 0, 8, 1);
- STORE_BY_BITMASK(uint64_t, , 0x2000000001a8, 0, 9, 1);
- STORE_BY_BITMASK(uint64_t, , 0x2000000001a8, 0, 10, 1);
- STORE_BY_BITMASK(uint64_t, , 0x2000000001a8, 0, 11, 1);
- STORE_BY_BITMASK(uint64_t, , 0x2000000001a8, 0, 12, 1);
- STORE_BY_BITMASK(uint64_t, , 0x2000000001a8, 0, 13, 1);
- STORE_BY_BITMASK(uint64_t, , 0x2000000001a8, 0, 14, 1);
- STORE_BY_BITMASK(uint64_t, , 0x2000000001a8, 0, 15, 2);
- STORE_BY_BITMASK(uint64_t, , 0x2000000001a8, 0, 17, 1);
- STORE_BY_BITMASK(uint64_t, , 0x2000000001a8, 0, 18, 1);
- STORE_BY_BITMASK(uint64_t, , 0x2000000001a8, 0, 19, 1);
- STORE_BY_BITMASK(uint64_t, , 0x2000000001a8, 0, 20, 1);
- STORE_BY_BITMASK(uint64_t, , 0x2000000001a8, 0, 21, 1);
- STORE_BY_BITMASK(uint64_t, , 0x2000000001a8, 0, 22, 1);
- STORE_BY_BITMASK(uint64_t, , 0x2000000001a8, 0, 23, 1);
- STORE_BY_BITMASK(uint64_t, , 0x2000000001a8, 0, 24, 1);
- STORE_BY_BITMASK(uint64_t, , 0x2000000001a8, 0, 25, 1);
- STORE_BY_BITMASK(uint64_t, , 0x2000000001a8, 0, 26, 1);
- STORE_BY_BITMASK(uint64_t, , 0x2000000001a8, 0, 27, 1);
- STORE_BY_BITMASK(uint64_t, , 0x2000000001a8, 0, 28, 1);
- STORE_BY_BITMASK(uint64_t, , 0x2000000001a8, 0, 29, 1);
- STORE_BY_BITMASK(uint64_t, , 0x2000000001a8, 0, 30, 1);
- STORE_BY_BITMASK(uint64_t, , 0x2000000001a8, 0, 31, 1);
- STORE_BY_BITMASK(uint64_t, , 0x2000000001a8, 0, 32, 1);
- STORE_BY_BITMASK(uint64_t, , 0x2000000001a8, 0, 33, 1);
- STORE_BY_BITMASK(uint64_t, , 0x2000000001a8, 0, 34, 1);
- STORE_BY_BITMASK(uint64_t, , 0x2000000001a8, 0, 35, 1);
- STORE_BY_BITMASK(uint64_t, , 0x2000000001a8, 0, 36, 1);
- STORE_BY_BITMASK(uint64_t, , 0x2000000001a8, 0, 37, 1);
- STORE_BY_BITMASK(uint64_t, , 0x2000000001a8, 0, 38, 26);
- *(uint32_t*)0x2000000001b0 = 0;
- *(uint32_t*)0x2000000001b4 = 0;
- *(uint64_t*)0x2000000001b8 = 0x200000000000;
- *(uint64_t*)0x2000000001c0 = 0;
- *(uint64_t*)0x2000000001c8 = 0;
- *(uint64_t*)0x2000000001d0 = 0;
- *(uint32_t*)0x2000000001d8 = 0;
- *(uint32_t*)0x2000000001dc = 0;
- *(uint64_t*)0x2000000001e0 = 0;
- *(uint32_t*)0x2000000001e8 = 0;
- *(uint16_t*)0x2000000001ec = 0;
- *(uint16_t*)0x2000000001ee = 0;
- *(uint32_t*)0x2000000001f0 = 0;
- *(uint32_t*)0x2000000001f4 = 0;
- *(uint64_t*)0x2000000001f8 = 0;
- syscall(__NR_perf_event_open, /*attr=*/0x200000000180ul, /*pid=*/0,
- /*cpu=*/-1, /*group=*/-1, /*flags=*/0ul);
- res = syscall(__NR_socket, /*domain=*/0xaul,
- /*type=SOCK_DGRAM|0x800000000000000*/ 0x800000000000002ul,
- /*proto=*/0);
- if (res != -1)
- r[28] = res;
- *(uint16_t*)0x200000000200 = 0xa;
- *(uint16_t*)0x200000000202 = htobe16(0);
- *(uint32_t*)0x200000000204 = htobe32(0);
- *(uint8_t*)0x200000000208 = 0xfe;
- *(uint8_t*)0x200000000209 = 0x80;
- memset((void*)0x20000000020a, 0, 13);
- *(uint8_t*)0x200000000217 = 0xaa;
- *(uint32_t*)0x200000000218 = 4;
- syscall(__NR_connect, /*fd=*/r[27], /*addr=*/0x200000000200ul,
- /*addrlen=*/0x1cul);
- *(uint8_t*)0x2000000001c0 = 0;
- *(uint8_t*)0x2000000001c1 = 0;
- *(uint8_t*)0x2000000001c2 = 0;
- STORE_BY_BITMASK(uint8_t, , 0x2000000001c3, 0, 0, 1);
- STORE_BY_BITMASK(uint8_t, , 0x2000000001c3, 0, 1, 2);
- STORE_BY_BITMASK(uint8_t, , 0x2000000001c3, 0, 3, 5);
- *(uint32_t*)0x2000000001c4 = 0;
- syscall(__NR_setsockopt, /*fd=*/r[28], /*level=*/0x29,
- /*optname=IPV6_HOPOPTS*/ 0x36, /*optval=*/0x2000000001c0ul,
- /*optlen=*/8ul);
- *(uint64_t*)0x200000006d00 = 0;
- *(uint32_t*)0x200000006d08 = 0x10020c5;
- *(uint64_t*)0x200000006d10 = 0;
- *(uint64_t*)0x200000006d18 = 0;
- *(uint64_t*)0x200000006d20 = 0;
- *(uint64_t*)0x200000006d28 = 0;
- *(uint32_t*)0x200000006d30 = 0xb605;
- *(uint32_t*)0x200000006d38 = 0;
- syscall(__NR_sendmmsg, /*fd=*/r[28], /*mmsg=*/0x200000006d00ul,
- /*vlen=*/0xc6ul, /*f=MSG_CONFIRM|0x31200*/ 0x31a00ul);
- syscall(__NR_getsockname, /*fd=*/-1, /*addr=*/0ul, /*addrlen=*/0ul);
- syscall(__NR_setsockopt, /*fd=*/r[28], /*level=*/0x29, /*optname=*/0x37,
- /*optval=*/0ul, /*optlen=*/0ul);
- res = syscall(__NR_socketpair, /*domain=*/1ul, /*type=SOCK_DGRAM*/ 2ul,
- /*proto=*/0, /*fds=*/0x200000000080ul);
- if (res != -1)
- r[29] = *(uint32_t*)0x200000000084;
- res = syscall(__NR_dup, /*oldfd=*/r[29]);
- if (res != -1)
- r[30] = res;
- memcpy(
- (void*)0x2000000000c0,
- "lo:|T{\334D\322\257>"
- "o\326Q\000\031\002\000\005\000\000\000\000\000\000\000\017\211d:"
- "\217\354b6\326\327AF,\243\000\000\000\000\221\355\005\000\000\000C\353&"
- "\306\326\313\205\232\006j\2426\027%"
- "\237d\000\000\000\000\000\000\000\000\000\000\000\360\000",
- 79);
- syscall(__NR_ioctl, /*fd=*/r[30], /*cmd=*/0x8913,
- /*filter=*/0x2000000000c0ul);
- memcpy((void*)0x200000000040, "pagemap\000", 8);
- res = -1;
- res = syz_open_procfs(/*pid=*/-1, /*file=*/0x200000000040);
- if (res != -1)
- r[31] = res;
- syscall(__NR_timer_create, /*id=*/0ul, /*ev=*/0ul, /*timerid=*/0ul);
- res = syscall(__NR_socket, /*domain=*/0x10ul, /*type=*/3ul, /*proto=*/0x10);
- if (res != -1)
- r[32] = res;
- memcpy((void*)0x200000000040, "ethtool\000", 8);
- res = -1;
- res = syz_genetlink_get_family_id(/*name=*/0x200000000040, /*fd=*/-1);
- if (res != -1)
- r[33] = res;
- *(uint64_t*)0x2000000001c0 = 0;
- *(uint32_t*)0x2000000001c8 = 0;
- *(uint64_t*)0x2000000001d0 = 0x200000000180;
- *(uint64_t*)0x200000000180 = 0x200000000080;
- *(uint32_t*)0x200000000080 = 0x1c;
- *(uint16_t*)0x200000000084 = r[33];
- *(uint16_t*)0x200000000086 = 1;
- *(uint32_t*)0x200000000088 = 0;
- *(uint32_t*)0x20000000008c = 0;
- *(uint8_t*)0x200000000090 = 1;
- *(uint8_t*)0x200000000091 = 0;
- *(uint16_t*)0x200000000092 = 0;
- *(uint16_t*)0x200000000094 = 4;
- STORE_BY_BITMASK(uint16_t, , 0x200000000096, 2, 0, 14);
- STORE_BY_BITMASK(uint16_t, , 0x200000000097, 0, 6, 1);
- STORE_BY_BITMASK(uint16_t, , 0x200000000097, 1, 7, 1);
- *(uint16_t*)0x200000000098 = 4;
- STORE_BY_BITMASK(uint16_t, , 0x20000000009a, 1, 0, 14);
- STORE_BY_BITMASK(uint16_t, , 0x20000000009b, 0, 6, 1);
- STORE_BY_BITMASK(uint16_t, , 0x20000000009b, 1, 7, 1);
- *(uint64_t*)0x200000000188 = 0x1c;
- *(uint64_t*)0x2000000001d8 = 1;
- *(uint64_t*)0x2000000001e0 = 0;
- *(uint64_t*)0x2000000001e8 = 0;
- *(uint32_t*)0x2000000001f0 = 0;
- syscall(__NR_sendmsg, /*fd=*/r[32], /*msg=*/0x2000000001c0ul, /*f=*/0ul);
- syscall(
- __NR_mmap, /*addr=*/0x200000000000ul, /*len=*/0xff5000ul, /*prot=*/0ul,
- /*flags=MAP_POPULATE|MAP_NORESERVE|MAP_NONBLOCK|MAP_HUGETLB|MAP_FIXED|0x2000000000821*/
- 0x200000005c831ul, /*fd=*/-1, /*offset=*/0ul);
- syscall(__NR_mprotect, /*addr=*/0x200000000000ul, /*len=*/0x800000ul,
- /*prot=PROT_WRITE|PROT_EXEC*/ 6ul);
- syscall(__NR_bind, /*fd=*/-1, /*addr=*/0ul, /*addrlen=*/0ul);
- *(uint64_t*)0x200000000100 = 0x60;
- *(uint64_t*)0x200000000108 = 0;
- *(uint64_t*)0x200000000110 = 0x200000ffc000;
- *(uint64_t*)0x200000000118 = 0x200000ffd000;
- *(uint64_t*)0x200000000120 = 0;
- *(uint64_t*)0x200000000128 = 0;
- *(uint64_t*)0x200000000130 = 0;
- *(uint64_t*)0x200000000138 = 0;
- *(uint64_t*)0x200000000140 = 0;
- *(uint64_t*)0x200000000148 = 0;
- *(uint64_t*)0x200000000150 = 0x4a;
- *(uint64_t*)0x200000000158 = 0;
- syscall(__NR_ioctl, /*fd=*/r[31], /*cmd=*/0xc0606610,
- /*arg=*/0x200000000100ul);
- syz_sysconfig_set__proc_sys_vm_zone_reclaim_mode(/*val=*/0);
- syscall(__NR_listen, /*fd=*/-1, /*backlog=*/0);
- syz_open_dev(/*dev=*/0, /*id=*/0, /*flags=*/0);
- syscall(__NR_ioctl, /*fd=*/-1, /*cmd=*/0x40104593, /*arg=*/0ul);
- syz_open_procfs(/*pid=*/0, /*file=*/0);
- *(uint64_t*)0x200000000180 = 0;
- *(uint64_t*)0x200000000188 = 0;
- syscall(__NR_preadv, /*fd=*/r[31], /*vec=*/0x200000000180ul, /*vlen=*/1ul,
- /*off_low=*/0, /*off_high=*/0x35);
- syz_sysconfig_reset__proc_sys_vm_zone_reclaim_mode();
- res = -1;
- res = syz_genetlink_get_family_id(/*name=*/0, /*fd=*/-1);
- if (res != -1)
- r[34] = res;
- *(uint64_t*)0x200000000380 = 0x2000000000c0;
- *(uint16_t*)0x2000000000c0 = 0x10;
- *(uint16_t*)0x2000000000c2 = 0;
- *(uint32_t*)0x2000000000c4 = 0;
- *(uint32_t*)0x2000000000c8 = 0x40000000;
- *(uint32_t*)0x200000000388 = 0xc;
- *(uint64_t*)0x200000000390 = 0x200000000340;
- *(uint64_t*)0x200000000340 = 0x200000000540;
- memcpy((void*)0x200000000540,
- "\xf0\x00\x00\xd1\x42\x0a\xfe\x9d\x0f\xf1\xbe\xee\x03\xaf\x83\x00",
- 16);
- *(uint16_t*)0x200000000550 = r[34];
- memcpy(
- (void*)0x200000000552,
- "\x31\x0f\x27\xbd\x70\x00\xfd\xdb\xdf\x25\x03\x00\x00\x00\xcc\x00\x06\x80"
- "\x08\x00\x01\x00\x09\x00\x00\x00\x08\x00\x01\x00\x91\x0f\x00\x00\xb6\x00"
- "\x03\x00\xdf\x6d\xa8\x3d\x42\x07\xee\x32\xec\x58\x14\x2c\xda\x86\x42\xc5"
- "\x7e\xac\x00\xb5\x3f\xaf\x7d\x5d\x84\x31\xfa\xe2\x04\x69\xf2\x46\x91\xd8"
- "\xdf\x44\x02\xf5\xd0\x8d\x91\xca\xee\x8c\x78\x7d\x5c\x32\x99\x85\x07\xa2"
- "\x6a\x28\xd6\xa1\x63\x77\x3c\x9f\xfa\xf6\xef\xa9\xe3\x09\x00\x00\x00\x00"
- "\x00\x00\x00\xfc\xdd\x7d\xeb\x04\x8e\x69\xb1\x65\xfd\xff\xff\xff\xff\xff"
- "\xff\xff\xad\x31\xdb\x54\x42\x9a\x33\x78\xe0\xfa\x92\x35\xa8\x03\x4b\xe5"
- "\x6f\xa3\xbf\xd8\xaa\x9a\x8a\xee\x06\xd1\xd0\x58\x4e\x4e\x6f\x66\x74\xe1"
- "\x96\xf4\x7b\x63\xe4\xe0\xc2\x4f\x02\x7a\x30\x4a\x59\xdf\x77\x99\x93\x64"
- "\xc9\x35\x4e\x9d\xed\x02\xcf\xc6\x6b\x53\x87\x9b\x39\x2e\xcf\xa1\x62\x0d"
- "\xb0\x50\xfe\xfd\x7e\xfe\x60\xdc\x6c\xbc\x69\x51\xbe\x5c\xc3\xf2\x00\x0c"
- "\x51\x70\xe5\xc0\x76\x49\x08\xfe\xa3\xf4\x0e\xd9\x63\x1a\x00\x00\x10\x00"
- "\x06\x80\x04\x00\x02\x00\x08\x00\x01\x00\x6f\x06\x00\x00",
- 248);
- *(uint64_t*)0x200000000348 = 0xf0;
- *(uint64_t*)0x200000000398 = 1;
- *(uint64_t*)0x2000000003a0 = 0;
- *(uint64_t*)0x2000000003a8 = 0;
- *(uint32_t*)0x2000000003b0 = 0x8000;
- syscall(__NR_sendmsg, /*fd=*/-1, /*msg=*/0x200000000380ul,
- /*f=MSG_FASTOPEN|MSG_PROBE|0x2*/ 0x20000012ul);
- *(uint64_t*)0x2000000007c0 = 0x200000000280;
- *(uint16_t*)0x200000000280 = 0x10;
- *(uint16_t*)0x200000000282 = 0;
- *(uint32_t*)0x200000000284 = 0;
- *(uint32_t*)0x200000000288 = 0x20;
- *(uint32_t*)0x2000000007c8 = 0xc;
- *(uint64_t*)0x2000000007d0 = 0x200000000780;
- *(uint64_t*)0x200000000780 = 0x2000000002c0;
- *(uint32_t*)0x2000000002c0 = 0x49c;
- *(uint16_t*)0x2000000002c4 = r[34];
- *(uint16_t*)0x2000000002c6 = 0x100;
- *(uint32_t*)0x2000000002c8 = 0x70bd25;
- *(uint32_t*)0x2000000002cc = 0x25dfdbff;
- *(uint8_t*)0x2000000002d0 = 0x15;
- *(uint8_t*)0x2000000002d1 = 0;
- *(uint16_t*)0x2000000002d2 = 0;
- *(uint16_t*)0x2000000002d4 = 0x144;
- STORE_BY_BITMASK(uint16_t, , 0x2000000002d6, 1, 0, 14);
- STORE_BY_BITMASK(uint16_t, , 0x2000000002d7, 0, 6, 1);
- STORE_BY_BITMASK(uint16_t, , 0x2000000002d7, 1, 7, 1);
- *(uint16_t*)0x2000000002d8 = 0x14;
- STORE_BY_BITMASK(uint16_t, , 0x2000000002da, 2, 0, 14);
- STORE_BY_BITMASK(uint16_t, , 0x2000000002db, 0, 6, 1);
- STORE_BY_BITMASK(uint16_t, , 0x2000000002db, 1, 7, 1);
- *(uint16_t*)0x2000000002dc = 8;
- *(uint16_t*)0x2000000002de = 4;
- *(uint32_t*)0x2000000002e0 = 2;
- *(uint16_t*)0x2000000002e4 = 8;
- *(uint16_t*)0x2000000002e6 = 1;
- *(uint32_t*)0x2000000002e8 = 6;
- *(uint16_t*)0x2000000002ec = 8;
- *(uint16_t*)0x2000000002ee = 3;
- *(uint32_t*)0x2000000002f0 = 0;
- *(uint16_t*)0x2000000002f4 = 0xd;
- *(uint16_t*)0x2000000002f6 = 1;
- memcpy((void*)0x2000000002f8, "udp:syz0\000", 9);
- *(uint16_t*)0x200000000304 = 0x38;
- *(uint16_t*)0x200000000306 = 4;
- *(uint16_t*)0x200000000308 = 0x14;
- *(uint16_t*)0x20000000030a = 1;
- *(uint16_t*)0x20000000030c = 2;
- *(uint16_t*)0x20000000030e = htobe16(0x4e22);
- *(uint8_t*)0x200000000310 = 0xac;
- *(uint8_t*)0x200000000311 = 0x1e;
- *(uint8_t*)0x200000000312 = 1;
- *(uint8_t*)0x200000000313 = 1;
- *(uint16_t*)0x20000000031c = 0x20;
- *(uint16_t*)0x20000000031e = 2;
- *(uint16_t*)0x200000000320 = 0xa;
- *(uint16_t*)0x200000000322 = htobe16(0x4e21);
- *(uint32_t*)0x200000000324 = htobe32(8);
- memset((void*)0x200000000328, 0, 10);
- memset((void*)0x200000000332, 255, 2);
- *(uint32_t*)0x200000000334 = htobe32(0x7f000001);
- *(uint32_t*)0x200000000338 = 0xffff;
- *(uint16_t*)0x20000000033c = 0x24;
- STORE_BY_BITMASK(uint16_t, , 0x20000000033e, 2, 0, 14);
- STORE_BY_BITMASK(uint16_t, , 0x20000000033f, 0, 6, 1);
- STORE_BY_BITMASK(uint16_t, , 0x20000000033f, 1, 7, 1);
- *(uint16_t*)0x200000000340 = 8;
- *(uint16_t*)0x200000000342 = 2;
- *(uint32_t*)0x200000000344 = 2;
- *(uint16_t*)0x200000000348 = 8;
- *(uint16_t*)0x20000000034a = 3;
- *(uint32_t*)0x20000000034c = 0x10001;
- *(uint16_t*)0x200000000350 = 8;
- *(uint16_t*)0x200000000352 = 3;
- *(uint32_t*)0x200000000354 = 7;
- *(uint16_t*)0x200000000358 = 8;
- *(uint16_t*)0x20000000035a = 1;
- *(uint32_t*)0x20000000035c = 4;
- *(uint16_t*)0x200000000360 = 0x38;
- *(uint16_t*)0x200000000362 = 4;
- *(uint16_t*)0x200000000364 = 0x20;
- *(uint16_t*)0x200000000366 = 1;
- *(uint16_t*)0x200000000368 = 0xa;
- *(uint16_t*)0x20000000036a = htobe16(0x4e22);
- *(uint32_t*)0x20000000036c = htobe32(0x20);
- memcpy((void*)0x200000000370,
- " \001\000\000\000\000\000\000\000\000\000\000\000\000\000\001", 16);
- *(uint32_t*)0x200000000380 = 9;
- *(uint16_t*)0x200000000384 = 0x14;
- *(uint16_t*)0x200000000386 = 2;
- *(uint16_t*)0x200000000388 = 2;
- *(uint16_t*)0x20000000038a = htobe16(0x4e21);
- *(uint32_t*)0x20000000038c = htobe32(0xa010102);
- *(uint16_t*)0x200000000398 = 0x38;
- *(uint16_t*)0x20000000039a = 4;
- *(uint16_t*)0x20000000039c = 0x20;
- *(uint16_t*)0x20000000039e = 1;
- *(uint16_t*)0x2000000003a0 = 0xa;
- *(uint16_t*)0x2000000003a2 = htobe16(0x4e23);
- *(uint32_t*)0x2000000003a4 = htobe32(8);
- *(uint64_t*)0x2000000003a8 = htobe64(0);
- *(uint64_t*)0x2000000003b0 = htobe64(1);
- *(uint32_t*)0x2000000003b8 = 0x401;
- *(uint16_t*)0x2000000003bc = 0x14;
- *(uint16_t*)0x2000000003be = 2;
- *(uint16_t*)0x2000000003c0 = 2;
- *(uint16_t*)0x2000000003c2 = htobe16(0x4e24);
- *(uint8_t*)0x2000000003c4 = 0xac;
- *(uint8_t*)0x2000000003c5 = 0x14;
- *(uint8_t*)0x2000000003c6 = 0x14;
- *(uint8_t*)0x2000000003c7 = 0x20;
- *(uint16_t*)0x2000000003d0 = 0xd;
- *(uint16_t*)0x2000000003d2 = 1;
- memcpy((void*)0x2000000003d4, "udp:syz1\000", 9);
- *(uint16_t*)0x2000000003e0 = 0x38;
- *(uint16_t*)0x2000000003e2 = 4;
- *(uint16_t*)0x2000000003e4 = 0x20;
- *(uint16_t*)0x2000000003e6 = 1;
- *(uint16_t*)0x2000000003e8 = 0xa;
- *(uint16_t*)0x2000000003ea = htobe16(0x4e21);
- *(uint32_t*)0x2000000003ec = htobe32(2);
- memset((void*)0x2000000003f0, 0, 10);
- memset((void*)0x2000000003fa, 255, 2);
- *(uint32_t*)0x2000000003fc = htobe32(0x7f000001);
- *(uint32_t*)0x200000000400 = 3;
- *(uint16_t*)0x200000000404 = 0x14;
- *(uint16_t*)0x200000000406 = 2;
- *(uint16_t*)0x200000000408 = 2;
- *(uint16_t*)0x20000000040a = htobe16(0x4e22);
- *(uint32_t*)0x20000000040c = htobe32(0xe0000001);
- *(uint16_t*)0x200000000418 = 0x60;
- STORE_BY_BITMASK(uint16_t, , 0x20000000041a, 7, 0, 14);
- STORE_BY_BITMASK(uint16_t, , 0x20000000041b, 0, 6, 1);
- STORE_BY_BITMASK(uint16_t, , 0x20000000041b, 1, 7, 1);
- *(uint16_t*)0x20000000041c = 8;
- *(uint16_t*)0x20000000041e = 1;
- *(uint32_t*)0x200000000420 = 0x1ff;
- *(uint16_t*)0x200000000424 = 8;
- *(uint16_t*)0x200000000426 = 1;
- *(uint32_t*)0x200000000428 = 5;
- *(uint16_t*)0x20000000042c = 8;
- *(uint16_t*)0x20000000042e = 1;
- *(uint32_t*)0x200000000430 = 7;
- *(uint16_t*)0x200000000434 = 0xc;
- *(uint16_t*)0x200000000436 = 4;
- *(uint64_t*)0x200000000438 = 6;
- *(uint16_t*)0x200000000440 = 8;
- *(uint16_t*)0x200000000442 = 2;
- *(uint32_t*)0x200000000444 = 0xf10;
- *(uint16_t*)0x200000000448 = 8;
- *(uint16_t*)0x20000000044a = 2;
- *(uint32_t*)0x20000000044c = -1;
- *(uint16_t*)0x200000000450 = 8;
- *(uint16_t*)0x200000000452 = 2;
- *(uint32_t*)0x200000000454 = 4;
- *(uint16_t*)0x200000000458 = 0xc;
- *(uint16_t*)0x20000000045a = 4;
- *(uint64_t*)0x20000000045c = 0xfffffffffffffff9;
- *(uint16_t*)0x200000000464 = 8;
- *(uint16_t*)0x200000000466 = 1;
- *(uint32_t*)0x200000000468 = 3;
- *(uint16_t*)0x20000000046c = 0xc;
- *(uint16_t*)0x20000000046e = 3;
- *(uint64_t*)0x200000000470 = 1;
- *(uint16_t*)0x200000000478 = 0x3c;
- STORE_BY_BITMASK(uint16_t, , 0x20000000047a, 4, 0, 14);
- STORE_BY_BITMASK(uint16_t, , 0x20000000047b, 0, 6, 1);
- STORE_BY_BITMASK(uint16_t, , 0x20000000047b, 1, 7, 1);
- *(uint16_t*)0x20000000047c = 0x24;
- STORE_BY_BITMASK(uint16_t, , 0x20000000047e, 7, 0, 14);
- STORE_BY_BITMASK(uint16_t, , 0x20000000047f, 0, 6, 1);
- STORE_BY_BITMASK(uint16_t, , 0x20000000047f, 1, 7, 1);
- *(uint16_t*)0x200000000480 = 8;
- *(uint16_t*)0x200000000482 = 4;
- *(uint32_t*)0x200000000484 = 9;
- *(uint16_t*)0x200000000488 = 8;
- *(uint16_t*)0x20000000048a = 4;
- *(uint32_t*)0x20000000048c = 0xe8;
- *(uint16_t*)0x200000000490 = 8;
- *(uint16_t*)0x200000000492 = 4;
- *(uint32_t*)0x200000000494 = 0x87a2e9b1;
- *(uint16_t*)0x200000000498 = 8;
- *(uint16_t*)0x20000000049a = 1;
- *(uint32_t*)0x20000000049c = 0xa;
- *(uint16_t*)0x2000000004a0 = 0x13;
- *(uint16_t*)0x2000000004a2 = 1;
- memcpy((void*)0x2000000004a4, "broadcast-link\000", 15);
- *(uint16_t*)0x2000000004b4 = 0x1c;
- STORE_BY_BITMASK(uint16_t, , 0x2000000004b6, 9, 0, 14);
- STORE_BY_BITMASK(uint16_t, , 0x2000000004b7, 0, 6, 1);
- STORE_BY_BITMASK(uint16_t, , 0x2000000004b7, 1, 7, 1);
- *(uint16_t*)0x2000000004b8 = 8;
- *(uint16_t*)0x2000000004ba = 1;
- *(uint32_t*)0x2000000004bc = 9;
- *(uint16_t*)0x2000000004c0 = 8;
- *(uint16_t*)0x2000000004c2 = 1;
- *(uint32_t*)0x2000000004c4 = 0x7ff;
- *(uint16_t*)0x2000000004c8 = 8;
- *(uint16_t*)0x2000000004ca = 1;
- *(uint32_t*)0x2000000004cc = 0x7f;
- *(uint16_t*)0x2000000004d0 = 0x44;
- STORE_BY_BITMASK(uint16_t, , 0x2000000004d2, 7, 0, 14);
- STORE_BY_BITMASK(uint16_t, , 0x2000000004d3, 0, 6, 1);
- STORE_BY_BITMASK(uint16_t, , 0x2000000004d3, 1, 7, 1);
- *(uint16_t*)0x2000000004d4 = 8;
- *(uint16_t*)0x2000000004d6 = 1;
- *(uint32_t*)0x2000000004d8 = 4;
- *(uint16_t*)0x2000000004dc = 0xc;
- *(uint16_t*)0x2000000004de = 4;
- *(uint64_t*)0x2000000004e0 = 9;
- *(uint16_t*)0x2000000004e8 = 0xc;
- *(uint16_t*)0x2000000004ea = 4;
- *(uint64_t*)0x2000000004ec = 1;
- *(uint16_t*)0x2000000004f4 = 0xc;
- *(uint16_t*)0x2000000004f6 = 3;
- *(uint64_t*)0x2000000004f8 = 0x10000;
- *(uint16_t*)0x200000000500 = 8;
- *(uint16_t*)0x200000000502 = 2;
- *(uint32_t*)0x200000000504 = 0x101;
- *(uint16_t*)0x200000000508 = 0xc;
- *(uint16_t*)0x20000000050a = 3;
- *(uint64_t*)0x20000000050c = 0x7ff;
- *(uint16_t*)0x200000000514 = 0xb4;
- STORE_BY_BITMASK(uint16_t, , 0x200000000516, 4, 0, 14);
- STORE_BY_BITMASK(uint16_t, , 0x200000000517, 0, 6, 1);
- STORE_BY_BITMASK(uint16_t, , 0x200000000517, 1, 7, 1);
- *(uint16_t*)0x200000000518 = 0x2c;
- STORE_BY_BITMASK(uint16_t, , 0x20000000051a, 7, 0, 14);
- STORE_BY_BITMASK(uint16_t, , 0x20000000051b, 0, 6, 1);
- STORE_BY_BITMASK(uint16_t, , 0x20000000051b, 1, 7, 1);
- *(uint16_t*)0x20000000051c = 8;
- *(uint16_t*)0x20000000051e = 3;
- *(uint32_t*)0x200000000520 = 8;
- *(uint16_t*)0x200000000524 = 8;
- *(uint16_t*)0x200000000526 = 2;
- *(uint32_t*)0x200000000528 = 0x8001;
- *(uint16_t*)0x20000000052c = 8;
- *(uint16_t*)0x20000000052e = 1;
- *(uint32_t*)0x200000000530 = 0xf;
- *(uint16_t*)0x200000000534 = 8;
- *(uint16_t*)0x200000000536 = 2;
- *(uint32_t*)0x200000000538 = 5;
- *(uint16_t*)0x20000000053c = 8;
- *(uint16_t*)0x20000000053e = 4;
- *(uint32_t*)0x200000000540 = 1;
- *(uint16_t*)0x200000000544 = 0x1c;
- STORE_BY_BITMASK(uint16_t, , 0x200000000546, 7, 0, 14);
- STORE_BY_BITMASK(uint16_t, , 0x200000000547, 0, 6, 1);
- STORE_BY_BITMASK(uint16_t, , 0x200000000547, 1, 7, 1);
- *(uint16_t*)0x200000000548 = 8;
- *(uint16_t*)0x20000000054a = 1;
- *(uint32_t*)0x20000000054c = 0x19;
- *(uint16_t*)0x200000000550 = 8;
- *(uint16_t*)0x200000000552 = 3;
- *(uint32_t*)0x200000000554 = 0x7618;
- *(uint16_t*)0x200000000558 = 8;
- *(uint16_t*)0x20000000055a = 4;
- *(uint32_t*)0x20000000055c = 0x101;
- *(uint16_t*)0x200000000560 = 9;
- *(uint16_t*)0x200000000562 = 1;
- memcpy((void*)0x200000000564, "syz0\000", 5);
- *(uint16_t*)0x20000000056c = 0xc;
- STORE_BY_BITMASK(uint16_t, , 0x20000000056e, 7, 0, 14);
- STORE_BY_BITMASK(uint16_t, , 0x20000000056f, 0, 6, 1);
- STORE_BY_BITMASK(uint16_t, , 0x20000000056f, 1, 7, 1);
- *(uint16_t*)0x200000000570 = 8;
- *(uint16_t*)0x200000000572 = 3;
- *(uint32_t*)0x200000000574 = 5;
- *(uint16_t*)0x200000000578 = 0x24;
- STORE_BY_BITMASK(uint16_t, , 0x20000000057a, 7, 0, 14);
- STORE_BY_BITMASK(uint16_t, , 0x20000000057b, 0, 6, 1);
- STORE_BY_BITMASK(uint16_t, , 0x20000000057b, 1, 7, 1);
- *(uint16_t*)0x20000000057c = 8;
- *(uint16_t*)0x20000000057e = 4;
- *(uint32_t*)0x200000000580 = 0xfffffffc;
- *(uint16_t*)0x200000000584 = 8;
- *(uint16_t*)0x200000000586 = 1;
- *(uint32_t*)0x200000000588 = 0xc;
- *(uint16_t*)0x20000000058c = 8;
- *(uint16_t*)0x20000000058e = 4;
- *(uint32_t*)0x200000000590 = 4;
- *(uint16_t*)0x200000000594 = 8;
- *(uint16_t*)0x200000000596 = 1;
- *(uint32_t*)0x200000000598 = 0xc;
- *(uint16_t*)0x20000000059c = 0x2c;
- STORE_BY_BITMASK(uint16_t, , 0x20000000059e, 7, 0, 14);
- STORE_BY_BITMASK(uint16_t, , 0x20000000059f, 0, 6, 1);
- STORE_BY_BITMASK(uint16_t, , 0x20000000059f, 1, 7, 1);
- *(uint16_t*)0x2000000005a0 = 8;
- *(uint16_t*)0x2000000005a2 = 3;
- *(uint32_t*)0x2000000005a4 = 7;
- *(uint16_t*)0x2000000005a8 = 8;
- *(uint16_t*)0x2000000005aa = 3;
- *(uint32_t*)0x2000000005ac = 5;
- *(uint16_t*)0x2000000005b0 = 8;
- *(uint16_t*)0x2000000005b2 = 4;
- *(uint32_t*)0x2000000005b4 = 2;
- *(uint16_t*)0x2000000005b8 = 8;
- *(uint16_t*)0x2000000005ba = 4;
- *(uint32_t*)0x2000000005bc = 1;
- *(uint16_t*)0x2000000005c0 = 8;
- *(uint16_t*)0x2000000005c2 = 1;
- *(uint32_t*)0x2000000005c4 = 0xd;
- *(uint16_t*)0x2000000005c8 = 0x88;
- STORE_BY_BITMASK(uint16_t, , 0x2000000005ca, 4, 0, 14);
- STORE_BY_BITMASK(uint16_t, , 0x2000000005cb, 0, 6, 1);
- STORE_BY_BITMASK(uint16_t, , 0x2000000005cb, 1, 7, 1);
- *(uint16_t*)0x2000000005cc = 0x13;
- *(uint16_t*)0x2000000005ce = 1;
- memcpy((void*)0x2000000005d0, "broadcast-link\000", 15);
- *(uint16_t*)0x2000000005e0 = 0xc;
- STORE_BY_BITMASK(uint16_t, , 0x2000000005e2, 7, 0, 14);
- STORE_BY_BITMASK(uint16_t, , 0x2000000005e3, 0, 6, 1);
- STORE_BY_BITMASK(uint16_t, , 0x2000000005e3, 1, 7, 1);
- *(uint16_t*)0x2000000005e4 = 8;
- *(uint16_t*)0x2000000005e6 = 4;
- *(uint32_t*)0x2000000005e8 = 4;
- *(uint16_t*)0x2000000005ec = 0x14;
- STORE_BY_BITMASK(uint16_t, , 0x2000000005ee, 7, 0, 14);
- STORE_BY_BITMASK(uint16_t, , 0x2000000005ef, 0, 6, 1);
- STORE_BY_BITMASK(uint16_t, , 0x2000000005ef, 1, 7, 1);
- *(uint16_t*)0x2000000005f0 = 8;
- *(uint16_t*)0x2000000005f2 = 2;
- *(uint32_t*)0x2000000005f4 = 0x800;
- *(uint16_t*)0x2000000005f8 = 8;
- *(uint16_t*)0x2000000005fa = 1;
- *(uint32_t*)0x2000000005fc = 0xb;
- *(uint16_t*)0x200000000600 = 9;
- *(uint16_t*)0x200000000602 = 1;
- memcpy((void*)0x200000000604, "syz1\000", 5);
- *(uint16_t*)0x20000000060c = 9;
- *(uint16_t*)0x20000000060e = 1;
- memcpy((void*)0x200000000610, "syz0\000", 5);
- *(uint16_t*)0x200000000618 = 0x13;
- *(uint16_t*)0x20000000061a = 1;
- memcpy((void*)0x20000000061c, "broadcast-link\000", 15);
- *(uint16_t*)0x20000000062c = 0x24;
- STORE_BY_BITMASK(uint16_t, , 0x20000000062e, 7, 0, 14);
- STORE_BY_BITMASK(uint16_t, , 0x20000000062f, 0, 6, 1);
- STORE_BY_BITMASK(uint16_t, , 0x20000000062f, 1, 7, 1);
- *(uint16_t*)0x200000000630 = 8;
- *(uint16_t*)0x200000000632 = 2;
- *(uint32_t*)0x200000000634 = 0xc73;
- *(uint16_t*)0x200000000638 = 8;
- *(uint16_t*)0x20000000063a = 4;
- *(uint32_t*)0x20000000063c = 0xfffffffc;
- *(uint16_t*)0x200000000640 = 8;
- *(uint16_t*)0x200000000642 = 4;
- *(uint32_t*)0x200000000644 = 0xa34f;
- *(uint16_t*)0x200000000648 = 8;
- *(uint16_t*)0x20000000064a = 2;
- *(uint32_t*)0x20000000064c = 8;
- *(uint16_t*)0x200000000650 = 0x48;
- STORE_BY_BITMASK(uint16_t, , 0x200000000652, 7, 0, 14);
- STORE_BY_BITMASK(uint16_t, , 0x200000000653, 0, 6, 1);
- STORE_BY_BITMASK(uint16_t, , 0x200000000653, 1, 7, 1);
- *(uint16_t*)0x200000000654 = 0xc;
- *(uint16_t*)0x200000000656 = 4;
- *(uint64_t*)0x200000000658 = 0xdb;
- *(uint16_t*)0x200000000660 = 0xc;
- *(uint16_t*)0x200000000662 = 3;
- *(uint64_t*)0x200000000664 = 6;
- *(uint16_t*)0x20000000066c = 0xc;
- *(uint16_t*)0x20000000066e = 3;
- *(uint64_t*)0x200000000670 = 0x2ef92203;
- *(uint16_t*)0x200000000678 = 8;
- *(uint16_t*)0x20000000067a = 1;
- *(uint32_t*)0x20000000067c = 0x1800000;
- *(uint16_t*)0x200000000680 = 8;
- *(uint16_t*)0x200000000682 = 2;
- *(uint32_t*)0x200000000684 = 1;
- *(uint16_t*)0x200000000688 = 8;
- *(uint16_t*)0x20000000068a = 1;
- *(uint32_t*)0x20000000068c = 0x81;
- *(uint16_t*)0x200000000690 = 8;
- *(uint16_t*)0x200000000692 = 1;
- *(uint32_t*)0x200000000694 = 0x1f;
- *(uint16_t*)0x200000000698 = 0xb0;
- STORE_BY_BITMASK(uint16_t, , 0x20000000069a, 1, 0, 14);
- STORE_BY_BITMASK(uint16_t, , 0x20000000069b, 0, 6, 1);
- STORE_BY_BITMASK(uint16_t, , 0x20000000069b, 1, 7, 1);
- *(uint16_t*)0x20000000069c = 0x14;
- STORE_BY_BITMASK(uint16_t, , 0x20000000069e, 2, 0, 14);
- STORE_BY_BITMASK(uint16_t, , 0x20000000069f, 0, 6, 1);
- STORE_BY_BITMASK(uint16_t, , 0x20000000069f, 1, 7, 1);
- *(uint16_t*)0x2000000006a0 = 8;
- *(uint16_t*)0x2000000006a2 = 3;
- *(uint32_t*)0x2000000006a4 = 0xee44;
- *(uint16_t*)0x2000000006a8 = 8;
- *(uint16_t*)0x2000000006aa = 2;
- *(uint32_t*)0x2000000006ac = 1;
- *(uint16_t*)0x2000000006b0 = 0xd;
- *(uint16_t*)0x2000000006b2 = 1;
- memcpy((void*)0x2000000006b4, "udp:syz0\000", 9);
- *(uint16_t*)0x2000000006c0 = 8;
- *(uint16_t*)0x2000000006c2 = 3;
- *(uint32_t*)0x2000000006c4 = 0x800;
- *(uint16_t*)0x2000000006c8 = 0x14;
- STORE_BY_BITMASK(uint16_t, , 0x2000000006ca, 2, 0, 14);
- STORE_BY_BITMASK(uint16_t, , 0x2000000006cb, 0, 6, 1);
- STORE_BY_BITMASK(uint16_t, , 0x2000000006cb, 1, 7, 1);
- *(uint16_t*)0x2000000006cc = 8;
- *(uint16_t*)0x2000000006ce = 3;
- *(uint32_t*)0x2000000006d0 = 0x1ff;
- *(uint16_t*)0x2000000006d4 = 8;
- *(uint16_t*)0x2000000006d6 = 3;
- *(uint32_t*)0x2000000006d8 = 9;
- *(uint16_t*)0x2000000006dc = 0xc;
- STORE_BY_BITMASK(uint16_t, , 0x2000000006de, 2, 0, 14);
- STORE_BY_BITMASK(uint16_t, , 0x2000000006df, 0, 6, 1);
- STORE_BY_BITMASK(uint16_t, , 0x2000000006df, 1, 7, 1);
- *(uint16_t*)0x2000000006e0 = 8;
- *(uint16_t*)0x2000000006e2 = 2;
- *(uint32_t*)0x2000000006e4 = 0x81;
- *(uint16_t*)0x2000000006e8 = 8;
- *(uint16_t*)0x2000000006ea = 3;
- *(uint32_t*)0x2000000006ec = 0xff;
- *(uint16_t*)0x2000000006f0 = 8;
- *(uint16_t*)0x2000000006f2 = 3;
- *(uint32_t*)0x2000000006f4 = 1;
- *(uint16_t*)0x2000000006f8 = 0x38;
- *(uint16_t*)0x2000000006fa = 4;
- *(uint16_t*)0x2000000006fc = 0x20;
- *(uint16_t*)0x2000000006fe = 1;
- *(uint16_t*)0x200000000700 = 0xa;
- *(uint16_t*)0x200000000702 = htobe16(0x4e22);
- *(uint32_t*)0x200000000704 = htobe32(0x7ff);
- memset((void*)0x200000000708, 0, 16);
- *(uint32_t*)0x200000000718 = 2;
- *(uint16_t*)0x20000000071c = 0x14;
- *(uint16_t*)0x20000000071e = 2;
- *(uint16_t*)0x200000000720 = 2;
- *(uint16_t*)0x200000000722 = htobe16(0x4e22);
- *(uint8_t*)0x200000000724 = 0xac;
- *(uint8_t*)0x200000000725 = 0x14;
- *(uint8_t*)0x200000000726 = 0x14;
- *(uint8_t*)0x200000000727 = 0xaa;
- *(uint16_t*)0x200000000730 = 0xf;
- *(uint16_t*)0x200000000732 = 1;
- memcpy((void*)0x200000000734, "ib", 2);
- *(uint8_t*)0x200000000736 = 0x3a;
- memcpy((void*)0x200000000737, "syz_tun\000", 8);
- *(uint16_t*)0x200000000740 = 8;
- *(uint16_t*)0x200000000742 = 3;
- *(uint32_t*)0x200000000744 = 0;
- *(uint16_t*)0x200000000748 = 0x14;
- STORE_BY_BITMASK(uint16_t, , 0x20000000074a, 7, 0, 14);
- STORE_BY_BITMASK(uint16_t, , 0x20000000074b, 0, 6, 1);
- STORE_BY_BITMASK(uint16_t, , 0x20000000074b, 1, 7, 1);
- *(uint16_t*)0x20000000074c = 8;
- *(uint16_t*)0x20000000074e = 2;
- *(uint32_t*)0x200000000750 = 7;
- *(uint16_t*)0x200000000754 = 8;
- *(uint16_t*)0x200000000756 = 1;
- *(uint32_t*)0x200000000758 = 0x80;
- *(uint64_t*)0x200000000788 = 0x49c;
- *(uint64_t*)0x2000000007d8 = 1;
- *(uint64_t*)0x2000000007e0 = 0;
- *(uint64_t*)0x2000000007e8 = 0;
- *(uint32_t*)0x2000000007f0 = 0x8031;
- syscall(__NR_sendmsg, /*fd=*/r[30], /*msg=*/0x2000000007c0ul,
- /*f=MSG_PROBE|MSG_EOR*/ 0x90ul);
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement