// https://syzkaller.appspot.com/bug?id=500b1cc24d7f98cf065e7c59d41f8a2d92fa64a1 // autogenerated by syzkaller (https://github.com/google/syzkaller) #define _GNU_SOURCE #include #include #include #include #include #include #include #include #include #include #include #include #include #include static void kill_and_wait(int pid, int* status) { kill(pid, SIGKILL); while (waitpid(-1, status, 0) != pid) { } } static void sleep_ms(uint64_t ms) { usleep(ms * 1000); } static uint64_t current_time_ms(void) { struct timespec ts; if (clock_gettime(CLOCK_MONOTONIC, &ts)) exit(1); return (uint64_t)ts.tv_sec * 1000 + (uint64_t)ts.tv_nsec / 1000000; } static void execute_one(void); #define WAIT_FLAGS 0 static void loop(void) { int iter = 0; for (;; iter++) { int pid = fork(); if (pid < 0) exit(1); if (pid == 0) { execute_one(); exit(0); } int status = 0; uint64_t start = current_time_ms(); for (;;) { if (waitpid(-1, &status, WNOHANG | WAIT_FLAGS) == pid) break; sleep_ms(1); if (current_time_ms() - start < 5000) continue; kill_and_wait(pid, &status); break; } } } uint64_t r[1] = {0xffffffffffffffff}; void execute_one(void) { intptr_t res = 0; res = syscall(SYS_socket, /*domain=*/2ul, /*type=*/1ul, /*proto=*/0x84); if (res != -1) r[0] = res; *(uint8_t*)0x20000280 = 0x10; *(uint8_t*)0x20000281 = 2; *(uint16_t*)0x20000282 = htobe16(0x4e23); *(uint32_t*)0x20000284 = htobe32(0); memset((void*)0x20000288, 0, 8); syscall(SYS_bind, /*fd=*/r[0], /*addr=*/0x20000280ul, /*addrlen=*/0x10ul); *(uint32_t*)0x20000340 = 0x101; syscall(SYS_setsockopt, /*fd=*/r[0], /*level=*/0xffff, /*optname=*/0x1002, /*optval=*/0x20000340ul, /*optlen=*/4ul); *(uint8_t*)0x20000000 = 0x10; *(uint8_t*)0x20000001 = 2; *(uint16_t*)0x20000002 = htobe16(0x4e23); *(uint32_t*)0x20000004 = htobe32(0x7f000001); memset((void*)0x20000008, 0, 8); syscall(SYS_connect, /*fd=*/r[0], /*addr=*/0x20000000ul, /*addrlen=*/0x10ul); *(uint64_t*)0x20000240 = 0; *(uint32_t*)0x20000248 = 0; *(uint64_t*)0x20000250 = 0x20000040; *(uint64_t*)0x20000040 = 0x20001b80; memcpy( (void*)0x20001b80, "\xb3\xee\xaf\x3e\x9d\xeb\xf0\x0a\x85\xa3\x2d\xf9\xad\x4a\x6c\xa5\x72\xf1" "\xce\xab\x72\xfc\xf9\x8a\x14\x74\x12\x5b\x44\x95\xad\x27\xcb\x9b\xde\x66" "\xe7\x51\xba\xf4\x2a\x43\xee\xa1\x4c\xa9\x84\xe0\xcc\x2a\x66\xcc\xd3\xdd" "\xa1\xdc\xd2\xfb\x22\xd0\xbf\xd1\x98\xfd\xde\x2e\x62\x4c\x0d\xdf\x46\x1a" "\x76\xcb\x18\x10\x72\xe3\x01\x60\xe0\x69\xbe\xc8\xdb\xb7\x4b\x2d\xa6\x6f" "\x83\x48\x0c\x94\x15\x3c\x5e\x0b\x8f\x8b\xd4\x36\xca\xec\xb9\x8d\xec\x57" "\x21\xd9\xa1\xc6\xaf\x70\xe9\xa0\x08\xbc\x3f\x15\x83\xc5\xf1\x4b\x7f\x1d" "\x49\x3f\x14\x13\x8f\x8d\x8a\x36\x71\x8d\xc1\x56\x90\xaf\xd1\xd2\xa1\x67" "\x1e\x4b\xe3\x75\xa0\x50\xc2\xa9\x12\x6c\xae\x6e\x0c\xe7\x2c\x8e\x21\x23" "\x7f\x37\xac\x95\x08\xae\x41\x9e\x5b\xf9\xbe\xe3\x7a\x8e\x1d\xcd\x27\x81" "\xa7\xee\xd1\xb1\x3c\x07\x7b\xd7\xfe\x1a\x15\xea\x9a\x36\x72\x6f\x7a\xff" "\xb0\x7c\x7b\x31\x73\xf8\x83\x82\x1d\xa7\x0b\xd3\xd2\x45\xc3\xd5\x30\x77" "\x1f\x98\x7b\x4c\x3c\x47\x9d\x35\x3a\xb3\xcf\x92\x69\xf2\x38\x93\xbc\xa2" "\xbe\x04\x91\xbb\x1a\x9f\x97\xe6\xbf\xda\x8d\xac\x23\x61\xf6\x0f\xf3\xd5" "\x89\x25\xf0\x13\xbb\x14\x3d\x01\xd2\x94\xad\x75\xa9\xc2\x6a\x7b\x7e\x10" "\x10\x73\xbd\x91\x5f\x0b\x13\x01\xaa\x3d\x29\xcf\x3e\xcd\x08\x6d\x27\x8e" "\x0e\x04\x77\xa1\x73\xee\x8e\x06\xc4\x97\x0c\x5f\x18\xa4\xfa\x99\xbd\x1e" "\xe3\x0c\x90\x68\xff\x5e\xa3\xd8\x37\x1a\x03\x15\xe2\xd7\x34\xfc\x1d\xe7" "\x0c\xc3\x8c\x3a\x0a\x89\xc2\x37\xe7\x94\x99\xcb\xbb\x3b\xae\xdc\xfd\x72" "\x96\x97\x1e\xbc\xb6\xe1\x4b\xbe\x46\xf5\x50\xf6\xff\xc0\xb8\x2a\x73\xc0" "\x85\x1f\xd4\xc7\x44\xf8\x40\xf0\x5c\xb4\x1b\x91\xe6\x40\xc6\xda\xad\x3d" "\x7b\x6d\xe1\xc3\x58\xcb\x47\x7a\xbb\xda\x63\x97\xcd\xce\xc5\xa1\x30\xcb" "\x84\x25\x1a\x54\x5f\x86\x56\x76\x0e\x28\xe9\x68\x6a\x55\x7a\x8f\x92\x75" "\x19\x9f\x10\x72\x15\xc6\x9b\x30\x89\x2f\x2f\xdb\x52\xca\xc5\x51\x68\x39" "\xb9\x8b\x2d\x92\x18\xd1\x64\xf8\x3d\x7c\x25\x5e\x52\x08\x7a\x16\xf6\xed" "\xac\xee\xd2\x0f\x31\x31\x03\x41\x1b\x77\x1b\x91\x5e\xdd\x67\x93\x5b\xd7" "\x90\x35\xc6\x2c\x82\xa1\xa2\x43\x25\x00\x35\xb2\x17\xcb\x1d\x72\x84\xb5" "\x53\xaf\xd7\xbf\x32\x81\xa3\xd9\x83\xb5\x34\xe5\xbb\xd7\x7b\x47\x41\x95" "\xc5\x6d\x0d\xf4\xa1\x50\xda\x59\x7f\x80\x08\x53\x26\xda\x7d\x6d\xbb\x97" "\xc5\x20\xaa\x88\xca\xb1\x7f\xd8\x88\x54\xca\x06\xca\x1b\x7b\x88\x02\x8b" "\xc1\xc3\x22\x8a\xa9\xf5\xd6\xf2\x98\xca\xdd\x45\x0e\x79\xf9\x79\x56\x5b" "\x5d\x62\x39\xa5\xf3\xd4\xc7\x4b\x8b\xd4\xcd\x9a\x15\x9b\x25\x23\x3e\x69" "\xc5\x87\x03\x29\xbb\xf3\x04\xf6\xac\xdf\x2b\x0f\xd8\xfa\x67\xa0\xdd\x41" "\xdd\xf9\x2f\x2c\x1c\x89\xd8\x06\x8c\x9a\xd7\xd1\xf4\x4c\xba\x6b\x79\x4c" "\xc7\xee\x7d\x1c\x3b\x4b\xb6\x63\x2c\xb7\x64\xb9\xe6\x1e\xa2\x72\xbd\xb1" "\xb4\x87\x35\x97\x7b\x18\x5d\xf1\x20\x0b\x8c\x3a\x1a\x02\xe2\xa1\x35\xf1" "\x1d\x9c\xdf\xc7\x16\x66\xa4\x25\xf5\xae\x46\x8f\xb8\x05\x73\xa0\xca\xe8" "\x72\xef\x9d\x1d\x22\xf9\x83\xc2\xd3\x63\x55\x54\x43\x5f\x33\x83\x66\xed" "\x72\x94\xd5\xfa\x08\xcf\x3b\xf0\x7d\xe6\x5e\x30\x9e\xb3\x23\x5e\x5e\xda" "\x8d\xc6\x45\x49\x17\x02\xc9\xe3\xbd\x1e\x85\x2a\xd3\x47\x38\xf4\xce\x2a" "\x87\xe0\x8e\xb4\xab\x11\x25\xb5\xf6\xf4\x8d\x9b\x95\x64\xd0\x73\xf1\xf6" "\x20\xe6\x0d\x01\xc3\x88\x82\x13\x50\x73\x16\xc7\x68\x54\xfd\xfb\x40\xbe" "\xc2\x47\x5e\x65\x1c\x85\x2d\x3f\x68\xd0\x68\xa5\xd9\xb3\x1c\x68\x6c\x83" "\xf6\x83\x33\x21\x66\xcc\xd8\x1c\xde\xf7\x27\xa7\x02\xb0\x42\xf7\x8b\xb9" "\x75\x36\x6e\xc3\x3b\xbf\x72\x65\xe7\xf1\x47\x02\x54\x7a\x83\x45\x4d\xef" "\x81\x85\x0e\xdf\x6a\x2e\x5d\x7c\x3b\x99\xc8\xc8\x42\xfd\xdd\x8a\xc5\x35" "\xc0\xf4\x91\x97\x16\x08\x37\x5c\xc6\xff\xdf\x47\x76\x8c\x9e\xa7\x57\x40" "\xc2\xd5\x50\x84\x61\x90\xd5\xde\x55\xfb\x06\xa0\xb4\xb5\x35\xc9\x0e\x22" "\xb4\x1b\x43\xaf\x8d\xdc\xa1\xc5\x4c\x42\x82\x0a\xab\xe8\x45\xb2\xde\x19" "\x76\x8c\x4d\x72\x2b\xa6\xec\x79\x18\xbe\xd1\x54\x46\x73\xbd\x5d\xc0\x15" "\x60\x4b\xb8\x79\x1e\x42\xf6\x93\xbd\x57\x8b\xde\x2a\x70\x47\xab\x6b\xe2" "\xff\xd9\xc9\x55\xb7\xe2\xdd\xf9\x3d\xd9\x22\x13\x96\x53\x53\x44\x40\x7e" "\x2a\x8c\x20\x5a\x84\x36\xe8\xde\x34\x31\x9e\xd1\xd5\xec\xec\x61\x1c\xea" "\x65\xb1\xab\xb9\x89\x26\xf1\x08\x90\xf4\x1a\xf1\xa7\xe3\x50\x72\x7a\x68" "\x57\x9f\xcb\xe9\x7b\x60\xda\xfe\x43\x8f\xbe\x6b\x5c\x01\x98\xb5\x0b\x91" "\xbf\x16\xa4\x43\xba\xf2\x4b\x78\xe0\xeb\x57\x26\xc0\x11\xc0\xaf\xb9\x30" "\xf9\x47\x6d\x2f\x0e\xf7\x6a\x2e\xde\xfd\xa3\xe2\xe8\x30\x67\x79\xc7\x12" "\xc1\xdb\xef\x4c\x76\x8e\x41\x6e\x50\xf3\x90\xd1\x0a\x22\x31\x07\x45\x35" "\x39\xd1\x7b\x33\xff\x58\x7f\xb8\xd4\x52\x32\xd5\xe5\xd4\x96\xd4\xc0\x73" "\x28\x8f\xfb\x91\xae\x89\x54\x9a\x9d\xda\xf8\x43\xc8\xd8\x38\x1a\xa7\x06" "\xe6\xf0\x33\xa7\x86\x44\x91\x82\xf9\x7a\xee\xc0\x4e\x1b\x78\x1a\xbd\x10" "\x0b\x68\x0f\x44\xa9\xc5\x7d\xd1\xdf\xb3\xa3\x08\x94\xa4\xb4\x84\x80\x40" "\xf8\x31\x9a\x42\x56\x59\xd8\x87\x6b\x52\x4b\x10\x92\xcb\xc1\x5f\x3d\x00" "\x7a\x8d\xfb\x3d\x6f\x0d\xb6\x57\xf8\x1d\x4e\x4f\xcd\x43\xcd\xcd\x72\xee" "\xa7\xb4\x0b\x0f\x57\x2b\xb7\x3a\x20\xe5\xf3\x6f\x1a\x2e\xb7\x7f\x18\xb1" "\x32\x87\x61\xeb\x1f\x86\x14\x34\xdd\x1c\xb7\xfb\xc1\x50\x65\x2e\x99\x02" "\x9f\x6f\xd8\xab\xb8\xf4\x64\x8f\xdd\x44\x99\x1b\x1b\xff\x0c\xc6\x7f\x6f" "\xce\x18\x85\xb6\x27\xf7\x2c\x79\x82\xa2\x49\xad\x7e\x66\xbf\x52\x09\x27" "\xad\xd2\x4e\x91\x69\x10\x72\x6f\x44\x93\x7b\x4d\xa5\xcf\x78\xdc\x7b\xcb" "\x8b\xd8\x59\x77\xab\x57\x24\x96\x63\xbd\x9f\x78\x81\xdb\x07\x3b\xc8\xaf" "\x1b\xaf\xb6\xb5\xc5\xeb\xd2\x72\xf8\xbf\x19\xab\xd3\xc9\x16\x5d\x2f\xe3" "\xa8\x3c\xf2\xcd\xab\xc2\x84\x51\x57\x9d\xb1\x44\xea\x16\x76\xbe\x2a\x6f" "\x48\x03\x03\x3f\xc1\x4d\x7c\x14\x41\x65\xcc\xae\xcd\x1d\x98\x4f\x6b\x48" "\x09\x0e\x18\xf6\xef\x01\x5e\xd3\xa0\xb8\xad\xa3\x7d\xba\xb5\x73\x89\x41" "\xe5\xe6\x28\x1f\x83\x88\x2c\x43\xee\x25\x0d\x8f\xd1\x19\x2a\xd6\xda\xfb" "\xa3\x29\x1a\x37\x63\x49\x6e\xef\x99\x8f\x7d\x3a\x39\xb1\x07\xad\x81\x95" "\x9f\xeb\x4f\x73\x39\x77\xe9\x83\x78\x99\x39\x4c\x36\x9a\x8c\xc8\xc5\x1b" "\x50\x59\x5c\xd7\x29\xc1\xea\x58\x0a\x1b\x7e\xf6\x0c\xc1\x47\x00\x8e\xfc" "\x1e\xb0\x65\x62\x7e\x43\x40\xc3\x87\x39\x9d\x46\x0c\xd0\xd4\xdc\x22\x38" "\xfb\xd0\x6a\xe3\x4d\xd3\xd8\x99\x29\x95\xc4\xe5\x1b\xb4\x63\xac\xc6\xcd" "\x88\x50\x0d\xf9\x86\x40\x33\x96\x12\xb2\xdc\x35\x5d\x7a\xd1\x11\xd5\xc7" "\xbf\x6e\xe0\xf5\x6b\xde\x4c\x6d\xa9\x99\x58\xeb\x67\x4e\x36\x5e\xae\x9a" "\xa3\x20\x34\x1b\x5a\x07\xc1\xd2\xe0\x71\x2b\x61\xbb\xc0\x3a\xcc\xd8\xea" "\xf9\xf5\xa1\xc6\x90\x1f\xe5\xb0\x83\x30\xcd\x05\xa8\xdb\x98\x5e\x49\x97" "\x1e\x72\x5f\x48\x2f\xe5\x56\xd6\xc7\x6b\x42\xce\xa0\x9e\x52\x4a\x30\xbe" "\x1e\xa6\xa8\x58\x89\xd8\xc9\x5b\x3e\x25\xb7\x38\x3e\x43\x37\xf3\x23\x9a" "\x94\x17\xc2\xdd\x6e\x90\x9f\x81\xaf\x70\xb3\x73\x88\x16\xf6\x96\xcf\x00" "\xe5\x1b\x78\xd8\xf7\x1e\x30\x69\x31\xcc\x87\xbc\xcd\x23\x4e\x98\x06\x14" "\xb0\x46\x46\x4c\x9e\xd6\x62\x4c\x03\xf7\x88\xab\x49\x6d\xb9\x22\xfd\x70" "\x66\xd5\xba\xc6\xd1\x80\x46\x44\x9a\xed\xf2\xa7\x55\x07\xd7\x3e\x48\x38" "\xce\x44\x29\x81\x27\xbd\x19\x4c\x79\xd5\x68\x61\xa2\x3e\x15\x28\xfd\x7d" "\x3b\xc3\x03\xf0\xde\xe0\x45\x43\x99\x1a\x8a\xbe\xcf\x73\x1d\xb2\xce\x8c" "\x20\x45\xd3\x25\xac\x8f\xac\x0f\x96\x80\x2c\xca\x8e\xa7\x85\x07\x52\xf5" "\x8a\xe3\x96\xbc\x8b\x5e\xa5\x47\x1b\x78\xde\x2e\x3f\x83\x36\x3f\x77\x5b" "\x20\xb4\xba\xf5\x4b\x59\xa3\x9c\xef\x51\xb3\xe6\xa5\xcf\x4e\x2b\xf8\x0d" "\x71\x43\x9f\x67\x03\xb1\x02\x1b\xe4\xe8\x1a\x93\xf3\xd5\x67\xf7\xbc\x27" "\x6b\xae\x4e\x2a\xc1\x2c\x05\xfd\xa9\x0d\xcc\xe7\x99\xd2\x78\x62\x8b\xa6" "\x6b\x64\xf1\x9b\x3d\x83\x6a\x28\x4b\x8f\xa0\x53\x60\xd3\x16\xc7\xd0\x91" "\xf7\x90\x24\x1a\xdb\x94\x35\xab\x4e\x9c\x2f\x9c\xe1\xff\x8c\x09\xc6\xb8" "\xe4\x5d\xcc\xfc\x8e\x16\x43\xf1\x36\xbc\x04\x60\x6d\xe1\x3e\x78\x4a\x0b" "\x3f\x95\x4e\xfc\xea\x41\x74\xa4\xd8\xd6\x21\xbd\x94\x85\x50\xc3\xfa\x5e" "\xeb\x50\x13\x17\xba\x0b\x8a\xec\xf6\x5e\xd4\xb8\x98\x60\x45\xd6\xa8\x60" "\xa6\x41\x6f\x2a\xae\xf3\x26\x9d\xed\xa9\x45\xac\x98\x12\x94\x27\x9b\xf9" "\xf0\x2a\xaa\x13\x04\xe6\xc5\x1f\xb2\x6a\x87\xcc\xa6\xa4\x5a\x00\x22\x7f" "\x0e\xcf\xe2\x5e\x94\xd4\x71\xa5\x49\x5c\xa2\xc9\xd0\x9b\xe3\x48\xd4\x82" "\x01\xcc\x8a\x25\xe2\xdb\xc6\x11\xd3\x90\x0b\xa4\x45\xb1\x64\xa5\x7d\xd7" "\x76\x7a\x92\x7c\x28\xd0\x9f\xac\xfd\xdd\x92\x05\x63\x94\xcc\xe7\x69\x0d" "\xb4\x2c\x60\xc1\xfd\x80\xc8\x29\x4a\x62\x83\x1f\xc2\x12\xb1\xb7\xc6\x09" "\x8f\x7e\x38\x79\x09\xa3\x4b\x5c\x78\xcf\x1e\xf5\x74\x82\x58\x59\xba\x9a" "\x88\xe6\x4a\xba\x43\x38\x2f\x84\x0a\xaa\x49\x71\xe6\x53\xd2\xf5\x43\x87" "\xa2\xe1\x90\xea\xdd\xd9\xb4\x39\x4c\x8e\xe3\xaa\x03\x6b\xec\x50\xac\x90" "\xb9\xa6\x80\x75\xc9\xcd\x21\xcd\xed\x4d\xfe\x38\x09\xeb\x97\xff\x35\xf7" "\xa6\xcb\x6a\xf3\x9e\x8e\xe1\x49\x53\x3f\x05\x6e\xc7\x9c\x23\xcb\xb6\x64" "\x9b\xa8\x2b\x21\x25\xe9\xff\xf7\x49\x98\x57\x14\x6a\xb7\xec\xef\xf8\x13" "\x49\xfa\x4e\xf7\x10\xa8\x31\xeb\x90\x14\x03\x0b\x83\xc3\xcf\x4e\xd7\xa9" "\x56\x96\x78\xe9\x2f\xa6\xe7\x52\x8f\xaa\x02\x86\x70\xc5\xde\xc9\xa0\xab" "\xcb\xbb\x31\xcc\xc1\x3f\x78\x76\xcc\xc5\xb8\xcf\x49\xce\xae\x39\x27\xd6" "\xf6\x8e\x10\x2a\x71\x3d\x2f\x56\xcf\xbf\xfc\x37\x40\x63\x1e\xf7\x5a\xc3" "\x0d\xf2\xcf\xb7\x96\xed\xe2\xa4\x84\x17\x6a\xe3\x28\xa6\x72\x4f\xfd\xe4" "\xd8\xec\xda\x4c\xf5\x9a\x96\xd3\x17\xa9\x99\x6d\xf7\x37\xe0\x93\x78\x51" "\xd9\x73\x03\xb0\x3d\x3d\x98\x6a\xf2\xbd\xa7\xa2\x91\xf0\xbf\xbe\x8a\x5c" "\xc4\xae\x41\xa7\x46\x1a\x38\xf6\xf4\xed\x45\x04\xf1\x43\x4b\xaa\xe0\x6b" "\xbe\xcc\x59\xb7\x24\xe8\x6c\x47\xed\x82\x4c\x47\xd2\xe9\xf4\x7c\xd9\x83" "\x37\x0c\x4e\x29\x6b\x2b\x20\x5e\xaa\x22\x9b\xc1\x08\xed\x3a\x9e\x04\x7f" "\x17\xd4\xe7\x02\xbb\xb3\x1b\xe6\x76\x45\xac\x07\x28\x84\x34\xea\x43\xb0" "\xd5\x88\xca\x3c\xfc\x1b\xa8\xac\x4c\xd1\xec\x1a\x1b\x04\xef\xd7\x90\x98" "\xdf\x59\xa0\x4f\x27\xac\x40\x58\x74\xa7\xd4\x3f\x42\x89\x1c\xa0\xa7\x23" "\x5e\xda\x3f\xc1\x43\x49\x22\xde\x12\x18\x88\xcb\x9a\x25\x23\x82\x91\x6e" "\x24\x59\x00\x8a\xf9\xdf\x08\xcb\xb8\x4d\x22\x41\xa5\xc9\x57\x0a\x1f\xf0" "\xa1\xfb\x2e\x2e\xe2\x69\x8a\x03\x7d\x98\xe3\x4d\x3c\x6e\xba\xd1\xed\x90" "\x7a\xdc\xa7\x00\xa3\x45\xd0\xc8\x79\x60\xb4\x1b\x51\x6e\xeb\x62\x60\x1b" "\x4d\x0a\xd3\x17\x4a\xd1\x1f\x22\x12\x8e\x3e\x9c\x57\xb0\x60\x6e\xe8\x89" "\xce\x5d\x82\x44\x2a\x40\xc6\x52\x3c\xbb\x60\x96\x77\xe0\x94\x0d\x5f\xad" "\x0d\x9e\xb4\x43\xae\xd3\x18\x04\xce\x20\x1c\xce\x22\xa9\x78\x76\xa2\x5c" "\x90\x71\x88\xb1\xc2\xfc\x0a\x89\x1f\xe7\x96\x11\x08\x85\xbd\x0b\x4e\x9b" "\x9e\x03\x3d\xd0\xd2\xd8\x68\xd5\x9e\xde\x40\x9a\x1e\x4e\xe4\x00\x1a\x6e" "\xb2\xb0\xf9\xb1\x57\x86\x54\xde\x2c\xcc\x1e\x90\xe6\x35\x2f\x9c\x56\x4f" "\x90\xa6\x8a\x71\x36\xe1\x83\xca\x8c\xc7\x47\x10\x01\x5a\x17\xb5\x47\x88" "\x50\x4b\x28\x81\x68\xf1\xf3\x3c\xc7\x04\xa7\x7f\xa5\x9c\x8e\x93\x12\x1c" "\x79\xcb\x91\xea\x65\xf2\xa6\x01\x64\x80\x8c\xf4\x1d\x22\x82\xba\x01\x5d" "\xba\xe2\x5c\xd3\x66\x5d\x41\x5f\xaf\x75\x93\xb6\xde\xa0\x46\x7b\xc5\xed" "\x58\x59\xc1\x29\xbc\x23\x6e\xe9\xbf\xf1\x0f\x3a\xb1\x64\xbe\x7b\x02\x25" "\x44\xf3\x7f\xd6\xaa\x5d\xb7\xb7\xcb\x7b\x38\xcd\xb2\x11\xb1\xe5\xe0\x67" "\xba\xc1\xf2\x2f\x04\x4a\xfb\xe0\x33\xda\xc0\xfb\xd4\xc5\x23\x36\xb4\x35" "\xe4\xd3\x2a\xed\x89\x12\xd8\xe5\xd4\x76\x53\x2a\x29\x9c\xf3\xbc\xe3\x84" "\x9e\x0f\x5e\x68\x29\xa6\x38\xad\x30\x68\xc8\xae\x58\x5a\xe6\xbc\x62\x8a" "\xf1\x42\x65\xa0\x49\xd8\x85\x12\x6d\x42\xed\xc9\xf2\xd9\x45\x82\xd1\x86" "\x57\xe7\x80\x17\xf5\xd9\x58\x95\xf8\xb3\x42\x35\xcf\xa9\x90\xc6\xd8\xa4" "\xb5\x91\x99\x9e\xb3\xb7\x4f\x31\x97\xe8\x52\xa5\xca\x73\x65\x9b\x93\xa7" "\x1d\x8a\xae\x20\x1c\x8b\x37\x33\xc1\xe8\x53\xc0\x92\x62\xcd\x39\x51\x7f" "\x4a\xc6\x12\x6b\xc8\xf6\x9f\x1b\xa6\x17\x0f\xc6\xb5\x37\x28\x2f\x78\x56" "\x3e\x49\xc5\x81\x6f\xf5\xe9\x98\xea\x72\xd6\x87\x90\x2b\x82\xb6\xed\xc6" "\x89\x38\xf4\x14\xbe\xf5\x54\x5f\x87\xf5\x19\x89\xab\x20\xfd\xdc\xa6\x0c" "\x4f\xdd\x5c\x68\xf4\xc2\xef\x60\x28\xd3\xcf\x40\x55\x80\xf2\xa9\x4c\xcb" "\xd1\xab\x87\x6b\x88\x38\x8d\xf6\xe3\x66\xbf\xee\xdc\x50\xa3\x5e\xca\xc8" "\xd4\x39\x53\xaf\xd0\xa1\xd8\x58\xa0\x8d\x09\x8f\xe0\x52\x83\x37\x57\x6b" "\x63\x31\x35\x45\xdc\x0d\x71\x8e\x0c\x62\x65\x99\x74\x47\x46\x00\x8e\x2a" "\xa6\x23\x83\xef\x15\x1b\x98\xb3\x4b\xf1\x56\xd0\xfa\x4f\xa1\x9a\x13\x6d" "\x98\xfc\x4d\x31\x06\x9f\x37\x2c\xce\x30\xca\x77\x8b\x96\x84\x9f\x01\x1f" "\x51\x5c\xe1\x30\xa5\x16\x07\xa4\x17\xc7\xbc\x65\x0e\x33\x84\xc9\xeb\x1a" "\x69\x24\xdc\x12\xb6\x32\xa8\x6c\x2f\x54\x4d\xd8\x8b\x27\x89\x97\x1c\x2a" "\x05\x84\x68\x04\x5b\xee\x6c\xe4\xfe\xa8\x95\xff\xb0\x12\x23\xf2\x64\x3f" "\x62\xda\x51\x10\x35\xa3\x59\x9b\xa3\xb0\x9f\x18\xa3\xe3\x30\xfe\xd7\x72" "\x30\x62\xa8\x33\x29\x7c\xeb\xef\x26\x09\x02\x85\x78\xcd\x82\x72\x73\x08" "\xe0\x63\x70\x97\xea\x63\x3c\x6d\xfa\x23\x95\x22\x04\xa0\xca\x66\x79\x17" "\x0a\x70\xa2\x5c\x54\x50\x08\x1f\xa6\x00\x8a\x8e\xa0\xde\x23\x37\x7b\x53" "\x6f\x3f\xa9\x7b\x05\x25\x18\xe7\xd6\x7d\xa5\x49\x20\xe3\x25\x45\x6e\x30" "\x8a\x06\xca\x58\x59\x10\xe3\xe0\x9f\xcd\xd6\x2a\x52\xaa\xfb\x33\xd1\xbf" "\xd9\xb1\x96\x6e\xc5\xf2\x7a\xfd\x47\xad\x6b\x76\x6f\x6e\x43\x93\x50\xc5" "\x81\xb5\xa1\x6f\x8a\xc8\x06\xa6\x87\x72\xf7\xfd\xd4\x72\x9e\xd6\x02\xfa" "\xe4\x1e\xa7\x01\x06\x72\x3f\xb7\xd6\x07\xf4\xf7\xdd\x9a\x36\x6b\xc3\xb9" "\x19\xdb\x35\xf0\xf8\x7c\x56\xde\x68\x88\x43\x53\xeb\xb6\xe4\x9d\xc9\xaf" "\xf1\x81\x67\x6e\x27\x2a\x6e\xbb\xb7\x26\x46\x5d\x0e\xcf\x9b\x8b\x3a\x07" "\x8c\xba\x6e\xfc\x7c\xd9\x26\x24\xc2\xb9\xe7\xd0\x8d\x84\x5a\xe7\x69\xeb" "\xfd\x43\x7f\x00\xd2\x75\xe7\x83\xb6\x4e\x1f\xdc\xb5\x14\xbf\xd0\x5d\x40" "\xec\x5a\x03\x29\x15\xec\x4c\x68\x97\x66\xe7\x32\x79\x91\xcb\x0b\xfe\x34" "\xf5\xd3\xe2\xd1\xff\xa0\xd1\x0e\xff\x1d\xc9\xdf\x0f\x4f\xc0\xa3\x42\x27" "\x3c\x5f\x1f\x96\xb4\x12\x0c\x09\x68\x7c\xd2\x57\xe5\x84\xec\xcd\xd0\xba" "\x10\xb0\x58\x04\xd8\xfb\x5e\x52\x19\xdf\xac\x0a\x8d\xa1\x94\xd7\x35\xac" "\x18\xab\xb6\x10\xcc\x39\x46\x42\xbe\x22\x29\x5c\xad\x87\x65\x69\x41\x14" "\x3f\xfe\x2a\x78\xb2\x8f\x26\x47\x29\x4e\xa2\x77\x86\xe1\x76\x21\xf5\x19" "\x11\xd4\xe9\x68\xf2\xeb\xb0\xd4\xcf\xa8\xad\xae\x22\x5b\xda\xb9\x82\xd9" "\xfd\xbe\x62\x21\xee\x1c\xfe\x24\x84\x48\x7c\x32\x75\xf3\xb4\x01\xcb\x17" "\xbf\x09\xf3\x9b\x99\xea\x2f\x57\x55\x47\x36\x98\x2c\xb5\x3d\x81\xda\x0c" "\x89\xf0\xe0\x28\xcc\xb1\x36\x3f\xff\x2f\xd5\x00\xc8\x35\x47\x9a\xf3\x0e" "\xcc\xeb\x92\xcf\x91\x7d\x88\x96\x9e\xc2\x6d\xc4\xcd\x7e\x30\xd1\xae\xf4" "\x61\x17\x18\xa1\xd0\x4f\x7a\xa4\x9d\x53\xba\x0f\x95\x93\x31\x48\x1f\xd9" "\x5f\xb8\x0f\x1a\x55\x37\xae\x7c\xab\x61\x64\x04\xf1\x17\x09\x95\x3b\x24" "\xc4\xc8\xfe\x6f\x20\x2d\xeb\x59\x29\xc9\x82\x8c\x82\xbc\x09\xe1\x34\x2a" "\x89\x41\x43\x9e\xd0\x89\x90\xb3\xc7\x6a\xbb\x0e\xb9\x83\x0e\xea\x5a\x9b" "\xde\xce\xcf\xf8\xbd\x69\xc2\x89\x33\x93\x68\x25\x91\x8e\x55\xfd\x80\xe1" "\x26\x96\xe8\x40\xc5\x38\xa1\xfa\xf0\x73\xa8\x13\x8a\x61\xdb\x5c\x81\xc7" "\x42\x79\x54\x0b\x8f\xe9\x0d\x3f\xa8\x90\xa9\x69\x9b\x23\xb4\xc6\xb4\x91" "\xe3\xd7\x5f\x27\x78\x14\x6a\xe6\x2f\xe3\x1b\x05\xf9\x16\x2e\x6a\xb4\x4b" "\x09\xdd\x19\x48\x00\x03\xe9\x58\x60\xd0\xd9\xdb\x4d\x2f\xe1\x16\x8b\xc0" "\x57\xad\xf8\x3e\xa7\xbf\x77\x63\xa2\x49\x3a\x8d\x8d\x05\x52\xd7\xf1\xab" "\xc5\x4f\xb4\xb4\x85\x89\x80\x95\xce\xe1\xd2\xa7\x1a\xde\x10\xca\x8f\x04" "\x36\x6e\xc8\x23\xc7\x65\xa6\x67\xe9\x81\x97\xf7\x51\x5c\x96\xe6\x8b\x9f" "\x64\x07\x85\xb9\x2c\x89\xbd\x9d\x8a\xf9\xbe\xce\x5e\x41\x09\xce\x12\x92" "\xd1\xe2\x2c\x30\xf0\x6a\xb7\x6d\x8f\x59\x76\x7a\x83\x45\x3f\x71\xb0\x4c" "\xbf\x0c\xf5\xa3\x68\x37\x19\xb1\x61\xae\xdc\x0d\xf3\xf7\xca\x97\xd6\x8a" "\xe2\x92\xd5\x00\xe5\xee\xcb\x23\xfa\x76\xd7\x6e\x13\x94\xc0\x2c\x02\xf6" "\x3a\x99\xd6\xa6\x65\x7a\x91\xc4\xa6\xf2\x10\xfb\x26\xe5\xba\x93\x87\x94" "\x5d\x42\xca\x4c\x3a\xf5\x6d\xf4\xa0\x89\x2f\x2b\xc4\x67\xab\x29\xbe\x10" "\x53\x74\xe1\x60\x49\x37\x95\xae\x23\xc6\x1f\x8a\x23\xd5\xea\xef\x74\x07" "\x67\xb1\x79\x46\x57\x12\x4b\xa9\x20\xa7\x27\xfd\x42\x5a\xa6\xf9\xfc\x7c" "\x28\xef\x9c\xdd\xbc\x2f\x9e\xd3\x08\x3d\x86\x2b\x7a\x34\xcd\xf8\x5e\x57" "\x36\xa7\xeb\x05\x33\x3c\xdb\x1d\x6e\x67\x27\x12\x7b\xa6\xad\x1b\x23\x86" "\x3b\x9c\x15\x9a\x25\x7f\x04\x2d\x29\x29\xb7\x8c\x24\x07\x5f\xfd\x3f\x43" "\x56\x01\xb3\xa1\x44\x00\x7b\x7a\x95\xb4\x63\x5f\x05\xcf\xae\x30\x00\xe0" "\xb7\x5d\xce\x57\xcb\xc1\x1d\xb6\x0f\x38\x07\xe5\x70\x77\xed\xad\x9b\x06" "\xea\xfd\xb5\x2d\xcb\x86\x0c\x6a\x0d\x6d\x62\x9e\x9c\xe3\x57\x72\xe2\xe9" "\xc6\xed\x56\x4f\x4d\x75\x2d\x55\x06\x3b\x3e\x1e\x2e\xb0\xa3\x08\x6d\x63" "\x1f\xd2\xe1\x23\x2a\xae\x16\xda\x10\x23\x07\xcc\x0e\xfd\xcd\x89\xba\xbc" "\x5e\x38\xd9\xfb\x30\xcf\xa7\x76\x4c\x2d\x8f\x85\x72\x87\x4f\x6c\xae\x31" "\x5c\x61\x21\x8f\xb4\xa3\x51\x8b\x93\xf3\x6b\xe3\x87\xd9\xcb\x55\x19\xb8" "\xb4\xd5\xaf\x66\xdb\x51\x33\x5a\xe2\x80\x24\xc5\x8d\x97\x78\x06\x2f\x5a" "\x16\x31\x4e\x8f\xe0\x0d\x3f\x92\x30\xce\x46\x80\xfe\x9a\xeb\x07\x0d\x87" "\x44\xbd\xd3\x5d\x71\xa0\x4c\x02\x2b\xb4\x8e\x94\x98\xfc\x16\x56\x36\x3c" "\xa7\x47\xa7\xf2\x36\x4f\x24\x17\xb6\xc6\x7f\xd1\xba\x80\xa2\x3c\x76\xbb" "\x3e\xef\xab\x05\x05\x33\x55\xec\xa6\x7d\xf1\x40\x80\x86\xb5\x51\x74\xfb" "\x30\xab\xf9\xd3\x50\x00\xe2\xae\x46\xa7\x69\x44\x61\x4a\xf3\x78\xa4\xed" "\x26\x49\xb1\x60\x71\x6e\x91\xb5\xf9\xe5\xfe\xa3\x92\xb0\x54\xbe\x44\x7e" "\xa4\xb4\x3a\x03\x06\xd0\xa9\xde\x03\x13\x18\x84\xc4\x95\x5b\xf3\x00" "\x1d", 4032); *(uint64_t*)0x20000048 = 0xfc0; *(uint64_t*)0x20000050 = 0x20002b80; memcpy((void*)0x20002b80, "\x48\xfc\x47\xf9\xa4\x0c\x57\xbb\x80\xa2\xbb\xfe\x77\xde\xf7\xf0\x9c" "\xe3\x5f\x7a\x07\x3c\x74\x48\x32\x1f\x01\x81\x13\x89\xbe\xd4\xfa\x4e" "\x3e\xd9\x54\xd4\x27\x3c\xd4\xf5\x2f\xc6\x2a\x43\xf4\x36\xcf\x81\x62" "\x55\x22\xf8\xa2\x52\x50\xfd\x93\xba\xbf\x1f\x9d\x56\x46", 65); *(uint64_t*)0x20000058 = 0x41; *(uint32_t*)0x20000258 = 2; *(uint64_t*)0x20000260 = 0; *(uint32_t*)0x20000268 = 0; *(uint32_t*)0x2000026c = 0; syscall(SYS_sendmsg, /*fd=*/r[0], /*msg=*/0x20000240ul, /*f=*/0ul); syscall(SYS_read, /*fd=*/r[0], /*buf=*/0x20000b80ul, /*count=*/0x1000ul); } int main(void) { syscall(SYS_mmap, /*addr=*/0x20000000ul, /*len=*/0x1000000ul, /*prot=*/7ul, /*flags=*/0x1012ul, /*fd=*/-1, /*offset=*/0ul); loop(); return 0; }