// https://syzkaller.appspot.com/bug?id=e826b4d012da9963d581b16d665db3811588ffbe
// autogenerated by syzkaller (http://github.com/google/syzkaller)

#define _GNU_SOURCE
#include <endian.h>
#include <stdint.h>
#include <string.h>
#include <sys/syscall.h>
#include <unistd.h>

long r[1];
void loop()
{
  memset(r, -1, sizeof(r));
  syscall(__NR_mmap, 0x20000000, 0xfff000, 3, 0x32, -1, 0);
  r[0] = syscall(__NR_socket, 0x40000000015, 5, 0);
  *(uint16_t*)0x20fc4ff0 = 2;
  *(uint16_t*)0x20fc4ff2 = 0;
  *(uint32_t*)0x20fc4ff4 = htobe32(0x7f000001);
  *(uint8_t*)0x20fc4ff8 = 0;
  *(uint8_t*)0x20fc4ff9 = 0;
  *(uint8_t*)0x20fc4ffa = 0;
  *(uint8_t*)0x20fc4ffb = 0;
  *(uint8_t*)0x20fc4ffc = 0;
  *(uint8_t*)0x20fc4ffd = 0;
  *(uint8_t*)0x20fc4ffe = 0;
  *(uint8_t*)0x20fc4fff = 0;
  syscall(__NR_bind, r[0], 0x20fc4ff0, 0x10);
  *(uint16_t*)0x20fc9000 = 2;
  *(uint16_t*)0x20fc9002 = 0;
  *(uint32_t*)0x20fc9004 = htobe32(0x7f000001);
  *(uint8_t*)0x20fc9008 = 0;
  *(uint8_t*)0x20fc9009 = 0;
  *(uint8_t*)0x20fc900a = 0;
  *(uint8_t*)0x20fc900b = 0;
  *(uint8_t*)0x20fc900c = 0;
  *(uint8_t*)0x20fc900d = 0;
  *(uint8_t*)0x20fc900e = 0;
  *(uint8_t*)0x20fc900f = 0;
  syscall(__NR_sendto, r[0], 0x20fbffff, 0xff4e, 0, 0x20fc9000, 0x10);
}

int main()
{
  loop();
  return 0;
}