// https://syzkaller.appspot.com/bug?id=6f694e408087c5c175cba9872f72ea38834f5261 // 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 #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); for (int 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 = 0; for (;; 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 (;;) { sleep_ms(10); if (waitpid(-1, &status, WNOHANG | WAIT_FLAGS) == pid) break; if (current_time_ms() - start < 5000) continue; kill_and_wait(pid, &status); break; } } } uint64_t r[5] = {0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0x0}; void execute_one(void) { intptr_t res = 0; if (write(1, "executing program\n", sizeof("executing program\n") - 1)) { } // openat$tun arguments: [ // fd: const = 0xffffffffffffff9c (8 bytes) // file: ptr[in, buffer] { // buffer: {2f 64 65 76 2f 6e 65 74 2f 74 75 6e 00} (length 0xd) // } // flags: open_flags = 0x40241 (4 bytes) // mode: const = 0x0 (2 bytes) // ] // returns fd_tun memcpy((void*)0x200000000000, "/dev/net/tun\000", 13); res = syscall( __NR_openat, /*fd=*/0xffffffffffffff9cul, /*file=*/0x200000000000ul, /*flags=O_TRUNC|O_NOATIME|O_CREAT|O_WRONLY*/ 0x40241, /*mode=*/0); if (res != -1) r[0] = res; // ioctl$TUNSETIFF arguments: [ // fd: fd_tun (resource) // cmd: const = 0x400454ca (4 bytes) // arg: ptr[in, ifreq_dev_t[devnames, flags[tun_setiff_flags, int16]]] { // ifreq_dev_t[devnames, flags[tun_setiff_flags, int16]] { // ifr_ifrn: buffer: {73 79 7a 6b 61 6c 6c 65 72 31 00 00 00 00 00 00} // (length 0x10) elem: tun_setiff_flags = 0xc201 (2 bytes) pad = 0x0 // (22 bytes) // } // } // ] memcpy((void*)0x200000000200, "syzkaller1\000\000\000\000\000\000", 16); *(uint16_t*)0x200000000210 = 0xc201; syscall(__NR_ioctl, /*fd=*/r[0], /*cmd=*/0x400454ca, /*arg=*/0x200000000200ul); // socket$kcm arguments: [ // domain: const = 0x2 (8 bytes) // type: kcm_socket_type = 0xa (8 bytes) // proto: const = 0x2 (4 bytes) // ] // returns sock_kcm res = syscall(__NR_socket, /*domain=*/2ul, /*type=SOCK_DGRAM|0x8*/ 0xaul, /*proto=*/2); if (res != -1) r[1] = res; // ioctl$SIOCSIFHWADDR arguments: [ // fd: fd_tun (resource) // cmd: const = 0x8914 (4 bytes) // arg: ptr[in, ifreq_dev_t[devnames, mac_addr]] { // ifreq_dev_t[devnames, mac_addr] { // ifr_ifrn: buffer: {73 79 7a 6b 61 6c 6c 65 72 31 00 00 00 00 00 00} // (length 0x10) elem: union mac_addr { // link_local: mac_addr_link_local { // a0: const = 0x1 (1 bytes) // a1: const = 0x80 (1 bytes) // a2: const = 0xc2 (1 bytes) // a3: const = 0x0 (1 bytes) // a4: const = 0x0 (1 bytes) // a5: mac_addr_link_local_values = 0xe (1 bytes) // } // } // pad = 0x0 (18 bytes) // } // } // ] memcpy((void*)0x200000000180, "syzkaller1\000\000\000\000\000\000", 16); *(uint8_t*)0x200000000190 = 1; *(uint8_t*)0x200000000191 = 0x80; *(uint8_t*)0x200000000192 = 0xc2; *(uint8_t*)0x200000000193 = 0; *(uint8_t*)0x200000000194 = 0; *(uint8_t*)0x200000000195 = 0xe; syscall(__NR_ioctl, /*fd=*/r[1], /*cmd=*/0x8914, /*arg=*/0x200000000180ul); // socket$nl_route arguments: [ // domain: const = 0x10 (8 bytes) // type: const = 0x3 (8 bytes) // proto: const = 0x0 (4 bytes) // ] // returns sock_nl_route res = syscall(__NR_socket, /*domain=*/0x10ul, /*type=*/3ul, /*proto=*/0); if (res != -1) r[2] = res; // socket$unix arguments: [ // domain: const = 0x1 (8 bytes) // type: unix_socket_type = 0x3 (8 bytes) // proto: const = 0x0 (4 bytes) // ] // returns sock_unix res = syscall(__NR_socket, /*domain=*/1ul, /*type=SOCK_DGRAM|SOCK_STREAM*/ 3ul, /*proto=*/0); if (res != -1) r[3] = res; // write$UHID_INPUT arguments: [ // fd: fd_uhid (resource) // data: ptr[in, uhid_req[UHID_INPUT, uhid_input_req]] { // uhid_req[UHID_INPUT, uhid_input_req] { // type: const = 0x8 (4 bytes) // data: uhid_input_req { // data: buffer: {dc 5d 3b 01 69 63 3d 3e ba 3e ab bc 09 16 7b e5 51 // 01 d4 af 4b 22 a3 73 23 64 64 d2 db fa a8 43 99 b7 7b d4 38 a5 43 // 64 a7 eb c5 bd aa b4 f9 de cb 7c 04 43 18 cd 59 a0 af 82 79 bc ab // 35 dd 7d af 7a 0c eb 38 1d f2 c3 2e ff 45 b1 3e 2c 8f 40 e1 89 53 // 55 bf 6f 16 52 00 cb 1c a4 1a 15 57 30 ee 2e 9f 83 18 3e 9f af e0 // 29 d0 40 1b 07 70 61 82 54 a8 b2 dc 87 b6 30 07 2b 1e 2d e1 60 d1 // af ed 51 b7 4c 14 b7 1e c1 b2 26 a3 24 48 2d 14 ad 58 6b 1a 4c e8 // 0e 45 8f e4 52 44 c0 1e dd ed df 35 64 af 83 8d 6d 53 24 f8 a7 70 // 23 d6 eb 7a a1 43 97 a0 e1 41 3e a1 c3 df df 06 3a 35 b7 09 e6 27 // f3 6f e4 03 ee 31 17 36 5b e5 01 76 82 f5 35 95 f2 85 43 06 2c 74 // 0a 94 a7 94 31 2f 5c eb c3 15 04 4b 8e a0 00 a5 d0 f2 78 12 ab 0c // e1 49 d1 1e 6f 6f 76 20 c5 f3 e2 50 bf 67 d1 3a 1c a3 9d bb 7b 8b // 5a 31 e3 d7 ba 7e be 58 49 a7 a0 9b 61 fc 9f 2c fc 54 b8 9e 9c d0 // 10 5b ca 49 48 3c e5 5e 01 87 ce 2a d6 92 a1 82 19 d8 81 05 7c 83 // 85 87 b9 15 33 71 69 ee 05 46 55 f2 6a 04 df 91 3a 65 8f cc bf 4d // ef 6a ad 75 0c a4 79 6b 74 d3 22 c6 7e 9d 4e e6 a5 30 a2 2d cc 35 // db 85 0b 42 4d 6e c9 f6 24 95 b9 f9 fd 2b 00 0f ea dd 57 d2 6d bd // 50 57 98 c2 08 d9 1e b0 aa b0 fd 97 53 76 31 b8 bf 81 ce 0e 22 41 // c4 27 2b e4 ff 69 b3 90 e4 48 5d 57 41 46 b7 6d 1f db f7 fc 53 34 // 90 68 05 53 4c da e1 e4 72 40 af 77 61 a1 8f c8 bd 0a 69 4b e4 75 // 29 da 98 bc 0f 98 eb 7d b3 fc 4a 74 cb b6 e4 86 f4 de 90 fb f2 45 // 2e 72 c2 e1 dc a4 45 43 ad 9a d0 94 b8 bc 86 1e ef 1e 81 46 62 d0 // b3 50 33 9e 3a 51 0d 45 9c 6f 83 aa bd 5f d3 dc b3 82 24 05 6d 76 // 1e 7d f9 b4 82 b9 90 5f 1e 21 35 c1 92 9b e3 28 ec db 69 c0 07 a3 // ef d5 48 50 2c 83 10 6f 6d f1 ab 11 78 fa c4 99 ed a9 2a d4 37 31 // 55 22 7e c2 df 15 0c 91 9d 32 2e cb 3e a3 7e 65 92 85 f1 8a 3e 2f // 79 b5 99 00 ca 43 8d f3 a1 38 13 80 a1 2d 3a d7 67 8e 0a 8d 3b df // b4 06 51 38 9b 4a c8 c6 61 38 d4 42 d7 0e af dc 2d f8 b0 80 02 80 // 06 b1 24 e4 eb e0 d9 88 3e f1 00 f1 93 4e 42 5a 41 46 05 6d 80 09 // 75 67 5b b1 91 31 42 ad bc 03 9a 9c 68 c2 f1 46 a0 e8 90 34 47 31 // 3f 5e 55 49 90 5f 39 7a 9b 1f 21 a9 3b 80 c4 d0 4a 8e a7 a2 9a 50 // fb c5 40 7a 93 05 bb a4 20 ed f8 98 ea 67 8d 68 79 48 9c 39 69 2c // 99 bb 6d ac f6 1f 5f 97 63 7b 94 c1 03 1d 63 5b 54 23 d2 7f 7b 78 // fa fa 06 00 00 00 6e ad c2 14 66 af 5a 10 28 1e 6a 80 87 48 96 9d // 29 ef b4 44 c9 9a 4c b2 11 17 32 a7 92 db ca 43 76 a1 25 a6 8f 7c // da c0 65 cc 61 73 dc 21 ca af ba 48 c7 42 d9 a7 df 2f 77 1f f2 f5 // 72 5b 22 c2 47 d4 e0 c6 10 6f 9f 5f 69 29 b6 99 29 ab 37 e9 a9 b3 // 26 ce 61 8b b7 02 b8 83 b1 20 26 f1 30 0f 21 f2 c7 44 0c ac 8c 5f // 12 10 a7 8a a0 67 21 1d 28 27 f5 dc c7 57 82 52 c2 cc c3 f6 7b ab // 9d 1b b6 93 9b 21 b5 50 78 8e f5 50 ac fe d4 bf 50 c0 b4 fb 3c a4 // d2 87 2e e6 4f 95 d6 11 a3 17 d9 da af 37 3a 10 d8 68 68 0b 22 26 // 39 6c 95 fa 2b 0a b4 d6 fc e0 6c 3b 42 cb 97 d1 7a 7b 50 89 06 15 // 37 fd eb 1a 53 04 08 69 f7 be fc a3 30 35 8f db a8 67 54 fc 2e 46 // c2 11 3e 14 84 cb 37 53 4a f8 f0 40 8a 7e e3 13 77 8d ab 49 f0 82 // 29 96 42 98 f8 47 ea 66 c4 ec 31 9f 64 b6 a1 2d a5 85 bc 59 e8 2e // 02 63 c5 07 b3 97 d3 ef ee 3b 40 66 f4 d2 55 66 aa 15 49 f6 18 5f // 63 75 f8 4b 65 fa 89 45 14 8b 90 43 0c 86 a5 b6 fd f5 8d 5c 81 2b // 98 d9 dc 62 1f d9 a3 d9 f1 a5 77 49 53 56 51 6d 1c bc f5 e8 bb 89 // 23 b5 4b 24 72 25 b9 c3 89 2b 18 a9 e1 37 f3 62 0c 73 40 52 af 9d // c8 f1 ea 36 f0 d4 59 2d 5e e3 2e 35 67 6a 84 dc 89 1f 97 45 6f 2a // c3 a4 ab 58 a4 2b cd c2 21 a4 ac 8b b2 8d 42 8a dd 2f cb e5 b1 10 // a8 af d5 d2 3b 31 e8 27 bd 16 16 7b 2d 88 ca e0 24 af c0 4a 72 2a // c0 b4 d4 5c 52 51 2e 6b 6f 10 2a ac 4b e2 1b c8 9c e2 46 53 90 48 // 37 05 53 66 5b 0a 43 36 a6 db 99 d0 d1 93 99 be 64 37 bf 21 41 93 // 04 33 1b 43 42 b2 c1 db 58 0f 0c 9b f6 81 fd b8 e9 fa 3e 02 54 54 // 19 7b bc 82 ef 93 ee 2f 38 56 60 81 8e c5 12 70 80 67 5a 80 13 76 // 64 69 af e3 b1 e3 6e 81 bf 2f 04 c3 a2 6e af 45 17 55 1e 73 4d 21 // ba 3b c9 0e 48 ae a0 89 17 92 97 0c 39 f3 f5 28 39 7e 9b 7a e1 90 // f1 76 0f e5 96 0d c7 63 ee 0a 17 93 9c 60 bf ca c0 a8 91 4b e8 2c // 74 9e 4f e8 5d 1a c5 fa 73 34 13 46 8f b8 94 10 85 e8 c4 d6 e0 b6 // d1 e6 2e 20 da 58 44 0f ac d6 40 dd bb 6c 1f 69 4b 3c a4 87 57 a3 // 4c 5a 11 66 83 68 71 1a 1d 4f 3a 81 d3 1a c3 0d 71 27 7d 7a e7 78 // 82 b6 84 1c fa 62 89 e6 cc e8 4a 3a d5 7e eb 32 8f 83 18 88 ac 7d // 3c fc d3 a4 72 a4 8d 90 3f 20 ce c8 c8 ae 8d 0b ea 04 eb f7 41 3e // f7 69 3f 8e d8 76 e4 9b d5 f8 9d 7e 10 78 20 8f f6 27 12 e3 30 fc // 03 41 b9 cc f2 68 45 57 8d 44 b1 e0 c6 6d 1b eb c1 47 42 ba ed fa // bb 8e 9a 2c 8f 42 73 03 60 c7 29 97 ef e0 ce 78 6f f3 30 c2 eb 6e // 0f f2 08 96 f8 13 c2 a5 15 ce 76 f8 7d 2a 1a 1c 15 88 eb 36 92 31 // dd eb 4a 2f 9f 95 91 ec de cc 74 d2 0a eb 50 04 7b eb 3a b8 9a 9e // 4e 1b 80 5a 20 b6 45 c7 9d 0b c5 d0 24 7f ab 8b a4 6a 97 a0 76 30 // b1 f1 cb 69 b4 2b 56 8a f7 46 73 3d 2c 58 1f 05 78 73 d6 4f e6 e6 // 59 b0 0b 4a 26 74 5f 5f ba 1f e7 40 6a 86 b0 07 93 6c 7c fd ac 53 // a4 c5 b0 ea 9f 66 04 86 3c 8e 3f 17 4e dd bb 09 17 5f 6e 13 cd a9 // a8 60 cf 40 0e f9 ed 02 b8 95 50 2a c6 e6 de 6a 65 82 49 c3 c6 e8 // a6 53 51 7e ae 22 31 e5 6e 0f 12 05 47 92 3c 65 49 eb c1 ed 14 c6 // 23 63 7c e3 d9 6a f5 c9 3a 32 e5 8e 2d 96 59 d8 b5 b1 45 88 8b 52 // d9 a5 b5 cb 3c df 59 4e b1 37 bc ef 2b a0 68 cf d2 c6 cc f7 ab 6e // 5b 4e c5 5e 91 97 bf b9 1c 9b 87 29 f7 b5 0c f0 b0 32 6f 7e a3 e7 // 12 c7 76 74 d4 85 45 ca 2a 86 74 4c 3c 38 f1 49 d6 9c f8 11 be ac // f7 e5 f4 9c 7b fb a2 0f 1d cf 3d 7b c0 b9 c7 96 01 68 20 a4 64 95 // d2 44 c9 60 6a 06 fe 2e 14 23 3e da 78 d6 9a e4 52 3a d7 b7 08 b0 // c7 ea d4 4d 7f d3 76 fe d6 0e 3c c2 ee 25 e9 60 0a df be 87 ac 7c // 8f b8 26 9a ec 94 59 60 2a f0 f4 20 be cd a6 12 0c e7 d9 62 6c 65 // ae 7f 86 06 39 e8 bf 66 4e b4 30 1e c1 8a dd 0e 43 6c 03 56 c1 2a // b6 b4 ca 35 da 2b 43 c4 a8 c2 39 fd 0b 59 a2 ce 94 84 3c df a1 66 // 70 53 16 50 53 63 3b 06 28 44 db b0 d0 00 70 fd e7 4f a3 17 8e b5 // f1 f5 fd 02 e2 08 8d 86 90 37 9f 39 ab 22 c0 80 cd cb 29 d7 00 ba // c7 4f ab d8 a3 56 fe 99 af e8 3a 5d 99 aa 50 24 e9 15 8a 29 9e da // 6c 99 b6 70 1e 64 f1 d6 8e 7e 2c 0c 6e 88 39 6b b5 35 a0 2d 09 48 // f0 a2 50 a6 e0 90 04 1c 96 d9 c9 ac d6 13 4d 44 d5 16 fd 10 10 c3 // 9e 57 2b 86 b0 5b b1 32 6a 2a 4f 23 f1 11 81 18 6f 9c 2a 01 dc 7b // 58 c0 12 9f 4b 85 1c a9 b1 e3 dc 35 db 73 64 e2 9e f6 46 21 17 96 // b1 65 15 11 e0 41 34 5a bc e4 27 fa 5d 6e 48 b8 fb 07 8c 84 32 06 // 1a 4c c5 18 a8 f2 a2 ca f7 09 a5 c1 47 3a 62 11 2a 66 50 af c6 4e // ec 12 f8 f9 c0 8c ff 1b 6f bf 7a 12 09 fc 86 61 f6 23 03 b7 c5 d4 // 9c 1d 0b 32 a9 f3 7e 81 ed 9a b6 19 38 16 d4 09 95 ed 49 c1 0b 9f // 57 52 e0 4d 57 53 5a 3d 16 f0 6c 65 d3 28 46 c3 1e c9 78 7e c4 a9 // 65 67 9e b8 04 e8 6b 45 d0 07 f3 8d 81 04 55 07 70 dc 6f 31 3b c8 // 46 e4 3a 14 a8 c2 1d 06 28 c7 44 e3 e8 3c b9 98 d1 b7 ac fe 99 65 // 41 a8 c0 38 52 da df 93 26 44 4c 58 2b 48 1c ae 84 4e 4f 3f e3 d6 // 38 90 3b 38 f2 46 33 b6 3a db ad 84 1a c6 c4 c1 16 9d 78 1a 0e 27 // 1e 8a 96 7b 1c 7e 98 6f cb 3a 66 16 8e 86 e3 55 9a 44 fc fa 92 45 // 22 60 49 1d a9 39 76 59 af 60 45 3f 4c d4 be 2d 15 43 94 45 ec 2b // 43 66 a7 9d 32 83 da 91 2d 9d 49 9d f1 24 2b d1 74 ed c2 35 84 8c // aa 21 d2 c9 97 af f0 e9 5c 7e 5c c0 80 3c 90 fa b8 4e 7b e7 b3 79 // 09 d0 38 8a cb 68 00 ba ba 18 3e cc 8e ea 8c 71 c0 d6 5d 66 9e 41 // f9 9c ea e5 23 b7 a6 b7 72 f3 b8 eb ba 1d 21 27 cc c3 dd b7 dd cb // 4e c7 3c bd c2 6f c8 7c 38 48 e2 58 a0 b5 48 4d 3a 13 e4 0e c4 e4 // a6 5d d9 2f 09 e9 fe 1e 3e 2f 8b 96 c4 e3 63 aa 36 83 86 0d ee 62 // df cf 88 23 ee 4a 35 93 a0 92 e0 bd 9c 4c ed ac f4 4a 27 2f aa 16 // 44 47 b0 1f 46 a7 79 56 42 a4 0c 61 b0 03 4a 37 f0 e9 b7 92 42 8a // 0d dc d1 44 fe 82 63 08 8e aa c8 01 6f 8f 1c d3 0b 55 ac 90 a8 f1 // 0d 78 5b 75 70 dd 9e 63 9a 4a 06 8d 3f e9 8a 42 01 0e 24 f6 9d e8 // 17 f6 76 c2 a2 24 30 0d 74 95 71 ad 43 f4 9d 1f be 83 8f 45 66 bc // 7b 5f 10 4c 38 4a d8 71 89 21 31 52 b6 44 d9 fc bd f9 8b af ee e5 // 69 d6 40 ce 90 45 77 9f 1d 90 02 4c 02 3a 74 80 a3 58 de e2 76 fb // a1 39 c1 4b 4f db 12 88 52 40 90 3d 0e 61 dc 16 16 59 a6 8f 62 c9 // 2b 89 90 07 e0 f2 b6 5b f0 a0 69 e9 e5 7c 9b 6a e5 0a 3b 30 dd 10 // 03 fb 0e ea d7 3a e2 f6 01 0b 3b 35 6b 40 60 57 9a 4f 29 93 5e 1f // 00 c0 1d 12 e5 f4 4e 8e 31 63 d8 1d fe f7 ca 85 60 60 42 40 c7 e9 // 6e 44 54 c6 97 16 14 df 30 6c 76 81 21 ab b3 f6 28 e3 f1 d2 d0 26 // f5 8d 10 87 33 4c 5b db 74 d7 c9 49 b0 ee 66 a4 53 1b a4 e9 b9 22 // ae e3 d0 f8 02 ed 03 47 34 50 7a 59 13 c5 29 66 f1 f8 bd 45 77 84 // 0d e0 25 3a ab c2 32 99 dc ed 2a 29 98 59 c0 7a f9 fb 0f 9c 29 b6 // 53 3b 9d 84 d4 71 39 0d 59 ab 31 5f 5d db 22 6f 6b 8d d7 88 92 95 // f0 fb 1f 7b d1 ad af e4 cc 52 0a 1e 84 bf 2a 59 d5 b9 79 5a ea fc // 8d 6f d6 6a 82 28 ab a8 65 3b 98 62 26 17 dd fe b5 d6 79 5c 9b d2 // f3 5d 4a 0c 38 6e 86 26 75 a5 0e 33 14 c3 fb b1 7a ca 15 1c 13 c7 // fc 8b 1d 1b 72 ed 0a 95 85 37 b5 dd c9 e7 4b dd c2 b9 57 1e c3 f2 // b7 77 5b 12 53 38 d4 85 2a 75 a6 39 41 56 4c 65 bb 36 df b6 be a4 // aa b1 ae 7a 4f 28 5c 21 77 aa 98 40 6e b2 cc 10 93 4a a9 2d 5a 96 // 12 d4 45 5c 84 ad 20 08 41 d2 89 b5 c2 d5 de ab 0d 8e 24 59 59 8e // f1 83 d3 dc 46 f6 ba d0 b9 51 37 10 60 0c fa 4d 69 fc d5 76 3c dc // c4 f2 c2 b7 cd 7d 44 91 fd 52 f4 ae c8 2c e8 46 c0 98 8f 6f 01 23 // e2 1e 90 0d 39 c6 10 85 e6 8c 9b ad c3 50 b4 40 04 f6 c0 42 d6 4b // 0d 0c bf 91 ad 05 92 b1 98 f1 ee ea 1e 52 20 0b c8 e6 d6 28 48 d6 // 88 4b 10 bd de 72 46 60 39 da 48 8b e6 b3 40 c2 31 48 f6 66 f2 fe // 6e 03 2c 07 da c4 35 86 df 18 2a ca 91 16 f4 60 03 13 fa 83 75 c7 // 63 37 ba 86 bd c3 91 da e6 45 02 18 f5 8f 04 7c ed 64 be fc 6b b5 // c2 a6 00 24 66 96 30 a6 27 9f ed f2 fe 45 e7 e1 9c e5 82 ad 96 ae // 0d 02 3e b9 b3 9f 5f 1e 66 6e 73 bb 03 8a e3 81 57 27 5b e5 eb 3e // 7c bc 8b 05 ad f5 3e 81 76 46 bd c2 cf ce 98 e5 d1 62 bf 7f aa ca // 78 7d b8 71 7a b8 b2 7b 9e 35 60 9c 5f b9 fe 9d ef 07 f0 10 df 8b // 43 cf 5c 96 85 1e ad fd ef f0 b7 bc 58 26 e7 e1 54 90 ae 9c 3d 14 // 16 6e e8 1b ef 00 70 70 e7 98 12 35 a6 73 80 4a d8 99 43 ee 6b 51 // ac 63 36 4f 78 70 e1 21 e6 ff 23 a0 c7 d1 79 52 7c d5 8d d7 a4 ca // 37 24 7c 2b d9 ef c7 9b 72 0b b1 ee 2d 39 86 2e 98 cb 81 e9 3c f5 // b4 8d 5d 02 ee 8a c7 37 ab 50 4c 86 7a 1c 49 e6 78 30 08 03 c9 4f // be 97 8d ea 91 8a 1e 71 b9 79 1e e1 e4 d3 00 56 e8 6c 26 a4 67 0b // 45 1a 13 ec e5 2a 89 a7 05 7f e2 05 2e 11 c6 66 6e b9 16 d8 23 ea // 66 bf 21 7c 32 0a cb a3 b7 14 91 07 34 b2 d2 7c 2f a5 86 bd 7f 76 // 64 b0 d1 42 2a da ba d2 ce 2a fc 10 27 00 57 f1 19 40 fa c1 a5 1d // 02 3c e4 8b d0 4e a3 9b 7f 99 38 1b 23 9f d0 dd ee a0 dc e7 86 3e // c1 f8 f6 17 75 01 3b 64 14 ec f8 6e 68 6a 34 0a 31 48 f8 7a 9d 7d // 60 a1 f2 da 53 43 6d 16 fc 88 d6 a4 e7 c3 d5 5e 0d d0 04 cb ec c1 // 5a 55 58 eb 70 5d 82 aa cb 18 62 dd c2 51 dd 5d 9c bf 1d 78 f9 79 // 00 ce 6e 8d ab 0e a6 78 cb 82 3b d1 e7 bb d1 e9 27 87 8c 19 f4 f3 // 22 22 8f 9b 36 28 7f c1 3e 7c 12 93 ea 87 5a e7 38 15 e0 52 d6 c2 // eb c4 0d f8 f7 b9 d1 f7 6e 0b 10 e3 5a a1 60 94 49 83 d8 e6 b7 90 // df 0d 9b 13 f3 46 06 57 33 6d 81 f7 d8 3c 03 50 32 4b 93 0e c9 c7 // 55 7c e1 28 87 f7 63 72 e1 26 f5 04 b0 98 0f ea 27 f3 1a 78 0c 05 // 18 7b 9b 53 53 da fc 6b 10 15 43 b2 43 32 b9 6e 15 bc 26 b1 90 62 // e5 2f a9 f8 6d 26 0e e3 a3 bc 92 a1 33 e3 28 40 7b b8 53 57 ee 5c // 45 cb 87 22 8f 44 88 8b 14 94 1b 59 11 b0 50 e9 31 9f e8 80 33 f8 // 30 a8 49 09 17 a9 c0 57 2e bb c5 49 2b 4e 10 83 a2 e3 d7 72 15 a3 // 4a be f9 47 b5 b9 a9 50 e7 80 66 2d e1 88 73 e5 58 99 c9 2d b3 ad // 3d 43 7e 84 07 89 0a fa 6b 0c 04 ef 86 1b 8b c8 5f bb e1 bb 67 b3 // d9 ef 00 14 09 f8 4b 8e c4 f0 1d 86 1c ec c1 43 a8 05 b9 81 ab 5c // f5 b6 05 05 7b 63 cb 2c 84 ec 35 8e 51 0a 69 cd 8c 33 a8 a6 2f e4 // 68 0d 0c 98 01 45 cc 70 91 57 83 2b fa ef 26 1c b0 46 6c 23 73 76 // ca 29 44 ce 9a ff ff d4 b1 dc 7c c9 51 1d a0 b3 4b ff b9 ac 21 6f // b8 cf 7c 65 72 d9 56 27 78 77 20 d1 ba 67 c6 51 2f cd b1 6f 63 29 // e9 66 86 81 c4 04 ef eb ad 55 9f 81 f0 59 71 b5 ef b6 b4 cc a9 7a // d0 34 67 53 cc 0a 40 a8 77 24 2d 8a 80 8c 60 2b 03 dc 96 2c ee 38 // e6 46 cb 18 ab b0 79 c7 0d 35 7c 30 73 8a 70 f5 5c d3 c5 95 6a 83 // a1 bf cd 66 49 dd 76 5f 16 bf e9 68 06 63 45 df 73 80 bb c0 c1 6b // 3b 5a f5 13 d6 45 8c 79 13 43 95 2f 33 a0 51 c5 d7 11 c1 f3 5a f1 // b4 7f 3d b9 bb fb 5c 7c 63 6b 3a 2b 52 80 5d 60 64 79 87 9b e0 b4 // 04 a2 8a de 56 49 a3 18 5e 0f 85 a8 5f c1 5c d8 24 67 1c 2b ef dd // 0d a5 09 59 7c 87 d8 69 f0 bd 7a d1 63 ad 93 ca 28 fc 0c 40 25 ec // ca af e3 85 ec 3f c0 6c 54 eb cd 7b 07 b6 c7 e0 19 7c 5b 9e f8 86 // 15 9a 15 85 ae 45 24 8f 86 5b e7 60 db 6f 5b c8 f8 68 fc 6a ef d0 // 4e 34 ec b5 11 59 e4 cd cc 22 14 b4 2b 1c a9 ca ec 13 ba 3e 1b 2e // 7a 3c 73 69 77 b2 26 21 3d 26 5c 28 73 19 51 22 a9 b4 48 08 8c 8b // 50 ed d5 49 be 41 c3 8a b1 76 80 7b 75 e7 26 7f 86 e4 00 00 00 00 // 00 00 00 00 00 00 00 00 00 00 00 01 df 00 00 00 00 00 00 00 00 00 // 00 00 00 00 00 00 00 00 00} (length 0x1000) size: len = 0x1000 (2 // bytes) // } // } // } // len: len = 0x1006 (8 bytes) // ] *(uint32_t*)0x2000000007c0 = 8; memcpy( (void*)0x2000000007c4, "\xdc\x5d\x3b\x01\x69\x63\x3d\x3e\xba\x3e\xab\xbc\x09\x16\x7b\xe5\x51\x01" "\xd4\xaf\x4b\x22\xa3\x73\x23\x64\x64\xd2\xdb\xfa\xa8\x43\x99\xb7\x7b\xd4" "\x38\xa5\x43\x64\xa7\xeb\xc5\xbd\xaa\xb4\xf9\xde\xcb\x7c\x04\x43\x18\xcd" "\x59\xa0\xaf\x82\x79\xbc\xab\x35\xdd\x7d\xaf\x7a\x0c\xeb\x38\x1d\xf2\xc3" "\x2e\xff\x45\xb1\x3e\x2c\x8f\x40\xe1\x89\x53\x55\xbf\x6f\x16\x52\x00\xcb" "\x1c\xa4\x1a\x15\x57\x30\xee\x2e\x9f\x83\x18\x3e\x9f\xaf\xe0\x29\xd0\x40" "\x1b\x07\x70\x61\x82\x54\xa8\xb2\xdc\x87\xb6\x30\x07\x2b\x1e\x2d\xe1\x60" "\xd1\xaf\xed\x51\xb7\x4c\x14\xb7\x1e\xc1\xb2\x26\xa3\x24\x48\x2d\x14\xad" "\x58\x6b\x1a\x4c\xe8\x0e\x45\x8f\xe4\x52\x44\xc0\x1e\xdd\xed\xdf\x35\x64" "\xaf\x83\x8d\x6d\x53\x24\xf8\xa7\x70\x23\xd6\xeb\x7a\xa1\x43\x97\xa0\xe1" "\x41\x3e\xa1\xc3\xdf\xdf\x06\x3a\x35\xb7\x09\xe6\x27\xf3\x6f\xe4\x03\xee" "\x31\x17\x36\x5b\xe5\x01\x76\x82\xf5\x35\x95\xf2\x85\x43\x06\x2c\x74\x0a" "\x94\xa7\x94\x31\x2f\x5c\xeb\xc3\x15\x04\x4b\x8e\xa0\x00\xa5\xd0\xf2\x78" "\x12\xab\x0c\xe1\x49\xd1\x1e\x6f\x6f\x76\x20\xc5\xf3\xe2\x50\xbf\x67\xd1" "\x3a\x1c\xa3\x9d\xbb\x7b\x8b\x5a\x31\xe3\xd7\xba\x7e\xbe\x58\x49\xa7\xa0" "\x9b\x61\xfc\x9f\x2c\xfc\x54\xb8\x9e\x9c\xd0\x10\x5b\xca\x49\x48\x3c\xe5" "\x5e\x01\x87\xce\x2a\xd6\x92\xa1\x82\x19\xd8\x81\x05\x7c\x83\x85\x87\xb9" "\x15\x33\x71\x69\xee\x05\x46\x55\xf2\x6a\x04\xdf\x91\x3a\x65\x8f\xcc\xbf" "\x4d\xef\x6a\xad\x75\x0c\xa4\x79\x6b\x74\xd3\x22\xc6\x7e\x9d\x4e\xe6\xa5" "\x30\xa2\x2d\xcc\x35\xdb\x85\x0b\x42\x4d\x6e\xc9\xf6\x24\x95\xb9\xf9\xfd" "\x2b\x00\x0f\xea\xdd\x57\xd2\x6d\xbd\x50\x57\x98\xc2\x08\xd9\x1e\xb0\xaa" "\xb0\xfd\x97\x53\x76\x31\xb8\xbf\x81\xce\x0e\x22\x41\xc4\x27\x2b\xe4\xff" "\x69\xb3\x90\xe4\x48\x5d\x57\x41\x46\xb7\x6d\x1f\xdb\xf7\xfc\x53\x34\x90" "\x68\x05\x53\x4c\xda\xe1\xe4\x72\x40\xaf\x77\x61\xa1\x8f\xc8\xbd\x0a\x69" "\x4b\xe4\x75\x29\xda\x98\xbc\x0f\x98\xeb\x7d\xb3\xfc\x4a\x74\xcb\xb6\xe4" "\x86\xf4\xde\x90\xfb\xf2\x45\x2e\x72\xc2\xe1\xdc\xa4\x45\x43\xad\x9a\xd0" "\x94\xb8\xbc\x86\x1e\xef\x1e\x81\x46\x62\xd0\xb3\x50\x33\x9e\x3a\x51\x0d" "\x45\x9c\x6f\x83\xaa\xbd\x5f\xd3\xdc\xb3\x82\x24\x05\x6d\x76\x1e\x7d\xf9" "\xb4\x82\xb9\x90\x5f\x1e\x21\x35\xc1\x92\x9b\xe3\x28\xec\xdb\x69\xc0\x07" "\xa3\xef\xd5\x48\x50\x2c\x83\x10\x6f\x6d\xf1\xab\x11\x78\xfa\xc4\x99\xed" "\xa9\x2a\xd4\x37\x31\x55\x22\x7e\xc2\xdf\x15\x0c\x91\x9d\x32\x2e\xcb\x3e" "\xa3\x7e\x65\x92\x85\xf1\x8a\x3e\x2f\x79\xb5\x99\x00\xca\x43\x8d\xf3\xa1" "\x38\x13\x80\xa1\x2d\x3a\xd7\x67\x8e\x0a\x8d\x3b\xdf\xb4\x06\x51\x38\x9b" "\x4a\xc8\xc6\x61\x38\xd4\x42\xd7\x0e\xaf\xdc\x2d\xf8\xb0\x80\x02\x80\x06" "\xb1\x24\xe4\xeb\xe0\xd9\x88\x3e\xf1\x00\xf1\x93\x4e\x42\x5a\x41\x46\x05" "\x6d\x80\x09\x75\x67\x5b\xb1\x91\x31\x42\xad\xbc\x03\x9a\x9c\x68\xc2\xf1" "\x46\xa0\xe8\x90\x34\x47\x31\x3f\x5e\x55\x49\x90\x5f\x39\x7a\x9b\x1f\x21" "\xa9\x3b\x80\xc4\xd0\x4a\x8e\xa7\xa2\x9a\x50\xfb\xc5\x40\x7a\x93\x05\xbb" "\xa4\x20\xed\xf8\x98\xea\x67\x8d\x68\x79\x48\x9c\x39\x69\x2c\x99\xbb\x6d" "\xac\xf6\x1f\x5f\x97\x63\x7b\x94\xc1\x03\x1d\x63\x5b\x54\x23\xd2\x7f\x7b" "\x78\xfa\xfa\x06\x00\x00\x00\x6e\xad\xc2\x14\x66\xaf\x5a\x10\x28\x1e\x6a" "\x80\x87\x48\x96\x9d\x29\xef\xb4\x44\xc9\x9a\x4c\xb2\x11\x17\x32\xa7\x92" "\xdb\xca\x43\x76\xa1\x25\xa6\x8f\x7c\xda\xc0\x65\xcc\x61\x73\xdc\x21\xca" "\xaf\xba\x48\xc7\x42\xd9\xa7\xdf\x2f\x77\x1f\xf2\xf5\x72\x5b\x22\xc2\x47" "\xd4\xe0\xc6\x10\x6f\x9f\x5f\x69\x29\xb6\x99\x29\xab\x37\xe9\xa9\xb3\x26" "\xce\x61\x8b\xb7\x02\xb8\x83\xb1\x20\x26\xf1\x30\x0f\x21\xf2\xc7\x44\x0c" "\xac\x8c\x5f\x12\x10\xa7\x8a\xa0\x67\x21\x1d\x28\x27\xf5\xdc\xc7\x57\x82" "\x52\xc2\xcc\xc3\xf6\x7b\xab\x9d\x1b\xb6\x93\x9b\x21\xb5\x50\x78\x8e\xf5" "\x50\xac\xfe\xd4\xbf\x50\xc0\xb4\xfb\x3c\xa4\xd2\x87\x2e\xe6\x4f\x95\xd6" "\x11\xa3\x17\xd9\xda\xaf\x37\x3a\x10\xd8\x68\x68\x0b\x22\x26\x39\x6c\x95" "\xfa\x2b\x0a\xb4\xd6\xfc\xe0\x6c\x3b\x42\xcb\x97\xd1\x7a\x7b\x50\x89\x06" "\x15\x37\xfd\xeb\x1a\x53\x04\x08\x69\xf7\xbe\xfc\xa3\x30\x35\x8f\xdb\xa8" "\x67\x54\xfc\x2e\x46\xc2\x11\x3e\x14\x84\xcb\x37\x53\x4a\xf8\xf0\x40\x8a" "\x7e\xe3\x13\x77\x8d\xab\x49\xf0\x82\x29\x96\x42\x98\xf8\x47\xea\x66\xc4" "\xec\x31\x9f\x64\xb6\xa1\x2d\xa5\x85\xbc\x59\xe8\x2e\x02\x63\xc5\x07\xb3" "\x97\xd3\xef\xee\x3b\x40\x66\xf4\xd2\x55\x66\xaa\x15\x49\xf6\x18\x5f\x63" "\x75\xf8\x4b\x65\xfa\x89\x45\x14\x8b\x90\x43\x0c\x86\xa5\xb6\xfd\xf5\x8d" "\x5c\x81\x2b\x98\xd9\xdc\x62\x1f\xd9\xa3\xd9\xf1\xa5\x77\x49\x53\x56\x51" "\x6d\x1c\xbc\xf5\xe8\xbb\x89\x23\xb5\x4b\x24\x72\x25\xb9\xc3\x89\x2b\x18" "\xa9\xe1\x37\xf3\x62\x0c\x73\x40\x52\xaf\x9d\xc8\xf1\xea\x36\xf0\xd4\x59" "\x2d\x5e\xe3\x2e\x35\x67\x6a\x84\xdc\x89\x1f\x97\x45\x6f\x2a\xc3\xa4\xab" "\x58\xa4\x2b\xcd\xc2\x21\xa4\xac\x8b\xb2\x8d\x42\x8a\xdd\x2f\xcb\xe5\xb1" "\x10\xa8\xaf\xd5\xd2\x3b\x31\xe8\x27\xbd\x16\x16\x7b\x2d\x88\xca\xe0\x24" "\xaf\xc0\x4a\x72\x2a\xc0\xb4\xd4\x5c\x52\x51\x2e\x6b\x6f\x10\x2a\xac\x4b" "\xe2\x1b\xc8\x9c\xe2\x46\x53\x90\x48\x37\x05\x53\x66\x5b\x0a\x43\x36\xa6" "\xdb\x99\xd0\xd1\x93\x99\xbe\x64\x37\xbf\x21\x41\x93\x04\x33\x1b\x43\x42" "\xb2\xc1\xdb\x58\x0f\x0c\x9b\xf6\x81\xfd\xb8\xe9\xfa\x3e\x02\x54\x54\x19" "\x7b\xbc\x82\xef\x93\xee\x2f\x38\x56\x60\x81\x8e\xc5\x12\x70\x80\x67\x5a" "\x80\x13\x76\x64\x69\xaf\xe3\xb1\xe3\x6e\x81\xbf\x2f\x04\xc3\xa2\x6e\xaf" "\x45\x17\x55\x1e\x73\x4d\x21\xba\x3b\xc9\x0e\x48\xae\xa0\x89\x17\x92\x97" "\x0c\x39\xf3\xf5\x28\x39\x7e\x9b\x7a\xe1\x90\xf1\x76\x0f\xe5\x96\x0d\xc7" "\x63\xee\x0a\x17\x93\x9c\x60\xbf\xca\xc0\xa8\x91\x4b\xe8\x2c\x74\x9e\x4f" "\xe8\x5d\x1a\xc5\xfa\x73\x34\x13\x46\x8f\xb8\x94\x10\x85\xe8\xc4\xd6\xe0" "\xb6\xd1\xe6\x2e\x20\xda\x58\x44\x0f\xac\xd6\x40\xdd\xbb\x6c\x1f\x69\x4b" "\x3c\xa4\x87\x57\xa3\x4c\x5a\x11\x66\x83\x68\x71\x1a\x1d\x4f\x3a\x81\xd3" "\x1a\xc3\x0d\x71\x27\x7d\x7a\xe7\x78\x82\xb6\x84\x1c\xfa\x62\x89\xe6\xcc" "\xe8\x4a\x3a\xd5\x7e\xeb\x32\x8f\x83\x18\x88\xac\x7d\x3c\xfc\xd3\xa4\x72" "\xa4\x8d\x90\x3f\x20\xce\xc8\xc8\xae\x8d\x0b\xea\x04\xeb\xf7\x41\x3e\xf7" "\x69\x3f\x8e\xd8\x76\xe4\x9b\xd5\xf8\x9d\x7e\x10\x78\x20\x8f\xf6\x27\x12" "\xe3\x30\xfc\x03\x41\xb9\xcc\xf2\x68\x45\x57\x8d\x44\xb1\xe0\xc6\x6d\x1b" "\xeb\xc1\x47\x42\xba\xed\xfa\xbb\x8e\x9a\x2c\x8f\x42\x73\x03\x60\xc7\x29" "\x97\xef\xe0\xce\x78\x6f\xf3\x30\xc2\xeb\x6e\x0f\xf2\x08\x96\xf8\x13\xc2" "\xa5\x15\xce\x76\xf8\x7d\x2a\x1a\x1c\x15\x88\xeb\x36\x92\x31\xdd\xeb\x4a" "\x2f\x9f\x95\x91\xec\xde\xcc\x74\xd2\x0a\xeb\x50\x04\x7b\xeb\x3a\xb8\x9a" "\x9e\x4e\x1b\x80\x5a\x20\xb6\x45\xc7\x9d\x0b\xc5\xd0\x24\x7f\xab\x8b\xa4" "\x6a\x97\xa0\x76\x30\xb1\xf1\xcb\x69\xb4\x2b\x56\x8a\xf7\x46\x73\x3d\x2c" "\x58\x1f\x05\x78\x73\xd6\x4f\xe6\xe6\x59\xb0\x0b\x4a\x26\x74\x5f\x5f\xba" "\x1f\xe7\x40\x6a\x86\xb0\x07\x93\x6c\x7c\xfd\xac\x53\xa4\xc5\xb0\xea\x9f" "\x66\x04\x86\x3c\x8e\x3f\x17\x4e\xdd\xbb\x09\x17\x5f\x6e\x13\xcd\xa9\xa8" "\x60\xcf\x40\x0e\xf9\xed\x02\xb8\x95\x50\x2a\xc6\xe6\xde\x6a\x65\x82\x49" "\xc3\xc6\xe8\xa6\x53\x51\x7e\xae\x22\x31\xe5\x6e\x0f\x12\x05\x47\x92\x3c" "\x65\x49\xeb\xc1\xed\x14\xc6\x23\x63\x7c\xe3\xd9\x6a\xf5\xc9\x3a\x32\xe5" "\x8e\x2d\x96\x59\xd8\xb5\xb1\x45\x88\x8b\x52\xd9\xa5\xb5\xcb\x3c\xdf\x59" "\x4e\xb1\x37\xbc\xef\x2b\xa0\x68\xcf\xd2\xc6\xcc\xf7\xab\x6e\x5b\x4e\xc5" "\x5e\x91\x97\xbf\xb9\x1c\x9b\x87\x29\xf7\xb5\x0c\xf0\xb0\x32\x6f\x7e\xa3" "\xe7\x12\xc7\x76\x74\xd4\x85\x45\xca\x2a\x86\x74\x4c\x3c\x38\xf1\x49\xd6" "\x9c\xf8\x11\xbe\xac\xf7\xe5\xf4\x9c\x7b\xfb\xa2\x0f\x1d\xcf\x3d\x7b\xc0" "\xb9\xc7\x96\x01\x68\x20\xa4\x64\x95\xd2\x44\xc9\x60\x6a\x06\xfe\x2e\x14" "\x23\x3e\xda\x78\xd6\x9a\xe4\x52\x3a\xd7\xb7\x08\xb0\xc7\xea\xd4\x4d\x7f" "\xd3\x76\xfe\xd6\x0e\x3c\xc2\xee\x25\xe9\x60\x0a\xdf\xbe\x87\xac\x7c\x8f" "\xb8\x26\x9a\xec\x94\x59\x60\x2a\xf0\xf4\x20\xbe\xcd\xa6\x12\x0c\xe7\xd9" "\x62\x6c\x65\xae\x7f\x86\x06\x39\xe8\xbf\x66\x4e\xb4\x30\x1e\xc1\x8a\xdd" "\x0e\x43\x6c\x03\x56\xc1\x2a\xb6\xb4\xca\x35\xda\x2b\x43\xc4\xa8\xc2\x39" "\xfd\x0b\x59\xa2\xce\x94\x84\x3c\xdf\xa1\x66\x70\x53\x16\x50\x53\x63\x3b" "\x06\x28\x44\xdb\xb0\xd0\x00\x70\xfd\xe7\x4f\xa3\x17\x8e\xb5\xf1\xf5\xfd" "\x02\xe2\x08\x8d\x86\x90\x37\x9f\x39\xab\x22\xc0\x80\xcd\xcb\x29\xd7\x00" "\xba\xc7\x4f\xab\xd8\xa3\x56\xfe\x99\xaf\xe8\x3a\x5d\x99\xaa\x50\x24\xe9" "\x15\x8a\x29\x9e\xda\x6c\x99\xb6\x70\x1e\x64\xf1\xd6\x8e\x7e\x2c\x0c\x6e" "\x88\x39\x6b\xb5\x35\xa0\x2d\x09\x48\xf0\xa2\x50\xa6\xe0\x90\x04\x1c\x96" "\xd9\xc9\xac\xd6\x13\x4d\x44\xd5\x16\xfd\x10\x10\xc3\x9e\x57\x2b\x86\xb0" "\x5b\xb1\x32\x6a\x2a\x4f\x23\xf1\x11\x81\x18\x6f\x9c\x2a\x01\xdc\x7b\x58" "\xc0\x12\x9f\x4b\x85\x1c\xa9\xb1\xe3\xdc\x35\xdb\x73\x64\xe2\x9e\xf6\x46" "\x21\x17\x96\xb1\x65\x15\x11\xe0\x41\x34\x5a\xbc\xe4\x27\xfa\x5d\x6e\x48" "\xb8\xfb\x07\x8c\x84\x32\x06\x1a\x4c\xc5\x18\xa8\xf2\xa2\xca\xf7\x09\xa5" "\xc1\x47\x3a\x62\x11\x2a\x66\x50\xaf\xc6\x4e\xec\x12\xf8\xf9\xc0\x8c\xff" "\x1b\x6f\xbf\x7a\x12\x09\xfc\x86\x61\xf6\x23\x03\xb7\xc5\xd4\x9c\x1d\x0b" "\x32\xa9\xf3\x7e\x81\xed\x9a\xb6\x19\x38\x16\xd4\x09\x95\xed\x49\xc1\x0b" "\x9f\x57\x52\xe0\x4d\x57\x53\x5a\x3d\x16\xf0\x6c\x65\xd3\x28\x46\xc3\x1e" "\xc9\x78\x7e\xc4\xa9\x65\x67\x9e\xb8\x04\xe8\x6b\x45\xd0\x07\xf3\x8d\x81" "\x04\x55\x07\x70\xdc\x6f\x31\x3b\xc8\x46\xe4\x3a\x14\xa8\xc2\x1d\x06\x28" "\xc7\x44\xe3\xe8\x3c\xb9\x98\xd1\xb7\xac\xfe\x99\x65\x41\xa8\xc0\x38\x52" "\xda\xdf\x93\x26\x44\x4c\x58\x2b\x48\x1c\xae\x84\x4e\x4f\x3f\xe3\xd6\x38" "\x90\x3b\x38\xf2\x46\x33\xb6\x3a\xdb\xad\x84\x1a\xc6\xc4\xc1\x16\x9d\x78" "\x1a\x0e\x27\x1e\x8a\x96\x7b\x1c\x7e\x98\x6f\xcb\x3a\x66\x16\x8e\x86\xe3" "\x55\x9a\x44\xfc\xfa\x92\x45\x22\x60\x49\x1d\xa9\x39\x76\x59\xaf\x60\x45" "\x3f\x4c\xd4\xbe\x2d\x15\x43\x94\x45\xec\x2b\x43\x66\xa7\x9d\x32\x83\xda" "\x91\x2d\x9d\x49\x9d\xf1\x24\x2b\xd1\x74\xed\xc2\x35\x84\x8c\xaa\x21\xd2" "\xc9\x97\xaf\xf0\xe9\x5c\x7e\x5c\xc0\x80\x3c\x90\xfa\xb8\x4e\x7b\xe7\xb3" "\x79\x09\xd0\x38\x8a\xcb\x68\x00\xba\xba\x18\x3e\xcc\x8e\xea\x8c\x71\xc0" "\xd6\x5d\x66\x9e\x41\xf9\x9c\xea\xe5\x23\xb7\xa6\xb7\x72\xf3\xb8\xeb\xba" "\x1d\x21\x27\xcc\xc3\xdd\xb7\xdd\xcb\x4e\xc7\x3c\xbd\xc2\x6f\xc8\x7c\x38" "\x48\xe2\x58\xa0\xb5\x48\x4d\x3a\x13\xe4\x0e\xc4\xe4\xa6\x5d\xd9\x2f\x09" "\xe9\xfe\x1e\x3e\x2f\x8b\x96\xc4\xe3\x63\xaa\x36\x83\x86\x0d\xee\x62\xdf" "\xcf\x88\x23\xee\x4a\x35\x93\xa0\x92\xe0\xbd\x9c\x4c\xed\xac\xf4\x4a\x27" "\x2f\xaa\x16\x44\x47\xb0\x1f\x46\xa7\x79\x56\x42\xa4\x0c\x61\xb0\x03\x4a" "\x37\xf0\xe9\xb7\x92\x42\x8a\x0d\xdc\xd1\x44\xfe\x82\x63\x08\x8e\xaa\xc8" "\x01\x6f\x8f\x1c\xd3\x0b\x55\xac\x90\xa8\xf1\x0d\x78\x5b\x75\x70\xdd\x9e" "\x63\x9a\x4a\x06\x8d\x3f\xe9\x8a\x42\x01\x0e\x24\xf6\x9d\xe8\x17\xf6\x76" "\xc2\xa2\x24\x30\x0d\x74\x95\x71\xad\x43\xf4\x9d\x1f\xbe\x83\x8f\x45\x66" "\xbc\x7b\x5f\x10\x4c\x38\x4a\xd8\x71\x89\x21\x31\x52\xb6\x44\xd9\xfc\xbd" "\xf9\x8b\xaf\xee\xe5\x69\xd6\x40\xce\x90\x45\x77\x9f\x1d\x90\x02\x4c\x02" "\x3a\x74\x80\xa3\x58\xde\xe2\x76\xfb\xa1\x39\xc1\x4b\x4f\xdb\x12\x88\x52" "\x40\x90\x3d\x0e\x61\xdc\x16\x16\x59\xa6\x8f\x62\xc9\x2b\x89\x90\x07\xe0" "\xf2\xb6\x5b\xf0\xa0\x69\xe9\xe5\x7c\x9b\x6a\xe5\x0a\x3b\x30\xdd\x10\x03" "\xfb\x0e\xea\xd7\x3a\xe2\xf6\x01\x0b\x3b\x35\x6b\x40\x60\x57\x9a\x4f\x29" "\x93\x5e\x1f\x00\xc0\x1d\x12\xe5\xf4\x4e\x8e\x31\x63\xd8\x1d\xfe\xf7\xca" "\x85\x60\x60\x42\x40\xc7\xe9\x6e\x44\x54\xc6\x97\x16\x14\xdf\x30\x6c\x76" "\x81\x21\xab\xb3\xf6\x28\xe3\xf1\xd2\xd0\x26\xf5\x8d\x10\x87\x33\x4c\x5b" "\xdb\x74\xd7\xc9\x49\xb0\xee\x66\xa4\x53\x1b\xa4\xe9\xb9\x22\xae\xe3\xd0" "\xf8\x02\xed\x03\x47\x34\x50\x7a\x59\x13\xc5\x29\x66\xf1\xf8\xbd\x45\x77" "\x84\x0d\xe0\x25\x3a\xab\xc2\x32\x99\xdc\xed\x2a\x29\x98\x59\xc0\x7a\xf9" "\xfb\x0f\x9c\x29\xb6\x53\x3b\x9d\x84\xd4\x71\x39\x0d\x59\xab\x31\x5f\x5d" "\xdb\x22\x6f\x6b\x8d\xd7\x88\x92\x95\xf0\xfb\x1f\x7b\xd1\xad\xaf\xe4\xcc" "\x52\x0a\x1e\x84\xbf\x2a\x59\xd5\xb9\x79\x5a\xea\xfc\x8d\x6f\xd6\x6a\x82" "\x28\xab\xa8\x65\x3b\x98\x62\x26\x17\xdd\xfe\xb5\xd6\x79\x5c\x9b\xd2\xf3" "\x5d\x4a\x0c\x38\x6e\x86\x26\x75\xa5\x0e\x33\x14\xc3\xfb\xb1\x7a\xca\x15" "\x1c\x13\xc7\xfc\x8b\x1d\x1b\x72\xed\x0a\x95\x85\x37\xb5\xdd\xc9\xe7\x4b" "\xdd\xc2\xb9\x57\x1e\xc3\xf2\xb7\x77\x5b\x12\x53\x38\xd4\x85\x2a\x75\xa6" "\x39\x41\x56\x4c\x65\xbb\x36\xdf\xb6\xbe\xa4\xaa\xb1\xae\x7a\x4f\x28\x5c" "\x21\x77\xaa\x98\x40\x6e\xb2\xcc\x10\x93\x4a\xa9\x2d\x5a\x96\x12\xd4\x45" "\x5c\x84\xad\x20\x08\x41\xd2\x89\xb5\xc2\xd5\xde\xab\x0d\x8e\x24\x59\x59" "\x8e\xf1\x83\xd3\xdc\x46\xf6\xba\xd0\xb9\x51\x37\x10\x60\x0c\xfa\x4d\x69" "\xfc\xd5\x76\x3c\xdc\xc4\xf2\xc2\xb7\xcd\x7d\x44\x91\xfd\x52\xf4\xae\xc8" "\x2c\xe8\x46\xc0\x98\x8f\x6f\x01\x23\xe2\x1e\x90\x0d\x39\xc6\x10\x85\xe6" "\x8c\x9b\xad\xc3\x50\xb4\x40\x04\xf6\xc0\x42\xd6\x4b\x0d\x0c\xbf\x91\xad" "\x05\x92\xb1\x98\xf1\xee\xea\x1e\x52\x20\x0b\xc8\xe6\xd6\x28\x48\xd6\x88" "\x4b\x10\xbd\xde\x72\x46\x60\x39\xda\x48\x8b\xe6\xb3\x40\xc2\x31\x48\xf6" "\x66\xf2\xfe\x6e\x03\x2c\x07\xda\xc4\x35\x86\xdf\x18\x2a\xca\x91\x16\xf4" "\x60\x03\x13\xfa\x83\x75\xc7\x63\x37\xba\x86\xbd\xc3\x91\xda\xe6\x45\x02" "\x18\xf5\x8f\x04\x7c\xed\x64\xbe\xfc\x6b\xb5\xc2\xa6\x00\x24\x66\x96\x30" "\xa6\x27\x9f\xed\xf2\xfe\x45\xe7\xe1\x9c\xe5\x82\xad\x96\xae\x0d\x02\x3e" "\xb9\xb3\x9f\x5f\x1e\x66\x6e\x73\xbb\x03\x8a\xe3\x81\x57\x27\x5b\xe5\xeb" "\x3e\x7c\xbc\x8b\x05\xad\xf5\x3e\x81\x76\x46\xbd\xc2\xcf\xce\x98\xe5\xd1" "\x62\xbf\x7f\xaa\xca\x78\x7d\xb8\x71\x7a\xb8\xb2\x7b\x9e\x35\x60\x9c\x5f" "\xb9\xfe\x9d\xef\x07\xf0\x10\xdf\x8b\x43\xcf\x5c\x96\x85\x1e\xad\xfd\xef" "\xf0\xb7\xbc\x58\x26\xe7\xe1\x54\x90\xae\x9c\x3d\x14\x16\x6e\xe8\x1b\xef" "\x00\x70\x70\xe7\x98\x12\x35\xa6\x73\x80\x4a\xd8\x99\x43\xee\x6b\x51\xac" "\x63\x36\x4f\x78\x70\xe1\x21\xe6\xff\x23\xa0\xc7\xd1\x79\x52\x7c\xd5\x8d" "\xd7\xa4\xca\x37\x24\x7c\x2b\xd9\xef\xc7\x9b\x72\x0b\xb1\xee\x2d\x39\x86" "\x2e\x98\xcb\x81\xe9\x3c\xf5\xb4\x8d\x5d\x02\xee\x8a\xc7\x37\xab\x50\x4c" "\x86\x7a\x1c\x49\xe6\x78\x30\x08\x03\xc9\x4f\xbe\x97\x8d\xea\x91\x8a\x1e" "\x71\xb9\x79\x1e\xe1\xe4\xd3\x00\x56\xe8\x6c\x26\xa4\x67\x0b\x45\x1a\x13" "\xec\xe5\x2a\x89\xa7\x05\x7f\xe2\x05\x2e\x11\xc6\x66\x6e\xb9\x16\xd8\x23" "\xea\x66\xbf\x21\x7c\x32\x0a\xcb\xa3\xb7\x14\x91\x07\x34\xb2\xd2\x7c\x2f" "\xa5\x86\xbd\x7f\x76\x64\xb0\xd1\x42\x2a\xda\xba\xd2\xce\x2a\xfc\x10\x27" "\x00\x57\xf1\x19\x40\xfa\xc1\xa5\x1d\x02\x3c\xe4\x8b\xd0\x4e\xa3\x9b\x7f" "\x99\x38\x1b\x23\x9f\xd0\xdd\xee\xa0\xdc\xe7\x86\x3e\xc1\xf8\xf6\x17\x75" "\x01\x3b\x64\x14\xec\xf8\x6e\x68\x6a\x34\x0a\x31\x48\xf8\x7a\x9d\x7d\x60" "\xa1\xf2\xda\x53\x43\x6d\x16\xfc\x88\xd6\xa4\xe7\xc3\xd5\x5e\x0d\xd0\x04" "\xcb\xec\xc1\x5a\x55\x58\xeb\x70\x5d\x82\xaa\xcb\x18\x62\xdd\xc2\x51\xdd" "\x5d\x9c\xbf\x1d\x78\xf9\x79\x00\xce\x6e\x8d\xab\x0e\xa6\x78\xcb\x82\x3b" "\xd1\xe7\xbb\xd1\xe9\x27\x87\x8c\x19\xf4\xf3\x22\x22\x8f\x9b\x36\x28\x7f" "\xc1\x3e\x7c\x12\x93\xea\x87\x5a\xe7\x38\x15\xe0\x52\xd6\xc2\xeb\xc4\x0d" "\xf8\xf7\xb9\xd1\xf7\x6e\x0b\x10\xe3\x5a\xa1\x60\x94\x49\x83\xd8\xe6\xb7" "\x90\xdf\x0d\x9b\x13\xf3\x46\x06\x57\x33\x6d\x81\xf7\xd8\x3c\x03\x50\x32" "\x4b\x93\x0e\xc9\xc7\x55\x7c\xe1\x28\x87\xf7\x63\x72\xe1\x26\xf5\x04\xb0" "\x98\x0f\xea\x27\xf3\x1a\x78\x0c\x05\x18\x7b\x9b\x53\x53\xda\xfc\x6b\x10" "\x15\x43\xb2\x43\x32\xb9\x6e\x15\xbc\x26\xb1\x90\x62\xe5\x2f\xa9\xf8\x6d" "\x26\x0e\xe3\xa3\xbc\x92\xa1\x33\xe3\x28\x40\x7b\xb8\x53\x57\xee\x5c\x45" "\xcb\x87\x22\x8f\x44\x88\x8b\x14\x94\x1b\x59\x11\xb0\x50\xe9\x31\x9f\xe8" "\x80\x33\xf8\x30\xa8\x49\x09\x17\xa9\xc0\x57\x2e\xbb\xc5\x49\x2b\x4e\x10" "\x83\xa2\xe3\xd7\x72\x15\xa3\x4a\xbe\xf9\x47\xb5\xb9\xa9\x50\xe7\x80\x66" "\x2d\xe1\x88\x73\xe5\x58\x99\xc9\x2d\xb3\xad\x3d\x43\x7e\x84\x07\x89\x0a" "\xfa\x6b\x0c\x04\xef\x86\x1b\x8b\xc8\x5f\xbb\xe1\xbb\x67\xb3\xd9\xef\x00" "\x14\x09\xf8\x4b\x8e\xc4\xf0\x1d\x86\x1c\xec\xc1\x43\xa8\x05\xb9\x81\xab" "\x5c\xf5\xb6\x05\x05\x7b\x63\xcb\x2c\x84\xec\x35\x8e\x51\x0a\x69\xcd\x8c" "\x33\xa8\xa6\x2f\xe4\x68\x0d\x0c\x98\x01\x45\xcc\x70\x91\x57\x83\x2b\xfa" "\xef\x26\x1c\xb0\x46\x6c\x23\x73\x76\xca\x29\x44\xce\x9a\xff\xff\xd4\xb1" "\xdc\x7c\xc9\x51\x1d\xa0\xb3\x4b\xff\xb9\xac\x21\x6f\xb8\xcf\x7c\x65\x72" "\xd9\x56\x27\x78\x77\x20\xd1\xba\x67\xc6\x51\x2f\xcd\xb1\x6f\x63\x29\xe9" "\x66\x86\x81\xc4\x04\xef\xeb\xad\x55\x9f\x81\xf0\x59\x71\xb5\xef\xb6\xb4" "\xcc\xa9\x7a\xd0\x34\x67\x53\xcc\x0a\x40\xa8\x77\x24\x2d\x8a\x80\x8c\x60" "\x2b\x03\xdc\x96\x2c\xee\x38\xe6\x46\xcb\x18\xab\xb0\x79\xc7\x0d\x35\x7c" "\x30\x73\x8a\x70\xf5\x5c\xd3\xc5\x95\x6a\x83\xa1\xbf\xcd\x66\x49\xdd\x76" "\x5f\x16\xbf\xe9\x68\x06\x63\x45\xdf\x73\x80\xbb\xc0\xc1\x6b\x3b\x5a\xf5" "\x13\xd6\x45\x8c\x79\x13\x43\x95\x2f\x33\xa0\x51\xc5\xd7\x11\xc1\xf3\x5a" "\xf1\xb4\x7f\x3d\xb9\xbb\xfb\x5c\x7c\x63\x6b\x3a\x2b\x52\x80\x5d\x60\x64" "\x79\x87\x9b\xe0\xb4\x04\xa2\x8a\xde\x56\x49\xa3\x18\x5e\x0f\x85\xa8\x5f" "\xc1\x5c\xd8\x24\x67\x1c\x2b\xef\xdd\x0d\xa5\x09\x59\x7c\x87\xd8\x69\xf0" "\xbd\x7a\xd1\x63\xad\x93\xca\x28\xfc\x0c\x40\x25\xec\xca\xaf\xe3\x85\xec" "\x3f\xc0\x6c\x54\xeb\xcd\x7b\x07\xb6\xc7\xe0\x19\x7c\x5b\x9e\xf8\x86\x15" "\x9a\x15\x85\xae\x45\x24\x8f\x86\x5b\xe7\x60\xdb\x6f\x5b\xc8\xf8\x68\xfc" "\x6a\xef\xd0\x4e\x34\xec\xb5\x11\x59\xe4\xcd\xcc\x22\x14\xb4\x2b\x1c\xa9" "\xca\xec\x13\xba\x3e\x1b\x2e\x7a\x3c\x73\x69\x77\xb2\x26\x21\x3d\x26\x5c" "\x28\x73\x19\x51\x22\xa9\xb4\x48\x08\x8c\x8b\x50\xed\xd5\x49\xbe\x41\xc3" "\x8a\xb1\x76\x80\x7b\x75\xe7\x26\x7f\x86\xe4\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x01\xdf\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", 4096); *(uint16_t*)0x2000000017c4 = 0x1000; syscall(__NR_write, /*fd=*/(intptr_t)-1, /*data=*/0x2000000007c0ul, /*len=*/0x1006ul); // ioctl$sock_SIOCGIFINDEX arguments: [ // fd: sock (resource) // cmd: const = 0x8933 (4 bytes) // arg: ptr[out, ifreq_dev_t[devnames, ifindex]] { // ifreq_dev_t[devnames, ifindex] { // ifr_ifrn: buffer: {73 79 7a 6b 61 6c 6c 65 72 31 00 00 00 00 00 00} // (length 0x10) elem: ifindex (resource) pad = 0x0 (20 bytes) // } // } // ] memcpy((void*)0x200000000100, "syzkaller1\000\000\000\000\000\000", 16); res = syscall(__NR_ioctl, /*fd=*/r[3], /*cmd=*/0x8933, /*arg=*/0x200000000100ul); if (res != -1) r[4] = *(uint32_t*)0x200000000110; // sendmsg$nl_route_sched arguments: [ // fd: sock_nl_route (resource) // msg: ptr[in, msghdr_netlink[netlink_msg_route_sched]] { // msghdr_netlink[netlink_msg_route_sched] { // addr: nil // addrlen: len = 0x0 (4 bytes) // pad = 0x0 (4 bytes) // vec: ptr[in, iovec[in, netlink_msg_route_sched]] { // iovec[in, netlink_msg_route_sched] { // addr: ptr[in, netlink_msg_route_sched] { // union netlink_msg_route_sched { // newqdisc: netlink_msg_t[const[RTM_NEWQDISC, int16], // tcmsg[AF_UNSPEC], rtm_tca_policy] { // len: len = 0x30 (4 bytes) // type: const = 0x24 (2 bytes) // flags: netlink_msg_flags = 0x601 (2 bytes) // seq: int32 = 0x0 (4 bytes) // pid: int32 = 0x0 (4 bytes) // payload: tcmsg[AF_UNSPEC] { // family: const = 0x0 (1 bytes) // tcm__pad1: const = 0x0 (1 bytes) // tcm__pad2: const = 0x0 (2 bytes) // ifindex: ifindex (resource) // tcm_handle: tcm_handle { // minor: tcm_handle_offsets = 0x0 (2 bytes) // major: tcm_handle_offsets = 0x0 (2 bytes) // } // tcm_parent: tcm_handle { // minor: tcm_handle_offsets = 0xfff1 (2 bytes) // major: tcm_handle_offsets = 0xffff (2 bytes) // } // tcm_info: tcm_handle { // minor: tcm_handle_offsets = 0x0 (2 bytes) // major: tcm_handle_offsets = 0x0 (2 bytes) // } // } // attrs: array[rtm_tca_policy] { // union rtm_tca_policy { // qdisc_kind_options: union qdisc_kind_options { // q_ingress: nlattr_t[const[TCA_KIND, int16], // string["ingress"]] { // nla_len: offsetof = 0xc (2 bytes) // nla_type: const = 0x1 (2 bytes) // payload: buffer: {69 6e 67 72 65 73 73 00} (length // 0x8) size: buffer: {} (length 0x0) // } // } // } // } // } // } // } // len: len = 0x30 (8 bytes) // } // } // vlen: const = 0x1 (8 bytes) // ctrl: const = 0x0 (8 bytes) // ctrllen: const = 0x0 (8 bytes) // f: send_flags = 0x0 (4 bytes) // pad = 0x0 (4 bytes) // } // } // f: send_flags = 0x0 (8 bytes) // ] *(uint64_t*)0x2000000012c0 = 0; *(uint32_t*)0x2000000012c8 = 0; *(uint64_t*)0x2000000012d0 = 0x200000000080; *(uint64_t*)0x200000000080 = 0x2000000000c0; *(uint32_t*)0x2000000000c0 = 0x30; *(uint16_t*)0x2000000000c4 = 0x24; *(uint16_t*)0x2000000000c6 = 0x601; *(uint32_t*)0x2000000000c8 = 0; *(uint32_t*)0x2000000000cc = 0; *(uint8_t*)0x2000000000d0 = 0; *(uint8_t*)0x2000000000d1 = 0; *(uint16_t*)0x2000000000d2 = 0; *(uint32_t*)0x2000000000d4 = r[4]; *(uint16_t*)0x2000000000d8 = 0; *(uint16_t*)0x2000000000da = 0; *(uint16_t*)0x2000000000dc = 0xfff1; *(uint16_t*)0x2000000000de = -1; *(uint16_t*)0x2000000000e0 = 0; *(uint16_t*)0x2000000000e2 = 0; *(uint16_t*)0x2000000000e4 = 0xc; *(uint16_t*)0x2000000000e6 = 1; memcpy((void*)0x2000000000e8, "ingress\000", 8); *(uint64_t*)0x200000000088 = 0x30; *(uint64_t*)0x2000000012d8 = 1; *(uint64_t*)0x2000000012e0 = 0; *(uint64_t*)0x2000000012e8 = 0; *(uint32_t*)0x2000000012f0 = 0; syscall(__NR_sendmsg, /*fd=*/r[2], /*msg=*/0x2000000012c0ul, /*f=*/0ul); // sendmsg$nl_route_sched arguments: [ // fd: sock_nl_route (resource) // msg: ptr[in, msghdr_netlink[netlink_msg_route_sched]] { // msghdr_netlink[netlink_msg_route_sched] { // addr: nil // addrlen: len = 0x0 (4 bytes) // pad = 0x0 (4 bytes) // vec: ptr[in, iovec[in, netlink_msg_route_sched]] { // iovec[in, netlink_msg_route_sched] { // addr: ptr[in, netlink_msg_route_sched] { // union netlink_msg_route_sched { // newtfilter: netlink_msg_t[const[RTM_NEWTFILTER, int16], // tcmsg[AF_UNSPEC], filter_policy] { // len: len = 0x80 (4 bytes) // type: const = 0x2c (2 bytes) // flags: netlink_msg_flags = 0x601 (2 bytes) // seq: int32 = 0x0 (4 bytes) // pid: int32 = 0xfffffffe (4 bytes) // payload: tcmsg[AF_UNSPEC] { // family: const = 0x0 (1 bytes) // tcm__pad1: const = 0x0 (1 bytes) // tcm__pad2: const = 0x0 (2 bytes) // ifindex: ifindex (resource) // tcm_handle: tcm_handle { // minor: tcm_handle_offsets = 0xb (2 bytes) // major: tcm_handle_offsets = 0x6 (2 bytes) // } // tcm_parent: tcm_handle { // minor: tcm_handle_offsets = 0xffff (2 bytes) // major: tcm_handle_offsets = 0xffff (2 bytes) // } // tcm_info: tcm_handle { // minor: tcm_handle_offsets = 0x300 (2 bytes) // major: tcm_handle_offsets = 0x0 (2 bytes) // } // } // attrs: array[filter_policy] { // union filter_policy { // filter_kind_options: union filter_kind_options { // f_matchall: tca_kind_options_t["matchall", // array[mall_policy]] { // TCA_KIND: nlattr_t[const[TCA_KIND, int16], // string["matchall"]] { // nla_len: offsetof = 0xd (2 bytes) // nla_type: const = 0x1 (2 bytes) // payload: buffer: {6d 61 74 63 68 61 6c 6c 00} // (length 0x9) size: buffer: {} (length 0x0) pad = // 0x0 (3 bytes) // } // TCA_OPTIONS: nlattr_t[const[TCA_OPTIONS, int16], // array[mall_policy]] { // nla_len: offsetof = 0x4c (2 bytes) // nla_type: const = 0x2 (2 bytes) // payload: array[mall_policy] { // union mall_policy { // TCA_MATCHALL_ACT: // nlattr_t[const[TCA_MATCHALL_ACT, int16], // array[tca_actions]] { // nla_len: offsetof = 0x48 (2 bytes) // nla_type: const = 0x2 (2 bytes) // payload: array[tca_actions] { // union tca_actions { // m_ct: // nlattr_tt[int16:14[0:TCA_ACT_MAX_PRIO], // 0, 0, tcf_action_policy["ct", // ct_policy]] { // nla_len: offsetof = 0x44 (2 bytes) // nla_type: int16 = 0x1 (1 bytes) // NLA_F_NET_BYTEORDER: const = 0x0 (0 // bytes) NLA_F_NESTED: const = 0x0 (1 // bytes) payload: // tcf_action_policy["ct", ct_policy] { // TCA_ACT_KIND: // nlattr_t[const[TCA_ACT_KIND, // int16], string["ct"]] { // nla_len: offsetof = 0x7 (2 // bytes) nla_type: const = 0x1 (2 // bytes) payload: buffer: {63 74 // 00} (length 0x3) size: buffer: // {} (length 0x0) pad = 0x0 (1 // bytes) // } // TCA_ACT_OPTIONS: // nlattr_tt[const[TCA_ACT_OPTIONS, // int16:14], 0, 1, array[ct_policy]] // { // nla_len: offsetof = 0x1c (2 // bytes) nla_type: const = 0x2 (1 // bytes) NLA_F_NET_BYTEORDER: // const = 0x0 (0 bytes) // NLA_F_NESTED: const = 0x1 (1 // bytes) payload: array[ct_policy] // { // union ct_policy { // TCA_CT_PARMS: // nlattr_t[const[TCA_CT_PARMS, // int16], tc_gen] { // nla_len: offsetof = 0x18 // (2 bytes) nla_type: const // = 0x1 (2 bytes) payload: // tc_gen { // index: int32 = 0x8 (4 // bytes) capab: int32 = // 0xfff (4 bytes) action: // tc_actions = 0x10000000 // (4 bytes) refcnt: int32 // = 0x7 (4 bytes) bindcnt: // int32 = 0xccb (4 bytes) // } // size: buffer: {} (length // 0x0) // } // } // } // size: buffer: {} (length 0x0) // } // TCA_ACT_COOKIE: // nlattr_t[const[TCA_ACT_COOKIE, // int16], array[int8]] { // nla_len: offsetof = 0x4 (2 // bytes) nla_type: const = 0x6 (2 // bytes) payload: buffer: {} // (length 0x0) size: buffer: {} // (length 0x0) // } // TCA_ACT_FLAGS: // nlattr_t[const[TCA_ACT_FLAGS, // int16], // nla_bitfield32[tcf_action_policy_flags]] // { // nla_len: offsetof = 0xc (2 // bytes) nla_type: const = 0x7 (2 // bytes) payload: // nla_bitfield32[tcf_action_policy_flags] // { // value: tcf_action_policy_flags // = 0x0 (4 bytes) selector: // tcf_action_policy_flags = 0x0 // (4 bytes) // } // size: buffer: {} (length 0x0) // } // TCA_ACT_HW_STATS: // nlattr_t[const[TCA_ACT_HW_STATS, // int16], // nla_bitfield32[tcf_action_policy_hw_stats]] // { // nla_len: offsetof = 0xc (2 // bytes) nla_type: const = 0x8 (2 // bytes) payload: // nla_bitfield32[tcf_action_policy_hw_stats] // { // value: // tcf_action_policy_hw_stats = // 0x0 (4 bytes) selector: // tcf_action_policy_hw_stats = // 0x0 (4 bytes) // } // size: buffer: {} (length 0x0) // } // } // size: buffer: {} (length 0x0) // } // } // } // size: buffer: {} (length 0x0) // } // } // } // size: buffer: {} (length 0x0) // } // } // } // } // } // } // } // } // len: len = 0x80 (8 bytes) // } // } // vlen: const = 0x1 (8 bytes) // ctrl: const = 0x0 (8 bytes) // ctrllen: const = 0x0 (8 bytes) // f: send_flags = 0x24000000 (4 bytes) // pad = 0x0 (4 bytes) // } // } // f: send_flags = 0x0 (8 bytes) // ] *(uint64_t*)0x200000000580 = 0; *(uint32_t*)0x200000000588 = 0; *(uint64_t*)0x200000000590 = 0x200000000300; *(uint64_t*)0x200000000300 = 0x200000000340; *(uint32_t*)0x200000000340 = 0x80; *(uint16_t*)0x200000000344 = 0x2c; *(uint16_t*)0x200000000346 = 0x601; *(uint32_t*)0x200000000348 = 0; *(uint32_t*)0x20000000034c = 0xfffffffe; *(uint8_t*)0x200000000350 = 0; *(uint8_t*)0x200000000351 = 0; *(uint16_t*)0x200000000352 = 0; *(uint32_t*)0x200000000354 = r[4]; *(uint16_t*)0x200000000358 = 0xb; *(uint16_t*)0x20000000035a = 6; *(uint16_t*)0x20000000035c = -1; *(uint16_t*)0x20000000035e = -1; *(uint16_t*)0x200000000360 = 0x300; *(uint16_t*)0x200000000362 = 0; *(uint16_t*)0x200000000364 = 0xd; *(uint16_t*)0x200000000366 = 1; memcpy((void*)0x200000000368, "matchall\000", 9); *(uint16_t*)0x200000000374 = 0x4c; *(uint16_t*)0x200000000376 = 2; *(uint16_t*)0x200000000378 = 0x48; *(uint16_t*)0x20000000037a = 2; *(uint16_t*)0x20000000037c = 0x44; STORE_BY_BITMASK(uint16_t, , 0x20000000037e, 1, 0, 14); STORE_BY_BITMASK(uint16_t, , 0x20000000037f, 0, 6, 1); STORE_BY_BITMASK(uint16_t, , 0x20000000037f, 0, 7, 1); *(uint16_t*)0x200000000380 = 7; *(uint16_t*)0x200000000382 = 1; memcpy((void*)0x200000000384, "ct\000", 3); *(uint16_t*)0x200000000388 = 0x1c; STORE_BY_BITMASK(uint16_t, , 0x20000000038a, 2, 0, 14); STORE_BY_BITMASK(uint16_t, , 0x20000000038b, 0, 6, 1); STORE_BY_BITMASK(uint16_t, , 0x20000000038b, 1, 7, 1); *(uint16_t*)0x20000000038c = 0x18; *(uint16_t*)0x20000000038e = 1; *(uint32_t*)0x200000000390 = 8; *(uint32_t*)0x200000000394 = 0xfff; *(uint32_t*)0x200000000398 = 0x10000000; *(uint32_t*)0x20000000039c = 7; *(uint32_t*)0x2000000003a0 = 0xccb; *(uint16_t*)0x2000000003a4 = 4; *(uint16_t*)0x2000000003a6 = 6; *(uint16_t*)0x2000000003a8 = 0xc; *(uint16_t*)0x2000000003aa = 7; *(uint32_t*)0x2000000003ac = 0; *(uint32_t*)0x2000000003b0 = 0; *(uint16_t*)0x2000000003b4 = 0xc; *(uint16_t*)0x2000000003b6 = 8; *(uint32_t*)0x2000000003b8 = 0; *(uint32_t*)0x2000000003bc = 0; *(uint64_t*)0x200000000308 = 0x80; *(uint64_t*)0x200000000598 = 1; *(uint64_t*)0x2000000005a0 = 0; *(uint64_t*)0x2000000005a8 = 0; *(uint32_t*)0x2000000005b0 = 0x24000000; syscall(__NR_sendmsg, /*fd=*/r[2], /*msg=*/0x200000000580ul, /*f=*/0ul); // write$tun arguments: [ // fd: fd_tun (resource) // buf: ptr[inout, array[ANYUNION]] { // array[ANYUNION] { // union ANYUNION { // ANYBLOB: buffer: {00 00 86 dd 00 00 11 00 05 00 00 00 a6 0c 6b 63 // 85 1e 0f 98 2c} (length 0x15) // } // } // } // count: len = 0xfce (8 bytes) // ] memcpy((void*)0x200000001280, "\x00\x00\x86\xdd\x00\x00\x11\x00\x05\x00\x00\x00\xa6\x0c\x6b\x63\x85" "\x1e\x0f\x98\x2c", 21); syscall(__NR_write, /*fd=*/r[0], /*buf=*/0x200000001280ul, /*count=*/0xfceul); } int main(void) { syscall(__NR_mmap, /*addr=*/0x1ffffffff000ul, /*len=*/0x1000, /*prot=*/0ul, /*flags=MAP_FIXED|MAP_ANONYMOUS|MAP_PRIVATE*/ 0x32ul, /*fd=*/(intptr_t)-1, /*offset=*/0ul); syscall(__NR_mmap, /*addr=*/0x200000000000ul, /*len=*/0x1000000, /*prot=PROT_WRITE|PROT_READ|PROT_EXEC*/ 7ul, /*flags=MAP_FIXED|MAP_ANONYMOUS|MAP_PRIVATE*/ 0x32ul, /*fd=*/(intptr_t)-1, /*offset=*/0ul); syscall(__NR_mmap, /*addr=*/0x200001000000ul, /*len=*/0x1000, /*prot=*/0ul, /*flags=MAP_FIXED|MAP_ANONYMOUS|MAP_PRIVATE*/ 0x32ul, /*fd=*/(intptr_t)-1, /*offset=*/0ul); const char* reason; (void)reason; loop(); return 0; }