// https://syzkaller.appspot.com/bug?id=54df8043714e78c6c3ce599d89241b821fab5def // autogenerated by syzkaller (https://github.com/google/syzkaller) #define _GNU_SOURCE #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include 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; } #define BITMASK(bf_off, bf_len) (((1ull << (bf_len)) - 1) << (bf_off)) #define STORE_BY_BITMASK(type, htobe, addr, val, bf_off, bf_len) \ *(type*)(addr) = \ htobe((htobe(*(type*)(addr)) & ~BITMASK((bf_off), (bf_len))) | \ (((type)(val) << (bf_off)) & BITMASK((bf_off), (bf_len)))) static bool write_file(const char* file, const char* what, ...) { char buf[1024]; va_list args; va_start(args, what); vsnprintf(buf, sizeof(buf), what, args); va_end(args); buf[sizeof(buf) - 1] = 0; int len = strlen(buf); int fd = open(file, O_WRONLY | O_CLOEXEC); if (fd == -1) return false; if (write(fd, buf, len) != len) { int err = errno; close(fd); errno = err; return false; } close(fd); return true; } static void kill_and_wait(int pid, int* status) { kill(-pid, SIGKILL); kill(pid, SIGKILL); int i; for (i = 0; i < 100; i++) { if (waitpid(-1, status, WNOHANG | __WALL) == pid) return; usleep(1000); } DIR* dir = opendir("/sys/fs/fuse/connections"); if (dir) { for (;;) { struct dirent* ent = readdir(dir); if (!ent) break; if (strcmp(ent->d_name, ".") == 0 || strcmp(ent->d_name, "..") == 0) continue; char abort[300]; snprintf(abort, sizeof(abort), "/sys/fs/fuse/connections/%s/abort", ent->d_name); int fd = open(abort, O_WRONLY); if (fd == -1) { continue; } if (write(fd, abort, 1) < 0) { } close(fd); } closedir(dir); } else { } while (waitpid(-1, status, __WALL) != pid) { } } static void setup_test() { prctl(PR_SET_PDEATHSIG, SIGKILL, 0, 0, 0); setpgrp(); write_file("/proc/self/oom_score_adj", "1000"); } static void execute_one(void); #define WAIT_FLAGS __WALL static void loop(void) { int iter; for (iter = 0;; iter++) { int pid = fork(); if (pid < 0) exit(1); if (pid == 0) { setup_test(); 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 < 5 * 1000) continue; kill_and_wait(pid, &status); break; } } } #ifndef __NR_bpf #define __NR_bpf 357 #endif #ifndef __NR_mmap #define __NR_mmap 192 #endif #ifndef __NR_perf_event_open #define __NR_perf_event_open 336 #endif #undef __NR_mmap #define __NR_mmap __NR_mmap2 uint64_t r[1] = {0xffffffffffffffff}; void execute_one(void) { intptr_t res = 0; *(uint32_t*)0x20000080 = 3; *(uint32_t*)0x20000084 = 8; *(uint64_t*)0x20000088 = 0x20000900; memcpy( (void*)0x20000900, "\x62\x0a\xf8\xff\x0c\x20\x00\x21\xbf\xa1\x00\x00\x00\x00\x00\x00\x07\x01" "\x00\x00\xf8\xff\xff\xff\xb7\x02\x00\x00\x03\x00\x00\x00\xbd\x12\x00\x00" "\x00\x00\x00\x00\x85\x00\x00\x00\x06\x00\x00\x00\xb7\x00\x00\x00\x00\x00" "\x00\x00\x95\x00\x00\x00\x00\x00\x00\x00\x3f\xaf\x4f\x2a\xa3\xd9\xb1\x8e" "\xd8\xa2\x53\x12\xa2\xe2\xc4\x9e\x80\x20\xa6\x96\x23\xa2\xf5\x7b\xa3\x2e" "\x8c\xf1\xcc\x1a\x10\x0a\x9a\xf6\x98\x39\x3a\xa0\xf3\x88\x1f\x9c\x24\xaa" "\x56\xf1\x51\x99\xfa\xd0\x09\x3c\x59\xd6\x6b\x5e\xce\x9f\x36\xc7\x0d\x0f" "\x13\x90\x5e\xa2\x3c\x22\x62\x4c\x9f\x87\xf9\x79\x3f\x50\xbb\x54\x60\x40" "\x67\x7b\x0c\x50\x77\xda\x80\xfb\x98\x2c\x1e\x94\x00\xe6\x93\x14\x6c\xea" "\x48\x4a\x41\x5b\x76\x96\x61\x18\xb6\x4f\x75\x1a\x0f\x24\x1b\x07\x2e\x90" "\x08\x00\x08\x00\x2d\x75\x59\x3a\x28\x6c\xec\xc9\x3e\x64\xc2\x27\xc9\x5a" "\xa0\xb7\x84\x62\x57\x04\xf0\x7a\x72\xc2\x91\x84\x51\xeb\xdc\xf4\xce\xf8" "\x09\x60\x60\x56\xfe\x5c\x34\x66\x4c\x0a\xf9\x36\x0a\x1f\x7a\x5e\x6b\x60" "\x71\x30\xc8\x9f\x18\xc0\xc1\x08\x9d\x8b\x85\x88\xd7\x2e\xc2\x8b\x48\xb4" "\x5e\xf4\xad\xf6\x34\xbe\x76\x32\x89\xd0\x1a\xa2\x7a\xe8\xb0\x9e\x00\xe7" "\x9a\xb2\x0b\x0b\x8e\xd8\xfb\x7a\x68\xaf\x2a\xd0\x00\x00\x00\x00\x00\x00" "\x00\x6f\x80\x3c\x64\x68\x97\x20\x89\xb3\x02\xd7\xbf\x60\x23\xcd\xce\xdb" "\x5e\x01\x25\xeb\xbc\xeb\xdd\xe5\x10\xcb\x23\x64\x14\x12\x15\x10\x6b\xf0" "\x4f\x65\x83\x33\x71\x9a\xcd\x97\xcf\xa1\x07\xd4\x02\x24\xed\xc5\x46\x5a" "\x93\x2b\x77\xe7\x4e\x80\x22\x0d\x42\xbc\x60\x99\xad\x23\x00\x00\x00\x80" "\x00\x6e\xf6\xc1\xff\x09\x00\x00\x00\x00\x00\x00\x00\xc6\x3a\x94\x9e\x8b" "\x79\x55\x39\x4f\xfa\x82\xb8\xe9\x42\xc8\x91\x12\xf4\x0c\xfd\x7c\x3a\x1d" "\x37\xa6\xab\x87\xb1\x58\x66\x02\xd9\x85\x43\x0c\xea\x01\x62\xab\x3f\xcf" "\x45\x91\xc9\x26\xab\xfb\x07\x67\x19\x23\x7c\x8d\x0e\x60\xb0\xee\xa2\x44" "\x92\xa6\x60\x58\x3e\xec\xdb\xf5\xbc\xd3\xde\x3a\x83\x20\x9d\xa1\x7a\x0f" "\xaf\x60\xfd\x6a\xd9\xb9\x7a\xa5\xfa\x68\x48\x03\x66\xc9\xc6\xfd\x6f\xa5" "\x04\x3a\xa3\x92\x6b\x81\xe3\xb5\x9c\x9b\x08\x1d\x6a\x08\x00\x00\x00\xea" "\x2b\x1a\x52\x49\x6d\xfc\xaf\x99\x43\x14\x12\xfd\x13\x4a\x99\x63\x82\xa1" "\xa0\x4d\x5b\xb9\x24\xcf\xe5\xf3\x18\x54\x18\xd6\x05\x32\xaf\x9c\x4d\x2e" "\xc7\xc3\x2f\x20\x95\xe6\x3c\x80\xaf\xf9\xfa\x74\x0b\x5b\x76\x32\xf3\x20" "\x30\x91\x6f\x89\xc6\xda\xd7\x60\x3f\x2b\xa2\xa7\x90\xd6\x2c\x6f\xae\xc2" "\xfe\xd4\x4d\xa4\x92\x8b\x30\x14\xab\x2f\x70\x34\x4e\x16\xcb\x9a\x62\x98" "\x06\x0d\x6b\x2b\xa1\x1d\xe6\xc5\xd5\x0b\x83\xba\xe6\x16\xb5\x05\x4d\x1e" "\x7c\x13\xb1\x35\x5d\x6f\x4a\x82\x45\xff\xa4\x99\x7d\xa9\xc7\x7a\xf4\xc0" "\xeb\x97\xfc\xa5\x85\xec\x6b\xf5\x83\x51\xd5\x64\xbe\xb6\x1e\x8c\xaa\xb9" "\xc7\x07\x64\xb0\xa8\xa7\x58\x3c\x90\xb3\x43\x3b\x80\x9b\xdb\x9f\xbd\x48" "\xbc\x87\x34\x95\xcb\xff\x8a\x32\x6e\xea\x31\xae\x4e\x0f\x75\x05\xeb\xf6" "\xc9\xd1\x33\x30\xca\x00\x6b\xce\x1a\x84\x52\x1f\x14\x51\x8c\x9b\x47\x6f" "\xcc\xbd\x6c\x71\x20\x16\x21\x98\x48\x62\x4b\x87\xce\xc2\xdb\xe9\x82\x23" "\xa0\xeb\x4f\xa3\x9f\x6b\x5c\x02\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x03\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x10" "\x00\x8b\xc0\xd9\x55\x97\x11\xe6\xe8\x86\x1c\x46\x49\x5b\xa5\x85\xa4\xb2" "\xd0\x2e\xdc\x3e\x28\xdd\x27\x1c\x89\x62\x49\xed\x85\xb9\x80\x68\x0b\x6c" "\x4a\x00\x00\x00\x00\x2b\x43\x5a\xc1\x5f\xc0\x28\x8d\x9b\x2a\x16\x9c\xdc" "\xac\xc4\x13\xb4\x8d\xaf\xb7\xa2\xc8\xcb\x48\x2b\xac\x0a\xc5\x02\xd9\xba" "\x96\xff\xff\xff\x7f\x00\x00\x00\x00\xdf\x73\xbe\x83\xbb\x7d\x5a\xd8\x97" "\xef\x3b\x7c\xda\x42\x01\x3d\x53\x04\x6d\xa2\x1b\x40\x21\x6e\x14\xba\x2d" "\x6a\xf8\x65\x6b\xff\xf1\x7a\xdd\xae\xda\xb2\x5b\x30\x00\x2a\xbb\xba\x7f" "\xa7\x25\xf3\x84\x00\xbe\x7c\x1f\x00\x1b\x2c\xd3\x17\x90\x2f\x19\xe3\x85" "\xbe\x9e\x48\xdc\xcf\xf7\x29\x43\x32\x82\x83\x06\x89\xda\x6b\x53\xb2\x63" "\x33\x98\x63\x1c\x77\x71\x42\x9d\x12\x00\x00\x00\x33\x41\xbf\x4a\x00\xfc" "\xff\xff\xff\xff\xff\xff\xff\xe0\x9f\xec\x22\x71\xfe\x01\x58\x96\x46\xef" "\xd1\xcf\x87\x0c\xd7\xbb\x23\x66\xfd\xe4\xa5\x94\x29\x73\x8f\xcc\x91\x7a" "\x57\xf9\x4f\x6c\x45\x3c\xea\x79\x3c\xc5\xee\x0c\x2a\x5f\xf8\x70\xce\x5d" "\xfd\x34\x67\xde\xcb\x05\xcf\xd9\xfc\xb3\x2c\x8e\xd1\xdb\xd9\xd1\x0a\x64" "\xc1\x08\x28\x5e\x71\xb5\x56\x5b\x17\x68\xee\x58\x96\x9c\x41\x59\x52\x29" "\xdf\x17\xbc\xad\x70\xfb\x40\x21\x42\x8c\xe9\x70\x27\x5d\x5b\xc8\x95\x57" "\x78\x56\x7b\xc7\x9e\x13\xb7\x82\x49\x78\x8f\x11\xf7\x61\x03\x8b\x75\xd4" "\xfe\x32\xb5\x61\xd4\x6e\xa3\xab\xe0\xfa\x4d\x30\xdc\x94\xef\x24\x18\x75" "\xf3\xb4\xb6\xab\x79\x29\xa5\x7a\xff\xe7\xd7\xfa\x29\x82\x2a\xea\x68\xa6" "\x60\xe7\x17\xa0\x4b\xec\xff\x0f\x71\x91\x97\x72\x4f\x4f\xce\x10\x93\xb6" "\x2d\x7e\x8c\x71\x23\xd8\xec\xbb\xc5\x5b\xf4\x04\xe4\xe1\xf7\x4b\x7e\xed" "\x82\x57\x1b\xe5\x4c\x72\xd9\x78\xcf\x90\x6d\xf0\x04\x2e\x36\xac\xd3\x7d" "\x7f\x9e\x11\x9f\x2c\x06\xf8\x15\x31\x2e\x0c\xfe\x22\x2a\x06\xf5\x6d\xd0" "\x22\xc0\x74\xeb\x8a\x32\x2f\xb0\xbf\x47\xc0\xa8\xd1\x54\xb4\x05\xc3\x7f" "\xea\xf3\xdd\x95\xf6\xef\x2a\xcd\x1f\xe5\x82\x78\x61\x05\xc7\xdf\x8b\xe5" "\x87\x70\x50\xc9\x13\x01\xbb\x99\x73\x16\xdb\xf1\x78\x66\xfb\x84\xd4\x17" "\x37\x31\xef\xe8\x95\xff\x2e\x1c\x55\x60\x92\x6e\x90\x10\x9b\x59\x85\x02" "\xd3\xe9\x59\xef\xc7\x1f\x66\x5c\x4d\x75\xcf\x24\x58\xe3\x54\x2c\x90\x62" "\xec\xe8\x4c\x99\xa0\x61\x88\x7a\x20\x63\x9b\x41\xc8\xc1\x2e\xe8\x6c\x50" "\x80\x40\x42\xb3\xea\xc1\xf8\x79\xb1\x36\x34\x5c\xf6\x7c\xa3\xfb\x5a\xac" "\x51\x8a\x75\xf9\xe7\xd7\x10\x1d\x5e\x18\x6c\x48\x9b\x3a\x06\xfb\x99\xe0" "\xaa\x7f\x23\xa0\x54\xde\x2f\x4d\x92\xd6\xbd\x72\xee\x2c\x9f\xdc\x75\xaa" "\xaf\x1e\x3e\x48\x3b\x4a\xd0\x55\x73\xaf\x40\x32\x69\xb4\xa3\x9c\xe4\x02" "\x93\x94\x7d\x9a\x63\x1b\xcb\xf3\x58\x37\x84\xac\xbd\xa2\x16\x55\x0d\x7a" "\xec\x6b\x79\xe3\x0c\xbd\x12\x8f\x54\xc2\xd3\x33\x54\x57\xac\xec\xc3\x4f" "\x24\xc9\xae\x15\x3e\xc6\x0a\xc0\x69\x4d\xa8\x5b\xff\x9f\x5f\x4d\xf9\xb3" "\xe9\x0e\x5c\x70\x8c\xe6\x5c\xd6\xb2\xc5\xea\x13\x93\xfd\xf2\x42\x85\xbf" "\x16\xb9\x9c\x9c\xc0\xad\x18\x57\x21\x6f\x1a\x98\x5f\x36\x91\x91\xae\x95" "\x4f\xeb\xb3\xdf\x46\x4b\xfe\x0f\x7f\x3e\xe9\xaf\xe7\xbe\xfb\x89\xd2\x77" "\x73\x99\xf5\x87\x4c\x55\x3a\xeb\x37\x29\xcf\xfe\x86\xe6\x69\x64\xae\x09" "\xbb\x6d\x16\x31\x18\xe4\xcb\xe0\x24\xfd\x45\x22\x77\xc3\x88\x7d\x61\x16" "\xc6\xcc\x9d\x80\x46\xc2\x16\xc1\xf8\x95\x77\x8c\xb2\x6e\x22\xa2\xa9\x98" "\xde\x44\xae\xad\xea\x2a\x40\xda\x8d\xac\xcf\x08\x08\x42\xa4\x86\x72\x17" "\x37\x39\x0c\xbf\x3a\x74\xcb\x20\x03\x01\x6f\x15\x14\x21\x6b\xdf\x57\xd2" "\xa4\x0d\x40\xb5\x1a\xb6\x3e\x96\xec\x84\x85\xb3\xb8\xa8\xc9\xaa\x3d\x14" "\xf9\x31\x00\xc2\xe0\x89\x38\x62\xee\xf5\x52\xfc\xde\x29\x81\xf4\x8c\x48" "\x2b\xde\x6e\x4a\x43\x04\xe5\x0c\x34\x9f\x4f\x9e\xce\xe2\x7d\xef\xc9\x38" "\x71\xc5\xf9\x9b\x35\x5b\x72\xd5\x38\xba\x49\x58\xea\x8e\x4a\xa3\x70\x94" "\x19\x1e\x10\x09\x6e\x7e\x60\xfc\x35\x41\xa2\xc9\x05\xa1\xa9\x5e\x95\x71" "\xbf\x38\xae\x19\x81\xc4\x23\x8e\xca\xee\x6f\x75\xcd\x0a\x68\x81\xbd\x15" "\x17\xa8\x25\x0d\xf9\x86\x74\x15\x2f\x94\xe3\x24\x09\xe2\xa3\xbc\xe1\x09" "\xb6\x00\x00\x00\x00\x00\x00\x00\x00\x00", 1666); *(uint64_t*)0x20000090 = 0x20000100; memcpy((void*)0x20000100, "GPL\000", 4); *(uint32_t*)0x20000098 = 0; *(uint32_t*)0x2000009c = 0; *(uint64_t*)0x200000a0 = 0; *(uint32_t*)0x200000a8 = 0; *(uint32_t*)0x200000ac = 0; *(uint8_t*)0x200000b0 = 0; *(uint8_t*)0x200000b1 = 0; *(uint8_t*)0x200000b2 = 0; *(uint8_t*)0x200000b3 = 0; *(uint8_t*)0x200000b4 = 0; *(uint8_t*)0x200000b5 = 0; *(uint8_t*)0x200000b6 = 0; *(uint8_t*)0x200000b7 = 0; *(uint8_t*)0x200000b8 = 0; *(uint8_t*)0x200000b9 = 0; *(uint8_t*)0x200000ba = 0; *(uint8_t*)0x200000bb = 0; *(uint8_t*)0x200000bc = 0; *(uint8_t*)0x200000bd = 0; *(uint8_t*)0x200000be = 0; *(uint8_t*)0x200000bf = 0; *(uint32_t*)0x200000c0 = 0; *(uint32_t*)0x200000c4 = 0; *(uint32_t*)0x200000c8 = -1; *(uint32_t*)0x200000cc = 8; *(uint64_t*)0x200000d0 = 0x20000000; *(uint32_t*)0x20000000 = 0; *(uint32_t*)0x20000004 = 0; *(uint32_t*)0x200000d8 = 0; *(uint32_t*)0x200000dc = 0x10; *(uint64_t*)0x200000e0 = 0x20000000; *(uint32_t*)0x20000000 = 0; *(uint32_t*)0x20000004 = 0; *(uint32_t*)0x20000008 = 0; *(uint32_t*)0x2000000c = 0; *(uint32_t*)0x200000e8 = 0; *(uint32_t*)0x200000ec = 0; *(uint32_t*)0x200000f0 = -1; res = syscall(__NR_bpf, 5, 0x20000080, 0x48); if (res != -1) r[0] = res; *(uint32_t*)0x20000700 = 1; *(uint32_t*)0x20000704 = 0x70; *(uint8_t*)0x20000708 = 0; *(uint8_t*)0x20000709 = 0; *(uint8_t*)0x2000070a = 0; *(uint8_t*)0x2000070b = 0; *(uint32_t*)0x2000070c = 0; *(uint64_t*)0x20000710 = 0x50d; *(uint64_t*)0x20000718 = 0; *(uint64_t*)0x20000720 = 0; STORE_BY_BITMASK(uint64_t, , 0x20000728, 0, 0, 1); STORE_BY_BITMASK(uint64_t, , 0x20000728, 0, 1, 1); STORE_BY_BITMASK(uint64_t, , 0x20000728, 0, 2, 1); STORE_BY_BITMASK(uint64_t, , 0x20000728, 0, 3, 1); STORE_BY_BITMASK(uint64_t, , 0x20000728, 0, 4, 1); STORE_BY_BITMASK(uint64_t, , 0x20000728, 0, 5, 1); STORE_BY_BITMASK(uint64_t, , 0x20000728, 0, 6, 1); STORE_BY_BITMASK(uint64_t, , 0x20000728, 0, 7, 1); STORE_BY_BITMASK(uint64_t, , 0x20000728, 0, 8, 1); STORE_BY_BITMASK(uint64_t, , 0x20000728, 0, 9, 1); STORE_BY_BITMASK(uint64_t, , 0x20000728, 0, 10, 1); STORE_BY_BITMASK(uint64_t, , 0x20000728, 0, 11, 1); STORE_BY_BITMASK(uint64_t, , 0x20000728, 0, 12, 1); STORE_BY_BITMASK(uint64_t, , 0x20000728, 0, 13, 1); STORE_BY_BITMASK(uint64_t, , 0x20000728, 0, 14, 1); STORE_BY_BITMASK(uint64_t, , 0x20000728, 0, 15, 2); STORE_BY_BITMASK(uint64_t, , 0x20000728, 0, 17, 1); STORE_BY_BITMASK(uint64_t, , 0x20000728, 0, 18, 1); STORE_BY_BITMASK(uint64_t, , 0x20000728, 0, 19, 1); STORE_BY_BITMASK(uint64_t, , 0x20000728, 0, 20, 1); STORE_BY_BITMASK(uint64_t, , 0x20000728, 0, 21, 1); STORE_BY_BITMASK(uint64_t, , 0x20000728, 0, 22, 1); STORE_BY_BITMASK(uint64_t, , 0x20000728, 0, 23, 1); STORE_BY_BITMASK(uint64_t, , 0x20000728, 0, 24, 1); STORE_BY_BITMASK(uint64_t, , 0x20000728, 0, 25, 1); STORE_BY_BITMASK(uint64_t, , 0x20000728, 0, 26, 1); STORE_BY_BITMASK(uint64_t, , 0x20000728, 0, 27, 1); STORE_BY_BITMASK(uint64_t, , 0x20000728, 0, 28, 1); STORE_BY_BITMASK(uint64_t, , 0x20000728, 0, 29, 35); *(uint32_t*)0x20000730 = 0; *(uint32_t*)0x20000734 = 0; *(uint64_t*)0x20000738 = 0; *(uint64_t*)0x20000740 = 0; *(uint64_t*)0x20000748 = 0; *(uint64_t*)0x20000750 = 0; *(uint32_t*)0x20000758 = 0; *(uint32_t*)0x2000075c = 0; *(uint64_t*)0x20000760 = 0; *(uint32_t*)0x20000768 = 0; *(uint16_t*)0x2000076c = 0; *(uint16_t*)0x2000076e = 0; syscall(__NR_perf_event_open, 0x20000700, 0, -1, -1, 0); *(uint32_t*)0x20000040 = r[0]; *(uint32_t*)0x20000044 = 0x1000000; *(uint32_t*)0x20000048 = 0xe; *(uint32_t*)0x2000004c = 0; *(uint64_t*)0x20000050 = 0x20000140; memcpy((void*)0x20000140, "\xe3\xd0\xe9\xd6\xd9\xd1\x8e\x5f\x39\x86\x8d\xe3\x63\xd3", 14); *(uint64_t*)0x20000058 = 0; *(uint32_t*)0x20000060 = 0x3f00; *(uint32_t*)0x20000064 = 0; *(uint32_t*)0x20000068 = 0; *(uint32_t*)0x2000006c = 0; *(uint64_t*)0x20000070 = 0; *(uint64_t*)0x20000078 = 0; syscall(__NR_bpf, 0xa, 0x20000040, 0x40); } int main(void) { syscall(__NR_mmap, 0x1ffff000, 0x1000, 0, 0x32, -1, 0); syscall(__NR_mmap, 0x20000000, 0x1000000, 7, 0x32, -1, 0); syscall(__NR_mmap, 0x21000000, 0x1000, 0, 0x32, -1, 0); loop(); return 0; }