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>
- #ifndef __NR_fsopen
- #define __NR_fsopen 430
- #endif
- #ifndef __NR_io_uring_register
- #define __NR_io_uring_register 427
- #endif
- #ifndef __NR_io_uring_setup
- #define __NR_io_uring_setup 425
- #endif
- #ifndef __NR_memfd_create
- #define __NR_memfd_create 319
- #endif
- #ifndef __NR_move_mount
- #define __NR_move_mount 429
- #endif
- #ifndef __NR_open_tree
- #define __NR_open_tree 428
- #endif
- #ifndef __NR_pidfd_open
- #define __NR_pidfd_open 434
- #endif
- static long syz_proconfig_set__sys_module_sg_parameters_def_reserved_size(volatile long val)
- {
- char command[256];
- sprintf(command, "echo %ld > /sys/module/sg/parameters/def_reserved_size", val);
- int ret = system(command);
- if (ret != 0) {
- return 0;
- }
- return 0;
- }
- static long syz_sysconfig_set__proc_sys_net_ipv6_neigh_eth0_interval_probe_time_ms(volatile long val)
- {
- char command[256];
- sprintf(command, "echo %ld > /proc/sys/net/ipv6/neigh/eth0/interval_probe_time_ms", val);
- int ret = system(command);
- if (ret != 0) {
- return 0;
- }
- return 0;
- }
- static unsigned long long procid;
- #define BITMASK(bf_off, bf_len) (((1ull << (bf_len)) - 1) << (bf_off))
- #define STORE_BY_BITMASK(type, htobe, addr, val, bf_off, bf_len) \
- *(type*)(addr) = \
- htobe((htobe(*(type*)(addr)) & ~BITMASK((bf_off), (bf_len))) | \
- (((type)(val) << (bf_off)) & BITMASK((bf_off), (bf_len))))
- struct csum_inet {
- uint32_t acc;
- };
- static void csum_inet_init(struct csum_inet* csum)
- {
- csum->acc = 0;
- }
- static void csum_inet_update(struct csum_inet* csum, const uint8_t* data,
- size_t length)
- {
- if (length == 0)
- return;
- size_t i = 0;
- for (; i < length - 1; i += 2)
- csum->acc += *(uint16_t*)&data[i];
- if (length & 1)
- csum->acc += le16toh((uint16_t)data[length - 1]);
- while (csum->acc > 0xffff)
- csum->acc = (csum->acc & 0xffff) + (csum->acc >> 16);
- }
- static uint16_t csum_inet_digest(struct csum_inet* csum)
- {
- return ~csum->acc;
- }
- 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;
- }
- const int kInitNetNsFd = 201;
- #define SIZEOF_IO_URING_SQE 64
- #define SIZEOF_IO_URING_CQE 16
- #define SQ_HEAD_OFFSET 0
- #define SQ_TAIL_OFFSET 64
- #define SQ_RING_MASK_OFFSET 256
- #define SQ_RING_ENTRIES_OFFSET 264
- #define SQ_FLAGS_OFFSET 276
- #define SQ_DROPPED_OFFSET 272
- #define CQ_HEAD_OFFSET 128
- #define CQ_TAIL_OFFSET 192
- #define CQ_RING_MASK_OFFSET 260
- #define CQ_RING_ENTRIES_OFFSET 268
- #define CQ_RING_OVERFLOW_OFFSET 284
- #define CQ_FLAGS_OFFSET 280
- #define CQ_CQES_OFFSET 320
- struct io_sqring_offsets {
- uint32_t head;
- uint32_t tail;
- uint32_t ring_mask;
- uint32_t ring_entries;
- uint32_t flags;
- uint32_t dropped;
- uint32_t array;
- uint32_t resv1;
- uint64_t resv2;
- };
- struct io_cqring_offsets {
- uint32_t head;
- uint32_t tail;
- uint32_t ring_mask;
- uint32_t ring_entries;
- uint32_t overflow;
- uint32_t cqes;
- uint64_t resv[2];
- };
- struct io_uring_params {
- uint32_t sq_entries;
- uint32_t cq_entries;
- uint32_t flags;
- uint32_t sq_thread_cpu;
- uint32_t sq_thread_idle;
- uint32_t features;
- uint32_t resv[4];
- struct io_sqring_offsets sq_off;
- struct io_cqring_offsets cq_off;
- };
- #define IORING_OFF_SQ_RING 0
- #define IORING_OFF_SQES 0x10000000ULL
- #define IORING_SETUP_SQE128 (1U << 10)
- #define IORING_SETUP_CQE32 (1U << 11)
- static long syz_io_uring_setup(volatile long a0, volatile long a1,
- volatile long a2, volatile long a3)
- {
- uint32_t entries = (uint32_t)a0;
- struct io_uring_params* setup_params = (struct io_uring_params*)a1;
- void** ring_ptr_out = (void**)a2;
- void** sqes_ptr_out = (void**)a3;
- setup_params->flags &= ~(IORING_SETUP_CQE32 | IORING_SETUP_SQE128);
- uint32_t fd_io_uring = syscall(__NR_io_uring_setup, entries, setup_params);
- uint32_t sq_ring_sz =
- setup_params->sq_off.array + setup_params->sq_entries * sizeof(uint32_t);
- uint32_t cq_ring_sz = setup_params->cq_off.cqes +
- setup_params->cq_entries * SIZEOF_IO_URING_CQE;
- uint32_t ring_sz = sq_ring_sz > cq_ring_sz ? sq_ring_sz : cq_ring_sz;
- *ring_ptr_out =
- mmap(0, ring_sz, PROT_READ | PROT_WRITE, MAP_SHARED | MAP_POPULATE,
- fd_io_uring, IORING_OFF_SQ_RING);
- uint32_t sqes_sz = setup_params->sq_entries * SIZEOF_IO_URING_SQE;
- *sqes_ptr_out = mmap(0, sqes_sz, PROT_READ | PROT_WRITE,
- MAP_SHARED | MAP_POPULATE, fd_io_uring, IORING_OFF_SQES);
- uint32_t* array =
- (uint32_t*)((uintptr_t)*ring_ptr_out + setup_params->sq_off.array);
- for (uint32_t index = 0; index < entries; index++)
- array[index] = index;
- return fd_io_uring;
- }
- static long syz_memcpy_off(volatile long a0, volatile long a1, volatile long a2,
- volatile long a3, volatile long a4)
- {
- char* dest = (char*)a0;
- uint32_t dest_off = (uint32_t)a1;
- char* src = (char*)a2;
- uint32_t src_off = (uint32_t)a3;
- size_t n = (size_t)a4;
- return (long)memcpy(dest + dest_off, src + src_off, n);
- }
- 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_init_net_socket(volatile long domain, volatile long type,
- volatile long proto)
- {
- return syscall(__NR_socket, domain, type, proto);
- }
- 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;
- }
- static long syz_pidfd_open(volatile long pid, volatile long flags)
- {
- if (pid == 1) {
- pid = 0;
- }
- return syscall(__NR_pidfd_open, pid, flags);
- }
- uint64_t r[80] = {0xffffffffffffffff,
- 0xffffffffffffffff,
- 0xffffffffffffffff,
- 0xffffffffffffffff,
- 0xffffffffffffffff,
- 0x0,
- 0xffffffffffffffff,
- 0xffffffffffffffff,
- 0xffffffffffffffff,
- 0xffffffffffffffff,
- 0xffffffffffffffff,
- 0x0,
- 0xffffffffffffffff,
- 0xffffffffffffffff,
- 0xffffffffffffffff,
- 0xffffffffffffffff,
- 0xffffffffffffffff,
- 0xffffffffffffffff,
- 0xffffffffffffffff,
- 0xffffffffffffffff,
- 0xffffffffffffffff,
- 0xffffffffffffffff,
- 0xffffffffffffffff,
- 0x0,
- 0x0,
- 0x0,
- 0x0,
- 0x0,
- 0xffffffffffffffff,
- 0xffffffffffffffff,
- 0xffffffffffffffff,
- 0xffffffffffffffff,
- 0x0,
- 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,
- 0xffffffffffffffff,
- 0xffffffffffffffff,
- 0x0,
- 0xffffffffffffffff,
- 0xffffffffffffffff,
- 0xffffffffffffffff,
- 0xffffffffffffffff,
- 0xffffffffffffffff,
- 0xffffffffffffffff,
- 0xffffffffffffffff,
- 0xffffffffffffffff,
- 0x0,
- 0xffffffffffffffff,
- 0xffffffffffffffff,
- 0xffffffffffffffff,
- 0xffffffffffffffff,
- 0xffffffffffffffff,
- 0xffffffffffffffff,
- 0xffffffffffffffff,
- 0xffffffffffffffff,
- 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*)0x200000000180, "./file0\000", 8);
- syscall(__NR_mknod, /*file=*/0x200000000180ul, /*mode=*/0ul, /*dev=*/0x700);
- memcpy((void*)0x2000000002c0, "./file0\000", 8);
- memcpy((void*)0x200000000300, "security.capability\000", 20);
- *(uint32_t*)0x200000000340 = 0x3000000;
- *(uint32_t*)0x200000000344 = 9;
- *(uint32_t*)0x200000000348 = 0;
- *(uint32_t*)0x20000000034c = 0;
- *(uint32_t*)0x200000000350 = 0;
- *(uint32_t*)0x200000000354 = -1;
- syscall(__NR_lsetxattr, /*path=*/0x2000000002c0ul, /*name=*/0x200000000300ul,
- /*val=*/0x200000000340ul, /*size=*/0x18ul, /*flags=*/0ul);
- res = syscall(__NR_socket, /*domain=*/2ul, /*type=*/1ul, /*proto=*/0);
- if (res != -1)
- r[0] = res;
- memcpy((void*)0x200000000040, "/dev/net/tun\000", 13);
- res = syscall(__NR_openat, /*fd=*/0xffffffffffffff9cul,
- /*file=*/0x200000000040ul, /*flags=*/0, /*mode=*/0);
- if (res != -1)
- r[1] = res;
- memcpy((void*)0x200000000000,
- "vlan0\000\000\000\000\000\000\000\000\000\000\000", 16);
- *(uint16_t*)0x200000000010 = 0x802;
- syscall(__NR_ioctl, /*fd=*/r[1], /*cmd=*/0x400454ca,
- /*arg=*/0x200000000000ul);
- memcpy((void*)0x200000000000, "net/ip_mr_cache\000", 16);
- res = -1;
- res = syz_open_procfs(/*pid=*/0, /*file=*/0x200000000000);
- if (res != -1)
- r[2] = res;
- syscall(__NR_pread64, /*fd=*/r[2], /*buf=*/0x200000000080ul, /*count=*/0x8ful,
- /*pos=*/0ul);
- memset((void*)0x2000000000c0, 0, 16);
- *(uint16_t*)0x2000000000d0 = 2;
- *(uint16_t*)0x2000000000d2 = htobe16(0);
- *(uint32_t*)0x2000000000d4 = htobe32(0x7f000001);
- syscall(__NR_ioctl, /*fd=*/r[0], /*cmd=*/0x8916, /*arg=*/0x2000000000c0ul);
- res = syscall(__NR_pipe, /*pipefd=*/0x200000000280ul);
- if (res != -1)
- r[3] = *(uint32_t*)0x200000000280;
- memcpy((void*)0x200000000240, "nl80211\000", 8);
- syz_genetlink_get_family_id(/*name=*/0x200000000240, /*fd=*/r[3]);
- res = syscall(__NR_socket, /*domain=*/2ul, /*type=*/1ul, /*proto=*/0);
- if (res != -1)
- r[4] = res;
- *(uint32_t*)0x200000683ff4 = htobe32(0xe0000002);
- *(uint32_t*)0x200000683ff8 = htobe32(0x7f000001);
- *(uint32_t*)0x200000683ffc = 0;
- syscall(__NR_setsockopt, /*fd=*/r[4], /*level=*/0,
- /*optname=IP_ADD_MEMBERSHIP|0x4*/ 0x27, /*optval=*/0x200000683ff4ul,
- /*optlen=*/0xcul);
- syscall(__NR_dup, /*oldfd=*/-1);
- *(uint32_t*)0x200000000104 = 0;
- *(uint32_t*)0x200000000108 = 0;
- *(uint32_t*)0x20000000010c = 0;
- *(uint32_t*)0x200000000110 = 0;
- *(uint32_t*)0x200000000118 = -1;
- memset((void*)0x20000000011c, 0, 12);
- res = -1;
- res = syz_io_uring_setup(/*entries=*/0x5143, /*params=*/0x200000000100,
- /*ring_ptr=*/0x200000000080,
- /*sqes_ptr=*/0x200000000180);
- if (res != -1)
- r[5] = *(uint64_t*)0x200000000080;
- *(uint32_t*)0x2000000000c0 = 0;
- syz_memcpy_off(/*ring_ptr=*/r[5],
- /*off=CQ_TAIL_OFFSET|0xb463bca47b83c416*/ 0xb463bca47b83c4d6,
- /*src=*/0x2000000000c0, /*src_off=*/0, /*nbytes=*/4);
- syscall(__NR_mremap, /*addr=*/0x200000ffe000ul, /*len=*/0x2000ul,
- /*newlen=*/0x2000ul, /*flags=MREMAP_FIXED|MREMAP_MAYMOVE*/ 3ul,
- /*newaddr=*/0x200000311000ul);
- res = syscall(__NR_socketpair, /*domain=*/1ul, /*type=SOCK_STREAM*/ 1ul,
- /*proto=*/0, /*fds=*/0x200000000040ul);
- if (res != -1) {
- r[6] = *(uint32_t*)0x200000000040;
- r[7] = *(uint32_t*)0x200000000044;
- }
- memcpy((void*)0x200000000080, "./bus\000", 6);
- res = syscall(
- __NR_open, /*file=*/0x200000000080ul,
- /*flags=O_SYNC|O_NOATIME|O_CREAT|O_RDWR|0x400000000*/ 0x400141042ul,
- /*mode=*/0ul);
- if (res != -1)
- r[8] = res;
- syscall(
- __NR_mmap, /*addr=*/0x200000001000ul, /*len=*/0xa000ul,
- /*prot=PROT_GROWSUP|PROT_GROWSDOWN|PROT_WRITE|PROT_READ|PROT_EXEC|0x4800000*/
- 0x7800007ul, /*flags=MAP_FIXED|MAP_PRIVATE*/ 0x12ul, /*fd=*/r[8],
- /*offset=*/0ul);
- memcpy((void*)0x200000000000, "./bus\000", 6);
- syscall(__NR_creat, /*file=*/0x200000000000ul, /*mode=*/0ul);
- memcpy((void*)0x200000000040, "blkio.throttle.io_serviced_recursive\000", 37);
- res = syscall(__NR_openat, /*fd=*/0xffffff9c, /*file=*/0x200000000040ul,
- /*flags=*/0x275a, /*mode=*/0);
- if (res != -1)
- r[9] = res;
- memcpy((void*)0x200000000140, "#! ", 3);
- *(uint8_t*)0x200000000143 = 0xa;
- syscall(__NR_write, /*fd=*/r[9], /*data=*/0x200000000140ul,
- /*len=*/0x1670e68ul);
- syscall(__NR_madvise, /*addr=*/0x200000000000ul, /*len=*/0x600003ul,
- /*advice=MADV_PAGEOUT*/ 0x15ul);
- *(uint64_t*)0x200000000100 = 0x2000000000c0;
- *(uint64_t*)0x200000000108 = 0x3f;
- syscall(__NR_preadv, /*fd=*/r[8], /*vec=*/0x200000000100ul, /*vlen=*/1ul,
- /*off_low=*/0, /*off_high=*/0);
- memcpy((void*)0x200000000080, "./bus\000", 6);
- res = syscall(__NR_open, /*file=*/0x200000000080ul,
- /*flags=O_SYNC|O_NOCTTY|O_DIRECT|O_CLOEXEC|O_RDWR*/ 0x185102ul,
- /*mode=*/0ul);
- if (res != -1)
- r[10] = res;
- syscall(__NR_mmap, /*addr=*/0x200000000000ul, /*len=*/0xb36000ul,
- /*prot=PROT_WRITE*/ 2ul,
- /*flags=MAP_STACK|MAP_POPULATE|MAP_FIXED|MAP_SHARED*/ 0x28011ul,
- /*fd=*/r[10], /*offset=*/0ul);
- *(uint64_t*)0x200000000000 = 0;
- *(uint32_t*)0x200000000008 = 0;
- *(uint64_t*)0x200000000010 = 0x2000000001c0;
- *(uint64_t*)0x2000000001c0 = 0x200000000100;
- memset((void*)0x200000000100, 36, 1);
- *(uint64_t*)0x2000000001c8 = 1;
- *(uint64_t*)0x200000000018 = 1;
- *(uint64_t*)0x200000000020 = 0;
- *(uint64_t*)0x200000000028 = 0;
- *(uint32_t*)0x200000000030 = 0;
- syscall(__NR_sendmsg, /*fd=*/r[6], /*msg=*/0x200000000000ul,
- /*f=MSG_FASTOPEN|MSG_OOB*/ 0x20000001ul);
- *(uint64_t*)0x2000000019c0 = 0;
- *(uint32_t*)0x2000000019c8 = 0;
- *(uint64_t*)0x2000000019d0 = 0;
- *(uint64_t*)0x2000000019d8 = 0;
- *(uint64_t*)0x2000000019e0 = 0;
- *(uint64_t*)0x2000000019e8 = 0;
- *(uint32_t*)0x2000000019f0 = 0;
- *(uint32_t*)0x2000000019f8 = 0;
- syscall(__NR_recvmmsg, /*fd=*/r[7], /*mmsg=*/0x2000000019c0ul, /*vlen=*/1ul,
- /*f=MSG_WAITFORONE|MSG_WAITALL|MSG_PEEK|MSG_DONTWAIT*/ 0x10142ul,
- /*timeout=*/0ul);
- memcpy((void*)0x2000000000c0, "vfat\000", 5);
- memcpy((void*)0x200000000200, "./file0\000", 8);
- memcpy(
- (void*)0x200000000dc0,
- "\x78\x9c\xec\xdc\x4d\x6b\x13\x6b\x14\xc0\xf1\x93\xf4\x2d\x4d\x69\x93\xc5"
- "\xe5\x5e\xee\x85\x4b\x0f\xba\xd1\xcd\xd0\x46\xd7\x62\x90\x16\xc4\x80\xa5"
- "\x36\xe2\x0b\x08\xd3\x76\xa2\x21\x63\x52\x32\xa1\x12\x11\x5b\x57\x6e\xc5"
- "\x0f\xe1\xa2\x74\xd9\x5d\x41\xfb\x05\xba\x71\xa7\x1b\x37\xee\xba\x11\x5c"
- "\xb4\x0b\x71\x24\xf3\xd2\xd7\x94\x96\xd8\x74\x6c\xf3\xff\x41\x98\x27\x3c"
- "\xcf\x99\x39\x33\x99\x84\xf3\x0c\x99\xd9\xb8\xf7\xe6\x69\xa9\xe0\x18\x05"
- "\xb3\x26\xf1\x44\x4c\x62\x22\x22\x5b\x22\x69\x89\x4b\x28\x16\x2c\xe3\x5e"
- "\xbb\x57\x76\x5b\x94\xcb\x03\xdf\x3f\xfd\x7f\xe7\xfe\x83\x5b\xd9\x5c\x6e"
- "\x6c\x52\x75\x3c\x3b\x75\x25\xa3\xaa\x43\xc3\xef\x9f\xbd\xe8\x0f\x86\xad"
- "\xf6\xc9\x7a\xfa\xd1\xc6\xb7\xcc\xd7\xf5\xbf\xd7\xff\xdd\xf8\x39\xf5\xa4"
- "\xe8\x68\xd1\xd1\x72\xa5\xa6\xa6\x4e\x57\xbe\xd4\xcc\x69\xdb\xd2\xd9\xa2"
- "\x53\x32\x54\x27\x6c\xcb\x74\x2c\x2d\x96\x1d\xab\xea\xf7\x57\xfc\xfe\x82"
- "\x5d\x99\x9b\xab\xab\x59\x9e\x1d\x4c\xce\x55\x2d\xc7\x51\xb3\x5c\xd7\x92"
- "\x55\xd7\x5a\x45\x6b\xd5\xba\x9a\x8f\xcd\x62\x59\x0d\xc3\xd0\xc1\xa4\xe0"
- "\x28\xf9\xa5\xc9\x49\x33\xdb\x62\xf0\xcc\x09\x27\x83\x36\xa9\x56\xb3\x66"
- "\x97\x88\xf4\x1f\xe8\xc9\x2f\x45\x92\x10\x00\x00\x88\xd4\xde\xfa\x5f\x1b"
- "\x35\xfe\xe2\x09\xd6\xff\xcb\x17\xd6\x6a\x03\x77\x57\x86\x82\xfa\x7f\xb5"
- "\xb7\x59\xfd\x7f\xf5\xb3\xbf\xae\x3d\xf5\x7f\x42\x44\xda\x5e\xff\x1f\xac"
- "\x88\x3a\xcb\x6f\xd5\xff\x38\x23\x1a\xf5\x7f\x32\xf8\xfe\x7a\x5e\x3d\x5c"
- "\x1e\xf1\x1a\xd4\xff\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
- "\x00\x00\x00\x00\x9c\x05\x5b\xae\x9b\x72\x5d\x37\x15\x2e\xc3\x57\x9f\x88"
- "\x24\x44\x24\x7c\x1f\x75\x9e\x68\x0f\x3e\xff\xce\xb6\x73\xe3\x5e\xf7\x90"
- "\x88\xfd\x7a\x3e\x3f\x9f\xf7\x97\xc1\x80\x35\x11\xb1\xc5\x92\x11\x49\xc9"
- "\x0f\xef\x7c\x08\x34\xda\xe1\xbd\x80\xda\x90\x96\x0f\xf6\x42\x10\xbf\x30"
- "\x9f\xef\xf2\x7a\xb2\x05\x29\x7a\xf1\xa3\x92\x92\xf4\xfe\x78\xd7\x1d\xbf"
- "\x99\x1b\x1b\x55\xdf\xde\xf8\x1e\x49\xee\x8e\xcf\x48\x4a\xfe\x6a\x1e\x9f"
- "\x69\x1a\xdf\x2b\x97\x2e\xee\x8a\x37\x24\x25\x1f\x67\xa4\x22\xb6\xcc\x7a"
- "\xe7\xf5\x4e\xfc\xcb\x51\xd5\x1b\xb7\x73\xfb\xe2\xfb\xbd\x71\x00\x00\x00"
- "\x00\x00\x9c\x07\x86\x6e\x6b\x3a\x7f\x37\x8c\xc3\xfa\xfd\xf8\xed\xf9\x75"
- "\xd3\xeb\x03\xfe\xfc\x7a\xa4\xe9\xfc\xbc\x5b\xfe\xeb\x8e\x76\xdf\x01\x00"
- "\x00\x00\x00\xe8\x14\x4e\xfd\x79\xc9\xb4\x6d\xab\x7a\xee\x1a\xe1\x1e\x1e"
- "\x37\x2a\xfc\x2f\x43\x24\x39\x87\x1b\xff\x23\x0e\xdd\x71\xce\x8d\x78\x4b"
- "\xa9\x0e\x8b\x88\xad\x56\x35\x26\xb2\xd8\xd8\x42\x6b\x19\x86\x97\x8d\x0e"
- "\x1b\x23\x13\x51\x1d\xba\x7f\xde\xbe\xdb\x3c\xb9\x15\x5e\x5b\x49\x1c\xb1"
- "\xa7\x6d\x6b\xf4\x9c\xd6\xef\x0f\x00\x00\x00\x80\xd3\x73\x70\xd6\x77\x3d"
- "\xda\x84\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
- "\x00\x00\x00\x00\x00\x00\x00\xe8\x40\xc7\x7f\x30\xd8\x66\xf0\x5c\xff\xd6"
- "\x9f\x27\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\x74\xba\x5f\x01\x00\x00"
- "\xff\xff\x6a\x2f\x10\x85",
- 708);
- syz_mount_image(/*fs=*/0x2000000000c0, /*dir=*/0x200000000200, /*flags=*/0,
- /*opts=*/0x200000000ac0, /*chdir=*/5, /*size=*/0x2c4,
- /*img=*/0x200000000dc0);
- syz_proconfig_set__sys_module_sg_parameters_def_reserved_size(/*val=*/0x1f);
- res = syscall(__NR_getpgrp, /*pid=*/-1);
- if (res != -1)
- r[11] = res;
- *(uint64_t*)0x200000000040 = 9;
- syscall(__NR_set_mempolicy,
- /*mode=MPOL_F_RELATIVE_NODES|MPOL_BIND|0x2000*/ 0x6002ul,
- /*nodemask=*/0x200000000040ul, /*maxnode=*/3ul);
- syscall(__NR_shmget, /*key=*/0ul, /*size=*/0x3000ul,
- /*flags=SHM_HUGETLB*/ 0x800ul, /*unused=*/0x200000ffa000ul);
- memcpy((void*)0x200000001b40, "/proc/stat\000", 11);
- res = syscall(__NR_openat, /*fd=*/0xffffffffffffff9cul,
- /*file=*/0x200000001b40ul, /*flags=*/0, /*mode=*/0);
- if (res != -1)
- r[12] = res;
- res = syscall(__NR_ioctl, /*fd=*/-1, /*cmd=*/0x5441, /*arg=*/1ul);
- if (res != -1)
- r[13] = res;
- memcpy((void*)0x200000001b80, "/dev/null\000", 10);
- res = syscall(__NR_openat, /*fd=*/0xffffffffffffff9cul,
- /*file=*/0x200000001b80ul,
- /*flags=O_NOATIME|FASYNC|O_APPEND*/ 0x42400, /*mode=*/0);
- if (res != -1)
- r[14] = res;
- res = syscall(__NR_socket, /*domain=*/0xaul, /*type=SOCK_DGRAM*/ 2ul,
- /*proto=*/0);
- if (res != -1)
- r[15] = res;
- memcpy((void*)0x200000000100,
- "security\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
- "\000\000\000\000\000\000\000\000\000",
- 32);
- *(uint32_t*)0x200000000120 = 0;
- *(uint32_t*)0x200000000124 = 0;
- *(uint32_t*)0x200000000128 = 0;
- *(uint32_t*)0x20000000012c = 0;
- *(uint32_t*)0x200000000130 = 0;
- *(uint32_t*)0x200000000134 = 0;
- memset((void*)0x200000000138, 0, 20);
- *(uint32_t*)0x20000000014c = 0;
- *(uint32_t*)0x200000000150 = 0;
- *(uint32_t*)0x200000000200 = 0x54;
- syscall(__NR_getsockopt, /*fd=*/r[15], /*level=*/0x29, /*opt=*/0x40,
- /*val=*/0x200000000100ul, /*len=*/0x200000000200ul);
- *(uint32_t*)0x200000001bc0 = 0;
- res = syscall(__NR_accept4, /*fd=*/-1, /*peer=*/0ul,
- /*peerlen=*/0x200000001bc0ul, /*flags=*/0ul);
- if (res != -1)
- r[16] = res;
- memcpy((void*)0x200000001c00, "/proc/sys/net/ipv4/tcp_congestion_control\000",
- 42);
- res = syscall(__NR_openat, /*fd=*/0xffffffffffffff9cul,
- /*file=*/0x200000001c00ul, /*flags=*/1, /*mode=*/0);
- if (res != -1)
- r[17] = res;
- memcpy((void*)0x200000001c40, "/proc/vmstat\000", 13);
- res = syscall(__NR_openat, /*fd=*/0xffffffffffffff9cul,
- /*file=*/0x200000001c40ul, /*flags=*/0, /*mode=*/0);
- if (res != -1)
- r[18] = res;
- memcpy((void*)0x200000001c80, "./binderfs2/custom0\000", 20);
- res = syscall(__NR_openat, /*fd=*/0xffffffffffffff9cul,
- /*file=*/0x200000001c80ul, /*flags=O_RDWR*/ 2, /*mode=*/0);
- if (res != -1)
- r[19] = res;
- res = syscall(__NR_socket, /*domain=*/2ul, /*type=*/2ul, /*proto=*/1);
- if (res != -1)
- r[20] = res;
- memcpy((void*)0x200000001cc0, "/dev/ttyS3\000", 11);
- res = syscall(__NR_openat, /*fd=*/0xffffffffffffff9cul,
- /*file=*/0x200000001cc0ul,
- /*flags=O_TRUNC|O_EXCL|FASYNC*/ 0x2280, /*mode=*/0);
- if (res != -1)
- r[21] = res;
- res = syscall(__NR_socket, /*domain=*/1ul, /*type=SOCK_DGRAM*/ 2ul,
- /*proto=*/0);
- if (res != -1)
- r[22] = res;
- res = syscall(__NR_getpgrp, /*pid=*/0);
- if (res != -1)
- r[23] = res;
- res = syscall(__NR_getpgrp, /*pid=*/0);
- if (res != -1)
- r[24] = res;
- *(uint32_t*)0x200000001740 = 0xc;
- res = syscall(__NR_getsockopt, /*fd=*/r[14], /*level=*/1, /*optname=*/0x11,
- /*optval=*/0x200000001640ul, /*optlen=*/0x200000001740ul);
- if (res != -1)
- r[25] = *(uint32_t*)0x200000001640;
- *(uint64_t*)0x200000002780 = 0;
- *(uint32_t*)0x200000002788 = 0;
- *(uint64_t*)0x200000002790 = 0;
- *(uint64_t*)0x200000002798 = 0;
- *(uint64_t*)0x2000000027a0 = 0x200000001780;
- *(uint64_t*)0x200000001780 = 0x1c;
- *(uint32_t*)0x200000001788 = 1;
- *(uint32_t*)0x20000000178c = 2;
- *(uint32_t*)0x200000001790 = r[23];
- *(uint32_t*)0x200000001794 = 0;
- *(uint32_t*)0x200000001798 = 0xee01;
- *(uint64_t*)0x2000000017a0 = 0x1c;
- *(uint32_t*)0x2000000017a8 = 1;
- *(uint32_t*)0x2000000017ac = 2;
- *(uint32_t*)0x2000000017b0 = r[24];
- *(uint32_t*)0x2000000017b4 = 0;
- *(uint32_t*)0x2000000017b8 = 0;
- *(uint64_t*)0x2000000017c0 = 0x1c;
- *(uint32_t*)0x2000000017c8 = 1;
- *(uint32_t*)0x2000000017cc = 2;
- *(uint32_t*)0x2000000017d0 = r[25];
- *(uint32_t*)0x2000000017d4 = 0;
- *(uint32_t*)0x2000000017d8 = 0;
- *(uint64_t*)0x2000000017e0 = 0x1c;
- *(uint32_t*)0x2000000017e8 = 1;
- *(uint32_t*)0x2000000017ec = 1;
- *(uint32_t*)0x2000000017f0 = r[15];
- *(uint32_t*)0x2000000017f4 = r[20];
- *(uint32_t*)0x2000000017f8 = r[22];
- *(uint64_t*)0x2000000027a8 = 0x80;
- *(uint32_t*)0x2000000027b0 = 0;
- *(uint32_t*)0x2000000027b8 = 0;
- syscall(__NR_sendmmsg, /*fd=*/r[22], /*mmsg=*/0x200000002780ul, /*vlen=*/1ul,
- /*f=MSG_BATCH|MSG_CONFIRM*/ 0x40800ul);
- memcpy((void*)0x200000001d00, "./bus\000", 6);
- res = syscall(__NR_stat, /*file=*/0x200000001d00ul,
- /*statbuf=*/0x200000001d40ul);
- if (res != -1)
- r[26] = *(uint32_t*)0x200000001d58;
- res = syscall(__NR_getegid);
- if (res != -1)
- r[27] = res;
- *(uint64_t*)0x200000001ec0 = 0x2000000000c0;
- *(uint16_t*)0x2000000000c0 = 0;
- *(uint8_t*)0x2000000000c2 = 0;
- *(uint32_t*)0x2000000000c4 = 0x4e24;
- *(uint32_t*)0x200000001ec8 = 0x6e;
- *(uint64_t*)0x200000001ed0 = 0x200000001680;
- *(uint64_t*)0x200000001680 = 0x200000000140;
- memcpy(
- (void*)0x200000000140,
- "\xdc\x94\x43\xb7\x7e\x18\x9a\x09\xed\xac\x13\xa3\xcd\x76\xa5\x1b\x19\x26"
- "\x9c\x29\x3c\x7a\x94\xbc\xd1\xfd\x99\xe0\xa1\x72\x98\x3a\x65\xd2\xf4\x9a"
- "\x15\x6c\x50\xe4\x90\x22\xca\x9f\x59\x5a\x68\x10\xa0\xce\x3c\xed\x0f\xcf"
- "\x68\x42\x32\x88\x5f\x28\xf0\xd3\x4d\x7b\x46\x3d\xd1\x4d\x59\xa4\xb6\x24"
- "\x2e\x32\x0f\x34\x41\x70\x85\x44\xc6\x3b\x06\x03\xb4\x73\x4d\xc4\x1f\x24"
- "\x02\x09\x97\xee\x84\x8e\xb8\x6a\x66\x02\xc0\xfc\xc2\xa5\xb9\x77\x93\xf6"
- "\xe0\x26\xa5\x5a\xd8\x33\xdd\xd5\xd5\xfb\xb7\x97\xf6\xa1\x99\xd6\x26\x0a"
- "\x12\x61\xa3\x25\x4c\x9b\xba\x05\x33\xb6\x6a\x57\x38\x1f\x13\x4a\x07\x28"
- "\x77\xc9\x5b\x8a\x98\xee\x04\x55\x98\x34\xce\x38\xcf\xc9\x38\x34\xa6\x1d"
- "\x5c\x25\x65\x44\x99\x82\x46\x47\x33\x2e\xd0\x57\xf6\x67\x4f\x57\x8a\x12"
- "\x9e\x44\x51\x1a\x07\x62\x13\x44\xc1\x58\xc4\x7a\xfd\x06\x83\xfc\xdf\xcd"
- "\x0c\x01\x73\x4e\xe8\xe7\xd3\xf9\x58\x18\x5c\xda\xfd\x00\x6d\x77\x3b\x65"
- "\xdf\x53\x60\xa4\x46\xdb",
- 222);
- *(uint64_t*)0x200000001688 = 0xde;
- *(uint64_t*)0x200000001690 = 0x200000000240;
- memcpy(
- (void*)0x200000000240,
- "\x9c\xa1\x77\xd5\xb6\x53\x52\x9c\x5b\xd4\x6a\xb2\xed\xab\xd2\xce\xec\x82"
- "\x5b\x40\xf0\xb8\x56\x2a\x32\xf1\xc0\xdc\xbf\x9a\xce\x09\xf3\x95\x04\xc4"
- "\xc7\xc8\x0a\x6e\xf6\xdf\x65\x1b\xdc\x3c\xe7\x73\x5d\x79\xf1\xfb\xe5\xf6"
- "\x0a\x31\x80\xd6\xe5\xc7\x1e\x22\x8e\x13\xde\x17\x82\xd0\xc5\x66\x39\xf1"
- "\x89\x15\x02\x8b\x6b\xfc\xa7\x57\x6b\x96\x48\x0a\x6c\x46\x5a\x4f\xca\x7e"
- "\x79\x06\xd1\x37\x99\x85\x4c\xf5\x87\x6b\xe2\x94\x97\xd7\x2d\x1f\x9b\x8f"
- "\x3a\x41\xa6\x97\x99\xc4\xd8\x7d\x94\xe2\xc0\x53\xab",
- 121);
- *(uint64_t*)0x200000001698 = 0x79;
- *(uint64_t*)0x2000000016a0 = 0x2000000002c0;
- memcpy((void*)0x2000000002c0, "\xd5\xaa\x95\x07\xdf", 5);
- *(uint64_t*)0x2000000016a8 = 5;
- *(uint64_t*)0x2000000016b0 = 0x200000000300;
- memcpy((void*)0x200000000300,
- "\xe6\xb5\x1b\x63\x8a\x9e\x59\x0d\xa2\x64\xd1\x7b\x02\x82\x13\x63\xc7"
- "\x25\xe3\x17\x8a\xad\x55\x75\xb3\x10\x6a\x8f\xc5\xd9\xfe\xa6\x9e\x60"
- "\x49\x8b\xb3\xf2\x85\x1c\xe6\x7b\x34\xdc\x58\x92\x37\xea\xb2\xd1\xe8"
- "\xa4\x64\x86\x95\x31\x53\x43\xf8\x02\x45\x25\x63\xde\xe1\x10\xec\xa0"
- "\x46\xe6\x81\x9f\x24\x2d\xec\x9d\x9c\x9e\x3d\x56\x84\x69\x57\x9c\xaa"
- "\x08\x5e\xb0\xca\x4d\x21\x79\x18\xda\x19\x1f\xa7\xd4\xee\x7b\xf6\x0d"
- "\xeb\x8a\xe4\x2e\xd4\xf2\xf7\xe2\x4d\x66\x3b\x23\xda\x5a\xe9\x58\x4a"
- "\xa8\x97\xd5\x45\x3c\xc3\xa6\x7d\x99\x0f\x62\x5c\x41\x36\x4f\xfe\xea"
- "\x09\xbf\x16\x1b\x4e\x98\xe8\xf6\x43\x7a\x58\xb4\xfa",
- 149);
- *(uint64_t*)0x2000000016b8 = 0x95;
- *(uint64_t*)0x2000000016c0 = 0x2000000003c0;
- memcpy(
- (void*)0x2000000003c0,
- "\xcf\xc1\x87\x05\xed\x8d\x17\x36\x39\x6d\x28\x20\x86\xa0\xac\xc9\x33\x43"
- "\x88\x0a\x97\x4b\x42\xd3\x32\xcc\x56\x46\xb5\xef\xc9\x99\x0e\xdd\x04\xa8"
- "\xf6\x52\xc4\x09\x59\x90\x94\xa7\xe5\xde\x67\x5a\x1f\xa2\x1d\x20\xd5\x1d"
- "\x78\x51\x52\x1a\xfe\x72\xd0\x94\x18\xfc\x22\x96\x55\x78\xae\xc9\x3a\x8a"
- "\xe4\x55\x6f\xc5\xb1\xac\x45\x68\x25\x9b\x7b\xdd\x42\x5e\x3f\xe2\xf5\xed"
- "\x80\x31\x37\xa9\xbf\xeb\xa8\x19\x1d\x3b\xdb\x51\x42\xf0\x17\x9e\xd0\x6d"
- "\x66\x4e\x03\x6d\xab\xf0\xc3\xbb\xa3\x09\x43\x20\x2a\xa2\x86\x18\xfd\x6a"
- "\x3f\xcc\xa5\xdd\xca\xa4\x6f\x9c\x97\x7f\xb3\xac\xb6\x05\xe2\x29\x07\xb0"
- "\xde\xc4\xb1\x38\xcc\xb2\xe8\xce\x0f\xe1\x92\xd2",
- 156);
- *(uint64_t*)0x2000000016c8 = 0x9c;
- *(uint64_t*)0x2000000016d0 = 0x200000000480;
- memcpy(
- (void*)0x200000000480,
- "\x59\x69\x62\xc2\x71\xad\xa6\xeb\xdb\xa0\xd7\xff\x1b\xb3\x98\xc8\x06\xb6"
- "\x97\x09\x33\x09\x49\xd9\xd6\x2c\xa6\x2f\x11\xa2\x4f\x7d\x70\x24\xb3\xe6"
- "\x56\x04\x9e\x5f\x39\x18\x29\x23\xcf\x2f\xa0\xe9\x84\x56\x24\x25\x54\x57"
- "\xee\xaf\x15\xd7\x3e\xca\x90\x15\xcd\x33\xf6\x9d\x45\xd2\xf9\x3f\x92\x9c"
- "\x53\x9a\xf1\x8e\x32\x92\x09\x6b\x94\xb0\xbf\x4d\x0e\x97\x4d\x3f\x6b\x9d"
- "\x65\xfa\x90\x10\x6e\x1f\xc8\x22\x3e\x65\x34\x78\x73\xfe\x2d\x90\xc6\xc0"
- "\x9f\xe8\x29\xd3\xe0\x92\x37\x11\xdf\x90\x00\x2c\x5b\x88\x54\x74\x8b\x33"
- "\xcb\x61\x05\x8d\xae\x40\x8f\x8d\x93\x2b\x0f\xe0\x33\x40\xa5\x2f\x9d\xc2"
- "\xc2\xf2\x26\x3a\xdf\xa6\xf6\xbf\x3c\x44\xbe\x6f\xe7\x07\x8a\x24\x42\x2a"
- "\xc0\x1c\xb9\xc1\x4d\xf2\x2e\xa4\xa4\xb7\x59\x46\x3a\x46\x05\xa8\xf5\x65"
- "\x41\xfa\x09\x0a\x2b\x43\x3a\x80\xa2\xb6\x72\x88\x04\x02\xf4\xa5\x6f\x73"
- "\x47\x23\x07\xab\xff\x5b\x77\x10\x9c\xc4\x9c\x27\x90\x8c\x7a\xb4\xcd\x4d"
- "\x28\xe7\x22\xcf\x50\x43\x4c\x16\x22\x8f\x39",
- 227);
- *(uint64_t*)0x2000000016d8 = 0xe3;
- *(uint64_t*)0x2000000016e0 = 0x200000000580;
- memcpy(
- (void*)0x200000000580,
- "\x26\xd9\x09\x87\x63\x93\x10\x2e\x00\xf6\xaa\xc9\x4c\x34\x35\x3b\xb8\xa6"
- "\x04\xc6\x0e\xfb\x81\x84\x5b\x30\xd8\xe7\x78\x49\xfd\x2d\x53\x1e\xca\x63"
- "\xa7\xb8\xbf\xf2\x86\x6b\x1d\x9a\x10\xfa\x5b\x35\x85\x23\x80\xbe\x61\x2a"
- "\xaa\x51\xaa\x9d\x9d\xb0\x4c\x9e\xe9\x3b\xae\xdf\xc0\x8c\x47\x0a\xb9\xaf"
- "\xfc\x5d\x20\xd4\xf6\x2e\xe8\xd9\x17\x01\x26\x5f\xfc\x41\xad\x7d\x85\x16"
- "\x9c\x95\xc0\xb4\xeb\x2d\x55\x94\x4e\x75\x21\xca\x7e\x82\x9b\xe9\x1a\x72"
- "\xd1\x22\x2a\x8c\x76\x7c\x4e\x24\x82\x96\xf2\xb9\x28\x3a\xbe\xd7\xa8\xc2"
- "\x93\x33\xfa\x2c\x21\x7b\x8a\x06\x41\x76\x91\x0e\x44\xf6\x0f\xdb\x02\xd3"
- "\xb5\xca\x83\x96\xe8\x62\x6b\xa7\x46\xda\x9d\x2e\xb4\xb0\x2a\xb9\xa9\x20"
- "\xd3\x2f\x77\xd0\x6b\x98\x1f\x56\x45\x33\x61\xa1\x37\x71\xdb\xfa\x66\x32"
- "\xba\x8e\x29\xfd\x79\x45\x5a\x98\x37\x62\xfd\x86\x23\x8f\xcf\x9e\xa1\x00"
- "\xa5\x37\x06\x75\x2e\x02\x41\xdc\x6a\x52\xaa\x44\x36\xa8\xfc\x59\xb1\x5d"
- "\xd0\xd7\x16\xc7\x30\xfa\x52\xce\x11\x40\x44\x98\x6c\x5b\x06\x42\x63\x3b"
- "\xbc\x47\x8b\xfe\x3d\xbb\xb5\x1a\x56\xd3\x01\x46\x11\x66\xd9\x35\xd2\x7a"
- "\x2c\x38\x82\xcd\x79\xd7\xa6\xb8\x7b\xc9\xb5\x2e\xab\xa7\x35\xc5\xad\x5a"
- "\xda\xbf\x4b\x77\x2c\x23\x85\xd5\x64\xa4\x46\xfd\x18\x41\x1e\xc5\xe2\xff"
- "\x75\x43\x8a\x59\x35\xd4\xad\x2d\xc9\xc4\x56\x73\x62\x56\x8c\x5c\x6d\x36"
- "\x13\xb8\xe3\xd8\xef\x68\xb1\x71\x13\x36\xb7\x4b\xd6\xad\x78\x76\x3a\x1e"
- "\x8e\xce\x90\xf9\x55\x17\x48\x8e\x74\x08\x42\xf3\x7f\xcf\x09\x63\x13\x60"
- "\x07\x24\xee\xc8\x02\xfd\x9e\x9a\x9e\x85\x71\x97\xb5\xd3\x15\x02\x24\xd7"
- "\x84\x35\xf5\x60\x46\xf9\x80\x9d\x15\x24\xa4\x2f\x07\xf3\xb5\x5a\x65\xf4"
- "\x53\x7c\x34\x42\xcf\xd0\x78\x52\x1d\x25\x23\x9e\x4a\x8a\x81\x2e\xf1\x56"
- "\xe1\xdc\xcb\xdc\x0d\xd1\x58\xc7\xab\x9b\xa8\x91\xf4\x01\x32\xf7\xdc\x66"
- "\xe0\xa1\x33\xee\xe3\xad\xb9\xb8\x92\x0b\x90\xcb\x30\xc2\x54\x08\x08\x18"
- "\x69\xbe\xf7\x12\xfa\x07\xe5\x38\xcc\x16\xf3\x8b\x05\x5b\xe0\xc9\x0d\x2e"
- "\x94\x58\xc0\xec\x21\x32\x68\x0e\xf5\x1a\xe5\x45\xfa\x4b\xc5\x8f\x2d\x34"
- "\x99\x31\x10\x14\x57\xce\x97\x6c\x68\x75\x54\xde\x50\xd7\xd4\xfd\x69\x9b"
- "\x41\xda\x31\xb0\x6a\x4d\xd8\x0f\x8a\x53\xfa\x6d\xc9\x99\x0d\xf7\x8f\xd2"
- "\xa3\x69\xc9\x6b\x87\x1a\x8c\xd0\xe6\xc5\xfa\x89\x14\xa6\x75\xae\x29\x9c"
- "\x27\xf9\xb4\x0c\xdf\x79\x8c\xb6\x1c\x65\x27\x62\xd1\x40\x53\xee\xd1\xf6"
- "\xe1\x66\x1b\x27\xb2\x79\x1c\xd1\xda\xdf\x1c\x9f\xeb\x4c\xa5\x0e\xa6\x5f"
- "\xbf\xec\x0a\xa1\x86\xc5\xd9\xd7\x8a\x1f\xb6\xcd\xc6\x4a\x19\xd2\xca\xd3"
- "\x80\x75\xe1\x12\x13\x5b\xe8\x8c\x2d\x4e\x99\xa3\xc3\x32\x00\xa3\xfa\xa1"
- "\x5d\x5d\xee\xdf\x12\xdd\x0f\x78\xa6\x82\x92\x16\xdb\x69\xcc\x88\x56\x6d"
- "\xf7\x23\x8f\x08\x1a\x99\x91\x4f\x31\xd4\xd6\x57\x2c\x75\x5d\xc3\xcf\x97"
- "\x86\x80\x07\x5d\x1c\x6d\xaa\x43\x27\xd4\xbb\xe0\x87\x4b\xe7\xc7\xe5\x3c"
- "\xc6\x82\x8f\x63\x77\x90\x78\x54\xf3\xf8\x11\x7f\x50\xce\xf0\xf4\x28\x1e"
- "\xdf\x3d\xf5\xcb\x17\x7a\xbb\xce\x5d\xa0\xd1\x65\x4b\xa5\xee\x14\xd6\x28"
- "\x26\xc5\x3f\xf8\xa2\x59\x4e\xdf\xef\x67\x35\x18\x22\x2d\x60\xf1\x76\x3f"
- "\x35\x5d\xac\xb7\x33\x18\xdc\x79\x89\x81\x22\xe6\x88\xc4\xae\x2f\xe8\x57"
- "\x46\x5c\x52\x17\xee\xb2\xa6\x4a\x6d\x27\xe6\x9d\xdc\x78\x79\xf5\x78\xe6"
- "\x0a\xb8\x3a\xdb\xa7\xa2\x22\x9b\xc5\xa7\x48\x6a\x49\x09\xa9\xd4\x6e\xbc"
- "\x60\xd4\x43\x88\xb4\xce\xdf\x1e\xfe\x03\xc9\x33\x73\xce\x9d\x41\x69\x79"
- "\x8f\xae\x28\xe9\x9c\x2b\x0c\xbf\x8b\x67\xca\x4d\xf7\xb5\x18\x3d\xa4\xef"
- "\xf3\x84\x34\x5f\x5c\xb2\x92\x02\x08\x5b\x55\xbd\x65\xcd\x9a\xd8\xb5\x81"
- "\xf0\x12\xd2\x4c\xb9\xc6\x6b\xe9\x22\x19\x2a\x8c\x3c\xec\x77\x01\x14\xd5"
- "\x09\xf9\x2e\xd1\x2d\x4e\x3a\xf2\x20\xe0\x19\xee\x5b\x72\x14\x52\x49\x56"
- "\x8d\x80\xee\xd6\x48\xe3\x59\x24\xc2\xc2\xc1\x00\xc8\xc6\xdc\x45\x00\x7a"
- "\x7a\xa0\x59\xd8\x26\xa4\x0d\xbe\x84\x44\x3d\x53\xdc\x6c\xd6\x26\xe1\xf8"
- "\xab\xdc\x43\x5b\xc8\xd6\x05\x33\xda\xb0\x14\x14\xd4\x4b\x9a\xb7\xce\x93"
- "\x97\x7c\xc4\x4f\x44\x5e\xd1\x7f\xc4\x37\xa0\x94\x0b\xce\x98\x6b\x23\xd7"
- "\x2f\x97\xad\xd9\xb9\x47\xae\x4d\x3e\xf1\xca\x2e\x17\x9f\x4d\xe1\xc7\x45"
- "\x0b\x71\xac\x54\x46\x38\xbe\x96\x49\xc4\x31\x70\x01\xd9\x89\x3a\x6d\xf1"
- "\x12\x75\xc3\xc5\x4b\xb0\x8f\x58\x2d\x63\xe2\x13\x3e\xba\x4d\x17\x8e\xa6"
- "\xea\xf7\xdc\x4b\x82\x51\xe6\x3a\x0b\x92\xd3\xef\x76\x75\x63\xbd\x07\x7d"
- "\x00\x60\xaa\x63\x82\x76\xb5\x38\x3d\x27\x79\x5e\x7e\xc8\x7a\xa7\x55\x87"
- "\xc6\xd1\xae\xb6\x54\xe3\x6c\x9c\xa4\x55\x92\xa1\x0e\x29\x0b\x7c\xf8\x8c"
- "\x81\x28\x75\xf3\xe0\xd3\x53\xe5\x91\x34\x27\x06\x1b\x32\xf2\x6a\xe0\x97"
- "\x48\x4f\xb1\x5b\xc5\x1c\x75\xa2\x87\xed\x88\x99\x96\x5f\xa5\xb7\xa2\x3a"
- "\x70\x0d\xfe\xe8\x9e\x1a\xa4\x56\xfd\x58\x91\x36\x90\xef\xee\x76\xe1\xf1"
- "\xa6\x4d\xee\x59\x88\x27\x2a\x0a\x9e\x40\xe6\x8b\xb4\x6b\x66\x6d\x9d\xe2"
- "\x4e\xed\xe5\x94\x4c\x29\x3e\xf7\xe7\x48\xe9\xaf\xb2\xbd\x57\x24\xdd\x9c"
- "\x6d\xd5\x27\x74\x45\xe9\x60\x5c\x8a\xcf\xd2\xeb\x5e\xe9\xf9\x7d\xd2\xbb"
- "\xbf\x8c\x31\x96\x06\x81\x3b\xf8\xe4\x60\xac\x55\x3b\x1e\xba\xf8\x93\x88"
- "\xa0\xfe\xc9\x86\xbb\x5f\xfb\xb3\x22\xab\x41\x81\x0f\xd4\x01\xde\xed\x21"
- "\x7c\xa8\x6a\x22\x9b\x7b\x1d\x0b\xa9\xea\x51\x8e\x0b\x20\x09\xed\xe1\xac"
- "\xc6\x0b\x63\x5d\xe5\x47\x7d\x7c\x7a\xaf\xf1\x38\x92\x28\x8c\x05\x7e\x60"
- "\xbe\xd6\xbe\xb2\xf4\x3f\x6a\x21\xa2\x8a\x1f\x9f\x31\x28\x94\x90\xe1\xa4"
- "\xd3\xff\x41\x43\x4a\x99\x1c\x77\x26\xed\x1b\xfc\xfb\x68\x93\x46\x18\x6a"
- "\x85\x38\xea\x11\xcb\x98\x2b\x09\x9c\xce\x02\xf1\xce\x99\x72\x05\xd8\xda"
- "\x4e\x80\xd2\xf4\x58\xbb\xe2\xd2\x45\xa5\x2d\x66\x46\x58\x9c\x73\x93\x92"
- "\x21\x10\x55\x23\x71\x7f\x1b\x9f\x88\x5b\xb0\x7b\x7e\xb9\x67\x4d\x21\xae"
- "\xd6\x46\x6c\x70\x8f\xab\x0b\x02\x01\xb3\xd6\x08\x73\x5d\x64\xc8\xea\x25"
- "\x83\xbd\x10\xd2\xd1\xd3\x42\x4e\xe1\x23\xd2\x6f\x45\xcf\xf5\xe9\x76\x94"
- "\x6a\x48\x84\xdd\x34\xe4\x86\x7a\x93\x1e\x4b\x76\x3f\x9c\xee\xcb\xca\x96"
- "\x19\x04\x8d\x6b\xf5\x36\xc4\xd2\x31\xd3\xde\x0c\xfd\x46\x60\xf8\xf4\x1b"
- "\x3c\x7d\x01\x4c\xf0\xaf\xc8\xc0\xf7\xdb\x38\x51\xc1\x79\x5e\xdb\xa6\xf4"
- "\x4f\xea\x5b\xf8\x3d\xf2\xc1\x3c\x9e\x78\x9a\x2e\xbf\xc6\x6f\x93\x48\x55"
- "\x2f\x65\xbe\xc8\xe8\x86\x53\x6b\x4f\xd6\xd0\x9a\xe2\x9d\x68\x0d\x6a\x73"
- "\xbe\xff\x71\xc2\x17\xf4\x12\xf8\x4c\x73\xb5\x36\x81\x4a\x7b\x3d\xa5\x2e"
- "\x2c\x27\x14\x9d\x88\x84\x11\xf7\xed\x31\x5d\xf2\x40\xdf\x0f\xfa\xf6\x52"
- "\xd0\x3a\xd0\x88\xce\x25\x5d\xad\x0e\x5a\xc2\x7a\x29\x6c\xd9\xec\x01\xb2"
- "\xaa\x8c\x1e\x42\x1b\xfb\x05\xd0\xab\x41\x48\x84\x83\xcb\x7c\x74\x84\x5c"
- "\x66\xe7\xd7\xae\xaf\x56\x57\x1e\xe5\xb7\x2e\xf4\x80\xb3\x78\xbf\xb8\xd7"
- "\xa5\xe9\xea\x4a\x70\x8a\xa5\xd7\x66\xc4\x75\xbf\xa5\x31\x88\x7c\x73\x2b"
- "\x4d\x86\x28\x8c\x71\x9d\x22\x70\x5b\x30\xb3\x0c\xeb\x38\xd8\xf3\xac\xe3"
- "\xac\x51\x28\x6b\xd5\x87\x93\x72\x59\xa5\xd9\xf6\x4d\xc2\xf0\x41\x7e\xb2"
- "\xfe\xb1\x06\x03\xaa\x4e\x83\xce\x65\x59\x1a\x8f\x5a\xc0\xff\x50\xa8\xe6"
- "\x19\xd1\x60\x8f\x4f\xe4\xc2\x47\x48\xa5\x0b\xe8\xa0\xd2\xcf\xf0\x32\x77"
- "\x60\x2b\xcd\xa7\x6f\xfd\x3c\xb3\xad\x00\x22\xe8\xa5\x11\x47\xed\x53\x42"
- "\xaf\x37\x32\xbd\x59\x1f\x0d\x03\x60\xcf\x4e\x2a\x60\x5f\x35\x72\x39\x40"
- "\xcc\x47\x00\xce\xb1\x28\x53\x0b\xe2\xba\x2b\xd8\x73\x81\xa1\x73\xd5\x24"
- "\xf7\x1b\x96\xd7\xd8\xe4\x91\xd3\x51\x66\xf4\x41\xb2\x0a\x3c\xbd\xaf\x0e"
- "\xad\xed\xac\x2d\xbe\x50\xfe\x79\x76\x42\xe2\x30\xc8\x77\xe8\xd0\xf6\xf0"
- "\x35\x95\x7d\x5d\x3f\x58\x4e\xcc\x60\x79\x65\xe9\x55\x03\x24\x66\xdf\xc8"
- "\x66\xe4\x25\x14\x6f\xfe\x4d\x3b\x41\x69\x1b\xcb\xce\xca\xc7\x67\x53\x54"
- "\xe3\x56\xaf\x5b\x0a\xa3\x74\x2c\x0f\x57\x2b\xe1\x16\x81\x07\x5a\x03\xdf"
- "\x6d\x3d\xab\x8f\xed\xcb\x98\x56\x19\xc0\xc8\x3f\xc9\xe8\x82\x4d\x51\x37"
- "\xd4\x80\x10\x88\x92\x18\x30\xbe\x2a\x58\xfc\xd2\xd9\xab\x9d\xeb\xd6\x14"
- "\x3a\xd5\xe2\x4e\xd3\x3c\xd9\x7c\xaa\xaf\xc4\x48\x70\x3b\xcb\x09\x8e\x6e"
- "\xc4\xf1\xa8\xc7\x35\x1a\xc5\x03\xc5\xae\x76\xda\x90\x72\xe3\xa9\xea\xcc"
- "\x32\x17\x05\x4e\xdc\x48\x0a\x06\xb0\x28\x02\x3a\x49\xad\xf5\x8e\x06\x3b"
- "\xdb\x9b\x2a\x24\x9e\x22\xff\xa5\xb6\x17\x15\x7e\xc3\xa0\xc7\x44\xd1\xcb"
- "\xe8\xd4\xf0\xb5\x9f\x62\x80\x1e\x7e\x34\x4d\x21\x80\x5a\x68\x72\xc6\x28"
- "\xab\x15\x49\xa5\xd1\xfa\x0d\xb5\x55\xd9\x26\x40\x92\x44\xf9\xfb\x35\xb8"
- "\x6d\x6f\xe2\x38\x93\xe3\x38\xd7\xd9\x75\x50\x81\x7e\x25\x71\xcc\xd0\xc5"
- "\x1d\x45\x43\xcd\xfb\xd6\xd6\x25\x85\xb7\xd3\xcc\xdf\xae\x95\x84\x53\x72"
- "\x47\x17\x72\xd9\x3f\x68\x46\x1d\xb3\x87\xbd\xc7\xfb\x5e\x89\x37\xe7\x71"
- "\xa2\x35\x89\x41\x0b\xf7\xa3\xfe\xed\xed\x44\x41\xd8\xfb\x35\x55\xe3\xdd"
- "\x07\xba\xc2\x66\x69\x5c\x69\x3d\x9f\xae\xc4\x54\x94\xa2\x66\x56\x50\x14"
- "\x16\xa7\x88\x5e\xc0\x5e\x65\x31\x77\xac\x16\xe8\x5d\x6b\xb5\x2a\xc3\x05"
- "\x59\x14\x91\x82\xcf\x4a\x8a\xc9\x6a\xe4\xbf\x58\xac\x5a\x46\xd5\x4a\xf0"
- "\xe1\x57\x4b\xbc\x13\x7b\x29\xcf\x68\x00\x64\x84\x33\x87\x3e\x3b\xab\x9a"
- "\x41\x64\x2f\x20\xf3\xc5\xbf\x13\x63\xab\xfc\xd0\x87\x29\xfa\xed\x48\x25"
- "\x70\xe7\x0b\x28\x07\x40\x41\x14\x1b\xe8\x76\xa1\x02\x95\x83\x41\xc3\x99"
- "\x2f\xec\x1c\xd2\x4c\x6b\x42\x5f\x86\x9e\xef\xc7\x61\x20\x66\xaf\xb5\xff"
- "\xa4\xf0\x9d\xdd\x58\x4d\xd2\x60\x13\x86\x7b\x34\x84\x69\x22\x20\x5b\xa5"
- "\xe4\x5d\x59\xc1\x52\x58\x19\x1f\xd6\x78\x65\x6e\xef\xba\x67\xad\xea\x38"
- "\xcf\x77\xa2\x4f\x99\x65\x75\x45\x94\x09\x9a\xf1\x60\x9a\xa8\xa9\xe7\xda"
- "\x10\xe9\x98\x07\x46\xfd\xb2\xbc\x32\xe5\xa9\x02\xbc\xd3\x91\xbb\xaf\xce"
- "\x82\xc9\x2b\xc6\x14\xbc\x2e\xe1\xa6\x29\x19\x57\x28\x4f\x32\x85\x29\x1c"
- "\x1b\x53\x93\x83\x9e\x5e\x5c\x55\x96\xd6\x75\x2e\x9e\xed\x9e\x40\x3d\xe5"
- "\x69\x15\xb9\x90\xbd\x7e\xc2\xdf\x3b\x15\x0d\xe6\xfe\x1d\xf3\xc8\x05\xf8"
- "\x34\x24\x24\x4f\x36\xab\x29\xb1\x09\xea\xec\x40\x30\xf4\x79\x0a\xb8\x8f"
- "\x74\xf1\xe0\x67\x8a\x11\x90\xc9\xbc\x9f\xaf\xd8\xee\x90\x9c\x94\x70\x18"
- "\x7f\xa3\x20\xf8\x61\xb3\x36\x34\xdf\x06\xa4\x4d\xd0\x0e\x04\xf4\x42\x8e"
- "\x0f\x55\xd8\xaa\x7b\x85\xc3\x81\x54\xc6\x86\x19\xf2\x6d\x45\x59\x87\x05"
- "\x25\x48\x69\x57\x99\x2d\xed\xdb\xf2\x11\xa0\x5f\xf1\x9a\x19\xb1\xe4\x7e"
- "\x93\xf9\x66\xa2\xdd\x95\x0a\x48\xc9\xe3\x7a\x43\x74\x63\xb4\xad\x3d\x6a"
- "\xeb\x95\x61\xb2\x50\x27\xf3\xd5\x0b\x09\x7b\x6e\x3c\x5a\xf7\xb2\xf0\x8d"
- "\xe5\x38\xc6\x3e\x43\x47\xb3\x62\xed\x49\xb9\x8a\x7d\x5d\x04\x0d\xaf\x53"
- "\x7a\x4d\x56\xbe\xb0\x65\x1d\x22\x36\x55\xad\x65\xbe\x4f\xb5\x95\xf2\xb4"
- "\x39\x8b\x64\x0f\xb6\x55\x93\x2b\x03\xb6\x0b\xac\x8c\xa0\x44\xd2\x09\x3a"
- "\xe9\xc3\xb4\x79\x27\x66\x97\x09\xa0\x41\x4f\x23\x78\x5e\xe3\x09\x62\xde"
- "\xc3\xac\xde\xd5\x98\x0e\xe1\xd7\x70\x95\x65\x1d\xb2\xdb\x1a\xc1\x21\x6e"
- "\x04\xba\xd4\x32\xf1\x2e\x01\x5e\x69\x24\x6f\xac\x64\xf5\xf2\x52\x74\xd1"
- "\xa8\x29\xc1\xd1\x6b\xa8\x01\x62\xfe\x24\x9a\x67\xa1\x5e\x02\x8e\xa3\x3d"
- "\xa2\xbe\x03\xe7\x4a\x06\xb1\x3d\xd8\x2a\x52\x02\x3d\xb9\xfc\x48\xc2\xc4"
- "\xc2\x13\xae\x8a\xfd\x4b\x90\xc9\xf0\x22\xac\x3e\xa3\x5a\xaf\x12\x2c\x0c"
- "\xee\xf1\x67\x4e\x66\x31\xe9\x09\x37\x01\x95\x8c\x64\xcc\x1e\x32\x5d\x97"
- "\x6a\x46\x3d\x04\x5b\xf3\xc4\x41\x62\xcb\xb8\x33\x79\xeb\x64\x42\xe8\x43"
- "\x5c\x88\xab\xc2\xdc\x95\x72\x77\xe3\x4c\xb8\x3c\x37\x29\x4f\x7b\xae\x51"
- "\x50\x2b\x03\x13\x36\xae\x99\x72\x28\x23\x30\xd6\xef\xa7\x1a\xb3\x00\x82"
- "\x0d\x4e\xbb\x32\xa7\x2b\xf6\x71\x38\x71\x9f\x1a\xf8\x90\xea\xfc\xc1\x75"
- "\x0b\xa3\x9b\x63\x41\x78\x9a\xad\x93\xa9\x00\xce\x0e\xd5\x83\xcd\xdc\xc6"
- "\xfc\x7b\x56\x4f\x1c\x85\x97\xf0\xa1\xfa\x37\x37\x3a\x9b\xe1\xc8\x1a\x17"
- "\x88\xd9\x22\xe3\x4e\xba\x42\xe4\xed\x5b\x5d\xe1\xef\xef\xca\xee\x70\xa8"
- "\x5b\xb2\xc8\x9d\x37\x60\xdf\x3e\x7f\x8e\x19\x4c\xdc\x7b\x93\x98\xc9\x4b"
- "\x12\x4a\x4e\x05\xab\x2a\x1a\x29\xfc\x1a\x4b\x64\xda\x7e\x0f\x94\x30\x2f"
- "\x74\xa4\x3d\x4a\x4a\xce\x9d\xfa\x2f\x47\x86\x25\x94\x0a\x0e\x4f\xb9\x72"
- "\x0f\xf4\xce\x17\x41\x50\x67\x76\x97\x23\x7f\xc5\xc9\x54\x0a\xbe\xb6\x45"
- "\xab\x8e\xf1\x7e\xa1\x27\x40\x5a\x63\x68\x10\xe9\x5c\x69\xdf\x43\xad\x9b"
- "\xf3\x18\x83\x36\xc8\x9e\xd9\xab\xa1\x59\xe6\xbf\x05\x62\xeb\xd6\xc1\x42"
- "\x46\x74\x80\xf5\xf9\x58\x8d\xb9\x1e\x22\x85\xa0\xf0\x2f\x07\xce\x20\xc4"
- "\xcf\x5b\xed\x94\x1b\x81\xa5\x8f\x80\x1b\x8e\x60\x1d\xb1\xe0\xf8\x50\xbd"
- "\x90\xba\xed\x01\x1c\xb2\x32\xf9\xe1\x63\x81\xa0\xb1\x21\x49\x32\x7b\x21"
- "\xc0\xaa\x23\x98\x9e\xb9\xa9\xda\xb3\x65\x3f\xe9\x45\xed\x60\x5c\x78\x86"
- "\x27\xd8\x03\x59\x16\xf0\x54\x66\xa2\x12\x7d\xe1\xb2\xa5\xc7\xcf\x0f\xa5"
- "\xc5\x91\x4c\xca\xed\x6b\x0b\x96\xbc\x92\x06\xa8\x89\x1e\xbe\x18\x88\x4b"
- "\xb0\xf7\xa9\xea\xaa\x3f\xb0\x11\x87\x9f\xa1\xd6\x37\x0f\x23\xe7\x80\xff"
- "\x53\xa0\x48\x51\x41\xdd\x69\x0e\xf3\xdc\x49\x29\xff\x5d\x80\xa3\xf3\x7b"
- "\xf5\x08\xf3\x7b\xeb\xc3\x42\x3f\x55\x5c\x96\xd2\xda\xf1\xdb\x56\x92\xa7"
- "\x84\x7a\xf1\x24\x95\x42\xe0\xab\xc3\x94\xeb\xbc\xf8\x05\xe1\x3d\x2d\xe3"
- "\xbf\xbc\x20\x1d\x53\xca\x74\xe8\x84\x12\xdc\xed\xa8\x30\x9c\xa0\xbd\x52"
- "\xdb\xe3\x92\x61\xee\xf6\xd4\xc7\x2b\xa1\x07\xdf\x9b\x01\x72\xeb\xc8\xbf"
- "\xb5\xd6\x94\x45\x4a\x7c\x7d\xff\x9f\x1c\x0b\x89\xd8\xb9\x51\x2d\x64\xc1"
- "\x14\x4a\x71\xaf\x45\xfc\x2b\x2e\xc8\x84\x2c\x6c\xa3\xfa\xad\x10\xe3\x06"
- "\xaa\x45\xa5\x94\x59\xd3\x59\x40\xfc\xbc\xb4\x03\x37\xaa\x6b\xe3\x38\x84"
- "\xe5\xa2\x1a\xb6\x0a\xe6\x13\xab\x33\xa7\x7a\x40\x90\x89\x5a\xc5\x62\xf8"
- "\xfd\x22\x23\x38\x7f\x5d\x41\x7f\x76\x98\xe2\xf5\xed\x37\x89\xdf\x83\x4b"
- "\xa0\x52\x1f\x8f\xde\x87\x69\xbe\x11\x35\x88\x84\xa0\x24\x5e\xb4\x09\x93"
- "\x39\x2c\x5f\x99\xd5\x75\x9a\xdb\x73\xa5\x23\x75\x2a\x01\xfc\xf4\x78\x5e"
- "\xa7\x08\x4f\x18\xfa\xaf\x98\xb9\x4a\x04\x79\xcf\x1f\x6b\xd2\x19\xf4\x2d"
- "\x01\xf8\xae\xfc\x93\xe1\x56\x52\x38\x2a\xc8\x1a\x2a\x71\xef\xc6\x23\x19"
- "\x0c\x4d\x8d\x12\xc3\x62\x1e\x23\x2a\x15\x54\x6f\xe2\xfe\x5f\xe3\xd2\xff"
- "\x7d\xf3\x76\x36\xed\x01\x8e\x79\x06\xb8\x8a\xa1\x2e\x9a\x55\x03\x71\xb6"
- "\x52\x8c\xed\x1e\x2b\x24\x51\xda\x6a\x5d\xf3\x55\xde\xa4\x21\x96\x23\x82"
- "\x82\x88\x19\xbc\xeb\x91\x3f\x8e\xd2\xca\xa8\x85\x0a\xf6\x5f\x93\x68\x23"
- "\xb6\xc8\x91\x52\x66\x21\xec\x61\xa0\xf7\xb6\x61\xd9\xd9\x68\xff\x80\xb9"
- "\x26\x54\x43\x7d\xde\xca\x99\x28\x92\xb5\x90\x46\xb9\x90\xb8\xbe\xe4\xc1"
- "\xa6\x0b\xa4\xa2\x32\xf2\x27\x3a\x6b\x47\xee\x0f\xc5\x67\x3b\xa0\x56\x88"
- "\x8e\x44\xff\x93\xd8\x8a\xfb\x21\x77\xbe\xc6\x91\xd0\x3f\xb6\xf2\xff\x59"
- "\x3b\xfe\x30\xa7\x60\xf1\xf9\x34\x51\x69\xd4\x2d\xec\x29\xa7\x74\xf4\xb6"
- "\xb1\xd5\x7e\x14\xea\xa1\xdb\x9f\xf0\x21\xfa\xed\x19\x89\x34\x5e\xa1\x9b"
- "\x15\xca\x6f\x94\x46\xa2\xfd\x49\xb2\x4b\x3d\x2d\xdd\x8d\x83\xde\xb6\x2b"
- "\x07\xc3\xa5\x04\xba\x2f\x78\x3a\xf1\x48\x02\xbf\xd1\x7b\x9c\x24\x5b\x27"
- "\x52\xe2\x3e\xda\x86\x46\x59\xda\xd8\x86\xb2\x34\xe8\x69\xea\xab\xf6\xf6"
- "\x4c\x05\x17\xc5\x2a\xd5\xb8\xeb\xdf\x9f\x87\x6b\xc8\x48\x2a\x0d\x00\xed"
- "\x9a\x99\xbc\x82\x14\x3d\x5c\xb0\x93\x36\x4a\x88\xe7\x59\xd4\x17\x72\x0c"
- "\x79\x56\x13\xed\xb0\x0f\xb2\x74\x84\x67\x55\xa6\x37\x15\x19\x05\x96\xfd"
- "\x9d\x7b\xda\x30\x59\xb5\x20\x33\xef\xef\xd5\x7f\x3e\xb1\x79\x31\xf3\x6b"
- "\xf3\xc5\x1d\xf5\x9f\x6a\xff\xdd\xca\x18\xaa\x7a\x02\xb8\xe6\x2a\x6e\x0e"
- "\x01\x2f\x19\x3e\x1b\x20\x65\x75\xb0\xfd\xa6\x5b\x16\x59\x7d\xb4\xe1\x09"
- "\xd2\x19\x35\x3d\x67\x33\x29\x9e\x30\x0f\x48\x20\xf7\x09\x01\x21\x2a\xaa"
- "\xdc\xe9\xc7\x1a\x31\x8c\xa6\xdd\x28\x19\xcc\x85\x31\x86\x4e\xac\x0b\xa4"
- "\x81\x27\x00\xfb\x67\x3a\x75\x0d\xe3\x02\x90\xfd\xef\x72\x8a\xb6\x8c\xd1"
- "\xe3\x37\x34\x52\xd8\xea\x4f\xd0\x8f\xdd\x5f\xa5\xa2\x85\x4e\xf1\x5d\x0a"
- "\xbd\x73\x41\xbf\x10\x0d\x94\x08\x21\x96\xd5\x0e\xbc\xb0\x11\x7e\x8a\x95"
- "\x6b\xc8\x7e\xdd\x77\x86\xf3\x86\xa2\x4e\x8a\xb9\xe0\xaf\xc4\xae\xcf\x7f"
- "\xda\x1f\x9b\xb5\xe7\x7b\x1e\x1f\x5b\x4e\x77\x16\x0d\x52\x77\x4e\x3d\xc8"
- "\xda\xe1\x59\xcf\x48\xd2\x71\x5e\x29\x25\x4b\xd4\x4f\xad\x04\x77\x10\xf6"
- "\xf7\xb5\x67\x4f\x9f\xf3\xdd\xbd\xf0\xc5\xbd\x11\x0a\x97\xd7\x02\x1f\xf4"
- "\x91\x09\xa1\x80\xac\x92\x05\xbb\x5e\x12\xb0\x41\x98\x84\x8d\xec\x81\xa9"
- "\x6a\x41\x6d\x11\x32\x9f\x77\x01\x75\xe6\x90\x16\x81\xeb\xda\x06\xe8\xb2"
- "\x9f\xdc\xcb\x8a\x8c\x9b\x71\x51\x33\x11\x29\x8d\xfb\x8f\xd3\x97\xae\xee"
- "\x7b\x31\xd9\x11\x21\xfd\xa5\x83\xb7\x1d\x27\x67\x4d\x7c\x88\x8e\xc9\x74"
- "\xe1\x8b\x24\x3d\xc9\x97\xc4\xbe\xd6\xd2\xf7\xbe\x46\xab\x72\xb1\xb4\x79"
- "\x0c\xc4\x60\x39\x59\xe2\x58\x45\x91\x54\x3b\xd3\x16\xb2\xa9\xa4\x6c\x40"
- "\x16\xff\x2d\xfd\x2f\x89\xac\x49\x31\x88\x82\x02\x0f\xc5\x13\x6e\x40\xee"
- "\x23\xb9\x23\xe3\xa2\x51\xbb\x5f\x26\xfc\xe1\x99\xd0\x1e\x11\x1e\xa4\x7a"
- "\xd1\x5d\x7e\xec\x84\xf3\x50\x46\xde\x96\xa3\x07\x85\x12\x86\x09\x2f\x76"
- "\x48\xcb\x5f\xb6\x02\xdd\xd7\xe3\xe1\xaf\x63\xf8\x00\x15\x6d\x34\xd8\xb5"
- "\x12\x49\x6b\x5d\x6b\xf8\x21\xe9\xe6\xfc\x07\xa2\x4f\xfc\x62\xff\x2d\xef"
- "\x48\x24\xbd\xfd\x7e\x0e\x23\x30\x16\xac\x44\x86\x0f\x30\xc4\x84\x52\xf6"
- "\xa0\xf7\xb9\x46\x66\x8a\xc4\xac\xe2\x5a\xc0\xb2\xd7\x05\x5a\x0c\xe5\x4f"
- "\xd9\x39\xea\x52\x9f\x1f\x61\x19\x12\x27\x51\x29\x7e\x86\xd2\x7f\x54\x65"
- "\x68\x09\x2a\x49\x1e\x3c\x7c\x8b\x1c\x84\x32\xe4\x7b\x6f\xe7\x89\xab\xc2"
- "\xa3\xfb\x93\x82\x2b\x9b\x6e\xc5\x1c\x3a\x19\x00\xae\xc6\x0c\x07\x19\xd3"
- "\x8e\x7e\xf3\x1d\x8d\xab\x3e\x0f\x2d\xfa\xdf\x2b\x11\x98\xda\x27\xef\x95"
- "\x36\x61\xec\x90\x24\xcd\x4a\x5e\x17\x0e\x76\x8f\x39\x7b\x70\x39\x69\x59"
- "\xdd\x08\xc9\x54\xb7\x8b\x46\x09\x67\x8f\x2e\xae\x13\x74\x6c\x64\x41\xb3"
- "\x63\x81\x5f\xc0\x2b\xac\xa8\x92\xe0\xee\xcb\xd6\xc0\x91\x58\x03\x2d\x86"
- "\xef\x11\x2a\xa0\xfa\xab\xc1\x40\x3b\x2d\x5d\x04\x61\xb5\x2a\x2a\x9f\x59"
- "\xb3\x1e\xb5\x9b\x67\x83\xa4\x66\x9e\xc5\x4f\xc8\x85\x1f\x7e\xe9\xf5\x6d"
- "\x24\x60\x22\x12\xa8\xf9\x63\xe1\x03\x35\x91\x1a\x67\xd5\x5e\xed\x13\xb0"
- "\x89\xa4\x58\x9b\x75\x29\x66\x87\xac\x37\x71\x4d\xa5\xa5\x36\x9e\x51\xa1"
- "\x29\x94\xeb\xf8\xc8\x06\x11\x19\x36\x54\x97\xc3\xb9\x36\x11\x36\x52\xd4"
- "\x67\x02\x53\x42\x59\xb3\x7e\x63\x01\x22",
- 4096);
- *(uint64_t*)0x2000000016e8 = 0x1000;
- *(uint64_t*)0x2000000016f0 = 0x200000001580;
- memcpy((void*)0x200000001580,
- "\xe4\x8b\x16\x16\x93\x8b\xd4\xcd\x70\x3d\x89\x82\xb0\x95\x72\xdd\x21"
- "\x50\xc6\xad\x10\x2b\x2c\xbf\xc7\x04\x83\xfa\x4a\x44\x56\xfc\x4f\x63"
- "\x6e\x2c\xa3\xe9\x0b\x58\x33\xf7\x35\x20\x69\x16\x49\xf8\x42\xa5\xaf"
- "\x0a\x6f\x31\x0e\x9c\xc0\x46\xe3\x8c\xe8\x6d\x8a\xa0\x00\x57\xda\xec"
- "\x8e\x09\xa7\x1a\x9d\xad\xf9\x4c\x5e\x0f\x9f\x48\x45\x4a\x1d\x3b\x0c"
- "\x4b\x32\x74\xec\xb9\xf4\x1f\x49\x7b\xf3\x82\x38\xf3\xea\xcd\x6a\x34"
- "\x9a\xfd\xb5\x5e\x6a\xc3\xba\x0c\x6a\x67\x22\xf9\x60\xf3\x60\x87\x38"
- "\x65\x74\x7a\x4e\xd5\x27\x05\x6d\x44\xa1\xca\x0f\x2d\x47\x17\xcd\xcd"
- "\x87\x65\xc2\x22\x1d\x0c\x86\x84\xc0\xb8\xb4\xf5\x18\xf7\x47\x6e\xc2"
- "\x94\x10\x02\xc4\x31\x36\x7e\x61\x98\x36\x17\x2d\xa3",
- 166);
- *(uint64_t*)0x2000000016f8 = 0xa6;
- *(uint64_t*)0x200000001700 = 0x200000001640;
- *(uint64_t*)0x200000001708 = 0;
- *(uint64_t*)0x200000001ed8 = 9;
- *(uint64_t*)0x200000001ee0 = 0x200000001dc0;
- *(uint64_t*)0x200000001dc0 = 0x1c;
- *(uint32_t*)0x200000001dc8 = 1;
- *(uint32_t*)0x200000001dcc = 2;
- *(uint32_t*)0x200000001dd0 = r[11];
- *(uint32_t*)0x200000001dd4 = 0;
- *(uint32_t*)0x200000001dd8 = 0;
- *(uint64_t*)0x200000001de0 = 0x1c;
- *(uint32_t*)0x200000001de8 = 1;
- *(uint32_t*)0x200000001dec = 2;
- *(uint32_t*)0x200000001df0 = r[11];
- *(uint32_t*)0x200000001df4 = 0;
- *(uint32_t*)0x200000001df8 = 0;
- *(uint64_t*)0x200000001e00 = 0x1c;
- *(uint32_t*)0x200000001e08 = 1;
- *(uint32_t*)0x200000001e0c = 2;
- *(uint32_t*)0x200000001e10 = 0;
- *(uint32_t*)0x200000001e14 = 0;
- *(uint32_t*)0x200000001e18 = 0;
- *(uint64_t*)0x200000001e20 = 0x2c;
- *(uint32_t*)0x200000001e28 = 1;
- *(uint32_t*)0x200000001e2c = 1;
- *(uint32_t*)0x200000001e30 = r[12];
- *(uint32_t*)0x200000001e34 = r[13];
- *(uint32_t*)0x200000001e38 = -1;
- *(uint32_t*)0x200000001e3c = r[14];
- *(uint32_t*)0x200000001e40 = r[15];
- *(uint32_t*)0x200000001e44 = r[16];
- *(uint32_t*)0x200000001e48 = r[17];
- *(uint64_t*)0x200000001e50 = 0x34;
- *(uint32_t*)0x200000001e58 = 1;
- *(uint32_t*)0x200000001e5c = 1;
- *(uint32_t*)0x200000001e60 = r[18];
- *(uint32_t*)0x200000001e64 = r[19];
- *(uint32_t*)0x200000001e68 = -1;
- *(uint32_t*)0x200000001e6c = -1;
- *(uint32_t*)0x200000001e70 = r[20];
- *(uint32_t*)0x200000001e74 = -1;
- *(uint32_t*)0x200000001e78 = -1;
- *(uint32_t*)0x200000001e7c = r[21];
- *(uint32_t*)0x200000001e80 = -1;
- *(uint64_t*)0x200000001e88 = 0x1c;
- *(uint32_t*)0x200000001e90 = 1;
- *(uint32_t*)0x200000001e94 = 2;
- *(uint32_t*)0x200000001e98 = r[23];
- *(uint32_t*)0x200000001e9c = r[26];
- *(uint32_t*)0x200000001ea0 = r[27];
- *(uint64_t*)0x200000001ee8 = 0xe8;
- *(uint32_t*)0x200000001ef0 = 0x4000000;
- syscall(__NR_sendmsg, /*fd=*/-1, /*msg=*/0x200000001ec0ul,
- /*f=MSG_BATCH*/ 0x40000ul);
- *(uint8_t*)0x200000000040 = 0;
- syscall(__NR_prctl, /*option=*/0x3bul, /*mode=*/1ul, /*offset=*/0ul,
- /*len=*/0ul, /*selector=*/0x200000000040ul);
- syz_pidfd_open(/*pid=*/r[11], /*flags=*/0);
- syscall(__NR_fadvise64, /*fd=*/r[13], /*offset=*/8ul,
- /*len=*/0x1ffffffffffcul, /*advice=POSIX_FADV_DONTNEED*/ 4ul);
- memcpy((void*)0x200000000000, "./bus\000", 6);
- res =
- syscall(__NR_open, /*file=*/0x200000000000ul,
- /*flags=O_NOFOLLOW|O_NOCTTY|O_NOATIME|O_CREAT|O_RDWR*/ 0x60142ul,
- /*mode=*/0ul);
- if (res != -1)
- r[28] = res;
- memcpy((void*)0x200000000080, "./bus\000", 6);
- res = syscall(__NR_open, /*file=*/0x200000000080ul,
- /*flags=O_SYNC|O_NOCTTY|O_DIRECT|O_CLOEXEC|O_RDWR*/ 0x185102ul,
- /*mode=*/0ul);
- if (res != -1)
- r[29] = res;
- syscall(__NR_ftruncate, /*fd=*/r[29], /*len=*/0x2007ffbul);
- syscall(__NR_sendfile, /*fdout=*/r[28], /*fdin=*/r[29], /*off=*/0ul,
- /*count=*/0x1000000201005ul);
- *(uint32_t*)0x200000000000 = r[11];
- syscall(__NR_ioctl, /*fd=*/r[28], /*cmd=*/0x8902, /*arg=*/0x200000000000ul);
- res = syscall(__NR_socket, /*domain=*/2ul, /*type=*/2ul, /*proto=*/0x88);
- if (res != -1)
- r[30] = res;
- memcpy((void*)0x200000000040, "memory.events\000", 14);
- syscall(__NR_openat, /*fd=*/0xffffff9c, /*file=*/0x200000000040ul,
- /*flags=*/0x275a, /*mode=*/0);
- memcpy((void*)0x200000000140, "memory.events\000", 14);
- syscall(__NR_openat, /*fd=*/0xffffff9c, /*file=*/0x200000000140ul,
- /*flags=*/0x7a05, /*mode=*/0x1700);
- memcpy((void*)0x200000000140, "memory.events\000", 14);
- res = syscall(__NR_openat, /*fd=*/0xffffff9c, /*file=*/0x200000000140ul,
- /*flags=*/0x7a05, /*mode=*/0x1700);
- if (res != -1)
- r[31] = res;
- sprintf((char*)0x200000000200, "0x%016llx", (long long)0);
- syscall(__NR_write, /*fd=*/r[31], /*buf=*/0x200000000200ul, /*len=*/0xf000ul);
- sprintf((char*)0x200000000200, "0x%016llx", (long long)0xfffffffffffffffe);
- syscall(__NR_write, /*fd=*/r[31], /*buf=*/0x200000000200ul, /*len=*/0x12ul);
- *(uint32_t*)0x200000000280 = 5;
- res = syscall(__NR_getsockopt, /*fd=*/r[30], /*level=*/1, /*optname=*/0x11,
- /*optval=*/0x200000000240ul, /*optlen=*/0x200000000280ul);
- if (res != -1)
- r[32] = *(uint32_t*)0x200000000244;
- syscall(__NR_setreuid, /*ruid=*/0, /*euid=*/r[32]);
- memcpy((void*)0x200000000180, "fd/3\000", 5);
- syz_open_procfs(/*pid=*/0, /*file=*/0x200000000180);
- res = syscall(__NR_socket, /*domain=*/0x10ul, /*type=*/3ul,
- /*proto=NETLINK_USERSOCK*/ 2);
- if (res != -1)
- r[33] = res;
- memcpy((void*)0x200000000040, "memory.events\000", 14);
- res = syscall(__NR_openat, /*fd=*/0xffffff9c, /*file=*/0x200000000040ul,
- /*flags=*/0x275a, /*mode=*/0);
- if (res != -1)
- r[34] = res;
- memcpy((void*)0x200000000140, "memory.events\000", 14);
- res = syscall(__NR_openat, /*fd=*/0xffffff9c, /*file=*/0x200000000140ul,
- /*flags=*/0x7a05, /*mode=*/0x1700);
- if (res != -1)
- r[35] = res;
- sprintf((char*)0x200000000200, "0x%016llx", (long long)0);
- syscall(__NR_write, /*fd=*/r[35], /*buf=*/0x200000000200ul, /*len=*/0xf000ul);
- syscall(__NR_sendfile, /*fdout=*/r[35], /*fdin=*/r[34], /*off=*/0ul,
- /*count=*/0xf03afffeul);
- syscall(__NR_ioctl, /*fd=*/r[34], /*cmd=*/0x6611, 0);
- res = syscall(__NR_socket, /*domain=*/0xaul, /*type=*/1ul, /*proto=*/0);
- if (res != -1)
- r[36] = res;
- *(uint32_t*)0x200000000080 = 1;
- syscall(__NR_setsockopt, /*fd=*/r[36], /*level=*/6,
- /*optname=TCP_THIN_LINEAR_TIMEOUTS|TCP_CORK*/ 0x13,
- /*optval=*/0x200000000080ul, /*optlen=*/4ul);
- *(uint16_t*)0x200000000200 = 0xa;
- *(uint16_t*)0x200000000202 = htobe16(0);
- *(uint32_t*)0x200000000204 = htobe32(0);
- *(uint64_t*)0x200000000208 = htobe64(0);
- *(uint64_t*)0x200000000210 = htobe64(1);
- *(uint32_t*)0x200000000218 = 0;
- syscall(__NR_connect, /*fd=*/r[36], /*addr=*/0x200000000200ul,
- /*addrlen=*/0x1cul);
- *(uint32_t*)0x200000000300 = 2;
- syscall(__NR_setsockopt, /*fd=*/r[36], /*level=*/6, /*optname=*/0x14,
- /*optval=*/0x200000000300ul, /*optlen=*/0x54ul);
- *(uint64_t*)0x200000000e80 = 0x200000000080;
- *(uint16_t*)0x200000000080 = 0xa;
- *(uint16_t*)0x200000000082 = htobe16(0);
- *(uint32_t*)0x200000000084 = htobe32(0);
- memset((void*)0x200000000088, 0, 10);
- memset((void*)0x200000000092, 255, 2);
- *(uint32_t*)0x200000000094 = htobe32(0);
- *(uint32_t*)0x200000000098 = 0;
- *(uint32_t*)0x200000000e88 = 0x1c;
- *(uint64_t*)0x200000000e90 = 0;
- *(uint64_t*)0x200000000e98 = 0;
- *(uint64_t*)0x200000000ea0 = 0x2000000005c0;
- *(uint64_t*)0x200000000ea8 = 0;
- *(uint32_t*)0x200000000eb0 = 0;
- *(uint32_t*)0x200000000eb8 = 0;
- *(uint64_t*)0x200000000ec0 = 0x200000000600;
- *(uint16_t*)0x200000000600 = 0xa;
- *(uint16_t*)0x200000000602 = htobe16(0);
- *(uint32_t*)0x200000000604 = htobe32(0);
- *(uint8_t*)0x200000000608 = -1;
- *(uint8_t*)0x200000000609 = 2;
- memset((void*)0x20000000060a, 0, 13);
- *(uint8_t*)0x200000000617 = 1;
- *(uint32_t*)0x200000000618 = 0;
- *(uint32_t*)0x200000000ec8 = 0x1c;
- *(uint64_t*)0x200000000ed0 = 0;
- *(uint64_t*)0x200000000ed8 = 0;
- *(uint64_t*)0x200000000ee0 = 0x200000000000;
- *(uint64_t*)0x200000000000 = 0;
- *(uint32_t*)0x200000000008 = 0x29;
- *(uint32_t*)0x20000000000c = 0x3e;
- *(uint32_t*)0x200000000010 = 0;
- *(uint64_t*)0x200000000ee8 = 0x18;
- *(uint32_t*)0x200000000ef0 = 0;
- *(uint32_t*)0x200000000ef8 = 0;
- syscall(__NR_sendmmsg, /*fd=*/r[36], /*mmsg=*/0x200000000e80ul,
- /*vlen=*/0x10ul, /*f=*/0ul);
- *(uint64_t*)0x200000000040 = 0;
- *(uint32_t*)0x200000000048 = 0;
- *(uint64_t*)0x200000000050 = 0x200000002ec0;
- *(uint64_t*)0x200000002ec0 = 0x200000000000;
- *(uint32_t*)0x200000000000 = 0x1c;
- *(uint16_t*)0x200000000004 = 0x6a;
- *(uint16_t*)0x200000000006 = 1;
- *(uint32_t*)0x200000000008 = 0;
- *(uint32_t*)0x20000000000c = 0;
- *(uint16_t*)0x200000000010 = 8;
- STORE_BY_BITMASK(uint16_t, , 0x200000000012, 0, 0, 14);
- STORE_BY_BITMASK(uint16_t, , 0x200000000013, 0, 6, 1);
- STORE_BY_BITMASK(uint16_t, , 0x200000000013, 0, 7, 1);
- *(uint32_t*)0x200000000014 = -1;
- memset((void*)0x200000000018, 46, 1);
- *(uint64_t*)0x200000002ec8 = 0x1c;
- *(uint64_t*)0x200000000058 = 1;
- *(uint64_t*)0x200000000060 = 0;
- *(uint64_t*)0x200000000068 = 0;
- *(uint32_t*)0x200000000070 = 0;
- syscall(__NR_sendmsg, /*fd=*/r[33], /*msg=*/0x200000000040ul, /*f=*/0ul);
- syscall(__NR_socket, /*domain=*/0xaul, /*type=*/3ul, /*proto=*/0x3a);
- syscall(__NR_getpid);
- res = syscall(__NR_socketpair, /*domain=*/1ul,
- /*type=SOCK_DGRAM|SOCK_STREAM*/ 3ul, /*proto=*/0,
- /*fds=*/0x200000000080ul);
- if (res != -1) {
- r[37] = *(uint32_t*)0x200000000080;
- r[38] = *(uint32_t*)0x200000000084;
- }
- *(uint16_t*)0x20000057eff8 = 0;
- memcpy((void*)0x20000057effa,
- "./"
- "file0\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
- "\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
- "\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
- "\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
- "\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
- "\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000",
- 108);
- syscall(__NR_connect, /*fd=*/r[37], /*addr=*/0x20000057eff8ul,
- /*addrlen=*/0x6eul);
- syscall(__NR_sendmmsg, /*fd=*/r[38], /*mmsg=*/0x2000000bd000ul,
- /*vlen=*/0x318ul, /*f=*/0ul);
- res = syscall(__NR_epoll_create1, /*flags=*/0ul);
- if (res != -1)
- r[39] = res;
- *(uint32_t*)0x200000000004 = 0;
- *(uint32_t*)0x200000000008 = 0;
- *(uint32_t*)0x20000000000c = 0;
- *(uint32_t*)0x200000000010 = 0;
- *(uint32_t*)0x200000000018 = -1;
- memset((void*)0x20000000001c, 0, 12);
- res = -1;
- res = syz_io_uring_setup(/*entries=*/0x163c, /*params=*/0x200000000000,
- /*ring_ptr=*/0x2000000000c0,
- /*sqes_ptr=*/0x2000000001c0);
- if (res != -1)
- r[40] = res;
- syscall(__NR_io_uring_register, /*fd=*/r[40], /*opcode=*/0x1cul, /*arg=*/0ul,
- /*size=*/0ul);
- *(uint32_t*)0x200000000200 = 0x50004000;
- *(uint64_t*)0x200000000204 = 0;
- syscall(__NR_epoll_ctl, /*epfd=*/r[39], /*op=*/1ul, /*fd=*/r[37],
- /*ev=*/0x200000000200ul);
- *(uint32_t*)0x200000000000 = r[38];
- *(uint16_t*)0x200000000004 = 0x1200;
- *(uint16_t*)0x200000000006 = 0;
- syscall(__NR_ppoll, /*fds=*/0x200000000000ul, /*nfds=*/1ul, /*tsp=*/0ul,
- /*sigmask=*/0ul, /*size=*/0ul);
- syscall(__NR_close, /*fd=*/r[37]);
- res = syscall(__NR_socket, /*domain=*/0xaul, /*type=SOCK_RAW*/ 3ul,
- /*proto=*/0x22);
- if (res != -1)
- r[41] = res;
- *(uint64_t*)0x200000000740 = 0x200000000340;
- *(uint32_t*)0x200000000748 = 0x6e;
- *(uint64_t*)0x200000000750 = 0x200000000680;
- *(uint64_t*)0x200000000680 = 0x2000000003c0;
- *(uint64_t*)0x200000000688 = 0xfa;
- *(uint64_t*)0x200000000690 = 0x2000000004c0;
- *(uint64_t*)0x200000000698 = 0xc0;
- *(uint64_t*)0x2000000006a0 = 0x200000000580;
- *(uint64_t*)0x2000000006a8 = 0x77;
- *(uint64_t*)0x2000000006b0 = 0x200000000600;
- *(uint64_t*)0x2000000006b8 = 0x2a;
- *(uint64_t*)0x200000000758 = 4;
- *(uint64_t*)0x200000000760 = 0x2000000006c0;
- *(uint64_t*)0x200000000768 = 0x60;
- *(uint32_t*)0x200000000770 = 0;
- syscall(
- __NR_recvmsg, /*fd=*/r[38], /*msg=*/0x200000000740ul,
- /*f=MSG_WAITFORONE|MSG_WAITALL|MSG_TRUNC|MSG_PEEK|MSG_ERRQUEUE|MSG_DONTWAIT*/
- 0x12162ul, 0);
- syscall(__NR_unshare, /*flags=*/0ul);
- memcpy((void*)0x200000000100, "./file0\000", 8);
- syscall(__NR_mkdirat, /*fd=*/0xffffff9c, /*path=*/0x200000000100ul,
- /*mode=*/0ul);
- memset((void*)0x200000000640, 0, 1);
- res = syscall(
- __NR_open_tree, /*dfd=*/0xffffff9c, /*filename=*/0x200000000640ul,
- /*flags=OPEN_TREE_CLOEXEC|OPEN_TREE_CLONE|AT_SYMLINK_NOFOLLOW|AT_RECURSIVE|AT_NO_AUTOMOUNT|AT_EMPTY_PATH*/
- 0x89901ul);
- if (res != -1)
- r[42] = res;
- memcpy((void*)0x200000000140, ".\000", 2);
- memcpy((void*)0x200000000180, "./file0\000", 8);
- syscall(__NR_move_mount, /*from_dfd=*/r[42],
- /*from_pathname=*/0x200000000140ul, /*to_dfd=*/0xffffff9c,
- /*to_pathname=*/0x200000000180ul,
- /*flags=MOVE_MOUNT_SET_GROUP|MOVE_MOUNT_F_EMPTY_PATH*/ 0x104ul);
- *(uint32_t*)0x200000000000 = 0x688;
- syscall(__NR_setsockopt, /*fd=*/r[41], /*level=*/1,
- /*optname=SO_TIMESTAMPING_OLD*/ 0x25, /*optval=*/0x200000000000ul,
- /*optlen=*/4ul);
- memcpy((void*)0x200000000a00, "cgroup2\000", 8);
- res = syscall(__NR_fsopen, /*type=*/0x200000000a00ul, /*flags=*/0ul);
- if (res != -1)
- r[43] = res;
- memcpy((void*)0x200000000340, "/dev/net/tun\000", 13);
- res = syscall(__NR_openat, /*fd=*/0xffffffffffffff9cul,
- /*file=*/0x200000000340ul, /*flags=*/0, /*mode=*/0);
- if (res != -1)
- r[44] = res;
- memcpy((void*)0x200000000080, "memory.numa_stat\000", 17);
- res = syscall(__NR_openat, /*fd=*/0xffffff9c, /*file=*/0x200000000080ul,
- /*flags=*/0x275a, /*mode=*/0);
- if (res != -1)
- r[45] = res;
- memcpy((void*)0x200000000200,
- "\x99\x3e\x48\x3c\xb1\x8e\xc3\x1a\x9c\xd7\x98\x9a\xc5\x41\xef\xcb\x16"
- "\xa2\xd3\x49\x64\x35\x24\x1f\xbe\x28\x2f\x28\x40\x92\x84\xd4\x75\xc1"
- "\x27\x16\x8c\x51\xa3\xe7\x60\xb2\xe3\x97\x6c\x1e\xc7\x52\xc7\x7f\xbe"
- "\x3f\x33\x61\x14\x02\x21\x1c\x81\xe4\xca\x19\xdc\xf6\x84\x18\x31\x81"
- "\x9e\x99\x33\x32\x34\x83\xae\xc8\xac\x78\xa2\x1c\x01",
- 81);
- syscall(__NR_write, /*fd=*/r[45], /*buf=*/0x200000000200ul, /*count=*/0x51ul);
- syscall(__NR_mmap, /*addr=*/0x200000000000ul, /*len=*/0xb36000ul,
- /*prot=PROT_READ|0x800000*/ 0x800001ul,
- /*flags=MAP_STACK|MAP_POPULATE|MAP_FIXED|MAP_SHARED*/ 0x28011ul,
- /*fd=*/r[45], /*offset=*/0ul);
- memcpy((void*)0x200000000040, "veth1_macvtap\000\000\000", 16);
- *(uint16_t*)0x200000000050 = 0;
- syscall(__NR_ioctl, /*fd=*/r[44], /*cmd=*/0x400454ca,
- /*arg=*/0x200000000040ul);
- res = syscall(__NR_socket, /*domain=*/0x10ul, /*type=*/3ul, /*proto=*/0);
- if (res != -1)
- r[46] = res;
- syscall(__NR_pread64, /*fd=*/r[44], /*buf=*/0x200000000440ul,
- /*count=*/0x7eul, /*pos=*/0ul);
- syscall(__NR_close, /*fd=*/r[44]);
- memcpy((void*)0x200000000040, "syzkaller1\000\000\000\000\000\000", 16);
- *(uint16_t*)0x200000000050 = 2;
- *(uint16_t*)0x200000000052 = htobe16(0);
- *(uint8_t*)0x200000000054 = 0xac;
- *(uint8_t*)0x200000000055 = 0x14;
- *(uint8_t*)0x200000000056 = 0x14;
- *(uint8_t*)0x200000000057 = 0xbb;
- syscall(__NR_ioctl, /*fd=*/r[46], /*cmd=*/0x8914, /*arg=*/0x200000000040ul);
- *(uint64_t*)0x200000000000 = 0;
- syscall(__NR_fcntl, /*fd=*/r[43], /*cmd=*/0x40cul, /*hint=*/0x200000000000ul);
- memcpy((void*)0x200000000240, "/dev/autofs\000", 12);
- syscall(__NR_openat, /*fd=*/0xffffffffffffff9cul, /*file=*/0x200000000240ul,
- /*flags=O_NONBLOCK|O_NOATIME*/ 0x40800, /*mode=*/0);
- memcpy((void*)0x2000000005c0, "ext4\000", 5);
- memcpy((void*)0x200000000000, "./file0\000", 8);
- *(uint8_t*)0x200000000b00 = 0;
- memcpy(
- (void*)0x200000000600,
- "\x78\x9c\xec\xdd\x4d\x6f\x54\x5f\x19\x00\xf0\x67\xa6\x6f\xd3\x52\x68\x41"
- "\x16\x6a\x54\x10\x51\x34\x84\x69\x3b\x40\x43\x58\x28\xae\x8c\x31\x24\x46"
- "\x96\x9a\x40\x6d\x87\xa6\xe9\x4c\xa7\xe9\x4c\x91\x56\x16\xe5\x3b\x98\x48"
- "\xe2\x4a\x97\x7e\x00\xd7\xac\xdc\xbb\x31\xba\x73\x83\x0b\x13\x5f\x1a\x0d"
- "\x25\x71\x31\xff\xdc\x3b\xb7\x65\x28\x1d\xda\x3f\x7d\x19\xd2\xf9\xfd\x92"
- "\x9b\x7b\xcf\x39\x33\xf3\x9c\xc3\xe4\x9e\xc3\x3c\x84\x7b\x02\xe8\x59\x97"
- "\x23\x62\x23\x22\x06\x23\xe2\x51\x44\x8c\x65\xf5\xb9\xec\x88\x7b\xad\x23"
- "\x79\xdd\xeb\xcd\x67\xb3\x5b\x9b\xcf\x66\x73\xd1\x6c\x3e\xf8\x77\x2e\x6d"
- "\x4f\xea\xa2\xed\x3d\x89\x33\xd9\x67\x16\x22\xe2\x27\x3f\x88\xf8\x79\xee"
- "\xfd\xb8\xf5\xb5\xf5\xc5\x99\x4a\xa5\xbc\x92\x95\x27\x1a\xd5\xe5\x89\xfa"
- "\xda\xfa\x8d\x85\xea\xcc\x7c\x79\xbe\xbc\x54\x2a\x4d\x4f\x4d\x4f\xde\xb9"
- "\x79\xbb\x74\x64\x63\xbd\x54\x1d\xcc\xae\xbe\xfa\xea\x4f\x1b\xdf\xf9\x65"
- "\xd2\xad\xd1\xac\xa6\x7d\x1c\x47\xa9\x35\xf4\x81\x9d\x38\x89\xfe\x88\xf8"
- "\xd1\x71\x04\xeb\x82\xbe\x6c\x3c\x83\xdd\xee\x08\x1f\x25\x1f\x11\x17\x22"
- "\xe2\x4a\x7a\xff\x8f\x45\x5f\xfa\x6d\x02\x00\xa7\x59\xb3\x39\x16\xcd\xb1"
- "\xf6\x32\x00\x70\xda\xe5\xd3\x1c\x58\x2e\x5f\xcc\x72\x01\xa3\x91\xcf\x17"
- "\x8b\xad\x1c\xde\xc5\x18\xc9\x57\x6a\xf5\xc6\xf5\xc7\xb5\xd5\xa5\xb9\x56"
- "\xae\x6c\x3c\x06\xf2\x8f\x17\x2a\xe5\xc9\x2c\x57\x38\x1e\x03\xb9\xa4\x3c"
- "\x95\x5e\xbf\x2d\x97\x76\x95\x6f\x46\xc4\xf9\x88\xf8\xd5\xd0\x70\x5a\x2e"
- "\xce\xd6\x2a\x73\xdd\xfc\x8b\x0f\x00\xf4\xb0\x33\xbb\xd6\xff\xff\x0d\xb5"
- "\xd6\x7f\x00\xe0\x94\x2b\x74\xbb\x03\x00\xc0\x89\xb3\xfe\x03\x40\xef\xb1"
- "\xfe\x03\x40\xef\xb1\xfe\x03\x40\xef\xb1\xfe\x03\x40\xef\xb1\xfe\x03\x40"
- "\xef\xb1\xfe\x03\x40\x4f\xf9\xf1\xfd\xfb\xc9\xd1\xdc\xca\x9e\x7f\x3d\xf7"
- "\x64\x6d\x75\xb1\xf6\xe4\xc6\x5c\xb9\xbe\x58\xac\xae\xce\x16\x67\x6b\x2b"
- "\xcb\xc5\xf9\x5a\x6d\x3e\x7d\x66\x4f\x75\xbf\xcf\xab\xd4\x6a\xcb\x53\xb7"
- "\x62\xf5\xe9\xf8\x77\x97\xeb\x8d\x89\xfa\xda\xfa\xc3\x6a\x6d\x75\xa9\xf1"
- "\x30\x7d\xae\xf7\xc3\xf2\xc0\x89\x8c\x0a\x00\xf8\x90\xf3\x97\x5e\xfe\x35"
- "\x17\x11\x1b\x77\x87\xd3\x23\xda\xf6\x72\xb0\x56\xc3\xe9\x96\xef\x76\x07"
- "\x80\xae\xe9\xeb\x76\x07\x80\xae\xb1\xdb\x17\xf4\xae\x43\xfc\xc6\x97\x1e"
- "\x80\x53\x62\x8f\x2d\x7a\xdf\x51\x88\x88\xe1\xdd\x95\xcd\x66\xb3\x79\x7c"
- "\x5d\x02\x8e\xd9\xb5\x2f\xc9\xff\x43\xaf\x92\xff\x87\xde\x25\xff\x0f\xbd"
- "\x4b\xfe\x1f\x7a\x57\xb3\x99\x3b\xe8\x9e\xff\x71\xd0\x17\x02\x00\x9f\x36"
- "\x39\x7e\xa0\xc3\xbf\xff\x5f\xc8\xce\xbf\xcf\x1e\x11\xf2\xb3\xb9\xdd\xaf"
- "\x78\x71\x9c\xbd\x02\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
- "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x80\x4f\xdb\xf6\xfe\xbf\xc5\x6c"
- "\x2f\xf0\xd1\xc8\xe7\x8b\xc5\x88\xb3\x11\x31\x1e\x03\xb9\xc7\x0b\x95\xf2"
- "\x64\x44\x9c\x8b\x88\xbf\x0c\x0d\x0c\x25\xe5\xa9\x2e\xf7\x19\x00\x38\xac"
- "\xfc\x3f\x72\xd9\xfe\x5f\xd7\xc6\xae\x8e\xee\x6e\x1d\xcc\xbd\x19\x4a\xcf"
- "\x11\xf1\x8b\xdf\x3c\xf8\xf5\xd3\x99\x46\x63\xe5\xcf\x49\xfd\x7f\x76\xea"
- "\x1b\x2f\xb2\xfa\x52\x37\xfa\x0f\x00\xec\x67\x7b\x9d\x4e\xcf\x6d\x3f\xe4"
- "\x5f\x6f\x3e\x9b\xdd\x3e\x4e\xb2\x3f\xff\xfc\x7e\x44\x14\x5a\xf1\xb7\x36"
- "\x07\x63\x6b\x27\x7e\x7f\xf4\xa7\xe7\x42\x0c\x44\xc4\xc8\x7f\x73\x59\xb9"
- "\x25\xd7\x96\xbb\x38\x8c\x8d\xe7\x11\xf1\xc5\xbd\xc6\x9f\x8b\xd1\x34\x07"
- "\xd2\xda\xf9\x74\x77\xfc\x24\xf6\xd9\x13\x8d\x9f\x7f\x27\x7e\x3e\x6d\x6b"
- "\x9d\x93\x3f\x8b\x2f\x1c\x41\x5f\xa0\xd7\xbc\x4c\xe6\x9f\x7b\x7b\xdd\x7f"
- "\xf9\xb8\x9c\x9e\xf7\xbe\xff\x0b\xe9\x0c\x75\x78\xd9\xfc\x97\x7c\xd4\xec"
- "\x56\x3a\x07\xbe\x8d\xbf\x3d\xff\xf5\x75\x98\xff\x2e\x1f\x34\xc6\xad\x3f"
- "\xfe\xb0\x75\x35\xfc\x7e\xdb\xf3\x88\x2f\xf7\x47\x6c\xc7\xde\x6a\x9b\x7f"
- "\xb6\xe3\xe7\x3a\xc4\xbf\x7a\xc0\xf8\x7f\xfb\xca\xd7\xae\x74\x6a\x6b\xfe"
- "\x36\xe2\x5a\xec\x1d\xbf\x3d\xd6\x44\xa3\xba\x3c\x51\x5f\x5b\xbf\xb1\x50"
- "\x9d\x99\x2f\xcf\x97\x97\x4a\xa5\xe9\xa9\xe9\xc9\x3b\x37\x6f\x97\x26\xd2"
- "\x1c\xf5\x44\xe7\xd5\xe0\x5f\x77\xaf\x9f\xeb\xd4\x96\x8c\x7f\xa4\x43\xfc"
- "\xc2\x3e\xe3\xff\xe6\x01\xc7\xff\xbb\xff\x3f\xfa\xe9\xd7\x3f\x10\xff\xdb"
- "\xdf\xd8\x2b\x7e\x3e\x2e\x7e\x20\x7e\xb2\x26\x7e\xeb\x80\xf1\x67\x46\xfe"
- "\x50\xe8\xd4\x96\xc4\x9f\xeb\x30\xfe\xfd\xbe\xff\xeb\x07\x8c\xff\xea\xef"
- "\xeb\xef\x6d\x1b\x0e\x00\x74\x4f\x7d\x6d\x7d\x71\xa6\x52\x29\xaf\xb8\x70"
- "\xe1\xe2\x30\x17\xdf\x3b\xa9\x58\x83\xf1\xb9\xde\xd5\x6c\x7e\x54\xac\x4e"
- "\x33\xc6\x51\x64\xdd\x80\x4f\xc1\xce\x4d\x1f\x11\x6f\xba\xdd\x19\x00\x00"
- "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x60\x4f\x27\xf1\x3f\x96\xba\x3d\x46"
- "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
- "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
- "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
- "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
- "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
- "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
- "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
- "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
- "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
- "\x00\x00\x00\x00\x00\x00\x4e\xaf\xcf\x02\x00\x00\xff\xff\x77\x94\xd3"
- "\xd4",
- 1242);
- syz_mount_image(/*fs=*/0x2000000005c0, /*dir=*/0x200000000000,
- /*flags=MS_I_VERSION|MS_RELATIME|MS_NODEV*/ 0xa00004,
- /*opts=*/0x200000000b00, /*chdir=*/4, /*size=*/0x4da,
- /*img=*/0x200000000600);
- syscall(__NR_ioctl, /*fd=*/-1, /*cmd=*/0x8922, /*arg=*/0ul);
- memcpy((void*)0x200000000180, "./file1/file4\000", 14);
- syscall(__NR_mount, /*src=*/0xfffff000ul, /*dst=*/0x200000000180ul,
- /*type=*/0ul, /*flags=*/0ul, /*opts=*/0ul);
- res = syscall(__NR_getpgrp, /*pid=*/-1);
- if (res != -1)
- r[47] = res;
- memcpy((void*)0x200000000040, "memory.current\000", 15);
- res = syscall(__NR_openat, /*fd=*/0xffffff9c, /*file=*/0x200000000040ul,
- /*flags=*/0x275a, /*mode=*/0);
- if (res != -1)
- r[48] = res;
- *(uint32_t*)0x20000001d000 = 0;
- *(uint32_t*)0x20000001d004 = 0x80;
- *(uint8_t*)0x20000001d008 = 0;
- *(uint8_t*)0x20000001d009 = 0;
- *(uint8_t*)0x20000001d00a = 0;
- *(uint8_t*)0x20000001d00b = 0;
- *(uint32_t*)0x20000001d00c = 0;
- *(uint64_t*)0x20000001d010 = 0;
- *(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, 0, 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 = 0x7375;
- *(uint64_t*)0x20000001d040 = 0x40;
- *(uint64_t*)0x20000001d048 = 0;
- *(uint64_t*)0x20000001d050 = 0;
- *(uint32_t*)0x20000001d058 = 0;
- *(uint32_t*)0x20000001d05c = 0;
- *(uint64_t*)0x20000001d060 = 0;
- *(uint32_t*)0x20000001d068 = 0;
- *(uint16_t*)0x20000001d06c = 0;
- *(uint16_t*)0x20000001d06e = 0;
- *(uint32_t*)0x20000001d070 = 0;
- *(uint32_t*)0x20000001d074 = 0;
- *(uint64_t*)0x20000001d078 = 0x40010000000;
- res = syscall(__NR_perf_event_open, /*attr=*/0x20000001d000ul, /*pid=*/0,
- /*cpu=*/0ul, /*group=*/-1, /*flags=*/0ul);
- if (res != -1)
- r[49] = res;
- memcpy((void*)0x200000000100, "#! ", 3);
- *(uint8_t*)0x200000000103 = 0xa;
- syscall(__NR_write, /*fd=*/r[48], /*data=*/0x200000000100ul, /*len=*/4ul);
- syscall(__NR_mmap, /*addr=*/0x200000072000ul, /*len=*/0x1000ul,
- /*prot=PROT_GROWSUP|PROT_SEM|PROT_WRITE|PROT_READ*/ 0x200000bul,
- /*flags=MAP_STACK|MAP_POPULATE|MAP_FIXED|MAP_SHARED*/ 0x28011ul,
- /*fd=*/r[49], /*offset=*/0ul);
- res = syscall(__NR_socket, /*domain=*/0xaul, /*type=*/1ul, /*proto=*/0);
- if (res != -1)
- r[50] = res;
- *(uint32_t*)0x2000000001c0 = 0;
- syscall(__NR_getsockopt, /*fd=*/r[50], /*level=*/6,
- /*optname=TCP_WINDOW_CLAMP*/ 0xa, /*optval=*/0ul,
- /*optlen=*/0x2000000001c0ul);
- *(uint64_t*)0x2000000015c0 = 0x200000000080;
- *(uint64_t*)0x2000000015c8 = 0xffffffff000;
- syscall(__NR_preadv, /*fd=*/r[48], /*vec=*/0x2000000015c0ul, /*vlen=*/5ul,
- /*off_low=*/0, /*off_high=*/0);
- res = -1;
- res = syz_pidfd_open(/*pid=*/r[47], /*flags=*/0);
- if (res != -1)
- r[51] = res;
- syscall(__NR_ioctl, /*fd=*/r[51], /*cmd=*/0xff06, /*arg=*/0ul);
- *(uint32_t*)0x20000001d000 = 0;
- *(uint32_t*)0x20000001d004 = 0x80;
- *(uint8_t*)0x20000001d008 = 0;
- *(uint8_t*)0x20000001d009 = 0;
- *(uint8_t*)0x20000001d00a = 0;
- *(uint8_t*)0x20000001d00b = 0;
- *(uint32_t*)0x20000001d00c = 0;
- *(uint64_t*)0x20000001d010 = 0xb9a;
- *(uint64_t*)0x20000001d018 = 0;
- *(uint64_t*)0x20000001d020 = 0xe;
- 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, 0, 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 = 0x8000;
- *(uint64_t*)0x20000001d040 = 0;
- *(uint64_t*)0x20000001d048 = 0;
- *(uint64_t*)0x20000001d050 = 0;
- *(uint32_t*)0x20000001d058 = 0;
- *(uint32_t*)0x20000001d05c = 0;
- *(uint64_t*)0x20000001d060 = 0;
- *(uint32_t*)0x20000001d068 = 0x5a;
- *(uint16_t*)0x20000001d06c = 0;
- *(uint16_t*)0x20000001d06e = 0;
- *(uint32_t*)0x20000001d070 = 0;
- *(uint32_t*)0x20000001d074 = 0;
- *(uint64_t*)0x20000001d078 = 0;
- res = syscall(__NR_perf_event_open, /*attr=*/0x20000001d000ul, /*pid=*/0,
- /*cpu=*/0ul, /*group=*/-1, /*flags=*/0ul);
- if (res != -1)
- r[52] = res;
- res = syscall(__NR_socket, /*domain=AF_NETLINK*/ 0x10ul,
- /*type=SOCK_RAW*/ 3ul, /*proto=*/0);
- if (res != -1)
- r[53] = res;
- memcpy((void*)0x200000000140,
- "\x26\x00\x00\x00\x22\x00\x47\x01\x05\x00\x00\x07\x00\x00\x00\x00\x00"
- "\x00\x00\x20\x00\x2b\x1f\x00\x0a\x4a\x51\xf1\xee\x83\x9c\xd5\x34\x00"
- "\xb0\x17\xca\x5b",
- 38);
- syscall(__NR_write, /*fd=*/r[53], /*buf=*/0x200000000140ul, /*count=*/0x26ul);
- *(uint32_t*)0x200000000040 = 5;
- syscall(__NR_setsockopt, /*fd=*/r[53], /*level=*/1,
- /*optname=SO_PASSCRED*/ 0x10, /*optval=*/0x200000000040ul,
- /*optlen=*/4ul);
- memcpy((void*)0x200000000000, "ethtool\000", 8);
- syz_genetlink_get_family_id(/*name=*/0x200000000000, /*fd=*/r[53]);
- *(uint64_t*)0x200000003480 = 0;
- *(uint32_t*)0x200000003488 = 0;
- *(uint64_t*)0x200000003490 = 0;
- *(uint64_t*)0x200000003498 = 0;
- *(uint64_t*)0x2000000034a0 = 0x200000001540;
- *(uint64_t*)0x2000000034a8 = 0xf1;
- *(uint32_t*)0x2000000034b0 = 0;
- *(uint32_t*)0x2000000034b8 = 0;
- syscall(__NR_recvmmsg, /*fd=*/r[53], /*mmsg=*/0x200000003480ul, /*vlen=*/1ul,
- /*f=*/0ul, /*timeout=*/0ul);
- memcpy((void*)0x200000000240, "/dev/snapshot\000", 14);
- res = syscall(__NR_openat, /*fd=*/0xffffffffffffff9cul,
- /*file=*/0x200000000240ul,
- /*flags=O_CLOEXEC|O_APPEND|O_WRONLY*/ 0x80401, /*mode=*/0);
- if (res != -1)
- r[54] = res;
- syscall(__NR_ioctl, /*fd=*/-1, /*cmd=*/0x3302, 0);
- syscall(__NR_write, /*fd=*/r[54], /*buffer=*/0ul, /*len=*/0ul);
- syscall(__NR_read, /*fd=*/r[52], /*buf=*/0x200000000280ul,
- /*count=*/0x1000ul);
- *(uint64_t*)0x200000000400 = 0x200000000380;
- *(uint16_t*)0x200000000380 = 0x10;
- *(uint16_t*)0x200000000382 = 0;
- *(uint32_t*)0x200000000384 = 0;
- *(uint32_t*)0x200000000388 = 0;
- *(uint32_t*)0x200000000408 = 0xc;
- *(uint64_t*)0x200000000410 = 0x2000000003c0;
- *(uint64_t*)0x2000000003c0 = 0x200000000500;
- *(uint64_t*)0x2000000003c8 = 0xac;
- *(uint64_t*)0x200000000418 = 1;
- *(uint64_t*)0x200000000420 = 0;
- *(uint64_t*)0x200000000428 = 0;
- *(uint32_t*)0x200000000430 = 0x800;
- syscall(__NR_sendmsg, /*fd=*/-1, /*msg=*/0x200000000400ul,
- /*f=MSG_BATCH|MSG_NOSIGNAL*/ 0x44000ul);
- memcpy((void*)0x200000000000,
- "lo\000\000\000\000\000\000\000\000\000\000\000\000\000\000", 16);
- syscall(__NR_ioctl, /*fd=*/-1, /*cmd=*/0x8933, /*arg=*/0x200000000000ul);
- memcpy((void*)0x200000000080, "./file0\000", 8);
- res = syscall(
- __NR_open, /*file=*/0x200000000080ul,
- /*flags=O_TRUNC|O_NOFOLLOW|O_DIRECT|O_CREAT|O_CLOEXEC|0x3000*/ 0xa7240ul,
- /*mode=*/0ul);
- if (res != -1)
- r[55] = res;
- syscall(__NR_lseek, /*fd=*/r[55], /*offset=*/0ul, /*whence=SEEK_DATA*/ 3ul);
- res = -1;
- res = syz_io_uring_setup(/*entries=*/0x4333, /*params=*/0,
- /*ring_ptr=*/0x200000ff5000,
- /*sqes_ptr=*/0x200000ff4000);
- if (res != -1)
- r[56] = res;
- *(uint64_t*)0x2000000002c0 = 0;
- *(uint32_t*)0x2000000002c8 = 0;
- *(uint64_t*)0x2000000002d0 = 0;
- *(uint64_t*)0x2000000002d8 = 1;
- *(uint64_t*)0x2000000002e0 = 0;
- *(uint64_t*)0x2000000002e8 = 0;
- *(uint32_t*)0x2000000002f0 = 0;
- syscall(__NR_sendmsg, /*fd=*/-1, /*msg=*/0x2000000002c0ul, /*f=*/0ul);
- syscall(__NR_listen, /*fd=*/-1, /*backlog=*/0);
- *(uint32_t*)0x200000000100 = 2;
- *(uint32_t*)0x200000000104 = 0x80;
- *(uint8_t*)0x200000000108 = 0x80;
- *(uint8_t*)0x200000000109 = 0;
- *(uint8_t*)0x20000000010a = 0;
- *(uint8_t*)0x20000000010b = 0;
- *(uint32_t*)0x20000000010c = 0;
- *(uint64_t*)0x200000000110 = 0;
- *(uint64_t*)0x200000000118 = 0;
- *(uint64_t*)0x200000000120 = 0;
- STORE_BY_BITMASK(uint64_t, , 0x200000000128, 0, 0, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000128, 0, 1, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000128, 0, 2, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000128, 0, 3, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000128, 0, 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, 0, 8, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000128, 0, 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, 0, 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, 0, 15, 2);
- STORE_BY_BITMASK(uint64_t, , 0x200000000128, 0, 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, 0, 21, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000128, 0, 22, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000128, 0, 23, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000128, 0, 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, 0, 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, 0, 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, 0, 35, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000128, 0, 36, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000128, 0, 37, 1);
- STORE_BY_BITMASK(uint64_t, , 0x200000000128, 0, 38, 26);
- *(uint32_t*)0x200000000130 = 0;
- *(uint32_t*)0x200000000134 = 0;
- *(uint64_t*)0x200000000138 = 0;
- *(uint64_t*)0x200000000140 = 0;
- *(uint64_t*)0x200000000148 = 0;
- *(uint64_t*)0x200000000150 = 0;
- *(uint32_t*)0x200000000158 = 0;
- *(uint32_t*)0x20000000015c = 0;
- *(uint64_t*)0x200000000160 = 0;
- *(uint32_t*)0x200000000168 = 0;
- *(uint16_t*)0x20000000016c = 0;
- *(uint16_t*)0x20000000016e = 0;
- *(uint32_t*)0x200000000170 = 2;
- *(uint32_t*)0x200000000174 = 0;
- *(uint64_t*)0x200000000178 = 0;
- syscall(__NR_perf_event_open, /*attr=*/0x200000000100ul, /*pid=*/0,
- /*cpu=*/0ul, /*group=*/-1, /*flags=*/0ul);
- syz_sysconfig_set__proc_sys_net_ipv6_neigh_eth0_interval_probe_time_ms(
- /*val=*/0);
- memcpy((void*)0x200000000040, "@\000", 2);
- res = syscall(__NR_memfd_create, /*name=*/0x200000000040ul,
- /*flags=MFD_HUGETLB|MFD_ALLOW_SEALING*/ 6ul);
- if (res != -1)
- r[57] = res;
- *(uint64_t*)0x200000000140 = 0xd692;
- *(uint64_t*)0x200000000148 = 1;
- *(uint16_t*)0x200000000150 = 4;
- *(uint16_t*)0x200000000152 = 0;
- *(uint32_t*)0x200000000154 = 0;
- *(uint32_t*)0x200000000158 = -1;
- *(uint64_t*)0x200000000160 = 0xff;
- *(uint64_t*)0x200000000168 = 0;
- *(uint32_t*)0x200000000170 = 0;
- *(uint32_t*)0x200000000174 = 0;
- *(uint32_t*)0x200000000178 = r[55];
- *(uint64_t*)0x200000000180 = 8;
- *(uint64_t*)0x200000000188 = 0;
- *(uint32_t*)0x200000000190 = 0;
- *(uint32_t*)0x200000000194 = 0;
- *(uint32_t*)0x200000000198 = r[57];
- *(uint64_t*)0x2000000001a0 = 2;
- *(uint64_t*)0x2000000001a8 = 0;
- *(uint32_t*)0x2000000001b0 = 0;
- *(uint32_t*)0x2000000001b4 = 0;
- *(uint32_t*)0x2000000001b8 = r[56];
- *(uint64_t*)0x2000000001c0 = 0xfffffffffffffffd;
- *(uint64_t*)0x2000000001c8 = 0;
- *(uint32_t*)0x2000000001d0 = 0;
- *(uint32_t*)0x2000000001d4 = 0;
- syscall(__NR_ioctl, /*fd=*/r[56], /*cmd=*/0xc0189436,
- /*arg=*/0x200000000140ul);
- res = syscall(__NR_socket, /*domain=*/2ul, /*type=*/3ul, /*proto=*/2);
- if (res != -1)
- r[58] = res;
- syscall(__NR_setsockopt, /*fd=*/r[58], /*level=*/0, /*opt=*/0xc9, /*val=*/0,
- /*len=*/0ul);
- syscall(__NR_ioctl, /*fd=*/-1, /*cmd=*/0x89f3, /*arg=*/0ul);
- res = syscall(__NR_socket, /*domain=*/2ul, /*type=*/2ul, /*proto=*/0);
- if (res != -1)
- r[59] = res;
- memcpy((void*)0x200000000100,
- "sit0\000\000\000\000\000\000\000\000\000\000\000\000", 16);
- *(uint64_t*)0x200000000110 = 0x200000000500;
- memcpy((void*)0x200000000500,
- "tunl0\000\000\000\000\000\000\000\000\000\000\000", 16);
- *(uint32_t*)0x200000000510 = 0;
- *(uint16_t*)0x200000000514 = htobe16(0);
- *(uint16_t*)0x200000000516 = htobe16(0x700);
- *(uint32_t*)0x200000000518 = htobe32(1);
- *(uint32_t*)0x20000000051c = htobe32(0);
- STORE_BY_BITMASK(uint8_t, , 0x200000000520, 5, 0, 4);
- STORE_BY_BITMASK(uint8_t, , 0x200000000520, 4, 4, 4);
- STORE_BY_BITMASK(uint8_t, , 0x200000000521, 0, 0, 2);
- STORE_BY_BITMASK(uint8_t, , 0x200000000521, 0, 2, 6);
- *(uint16_t*)0x200000000522 = htobe16(0x14);
- *(uint16_t*)0x200000000524 = htobe16(3);
- *(uint16_t*)0x200000000526 = htobe16(0);
- *(uint8_t*)0x200000000528 = 0;
- *(uint8_t*)0x200000000529 = 0;
- *(uint16_t*)0x20000000052a = htobe16(0);
- *(uint8_t*)0x20000000052c = 0xac;
- *(uint8_t*)0x20000000052d = 0x14;
- *(uint8_t*)0x20000000052e = 0x14;
- *(uint8_t*)0x20000000052f = 0x38;
- *(uint8_t*)0x200000000530 = 0xac;
- *(uint8_t*)0x200000000531 = 0x14;
- *(uint8_t*)0x200000000532 = 0x14;
- *(uint8_t*)0x200000000533 = 0xaa;
- struct csum_inet csum_1;
- csum_inet_init(&csum_1);
- csum_inet_update(&csum_1, (const uint8_t*)0x200000000520, 20);
- *(uint16_t*)0x20000000052a = csum_inet_digest(&csum_1);
- syscall(__NR_ioctl, /*fd=*/r[59], /*cmd=*/0x89f1, /*arg=*/0x200000000100ul);
- memcpy((void*)0x200000000140, "wchan\000", 6);
- res = -1;
- res = syz_open_procfs(/*pid=*/0, /*file=*/0x200000000140);
- if (res != -1)
- r[60] = res;
- res = syscall(__NR_io_setup, /*n=*/3, /*ctx=*/0x200000000000ul);
- if (res != -1)
- r[61] = *(uint64_t*)0x200000000000;
- res = syscall(__NR_eventfd2, /*initval=*/5,
- /*flags=EFD_SEMAPHORE|EFD_NONBLOCK*/ 0x801ul);
- if (res != -1)
- r[62] = res;
- res = -1;
- res = syz_init_net_socket(/*domain=*/0x10, /*type=*/3, /*proto=*/0x10);
- if (res != -1)
- r[63] = res;
- syz_init_net_socket(/*domain=*/0x10, /*type=*/3, /*proto=*/0x10);
- res = -1;
- res = syz_init_net_socket(/*domain=*/0x10, /*type=*/3, /*proto=*/0x10);
- if (res != -1)
- r[64] = res;
- memcpy((void*)0x2000000001c0, "NLBL_CIPSOv4\000", 13);
- syz_genetlink_get_family_id(/*name=*/0x2000000001c0, /*fd=*/r[64]);
- memcpy((void*)0x2000000001c0, "NLBL_CIPSOv4\000", 13);
- res = -1;
- res = syz_genetlink_get_family_id(/*name=*/0x2000000001c0, /*fd=*/r[64]);
- if (res != -1)
- r[65] = res;
- *(uint64_t*)0x200000000840 = 0;
- *(uint32_t*)0x200000000848 = 0;
- *(uint64_t*)0x200000000850 = 0x200000000800;
- *(uint64_t*)0x200000000800 = 0x200000000000;
- memcpy((void*)0x200000000000, "P\000\000\000", 4);
- *(uint16_t*)0x200000000004 = r[65];
- memcpy((void*)0x200000000006,
- "\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00\x04\x00\x04"
- "\x80\x08\x00\x01\x00\x00\x00\x00\x00\x08\x00\x02\x00\x01\x00\x00\x00"
- "\x10\x00\x0c\x80\x0c\x00\x0b\x80\x08\x00\x0a\x00\x44\xc9\x00\x00\x18"
- "\x00\x08\x80\x14\x00\x07\x80\x08",
- 59);
- *(uint64_t*)0x200000000808 = 0x50;
- *(uint64_t*)0x200000000858 = 1;
- *(uint64_t*)0x200000000860 = 0;
- *(uint64_t*)0x200000000868 = 0;
- *(uint32_t*)0x200000000870 = 0;
- syscall(__NR_sendmsg, /*fd=*/r[63], /*msg=*/0x200000000840ul, /*f=*/0ul);
- *(uint64_t*)0x200000000840 = 0;
- *(uint32_t*)0x200000000848 = 0;
- *(uint64_t*)0x200000000850 = 0x200000000800;
- *(uint64_t*)0x200000000800 = 0x200000000000;
- memcpy((void*)0x200000000000, "P\000\000\000", 4);
- *(uint16_t*)0x200000000004 = r[65];
- memcpy((void*)0x200000000006,
- "\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00\x04\x00\x04"
- "\x80\x08\x00\x01\x00\x00\x00\x00\x00\x08\x00\x02\x00\x01\x00\x00\x00"
- "\x10\x00\x0c\x80\x0c\x00\x0b\x80\x08\x00\x0a\x00\x44\xc9\x00\x00\x18"
- "\x00\x08\x80\x14\x00\x07\x80\x08",
- 59);
- *(uint64_t*)0x200000000808 = 0x50;
- *(uint64_t*)0x200000000858 = 1;
- *(uint64_t*)0x200000000860 = 0;
- *(uint64_t*)0x200000000868 = 0;
- *(uint32_t*)0x200000000870 = 0;
- syscall(__NR_sendmsg, /*fd=*/r[63], /*msg=*/0x200000000840ul, /*f=*/0ul);
- res = syscall(__NR_eventfd, /*initval=*/8);
- if (res != -1)
- r[66] = res;
- syscall(__NR_socket, /*domain=*/0x10ul, /*type=*/3ul, /*proto=*/0x10);
- res = syscall(__NR_socket, /*domain=*/0x10ul, /*type=*/3ul, /*proto=*/0x10);
- if (res != -1)
- r[67] = res;
- *(uint64_t*)0x2000000002c0 = 0;
- *(uint32_t*)0x2000000002c8 = 0;
- *(uint64_t*)0x2000000002d0 = 0x200000000280;
- *(uint64_t*)0x200000000280 = 0x200000000200;
- memcpy((void*)0x200000000200, "\x54\x84\x53\x6f", 4);
- *(uint16_t*)0x200000000204 = 0;
- memcpy((void*)0x200000000206,
- "\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0d\x00\x00\x00", 14);
- *(uint64_t*)0x200000000288 = 0x14;
- *(uint64_t*)0x2000000002d8 = 1;
- *(uint64_t*)0x2000000002e0 = 0;
- *(uint64_t*)0x2000000002e8 = 0;
- *(uint32_t*)0x2000000002f0 = 0;
- syscall(__NR_sendmsg, /*fd=*/r[67], /*msg=*/0x2000000002c0ul, /*f=*/0ul);
- *(uint64_t*)0x2000000007c0 = 0x200000000280;
- *(uint64_t*)0x200000000280 = 0;
- *(uint32_t*)0x200000000288 = 0;
- *(uint32_t*)0x20000000028c = 0;
- *(uint16_t*)0x200000000290 = 0xf;
- *(uint16_t*)0x200000000292 = 0x1f;
- *(uint32_t*)0x200000000294 = r[60];
- *(uint64_t*)0x200000000298 = 0x200000000180;
- memcpy(
- (void*)0x200000000180,
- "\xb8\xcc\x94\x0b\xd9\x04\x6d\xe3\xdd\xf5\x7d\x3a\x5f\x6e\x3d\xf8\xc2\xcc"
- "\x88\x2d\xe2\xd3\x44\x1e\xb0\xe1\xa8\x68\x5f\x9f\x39\x89\x61\x13\x0a\x56"
- "\x3e\x23\xc7\x53\xd6\xcd\x3b\xdc\x3c\xd9\xdc\x36\xfd\x41\x0f\x71\x25\x25"
- "\xe0\x8e\x14\x4e\x00\x5e\x1d\x4f\xf2\x20\x5c\x4f\x60\x7d\x46\x02\xb0\x70"
- "\x97\x0f\xd7\xd7\xd7\x4c\x81\x9b\x7c\xad\xfe\x7d\x3a\xaa\x2b\xac\xba\xeb"
- "\xae\xf6\x82\x02\x2e\x60\x71\x75\x4f\xef\xe9\xeb\x25\xb1\xba\xf1\xf1\x11"
- "\xc7\x0d\x31\x91\x64\x95\xa4\xd8\x61\x9e\x00\xc3\x41\x03\x6e\xd7\xc9\xae"
- "\x03\x95\x10\x49\x07\xbe\xad\x74\x66\xdf\x18\xf5\xea\x1b\x3f\x6d\xad\xba"
- "\x4c\x0a\x23\x9d\xb3\xe1\xd3\x51\x9b\x55\x7c\x00\x2c\xbc\x07\x0d\x07\x23"
- "\xf5\xf3\xd3\x6d\xf4\xd9\x98\x6c\x63\x59\x40\x5f\x73\x7c\x59\x03\x9c\xec"
- "\xbd\x32\xaf\x39\xd3\xc6\x53\xd7\x8d\x06\x88\xc7\x2a\x31\x7c\xba\x46\x6e"
- "\x59\x10\x8e\xf2\xf2\x9f\x59\x1a\xeb\x11\x37\xee\xe7\x06\x0b\xbf\x43\x57"
- "\xe5\x38\xb5\x11\xd1\xff\x56\x66\x62",
- 225);
- *(uint64_t*)0x2000000002a0 = 0xe1;
- *(uint64_t*)0x2000000002a8 = 5;
- *(uint64_t*)0x2000000002b0 = 0;
- *(uint32_t*)0x2000000002b8 = 2;
- *(uint32_t*)0x2000000002bc = r[60];
- *(uint64_t*)0x2000000007c8 = 0x200000000340;
- *(uint64_t*)0x200000000340 = 0;
- *(uint32_t*)0x200000000348 = 0;
- *(uint32_t*)0x20000000034c = 0;
- *(uint16_t*)0x200000000350 = 3;
- *(uint16_t*)0x200000000352 = 7;
- *(uint32_t*)0x200000000354 = r[60];
- *(uint64_t*)0x200000000358 = 0x2000000002c0;
- memcpy((void*)0x2000000002c0,
- "\x74\xc1\x34\x5a\xb6\xa7\x40\xc0\x0a\x90\xbc\xc1\x6b\x20\xde\x08\x21"
- "\xab\xb8\x33\x4e\x5c\xa8\x4e\xe1\xbf\x17\xc6\x98\x9e\xfb\x47\xbf\x19"
- "\x70\x9c\x74\x13\x96\xbe\x38\x5d\x0b\x96\xf0\x31\x8d\xaa\x8f\x5f\x93"
- "\xba\x23\xc6\xd5\xe3\x06\xb9\x97\xa3\xf6\x46\xb4\xa4\xba\x16\xd2\x61"
- "\x08\x65\x8e\xcf\xd5\x52\x2c\xe8\x63\xdf\xb6",
- 79);
- *(uint64_t*)0x200000000360 = 0x4f;
- *(uint64_t*)0x200000000368 = 3;
- *(uint64_t*)0x200000000370 = 0;
- *(uint32_t*)0x200000000378 = 0;
- *(uint32_t*)0x20000000037c = -1;
- *(uint64_t*)0x2000000007d0 = 0x200000000480;
- *(uint64_t*)0x200000000480 = 0;
- *(uint32_t*)0x200000000488 = 0;
- *(uint32_t*)0x20000000048c = 0;
- *(uint16_t*)0x200000000490 = 8;
- *(uint16_t*)0x200000000492 = 0x4b;
- *(uint32_t*)0x200000000494 = r[60];
- *(uint64_t*)0x200000000498 = 0x200000000380;
- memcpy(
- (void*)0x200000000380,
- "\xdb\x01\xa0\x0d\x65\xbe\x4a\xd9\x92\x87\x8e\xd8\xac\x43\x03\xf1\xd2\xd9"
- "\xa9\xa0\xa7\x9d\x39\xd9\x8e\x9b\xd3\xb5\x33\x95\xaf\x54\x0b\x54\xa0\xa3"
- "\x8f\xfd\x44\x1f\x77\x71\x2d\xe5\xa5\x70\x54\xae\x85\x03\x99\xdf\x7d\xad"
- "\x94\x11\x72\xcb\x14\xaa\x67\x1f\x1e\x33\xf1\x99\xcd\x1a\x49\x14\xb6\x7d"
- "\x98\xda\x31\x28\xdf\x0f\xfa\xa5\x6a\xed\x6c\x2b\x53\xbb\x13\x3f\xc6\x39"
- "\x7c\xdc\x47\x15\xe3\xbf\x88\x52\xba\xa6\x05\x41\x84\xa3\xb5\xb6\x30\x08"
- "\x3e\x05\x58\x3e\x84\x4d\xf4\xce\x5c\x20\x20\x11\x68\x06\x8c\x71\xdf\x0d"
- "\x88\xeb\xf7\x7c\x7f\x3f\x9b\x1d\xd7\xf0\x54\x8a\x25\x5b\x40\x07\x7e\x0c"
- "\x27\x82\xd4\x26\x91\xb1\x3a\xde\xa5\x6a\xbc\xa0\x60\xaa\xf6\x0d\x71\x97"
- "\x68\xb6\x12\xef\x0f\xf0\xf5\x6f\x61\x56\x8c\xb2\x62\x02\xa9\x4c\x98\xec"
- "\x3e\x53\xd8\xdd\xc7\xe5\xd7\x1b\xe3\xe4\xb0\x36\x63\x8b\x20\x16\xb3\x88"
- "\xc1\x1a\x52\x17\x6f\xab\xdf\x68\x5f\x84\xc6\xd0\x7a\xb3\x00\x0a\xf7\x28"
- "\x69\x40\xd3\x8c\xea\x77\x28\xfe\x83\x10\x45\x6d\x5f\x89\x44",
- 231);
- *(uint64_t*)0x2000000004a0 = 0xe7;
- *(uint64_t*)0x2000000004a8 = 0xe;
- *(uint64_t*)0x2000000004b0 = 0;
- *(uint32_t*)0x2000000004b8 = 1;
- *(uint32_t*)0x2000000004bc = r[60];
- *(uint64_t*)0x2000000007d8 = 0x200000000540;
- *(uint64_t*)0x200000000540 = 0;
- *(uint32_t*)0x200000000548 = 0;
- *(uint32_t*)0x20000000054c = 0;
- *(uint16_t*)0x200000000550 = 0;
- *(uint16_t*)0x200000000552 = 5;
- *(uint32_t*)0x200000000554 = r[60];
- *(uint64_t*)0x200000000558 = 0x2000000004c0;
- memcpy((void*)0x2000000004c0,
- "\xfc\x46\x18\xbc\x8c\x56\x77\xac\x71\xcb\x08\xdc\x3b\xb1\xcf\xdb\xe9"
- "\xa1\x98\x26\x10\x90\xc8\x9d\x4a\xd2\x69\xe3\x80\xe6\x28\xaa\xff\xc4"
- "\xec\x2c\xfa\xea\xeb\x33\x33\x79\x98\x5f\xc5\xa3\x63\x78\x7a\x67\x49"
- "\xc5\xba\xf4\x1e\x2b\x63\xdf\x1a\x80\x5b\x3f\xef\x47\xd5\x00\xaf\xc2"
- "\x71\xe3\x41\x64\x99\x50\x0a\x44\xe4\xab\x8a\xbf\x2b\x10\x22\xe8\x0f"
- "\xfc\x70\xd6\x00\x41\xad\xfa\x68\xac\xf1\xdb\x03\x1d\x6a\x17\xd5\xd6"
- "\x83\x84\x9a\xf5\x89\x49\x9f\xa0\x48\xa4\xc1\x45\xae\x32\x5e\x01\xc0"
- "\x54\xa5\xf1\xe6\x2b\x8f\x20",
- 126);
- *(uint64_t*)0x200000000560 = 0x7e;
- *(uint64_t*)0x200000000568 = 8;
- *(uint64_t*)0x200000000570 = 0;
- *(uint32_t*)0x200000000578 = 3;
- *(uint32_t*)0x20000000057c = r[60];
- *(uint64_t*)0x2000000007e0 = 0x2000000005c0;
- *(uint64_t*)0x2000000005c0 = 0;
- *(uint32_t*)0x2000000005c8 = 0;
- *(uint32_t*)0x2000000005cc = 0;
- *(uint16_t*)0x2000000005d0 = 6;
- *(uint16_t*)0x2000000005d2 = 3;
- *(uint32_t*)0x2000000005d4 = r[60];
- *(uint64_t*)0x2000000005d8 = 0x200000000580;
- memcpy((void*)0x200000000580,
- "\x46\xfb\x49\x28\xfe\x1e\xb8\xc2\xa5\xcf\x9b\x38\x5b\xa7\x18\x50\x1d"
- "\x00\x8a\x5a\x56\x6c\x0a\xfa\x02\x2d\x5d\x48\x5c\x98\x72\xa5\x5a\x8e"
- "\x84\x4d\xfe\x10\x53\x2e\x43\x29\xcd\xfa\x33",
- 45);
- *(uint64_t*)0x2000000005e0 = 0x2d;
- *(uint64_t*)0x2000000005e8 = 3;
- *(uint64_t*)0x2000000005f0 = 0;
- *(uint32_t*)0x2000000005f8 = 2;
- *(uint32_t*)0x2000000005fc = r[62];
- *(uint64_t*)0x2000000007e8 = 0x2000000006c0;
- *(uint64_t*)0x2000000006c0 = 0;
- *(uint32_t*)0x2000000006c8 = 0;
- *(uint32_t*)0x2000000006cc = 0;
- *(uint16_t*)0x2000000006d0 = 5;
- *(uint16_t*)0x2000000006d2 = 1;
- *(uint32_t*)0x2000000006d4 = r[60];
- *(uint64_t*)0x2000000006d8 = 0x200000000600;
- memcpy(
- (void*)0x200000000600,
- "\x9e\xef\x20\xd5\x76\xe9\x43\x47\x04\x2a\x1c\xf8\x8e\xd7\xd5\xfd\xf2\xeb"
- "\xbf\x07\x8a\x40\x39\x46\x47\xbf\x0c\x77\x4b\x27\x86\xa4\x4b\xec\x64\x1f"
- "\xb6\x6f\x9d\x17\x89\x1f\xf0\xb4\x68\xa6\x43\xcd\x4b\xf3\x99\xc2\x48\x6d"
- "\xb2\xf2\x8b\xc7\x57\x31\x67\xf2\x99\xf6\xf2\x63\x60\xa2\xef\xa8\x30\x30"
- "\xd3\xd6\xc0\x57\x02\xa4\x25\x12\xfe\xcf\x49\xae\x38\xe6\x46\x84\xb9\xef"
- "\x7d\x75\xea\xb5\x6f\x9d\xd5\x1d\x1a\x04\x32\x80\xd4\x12\x4d\x98\x78\x3c"
- "\xf7\xf8\xb3\xa8\x8c\xb6\x19\x49\x4a\x95\x9e\x3f\x43\xd7\xa1\x05\x64\x26"
- "\xa3\x8c\xe7\x65\xc5\xfa\xa0\x6c\x2e\x28\xff\x20\x1e\x63\x9a\x50\xf3\x34"
- "\x1a\x92\xa1\x84\xe6\x6c\x15\x92\xaa\x31\xf7\x4e\x58\x15\x25\x9e\xd6\x6d"
- "\xd1\x41\xa3\xa4\x1b\xb3\x27\x9d\xe4\x11\x5e\x7e\xfc\x22",
- 176);
- *(uint64_t*)0x2000000006e0 = 0xb0;
- *(uint64_t*)0x2000000006e8 = 4;
- *(uint64_t*)0x2000000006f0 = 0;
- *(uint32_t*)0x2000000006f8 = 0;
- *(uint32_t*)0x2000000006fc = r[60];
- *(uint64_t*)0x2000000007f0 = 0x200000000780;
- *(uint64_t*)0x200000000780 = 0;
- *(uint32_t*)0x200000000788 = 0;
- *(uint32_t*)0x20000000078c = 0;
- *(uint16_t*)0x200000000790 = 1;
- *(uint16_t*)0x200000000792 = 5;
- *(uint32_t*)0x200000000794 = r[60];
- *(uint64_t*)0x200000000798 = 0x200000000700;
- memcpy((void*)0x200000000700,
- "\x5d\xe1\x6e\x1e\x21\xbc\x35\xd0\x9b\xac\x08\xbb\x0a\x11\x33\x64\x78"
- "\x19\x02\xde\xaf\xa0\x9f\x57\x60\xb1\x3f\xd6\x73\xb2\x20\xb0\x9f\xf0"
- "\x12\x46\x44\x96\x3f\x0b\x14\x36\x19\x60\x5a\x5b\xba\x3c\x25\xa8\x5e"
- "\xae\xbd\xcf\x27\xe6\x11\x5a\x4b\x71\xaf\x4b\xc1\x24\x5b\xb3\x06\xa3"
- "\xdf\x94\x54\x76\xcb\x82\xd4\xd0\x0c\xda",
- 78);
- *(uint64_t*)0x2000000007a0 = 0x4e;
- *(uint64_t*)0x2000000007a8 = 0x40;
- *(uint64_t*)0x2000000007b0 = 0;
- *(uint32_t*)0x2000000007b8 = 0;
- *(uint32_t*)0x2000000007bc = r[66];
- syscall(__NR_io_submit, /*ctx=*/r[61], /*nr=*/7ul,
- /*iocbpp=*/0x2000000007c0ul);
- *(uint16_t*)0x200000000800 = 0xa;
- *(uint16_t*)0x200000000802 = htobe16(0x4e21);
- *(uint32_t*)0x200000000804 = htobe32(3);
- *(uint8_t*)0x200000000808 = 0xfe;
- *(uint8_t*)0x200000000809 = 0x80;
- memset((void*)0x20000000080a, 0, 13);
- *(uint8_t*)0x200000000817 = 0xbb;
- *(uint32_t*)0x200000000818 = 0x1ff;
- syscall(__NR_bind, /*fd=*/r[60], /*addr=*/0x200000000800ul,
- /*addrlen=*/0x1cul);
- syscall(__NR_read, /*fd=*/r[60], /*buf=*/0x200000000040ul, /*count=*/0xecul);
- res = syscall(__NR_socket, /*domain=*/0x10ul, /*type=*/3ul, /*proto=*/0);
- if (res != -1)
- r[68] = res;
- *(uint64_t*)0x200000006440 = 0;
- *(uint32_t*)0x200000006448 = 7;
- *(uint64_t*)0x200000006450 = 0x2000000063c0;
- *(uint64_t*)0x2000000063c0 = 0x200000000000;
- memcpy((void*)0x200000000000,
- "\x38\x00\x00\x00\x10\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x08"
- "\x00\x00\x00",
- 20);
- *(uint32_t*)0x200000000014 = 0;
- memcpy((void*)0x200000000018, "\b\000\000\000", 4);
- *(uint32_t*)0x20000000001c = 0;
- memcpy((void*)0x200000000020,
- "\x14\x00\x1b\x00\x00\x00\x00\x00\x00\x00\x00\x21\x00\x00\x00\x00\x00"
- "\x00\x00\x01\x04\x00\x12",
- 23);
- *(uint64_t*)0x2000000063c8 = 0x38;
- *(uint64_t*)0x200000006458 = 1;
- *(uint64_t*)0x200000006460 = 0;
- *(uint64_t*)0x200000006468 = 0;
- *(uint32_t*)0x200000006470 = 0;
- syscall(__NR_sendmsg, /*fd=*/r[68], /*msg=*/0x200000006440ul, /*f=*/0ul);
- memcpy((void*)0x200000000240, "/dev/input/event#\000", 18);
- res = -1;
- res = syz_open_dev(/*dev=*/0x200000000240, /*id=*/0, /*flags=*/0);
- if (res != -1)
- r[69] = res;
- *(uint32_t*)0x200000000000 = 0xee00;
- *(uint32_t*)0x200000000004 = -1;
- res = syscall(__NR_getgroups, /*size=*/2ul, /*list=*/0x200000000000ul);
- if (res != -1)
- r[70] = *(uint32_t*)0x200000000004;
- *(uint32_t*)0x200000000180 = r[70];
- syscall(__NR_setgroups, /*size=*/1ul, /*list=*/0x200000000180ul);
- syscall(__NR_ioctl, /*fd=*/r[69], /*cmd=*/0x4b47, /*arg=*/0ul);
- memcpy(
- (void*)0x200000000480,
- "\000\254="
- "\235\322\333\032\'\370\n\355cJ\216\204\324N\000\233\037\t\275\021+"
- "\206T\026\243\263\2560\2379?\357o\244k\0012>"
- "\241\234\206x\034\237\204\0315\336\227_\t~\363Y\022\"p^"
- "\000\002\264\375\336\344\266\274K#^\000}2\306:|"
- "R\004\302\270I\243\271\342\242\353w^I\0177i$\361\324\233\307\262\276D`"
- "\217\303\226\274#4\027\365\263\311\262\224\250_f!\337\220}"
- "\272\243\001\342\317\267\"S\a\004ry\000#"
- "4\207m\367\343\365\247\332\271\313U\276\006]\251\266R~\311l}"
- "\267I\376H\263\025\214\006d\370c\300{\v\322\235\216\\\256>"
- "\366qucC\3242e9\340\277\335\334\231\364\\\320\226:\373\214\022o\314-"
- "\023\024\276v\256\200Zp\225c]\230\214\001\217o\257jN\313\230\337\323["
- "V\275["
- "\271\020v\356\334\310G\320\3349\314O\367\265\274\317\373\351\024\000\000"
- "dU\000\000\000\b\373\265Z\260-"
- "\310\333\243f\364W\353\006\302\321\266\321%\312\217\0013|"
- "\216z\036o\030\266#@P&[\255\332\nmU\2023\\&P\334\274S\200\301dJ!"
- "LH\252\a\202\363\336\226\205\305\335\250\222\307\313\221\362["
- "Y\006\212\237N\020\271\364\354q\316\322\027\210\256\3147r\327\352z\316vR"
- "\312u\r\361\t\302$k\337\217\342\276\376\024AN\370\306\250`Fs[6kYH+"
- "\245\334xUY3<v\361\r\256i\240Xam\vN\177R\226.^"
- "\323\001VbON\303P\347\026\314\312\326\345\350\r\233\215."
- "\335\032\252\246*"
- "\355\314h\177\373\027\334MmX\352\317\3040\031\b\341\261\364\177\312\276g"
- "\261bEm[\004\tX8\025#\224\246M?\340\2071\200\305~_\022J\353 "
- "\000R\247=/\375:\257\303\030\020\f\241\032\247Yt\0251\307T",
- 495);
- res = syscall(__NR_memfd_create, /*name=*/0x200000000480ul, /*flags=*/0ul);
- if (res != -1)
- r[71] = res;
- memset((void*)0x200000002000, 47, 1);
- syscall(__NR_write, /*fd=*/r[71], /*buf=*/0x200000002000ul, /*count=*/1ul);
- syscall(__NR_mmap, /*addr=*/0x200000000000ul, /*len=*/0x3000ul,
- /*prot=PROT_SEM|PROT_EXEC*/ 0xcul,
- /*flags=MAP_FIXED|MAP_SHARED*/ 0x11ul, /*fd=*/r[71], /*offset=*/0ul);
- memcpy((void*)0x2000000000c0, "security.evm\000", 13);
- syscall(__NR_lsetxattr, /*path=*/0ul, /*name=*/0x2000000000c0ul, /*val=*/0ul,
- /*size=*/0ul, /*flags=*/0x200000000000000ul);
- res = syscall(__NR_socket, /*domain=AF_INET|0x840000000000*/ 0x840000000002ul,
- /*type=SOCK_RAW*/ 3ul, /*proto=*/6);
- if (res != -1)
- r[72] = res;
- *(uint16_t*)0x2000000005c0 = 2;
- *(uint16_t*)0x2000000005c2 = htobe16(0);
- *(uint8_t*)0x2000000005c4 = 0xac;
- *(uint8_t*)0x2000000005c5 = 0x14;
- *(uint8_t*)0x2000000005c6 = 0x14;
- *(uint8_t*)0x2000000005c7 = 0xaa;
- syscall(__NR_connect, /*fd=*/r[72], /*addr=*/0x2000000005c0ul,
- /*addrlen=*/0x10ul);
- *(uint64_t*)0x200000005240 = 0;
- *(uint32_t*)0x200000005248 = 0xa001800f;
- *(uint64_t*)0x200000005250 = 0;
- *(uint64_t*)0x200000005258 = 0;
- *(uint64_t*)0x200000005260 = 0;
- *(uint64_t*)0x200000005268 = 0;
- *(uint32_t*)0x200000005270 = 0xffeb;
- *(uint32_t*)0x200000005278 = 0xfffffdef;
- syscall(__NR_sendmmsg, /*fd=*/r[72], /*mmsg=*/0x200000005240ul,
- /*vlen=*/0x4000095ul, /*f=*/0ul);
- *(uint32_t*)0x200000000180 = 0;
- syscall(__NR_getsockname, /*fd=*/r[72], /*addr=*/0ul,
- /*addrlen=*/0x200000000180ul);
- syscall(__NR_ioctl, /*fd=*/-1, /*cmd=*/0x8903, /*arg=*/0x2000000009c0ul);
- syscall(__NR_getresuid, /*ruid=*/0x200000000a00ul, /*euid=*/0x200000000a40ul,
- /*suid=*/0x200000000a80ul);
- *(uint32_t*)0x200000000ac0 = 1;
- *(uint32_t*)0x200000000ac4 = 1;
- *(uint32_t*)0x200000000ac8 = 0x18;
- *(uint32_t*)0x200000000acc = -1;
- *(uint32_t*)0x200000000ad0 = 0;
- *(uint32_t*)0x200000000ad4 = -1;
- memcpy((void*)0x200000000ad8, "./file0\000", 8);
- syscall(__NR_ioctl, /*fd=*/-1, /*cmd=*/0xc018937b, /*arg=*/0x200000000ac0ul);
- memcpy((void*)0x200000000b00, "/proc/sys/net/ipv4/tcp_congestion_control\000",
- 42);
- syscall(__NR_openat, /*fd=*/0xffffffffffffff9cul, /*file=*/0x200000000b00ul,
- /*flags=*/1, /*mode=*/0);
- memcpy((void*)0x200000000b40, "/dev/rtc#\000", 10);
- syz_open_dev(/*dev=*/0x200000000b40, /*id=*/0xca1,
- /*flags=O_NOFOLLOW*/ 0x20000);
- res = syscall(__NR_socket, /*domain=*/0x10ul, /*type=*/3ul, /*proto=*/0xc);
- if (res != -1)
- r[73] = res;
- memcpy((void*)0x2000000000c0,
- "lo\000\000\000\000\000\000\000\000\000\000\000\000\000\000", 16);
- *(uint64_t*)0x2000000000d0 = 0x200000000040;
- *(uint32_t*)0x200000000040 = 0x4c;
- *(uint32_t*)0x200000000044 = 0;
- *(uint8_t*)0x200000000048 = 0;
- *(uint8_t*)0x200000000049 = 0;
- *(uint8_t*)0x20000000004a = 0;
- *(uint8_t*)0x20000000004b = 0;
- *(uint8_t*)0x20000000004c = 0;
- *(uint8_t*)0x20000000004d = 0;
- *(uint8_t*)0x20000000004e = 0x10;
- *(uint8_t*)0x20000000004f = 0;
- *(uint32_t*)0x200000000050 = 0;
- *(uint32_t*)0x200000000054 = 0;
- *(uint32_t*)0x200000000058 = 0;
- *(uint32_t*)0x20000000005c = 0;
- *(uint32_t*)0x200000000060 = 0;
- *(uint32_t*)0x200000000064 = 0;
- *(uint32_t*)0x200000000068 = 0;
- *(uint32_t*)0x20000000006c = 0;
- syscall(__NR_ioctl, /*fd=*/r[73], /*cmd=*/0x8946, /*arg=*/0x2000000000c0ul);
- res = syscall(
- __NR_socket, /*domain=AF_PACKET|0x200000000000000*/ 0x200000000000011ul,
- /*type=SOCK_CLOEXEC|SOCK_DGRAM|0x4000000000000000*/ 0x4000000000080002ul,
- /*proto=*/0);
- if (res != -1)
- r[74] = res;
- res = syscall(__NR_socket, /*domain=AF_NETLINK*/ 0x10ul,
- /*type=SOCK_RAW*/ 3ul, /*proto=*/0);
- if (res != -1)
- r[75] = res;
- memcpy((void*)0x200000000180,
- "\x90\x00\x00\x00\x18\x00\x1f\x2f\xb9\x40\x9b\x52\xff\xff\x65\x58\x02"
- "\x00\xbe\x08\x02\x0c\x06\x05\x60\x0a\x0b\x07\x43\x00\x05\x00\xff\xff"
- "\xff\x9e\x00\xc8\x38\x88\x27\xa6\x85\xa1\x4a\xd0\xbf\x47\xd3\x23\x45"
- "\x65\x36\x02\x78\x8d\xca\xaf\x6c\x26\xc2\x91\x21\x45\x49\x93\x5a\xde"
- "\x4a\x46\x0c\x20\xb6\xec\x0c\xff\x39\x59\x54\x7f\x50\x0f\x58\xba\x86"
- "\xc9\x02\x00\x0f\x1d\x01\x2e\xd6\x8d\xf6\x14\xa4\x16\xb1\xec\x02\x00"
- "\x02\x80\x16\x00\x12\x00\x0a\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
- "\x00\x00\x00\x00\x00\x3e\x5f\xa4\x24\xac\x4d\x31\xc4\xf7\xa1\xbd\xe0"
- "\x99\xd4\x12\x70\xc9\x34\xbd\xcf",
- 144);
- syscall(__NR_sendto, /*fd=*/r[75], /*buf=*/0x200000000180ul, /*len=*/0x90ul,
- /*f=*/0ul, /*addr=*/0ul, /*addrlen=*/0ul);
- memcpy((void*)0x200000000000,
- "sit0\000\000\000\000\000\000\000\000\000\000\000\000", 16);
- syscall(__NR_ioctl, /*fd=*/r[74], /*cmd=*/0x8933, /*arg=*/0x200000000000ul);
- res = -1;
- res = syz_open_dev(/*dev=*/0xc, /*major=*/4, /*minor=*/1);
- if (res != -1)
- r[76] = res;
- syscall(__NR_ioctl, /*fd=*/r[76], /*cmd=*/0x4b66, /*arg=*/0x200000000080ul);
- *(uint64_t*)0x200000001000 = 3;
- syscall(__NR_signalfd, /*fd=*/-1, /*mask=*/0x200000001000ul, /*size=*/8ul);
- memcpy((void*)0x200000001040, "/dev/random\000", 12);
- syscall(__NR_openat, /*fd=*/0xffffffffffffff9cul, /*file=*/0x200000001040ul,
- /*flags=O_SYNC|O_CLOEXEC|FASYNC*/ 0x183000, /*mode=*/0);
- memcpy((void*)0x200000000180, "./bus\000", 6);
- res = syscall(__NR_open, /*file=*/0x200000000180ul,
- /*flags=O_TRUNC|O_SYNC|O_NOFOLLOW|O_NOATIME|O_EXCL|O_CREAT|0x2*/
- 0x1612c2ul, /*mode=*/0ul);
- if (res != -1)
- r[77] = res;
- memcpy((void*)0x200000000080, "/proc/diskstats\000", 16);
- res = syscall(__NR_openat, /*fd=*/0xffffffffffffff9cul,
- /*file=*/0x200000000080ul, /*flags=*/0, /*mode=*/0);
- if (res != -1)
- r[78] = res;
- syscall(__NR_sendfile, /*fdout=*/r[77], /*fdin=*/r[78], /*off=*/0ul,
- /*count=*/0x4000000000010046ul);
- *(uint32_t*)0x200000000040 = 2;
- *(uint32_t*)0x200000000044 = 0x80;
- *(uint8_t*)0x200000000048 = 5;
- *(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, 1, 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 = 6;
- *(uint32_t*)0x2000000000b4 = 0;
- *(uint64_t*)0x2000000000b8 = 0;
- syscall(__NR_perf_event_open, /*attr=*/0x200000000040ul, /*pid=*/0,
- /*cpu=*/0ul, /*group=*/-1, /*flags=*/0ul);
- syscall(__NR_socket, /*domain=*/0xaul, /*type=*/2ul, /*proto=*/0x88);
- syz_open_dev(/*dev=*/0xc, /*major=*/2, /*minor=*/0x14);
- memcpy((void*)0x200000001280, ".pending_reads\000", 15);
- syscall(__NR_openat, /*fd=*/-1, /*file=*/0x200000001280ul,
- /*flags=O_NOFOLLOW*/ 0x20000, /*mode=S_IWUSR*/ 0x80);
- syscall(__NR_timer_create,
- /*id=CLOCK_REALTIME_COARSE|0xfffffff8*/ 0xfffffffdul, /*ev=*/0ul,
- /*timerid=*/0x200000000040ul);
- memcpy((void*)0x200000001500, "keyring\000", 8);
- memcpy((void*)0x200000001540, "syz", 3);
- *(uint8_t*)0x200000001543 = 0x22;
- *(uint8_t*)0x200000001544 = 0;
- res = syscall(__NR_add_key, /*type=*/0x200000001500ul,
- /*desc=*/0x200000001540ul, /*payload=*/0ul, /*paylen=*/0ul,
- /*keyring=*/0xfffffffb);
- if (res != -1)
- r[79] = res;
- syscall(__NR_keyctl, /*code=*/0x1eul, /*key=*/r[79], /*from_keyring=*/0,
- /*to_keyring=*/0, /*flags=*/0ul);
- *(uint64_t*)0x200000000140 = 0;
- *(uint64_t*)0x200000000148 = 0;
- *(uint64_t*)0x200000000150 = 0x77359400;
- *(uint64_t*)0x200000000158 = 0;
- syscall(__NR_timer_settime, /*timerid=*/0, /*flags=*/0ul,
- /*new=*/0x200000000140ul, /*old=*/0ul);
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement