// https://syzkaller.appspot.com/bug?id=31aab9e6f4efb12df626b4c855e951cfc52cc31f // 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 #ifndef __NR_bpf #define __NR_bpf 321 #endif 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 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; } } } void execute_one(void) { if (write(1, "executing program\n", sizeof("executing program\n") - 1)) { } // capset arguments: [ // hdr: ptr[in, cap_header] { // cap_header { // var: cap_version = 0x20080522 (4 bytes) // pid: pid (resource) // } // } // data: ptr[in, cap_data] { // cap_data { // eff0: int32 = 0x0 (4 bytes) // perm0: int32 = 0x5 (4 bytes) // inher0: int32 = 0x0 (4 bytes) // eff1: int32 = 0x83 (4 bytes) // perm1: int32 = 0xffffffff (4 bytes) // inher1: int32 = 0x0 (4 bytes) // } // } // ] *(uint32_t*)0x200000000000 = 0x20080522; *(uint32_t*)0x200000000004 = 0; *(uint32_t*)0x200000000280 = 0; *(uint32_t*)0x200000000284 = 5; *(uint32_t*)0x200000000288 = 0; *(uint32_t*)0x20000000028c = 0x83; *(uint32_t*)0x200000000290 = -1; *(uint32_t*)0x200000000294 = 0; syscall(__NR_capset, /*hdr=*/0x200000000000ul, /*data=*/0x200000000280ul); // bpf$PROG_LOAD arguments: [ // cmd: const = 0x5 (8 bytes) // arg: ptr[in, bpf_prog_t[flags[bpf_prog_type, int32], // bpf_prog_attach_types, bpf_btf_id[opt], fd_bpf_prog[opt]]] { // bpf_prog_t[flags[bpf_prog_type, int32], bpf_prog_attach_types, // bpf_btf_id[opt], fd_bpf_prog[opt]] { // type: bpf_prog_type = 0x1 (4 bytes) // ninsn: bytesize8 = 0xe (4 bytes) // insns: ptr[inout, array[ANYUNION]] { // array[ANYUNION] { // union ANYUNION { // ANYBLOB: buffer: {b7 00 00 00 01 00 03 c3 bf a3 00 00 00 00 00 // 00 07 03 00 00 08 fe ff ff 72 0a f0 ff f8 ff ff ff 71 a4 f0 ff // 00 00 00 00 65 04 02 00 00 00 00 ff 2d 40 05 00 00 00 00 00 20 // 00 00 00 01 ed 00 00 7b 03 00 00 00 00 00 00 1d 44 00 00 00 00 // 00 00 7a 0a 00 fe 00 ff ff ff db 03 00 00 51 00 00 00 b5 00 fe // ff 00 00 00 00 95 00 00 00 00 00 00 00 02 3b c0 65 b7 81 11 c6 // df a0 41 b6 3a f4 a3 91 24 35 f1 a8 64 a7 10 aa d5 8d b6 a6 93 // 00 2e 7f 3b e3 61 91 7a de f6 ee 1c 8a 2a 4f 8e f1 e5 0b ec b1 // 9b c4 61 e9 1a 71 68 e5 18 15 54 80 00 00 00 00 00 00 00 27 5d // af 51 ef d6 01 b6 bf 01 c8 e8 b1 b5 26 37 5e e4 dd 6f cd 82 e4 // fe e5 be f7 af 9a a0 d7 f3 00 c0 95 19 9f e3 ff 31 28 e5 99 b0 // ea eb bd bd 73 2c 9c c0 0e ec 36 57 4a 8f 64 56 e2 cc ae 25 ea // 21 71 4e ca 8c f5 d8 03 e0 4d 83 b4 6e 21 55 7c 0a fc 64 6c b7 // 79 0b 3e 64 40 c2 fb db 00 a3 e3 52 08 b0 bb 0d 2c d8 29 e6 54 // 40 0e 24 00 00 00 00 00 00 00 80 06 43 a9 8d 9e c2 1e ad 2e d5 // 1b 10 4d 4d 91 af 25 b8 45 b9 f7 5d d0 8d 12 3d ed a8 eb c7 2f // 52 6d 8e 8a fc b9 13 46 6a aa 7f 6d f7 02 52 e7 91 66 d8 58 fc // d0 e0 6d d3 1a f9 61 2f 24 60 d0 b1 10 08 e5 9a 59 23 90 6f 88 // b5 39 87 af 17 14 e7 2b a7 61 65 36 fd 9a a5 8f 24 77 18 4b 6a // 89 ad af 17 b0 ba f5 87 ae f3 70 a2 d4 26 a6 04 1b de f7 28 d2 // 36 61 90 74 d6 eb df d1 f5 08 90 48 dd ff 6d a4 0f 94 11 fe 72 // 26 a4 04 09 d6 e3 7c 4f 46 75 6d 31 cb 46 76 00 ad e7 00 63 e5 // 29 15 69 b3 3d 21 da e3 56 e1 c5 1f 03 a8 01 be 81 89 67 9a 16 // da 18 ec 0a e5 64 16 2a 27 af ea 62 d8 4f 3a 10 74 64 43 d6 43 // 64 c8 27 70 c8 20 4a 0d ee ed 41 55 61 75 72 65 2d 95 0a d3 19 // 28 b0 b0 c3 dc 28 69 f4 78 34 1d 02 d0 f5 ad 94 b0 81 fc d5 07 // ac b4 b9 c6 5f ee 7d 26 b3 43 81 fc b5 9b 85 4e 9d 5a 17 f4 72 // 00 82 f1 3d 00 00 00 22 5d 85 ae 49 ce e3 83 dc 50 49 07 6b 98 // fb 68 53 ab 39 a2 15 14 da 60 d2 ae 20 cf b9 1d 6a 49 96 47 57 // cd f5 38 f9 ce 2b db 1a b0 62 cd 54 e6 70 51 d3 55 d8 4c e9 7b // b0 c6 b4 a5 95 e4 87 ef bb 2d 71 cd e2 c1 0f 0b c6 98 0f e7 86 // 83 ac 5c 0c 31 03 25 99 dd d7 10 63 be 92 61 ee e5 22 16 d0 09 // f4 c5 20 48 ef 8c 12 6a ee f5 f5 10 a8 f1 ad ed 94 a1 29 e4 ae // c6 e8 d9 ab 06 fa ff c3 a1 5d 96 c2 ea 3e 2e 04 cf e0 31 b2 87 // 53 9d 05 40 05 9f e6 c7 fe 7c d8 69 75 02 c7 59 65 66 d6 74 e4 // 25 da 5e 87 e5 96 02 a9 f6 59 05 21 d3 1d 38 df 9b a6 02 48 d9 // a0 d6 12 82 df b1 5e b6 84 1b b6 4a 1b 30 45 02 4a 98 2f 3c 48 // 15 3b aa e2 c4 e7 bf 37 54 8c 7f 1a 4c ad 24 22 ee 96 5a 38 f7 // de fb d2 96 02 42 b1 04 e2 0d c2 d9 b0 c3 56 08 11 ea 6c 35 60 // a4 33 64 d4 02 cc dd 90 69 bd 50 b9 94 fd 6a 34 ee 18 02 2a 57 // 9d fc 02 29 cc 0d c9 88 16 10 27 09 28 ea eb 88 34 18 f5 62 ae // 00 00 3e a9 6d 10 f1 72 c0 37 4d 6e ed 82 64 07 00 00 00 00 00 // 00 00 4a 9c 5a 90 ff 59 d5 4d 1f 92 ec c4 88 99 b2 12 c5 53 18 // 29 42 70 a1 ad 10 c8 0f ef 7c 24 d4 7a fc e8 29 ba 0f 85 da 6d // 88 8f 18 ea 40 ab 95 9f 60 74 ab 2a 40 d8 5d 15 01 7a b5 13 cd // c6 c0 e5 7f b1 c1 ca 57 13 80 d7 b4 ea d3 5a 38 5e 0b 4a 26 b7 // 02 39 6d f7 e0 c1 e0 2b 6e 41 14 f2 44 a9 bf 93 f0 4b f0 72 f0 // 86 1f 5c 0b 00 00 00 00 00 00 ee dc f2 ba 1a 95 08 f9 d6 ab a5 // 82 a8 96 a9 f1 ff a9 68 ea ce a7 5c af 82 2a 7a 63 ba 34 01 5e // a5 2a cb 11 88 88 3a d2 a3 b1 83 23 71 fe 5b c6 21 42 6d 1e d0 // a4 a9 97 02 cc 1b 69 12 a1 e7 17 d2 91 35 75 32 08 16 5b 9c db // ae 2e d9 dc 73 58 f0 eb ad de 0b 72 7f 27 fe eb 74 4d dc c5 36 // cb ae 31 5c 7d 85 16 80 f6 f2 f9 a6 a8 90 69 43 40 8e 6d f3 c3 // 91 e9 7b a4 8d b0 a5 ad bf d0 3a ac 93 df 88 66 fb 01 0a ec 0e // 92 be d1 fe 39 af 16 9d 2a 46 6f 4c a2 19 52 34 64 8e 0a 1c a5 // 0d b6 f3 d9 43 6a 7d 55 fc 30 51 1d 00 00 00 00 c9 52 65 b2 bd // 83 d6 4a 53 28 69 d7 01 72 3f ed cb ad a1 ee 7b aa 19 fa f6 72 // 56 b5 6a 41 fd 35 5b 6a 68 6b 50 f0 93 7f 77 8a f0 83 e0 55 f6 // 13 8a 75 7e bd 0e d9 11 24 a6 b2 44 f9 ac f4 1a c5 d7 3a 00 83 // 64 e0 60 6a 59 48 17 03 1f c2 f5 2c 87 85 fe 07 21 71 9b 3d 65 // 40 26 c6 ea 08 b8 3b 12 31 45 eb 6d c5 f6 a9 03 7d 22 83 c4 2e // fc 54 fa 84 32 3a 33 04 f4 1f f4 62 c8 84 31 87 f1 dd 48 ef 3f // a2 93 77 4d 58 29 56 ff 0f 40 b1 0c a9 4f 6f ee b2 89 3c 17 88 // 8e 1c db a9 4a 6e a8 0c 33 ea d5 72 2c 32 93 a4 93 f1 47 95 31 // dd 88 26 14 58 f4 0d 31 fe 8d f1 5e fa ae ea 83 15 55 87 7f 95 // 38 c6 ee 6b a6 58 93 ff 1f 92 8b a7 55 4b a5 83 fe f3 ec 79 32 // f5 95 4f 31 a8 78 e2 fa e6 69 1d f8 b4 b7 ec d2 7c e8 2f 7d f3 // e7 d1 da ac 43 73 86 12 e4 fe e1 8a 22 da 19 fc db 4c 28 90 cd // a1 f9 6b 95 25 11 e3 a6 9d 69 4d 62 5e 0b 2f 80 88 90 20 5f 3a // 6d a2 81 9d 2f 9e 77 c7 c6 4a ff a5 4f ec 01 36 cb af a5 f6 2e // 96 75 3b 63 9a 92 45 99 c1 f6 92 19 92 7e a5 30 1f ff 0a 60 63 // d4 27 f0 68 84 30 75 4c 02 18 0d 61 54 2c 25 71 f9 83 e9 67 35 // 60 00 00 55 4f 32 7a 35 35 11 cc ed de 99 49 3c 31 ac 05 a7 b5 // 7f 03 ca 91 a0 1b a2 c6 0c a9 9e 8e bc 15 ec b4 d9 16 75 76 79 // 99 d1 46 ae f7 79 97 38 b2 92 fd 64 bb ca 48 56 83 25 b2 96 9e // 2b 15 f3 6b 78 8b ce 5c cd ba f7 5c 94 cb 93 49 9f 69 47 a9 67 // a7 bc e1 4c 6d 80 01 0f 5c 65 3d 22 d4 90 30 a8 c2 a4 ab 59 5b // f4 23 8f 18 ca 42 8d af c7 ac 96 d4 04 60 78 00 00 00 00 51 a2 // 10 4f 22 e6 db 5a 62 b5 08 9c 1b 45 28 2d 38 86 4d aa 3a e8 1d // 6b 09 68 d1 d2 86 7b 91 b7 d1 20 96 83 08 c3 1d b2 63 3d 68 64 // da 40 b5 47 83 a1 7a ae b6 73 7c 32 3f 9f 98 e3 54 cc 98 dc fe // 23 ad 01 bd 00 00 00 00 69 ff e1 c2 c7 3e 16 61 26 11 73 f3 59 // e9 3d 2c 5e 42 4c 17 99 88 09 ec 8f 02 32 b3 95 5e 05 2a 4c ec // d8 90 08 f7 03 14 a0 bd d4 91 ec 86 a4 55 5d 89 fe 01 20 f6 4c // 62 e8 e3 ed 8b cb 45 20 2c 20 4b be c8 d7 22 82 4c 0e bc a8 db // 1e a4 a0 03 fe 9a f5 d7 85 d0 12 81 71 c9 0d 99 00 ce 25 32 b0 // f9 d0 1c 4b 45 29 4f bb a4 68 df 3e 1b 39 3c b4 e6 2e 75 45 98 // e4 7d f6 bd 06 43 1c 94 bc 5d 04 78 99 fd 21 9f 44 8b f9 18 9c // 65 c9 d9 1e da 6b 52 a3 73 80 3a 9e 06 00 f8 69 09 bc 90 ad db // 7b 9a ee 81 3d f5 34 aa c4 b3 2f d6 91 b8 06 8c d8 49 90 45 68 // 91 66 94 d4 61 b7 6a 58 d8 8c f0 f5 20 31 0a 1e 9f dc 18 cd e9 // 8d 66 2e ee 07 75 15 d0 a8 81 19 22 92 9e 08 53 92 ab 3d 13 11 // b8 24 32 66 d8 70 47 f6 01 fa 88 a0 00 00 00 00 00 00 00 00 00 // 00 00 00 00 00 6a cc 19 80 8d 7c f2 9b c9 74 b0 ea 92 49 9a 41 // 9a a0 95 e2 03 c1 ba fb b9 b9 a7 c2 bc a3 f0 a1 8e e4 95 2f 2d // 32 5a 56 39 05 78 f1 22 05 db 65 3a 53 6f 01 00 e0 ed a3 00 a4 // dc 6b 3f b8 4f 37 38 a4 b6 ca a8 4f ed a9 1f 3e db 32 23 1e c7 // 53 00 00 00 00 00 00 87 ef a5 1c 5d 95 ec ba 4e 50 e5 29 d1 e8 // c8 96 00 e8 09 dc 3d 0a 2f 65 57 9e 23 45 79 49 a5 0f 2d 04 55 // cf 79 a4 37 46 97 9f 99 f6 a1 52 7f 00 4f 1e 37 a3 92 69 37 e8 // 4f b4 78 19 9d c1 02 0f 4b eb 98 b8 8b 5e 78 85 e9 a6 17 aa 6c // 8e 10 d4 20 2c 5a fe b0 6e 2f 91 15 55 8e a1 2f 92 d7 ae 63 3d // 44 08 6b 3f 03 b2 0d 54 6f a6 6a 72 e3 82 07 c9 d2 00 35 ab 63 // de 71 a3 0f 12 40 de 52 53 69 41 24 2d 23 89 6a b7 4a 3c 66 70 // fd c4 9c 14 f3 4f c4 ea dd 6d b8 d8 0e ba 43 97 72 bf 60 a1 db // 18 29 f1 a5 7d 3f 18 f4 ed ae b5 d3 79 18 e6 fd dc d8 21 da 67 // a0 78 55 85 a4 44 34 40 dc 65 60 0e 64 a6 a2 74 4c 46 57 0e 8f // 46 da 1a b9 90 ca 05 3c bf e8 01 00 00 00 00 00 00 00 00 00 00 // 00 00 00 00 00 d5 5d 71 82 af 2e a5 f8 d0 ad 49 5e 3e b9 42 19 // 63 a5 a6 83 c3 dc b2 d3 00 aa 3b 2c fe 94 6d 23 48 c3 5f 5d 67 // d6 8a c0 7c 8f 84 b3 67 9e 77 c2 e6 29 ec ec 7c 12 c3 5d 6b 69 // 71 b8 ae 13 cc 00 95 6d 22 27 db 60 c0 a4 61 ed 2b 3e cf b1 6d // 19 03 7c 8c 88 c9 1d da 1f 90 4f bb c8 64 e9 5a d4 3d 6d d6 d5 // ea db ce a2 56 82 ba 4b 91 e1 4c 3f bf df d1 d6 80 aa 1a f1 02 // d9 76 81 65 6b f5 6f f0 67 42 37 ce 09 7d 39 00 8c c3 25 77 78 // de 87 8b cd 37 46 73 86 f9 93 be 6d 20 c9 3a 77 91 e7 f2 a1 55 // ce 37 9b 4c da 25 00 10 80 52 ae b9 bd 03 ff 6d 4c 5d bd a9 ff // 48 5d 65 76 a4 92 d4 36 d5 2e dc d4 20 e7 de aa 43 43 a0 ad d3 // 94 1a e7 c5 f5 8a f4 38 66 ca 64 75 0f 43 e5 83 ca 1c eb 3a 80 // 5e 46 be ef 9d ca 77 a4 ed cb b4 2a a0 ca f0 bb d6 ce c7 2d 85 // 54 02 93 cb 48 49 b0 61 08 00 00 00 00 00 00 00 00 00 00 00 00 // 00 00 00 00 f9 81 4d 5f 6c 86 73 c1 43 ff 2f 90 1e 71 b8 81 86 // 65 b5 6f 7a 03 af e3 d9 00 00 76 56 85 9d b4 cb 06 aa af 9f 02 // cf ab 5b 9e 61 cc 00 e8 e1 94 29 92 1b 8d f4 c4 c5 3b dd ea 4c // c4 87 37 37 1c df 8f 68 1d d7 a2 68 5d f1 94 ca 89 da 8c f6 d2 // 9a 2b e9 77 91 81 fd 5d 10 5a f5 78 60 94 d9 13 0f 58 26 b1 8b // 96 67 b9 71 a9 94 f3 fd 06 96 29 a1 05 2f 44 1e 96 88 4f 90 c9 // 1f 4a 97 42 42 aa bf c8 ad ba dc 9c a2 79 55 b5 c9 0f 0b d9 a4 // 6e d0 44 27 23 83 d3 76 88 71 a9 c8 cf d7 94 8a ea 44 5c 55 68 // 43 51 00 2e d4 a4 af 45 34 1d e8 e5 e1 f3 36 24 bd 2e c1 59 1d // d0 0b be 05 00 00 00 f8 9a 92 86 62 e9 b9 44 9d b3 43 94 fc 5e // 94 6f ad ae e5 76 e2 8a c0 fe ab 4e 35 85 ed 43 d2 06 21 8f 52 // 40 83 84 0a 78 b7 23 6b b7 f5 e4 2b 53 76 64 2f 8a d4 02 8d 4e // ad 40 72 40 e7 46 7d 1b 37 af e2 06 90 d7 67 2c 7e 92 6f de d9 // 5c f8 05 51 6a d8 36 eb 73 06 19 a0 5a f3 6f b2 83 29 d6 fe b3 // 32 19 cc 91 64 46 1a 8b a3 af d5 94 9b 9a 60 46 c5 36 63 df 30 // a0 49 41 40 89 c1 ae 8f 34 76 23 6b 05 dd e8 dd a4 84 3a 62 c5 // 91 f8 d2 b1 a6 2d 0d b8 dc 82 62 19 bd 87 39 8b 33 e1 40 79 22 // 97 d0 23 ef 52 de 2e 75 b9 db bf b8 71 2c cc 15 c6 9c fb 4c 6c // 1b c2 ae 74 62 1e 53 6b 9d 3f 09 a1 5d ad a1 56 1a 81 92 d6 5c // c5 9d 7e d5 a6 bd 61 00 00 00 00 00 00 00 00 00 00 00 00 00 00 // 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 // 00 f6 37 78 2e 31 7d 49 2b 23 92 fd 0e a8 13 97 a8 02 27 f2 71 // ba d2 1d 68 8a f3 5a 2b d0 2c 15 d2 0f 3d 62 a5 0e 20 26 06 42 // c2 5f 30 4c 80 34 a5 f4 d8 e4 5e 70 1d bd 84 29 4d 10 96 e7 15 // 66 2b 82 23 e1 0e 98 c4 c3 84 51 fc 5c 70 20 84 e3 fa 9b 18 4e // 0d 0f ba 44 ac f3 bb 8a 84 6c f6 80 df bf 31 2c dd fd b2 04 32 // 88 fa 6b 67 fa 76 2c 8b 75 d4 47 87 56 ef 24 0f 2b 31 4e 4d 77 // a3 af b4 fc ec 92 24 83 27 00 4d 1d ac 7a c8 7a 6f 8c b0 4d 82 // ac c3 07 d6 0e 47 13 bd 9a 8f 29 09 1d 30 48 c6 69 a5 f5 43 9e // 0a 90 6c e0 98 d1 77 b9 57 98 82 58 65 11 cf e6 a2 3e 57 c4 4d // 16 54 89 9f 07 7b 56 36 e4 18 1f 3d e6 b8 14 be dc ac 52 90 ad // 80 18 bb e4 42 4e dc 6d 9b 0e 61 b4 04 bb 7a 2d 48 83 bb c2 00 // de 83 32 02 9c bc 04 a0 bc 52 d9 87 0c df b9 50 b1 39 62 5f a8 // 8f 5c 90 88 fc 90 32 a5 ea 07 41 50 29 c7 43 54 f5 4e 37 42 7a // 4b 26 e5 59 cd 24 0b 79 50 63 0d 7d 4d a9 cb 8d 25 63 56 be e8 // c8 27 db 43 31 3e 75 da 9c 36 d0 f7 be f4 fc f2 34 69 d8 c9 10 // 4a 91 79 59 c3 bc 79 1a 54 d1 88 2f 53 2d 25 97 ff 50 d4 a1 0f // e3 b8 0a 3d 67 d3 c3 dc a0 df e0 e4 eb 03 9d f7 48 05 42 f8 41 // 31 3a d2 ec 26 fe 7d 03 82 9f 80 c6 f3 e0 28 d2 f4 49 5c 3c 52 // 39 29 b2 03 04 8a c9 ba 20 b0 12 c0 05 e3 6b 93 eb 5a 02 76 85 // 03 c6 c4 1f 50 d2 a0 49 99 bb a5 60 f8 6c 7c 9a 78 e4 b3 37 98 // 3c bd b5 d7 1b e3 09 02 08 a1 f7 ea a3 ed c8 40 ea 0d a5 f4 cc // 01 f3 e8 7c 75 66 17 69 81 a7 38 bc d4 dd 8b 8a 13 7e 7a 15 e5 // 70 54 eb f1 d9 ba 22 73 61 be 11 a7 d1 55 05 4e 15 43 64 04 14 // 68 e6 26 8e a2 3e 74 ea cb b5 20 0e 2d 8f 89 19 40 2c a2 07 94 // a2 9d d9 86 c6 59 3d 47 b4 7d 5c d7 01 53 90 8a 77 03 9a 99 5a // 44 e9 60 ad 03 7f 4d 25 69 75 1e ea 3a e7 0f c4 9f 32 c3 0d 6b // e0 59 4b fd a1 89 f0 be 84 d1 ea f7 0e 0e 90 22 3a 3c 97 ad e9 // 97 3e 92 19 c5 a2 e1 c6 8e fe 6a df 74 47 10 eb 0a d8 e5 55 be // 26 85 54 96 bc 6b 5e 13 07 83 80 23 07 28 b1 86 2f 0d 93 39 7b // 88 eb f5 19 7b 61 d2 7b 6c 55 55 02 ae d2 7d 2f 2b 12 7a ee ae // 41 dd 43 24 fa d2 e7 a9 62} (length 0xe1f) // } // } // } // license: ptr[in, buffer] { // buffer: {47 50 4c 00} (length 0x4) // } // loglev: int32 = 0x0 (4 bytes) // logsize: len = 0x0 (4 bytes) // log: nil // kern_version: bpf_kern_version = 0x0 (4 bytes) // flags: bpf_prog_load_flags = 0x0 (4 bytes) // prog_name: buffer: {00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00} // (length 0x10) prog_ifindex: ifindex (resource) expected_attach_type: // union bpf_prog_attach_types { // fallback: bpf_attach_types = 0x0 (4 bytes) // } // btf_fd: fd_btf (resource) // func_info_rec_size: const = 0x8 (4 bytes) // func_info: ptr[in, bpf_func_info] { // bpf_func_info { // insn_off: int32 = 0x0 (4 bytes) // type_id: int32 = 0x0 (4 bytes) // } // } // func_info_cnt: len = 0x0 (4 bytes) // line_info_rec_size: const = 0x10 (4 bytes) // line_info: ptr[in, bpf_line_info] { // bpf_line_info { // insn_off: int32 = 0x0 (4 bytes) // file_name_off: int32 = 0x0 (4 bytes) // line_off: int32 = 0x0 (4 bytes) // line_col: int32 = 0x0 (4 bytes) // } // } // line_info_cnt: len = 0xfffffffffffffd00 (4 bytes) // attach_btf_id: bpf_btf_id (resource) // attach_prog_fd: fd_bpf_prog (resource) // core_relo_cnt: len = 0x0 (4 bytes) // fd_array: nil // core_relos: nil // core_relo_rec_size: const = 0x10 (4 bytes) // log_true_size: int32 = 0x0 (4 bytes) // prog_token_fd: union _bpf_prog_t[flags[bpf_prog_type, int32], // bpf_prog_attach_types, bpf_btf_id[opt], // fd_bpf_prog[opt]]_prog_token_fd_wrapper { // void: buffer: {} (length 0x0) // } // pad: union _bpf_prog_t[flags[bpf_prog_type, int32], // bpf_prog_attach_types, bpf_btf_id[opt], // fd_bpf_prog[opt]]_pad_wrapper { // value: const = 0x0 (4 bytes) // } // } // } // size: len = 0x48 (8 bytes) // ] // returns fd_bpf_prog *(uint32_t*)0x2000000017c0 = 1; *(uint32_t*)0x2000000017c4 = 0xe; *(uint64_t*)0x2000000017c8 = 0x2000000025c0; memcpy( (void*)0x2000000025c0, "\xb7\x00\x00\x00\x01\x00\x03\xc3\xbf\xa3\x00\x00\x00\x00\x00\x00\x07\x03" "\x00\x00\x08\xfe\xff\xff\x72\x0a\xf0\xff\xf8\xff\xff\xff\x71\xa4\xf0\xff" "\x00\x00\x00\x00\x65\x04\x02\x00\x00\x00\x00\xff\x2d\x40\x05\x00\x00\x00" "\x00\x00\x20\x00\x00\x00\x01\xed\x00\x00\x7b\x03\x00\x00\x00\x00\x00\x00" "\x1d\x44\x00\x00\x00\x00\x00\x00\x7a\x0a\x00\xfe\x00\xff\xff\xff\xdb\x03" "\x00\x00\x51\x00\x00\x00\xb5\x00\xfe\xff\x00\x00\x00\x00\x95\x00\x00\x00" "\x00\x00\x00\x00\x02\x3b\xc0\x65\xb7\x81\x11\xc6\xdf\xa0\x41\xb6\x3a\xf4" "\xa3\x91\x24\x35\xf1\xa8\x64\xa7\x10\xaa\xd5\x8d\xb6\xa6\x93\x00\x2e\x7f" "\x3b\xe3\x61\x91\x7a\xde\xf6\xee\x1c\x8a\x2a\x4f\x8e\xf1\xe5\x0b\xec\xb1" "\x9b\xc4\x61\xe9\x1a\x71\x68\xe5\x18\x15\x54\x80\x00\x00\x00\x00\x00\x00" "\x00\x27\x5d\xaf\x51\xef\xd6\x01\xb6\xbf\x01\xc8\xe8\xb1\xb5\x26\x37\x5e" "\xe4\xdd\x6f\xcd\x82\xe4\xfe\xe5\xbe\xf7\xaf\x9a\xa0\xd7\xf3\x00\xc0\x95" "\x19\x9f\xe3\xff\x31\x28\xe5\x99\xb0\xea\xeb\xbd\xbd\x73\x2c\x9c\xc0\x0e" "\xec\x36\x57\x4a\x8f\x64\x56\xe2\xcc\xae\x25\xea\x21\x71\x4e\xca\x8c\xf5" "\xd8\x03\xe0\x4d\x83\xb4\x6e\x21\x55\x7c\x0a\xfc\x64\x6c\xb7\x79\x0b\x3e" "\x64\x40\xc2\xfb\xdb\x00\xa3\xe3\x52\x08\xb0\xbb\x0d\x2c\xd8\x29\xe6\x54" "\x40\x0e\x24\x00\x00\x00\x00\x00\x00\x00\x80\x06\x43\xa9\x8d\x9e\xc2\x1e" "\xad\x2e\xd5\x1b\x10\x4d\x4d\x91\xaf\x25\xb8\x45\xb9\xf7\x5d\xd0\x8d\x12" "\x3d\xed\xa8\xeb\xc7\x2f\x52\x6d\x8e\x8a\xfc\xb9\x13\x46\x6a\xaa\x7f\x6d" "\xf7\x02\x52\xe7\x91\x66\xd8\x58\xfc\xd0\xe0\x6d\xd3\x1a\xf9\x61\x2f\x24" "\x60\xd0\xb1\x10\x08\xe5\x9a\x59\x23\x90\x6f\x88\xb5\x39\x87\xaf\x17\x14" "\xe7\x2b\xa7\x61\x65\x36\xfd\x9a\xa5\x8f\x24\x77\x18\x4b\x6a\x89\xad\xaf" "\x17\xb0\xba\xf5\x87\xae\xf3\x70\xa2\xd4\x26\xa6\x04\x1b\xde\xf7\x28\xd2" "\x36\x61\x90\x74\xd6\xeb\xdf\xd1\xf5\x08\x90\x48\xdd\xff\x6d\xa4\x0f\x94" "\x11\xfe\x72\x26\xa4\x04\x09\xd6\xe3\x7c\x4f\x46\x75\x6d\x31\xcb\x46\x76" "\x00\xad\xe7\x00\x63\xe5\x29\x15\x69\xb3\x3d\x21\xda\xe3\x56\xe1\xc5\x1f" "\x03\xa8\x01\xbe\x81\x89\x67\x9a\x16\xda\x18\xec\x0a\xe5\x64\x16\x2a\x27" "\xaf\xea\x62\xd8\x4f\x3a\x10\x74\x64\x43\xd6\x43\x64\xc8\x27\x70\xc8\x20" "\x4a\x0d\xee\xed\x41\x55\x61\x75\x72\x65\x2d\x95\x0a\xd3\x19\x28\xb0\xb0" "\xc3\xdc\x28\x69\xf4\x78\x34\x1d\x02\xd0\xf5\xad\x94\xb0\x81\xfc\xd5\x07" "\xac\xb4\xb9\xc6\x5f\xee\x7d\x26\xb3\x43\x81\xfc\xb5\x9b\x85\x4e\x9d\x5a" "\x17\xf4\x72\x00\x82\xf1\x3d\x00\x00\x00\x22\x5d\x85\xae\x49\xce\xe3\x83" "\xdc\x50\x49\x07\x6b\x98\xfb\x68\x53\xab\x39\xa2\x15\x14\xda\x60\xd2\xae" "\x20\xcf\xb9\x1d\x6a\x49\x96\x47\x57\xcd\xf5\x38\xf9\xce\x2b\xdb\x1a\xb0" "\x62\xcd\x54\xe6\x70\x51\xd3\x55\xd8\x4c\xe9\x7b\xb0\xc6\xb4\xa5\x95\xe4" "\x87\xef\xbb\x2d\x71\xcd\xe2\xc1\x0f\x0b\xc6\x98\x0f\xe7\x86\x83\xac\x5c" "\x0c\x31\x03\x25\x99\xdd\xd7\x10\x63\xbe\x92\x61\xee\xe5\x22\x16\xd0\x09" "\xf4\xc5\x20\x48\xef\x8c\x12\x6a\xee\xf5\xf5\x10\xa8\xf1\xad\xed\x94\xa1" "\x29\xe4\xae\xc6\xe8\xd9\xab\x06\xfa\xff\xc3\xa1\x5d\x96\xc2\xea\x3e\x2e" "\x04\xcf\xe0\x31\xb2\x87\x53\x9d\x05\x40\x05\x9f\xe6\xc7\xfe\x7c\xd8\x69" "\x75\x02\xc7\x59\x65\x66\xd6\x74\xe4\x25\xda\x5e\x87\xe5\x96\x02\xa9\xf6" "\x59\x05\x21\xd3\x1d\x38\xdf\x9b\xa6\x02\x48\xd9\xa0\xd6\x12\x82\xdf\xb1" "\x5e\xb6\x84\x1b\xb6\x4a\x1b\x30\x45\x02\x4a\x98\x2f\x3c\x48\x15\x3b\xaa" "\xe2\xc4\xe7\xbf\x37\x54\x8c\x7f\x1a\x4c\xad\x24\x22\xee\x96\x5a\x38\xf7" "\xde\xfb\xd2\x96\x02\x42\xb1\x04\xe2\x0d\xc2\xd9\xb0\xc3\x56\x08\x11\xea" "\x6c\x35\x60\xa4\x33\x64\xd4\x02\xcc\xdd\x90\x69\xbd\x50\xb9\x94\xfd\x6a" "\x34\xee\x18\x02\x2a\x57\x9d\xfc\x02\x29\xcc\x0d\xc9\x88\x16\x10\x27\x09" "\x28\xea\xeb\x88\x34\x18\xf5\x62\xae\x00\x00\x3e\xa9\x6d\x10\xf1\x72\xc0" "\x37\x4d\x6e\xed\x82\x64\x07\x00\x00\x00\x00\x00\x00\x00\x4a\x9c\x5a\x90" "\xff\x59\xd5\x4d\x1f\x92\xec\xc4\x88\x99\xb2\x12\xc5\x53\x18\x29\x42\x70" "\xa1\xad\x10\xc8\x0f\xef\x7c\x24\xd4\x7a\xfc\xe8\x29\xba\x0f\x85\xda\x6d" "\x88\x8f\x18\xea\x40\xab\x95\x9f\x60\x74\xab\x2a\x40\xd8\x5d\x15\x01\x7a" "\xb5\x13\xcd\xc6\xc0\xe5\x7f\xb1\xc1\xca\x57\x13\x80\xd7\xb4\xea\xd3\x5a" "\x38\x5e\x0b\x4a\x26\xb7\x02\x39\x6d\xf7\xe0\xc1\xe0\x2b\x6e\x41\x14\xf2" "\x44\xa9\xbf\x93\xf0\x4b\xf0\x72\xf0\x86\x1f\x5c\x0b\x00\x00\x00\x00\x00" "\x00\xee\xdc\xf2\xba\x1a\x95\x08\xf9\xd6\xab\xa5\x82\xa8\x96\xa9\xf1\xff" "\xa9\x68\xea\xce\xa7\x5c\xaf\x82\x2a\x7a\x63\xba\x34\x01\x5e\xa5\x2a\xcb" "\x11\x88\x88\x3a\xd2\xa3\xb1\x83\x23\x71\xfe\x5b\xc6\x21\x42\x6d\x1e\xd0" "\xa4\xa9\x97\x02\xcc\x1b\x69\x12\xa1\xe7\x17\xd2\x91\x35\x75\x32\x08\x16" "\x5b\x9c\xdb\xae\x2e\xd9\xdc\x73\x58\xf0\xeb\xad\xde\x0b\x72\x7f\x27\xfe" "\xeb\x74\x4d\xdc\xc5\x36\xcb\xae\x31\x5c\x7d\x85\x16\x80\xf6\xf2\xf9\xa6" "\xa8\x90\x69\x43\x40\x8e\x6d\xf3\xc3\x91\xe9\x7b\xa4\x8d\xb0\xa5\xad\xbf" "\xd0\x3a\xac\x93\xdf\x88\x66\xfb\x01\x0a\xec\x0e\x92\xbe\xd1\xfe\x39\xaf" "\x16\x9d\x2a\x46\x6f\x4c\xa2\x19\x52\x34\x64\x8e\x0a\x1c\xa5\x0d\xb6\xf3" "\xd9\x43\x6a\x7d\x55\xfc\x30\x51\x1d\x00\x00\x00\x00\xc9\x52\x65\xb2\xbd" "\x83\xd6\x4a\x53\x28\x69\xd7\x01\x72\x3f\xed\xcb\xad\xa1\xee\x7b\xaa\x19" "\xfa\xf6\x72\x56\xb5\x6a\x41\xfd\x35\x5b\x6a\x68\x6b\x50\xf0\x93\x7f\x77" "\x8a\xf0\x83\xe0\x55\xf6\x13\x8a\x75\x7e\xbd\x0e\xd9\x11\x24\xa6\xb2\x44" "\xf9\xac\xf4\x1a\xc5\xd7\x3a\x00\x83\x64\xe0\x60\x6a\x59\x48\x17\x03\x1f" "\xc2\xf5\x2c\x87\x85\xfe\x07\x21\x71\x9b\x3d\x65\x40\x26\xc6\xea\x08\xb8" "\x3b\x12\x31\x45\xeb\x6d\xc5\xf6\xa9\x03\x7d\x22\x83\xc4\x2e\xfc\x54\xfa" "\x84\x32\x3a\x33\x04\xf4\x1f\xf4\x62\xc8\x84\x31\x87\xf1\xdd\x48\xef\x3f" "\xa2\x93\x77\x4d\x58\x29\x56\xff\x0f\x40\xb1\x0c\xa9\x4f\x6f\xee\xb2\x89" "\x3c\x17\x88\x8e\x1c\xdb\xa9\x4a\x6e\xa8\x0c\x33\xea\xd5\x72\x2c\x32\x93" "\xa4\x93\xf1\x47\x95\x31\xdd\x88\x26\x14\x58\xf4\x0d\x31\xfe\x8d\xf1\x5e" "\xfa\xae\xea\x83\x15\x55\x87\x7f\x95\x38\xc6\xee\x6b\xa6\x58\x93\xff\x1f" "\x92\x8b\xa7\x55\x4b\xa5\x83\xfe\xf3\xec\x79\x32\xf5\x95\x4f\x31\xa8\x78" "\xe2\xfa\xe6\x69\x1d\xf8\xb4\xb7\xec\xd2\x7c\xe8\x2f\x7d\xf3\xe7\xd1\xda" "\xac\x43\x73\x86\x12\xe4\xfe\xe1\x8a\x22\xda\x19\xfc\xdb\x4c\x28\x90\xcd" "\xa1\xf9\x6b\x95\x25\x11\xe3\xa6\x9d\x69\x4d\x62\x5e\x0b\x2f\x80\x88\x90" "\x20\x5f\x3a\x6d\xa2\x81\x9d\x2f\x9e\x77\xc7\xc6\x4a\xff\xa5\x4f\xec\x01" "\x36\xcb\xaf\xa5\xf6\x2e\x96\x75\x3b\x63\x9a\x92\x45\x99\xc1\xf6\x92\x19" "\x92\x7e\xa5\x30\x1f\xff\x0a\x60\x63\xd4\x27\xf0\x68\x84\x30\x75\x4c\x02" "\x18\x0d\x61\x54\x2c\x25\x71\xf9\x83\xe9\x67\x35\x60\x00\x00\x55\x4f\x32" "\x7a\x35\x35\x11\xcc\xed\xde\x99\x49\x3c\x31\xac\x05\xa7\xb5\x7f\x03\xca" "\x91\xa0\x1b\xa2\xc6\x0c\xa9\x9e\x8e\xbc\x15\xec\xb4\xd9\x16\x75\x76\x79" "\x99\xd1\x46\xae\xf7\x79\x97\x38\xb2\x92\xfd\x64\xbb\xca\x48\x56\x83\x25" "\xb2\x96\x9e\x2b\x15\xf3\x6b\x78\x8b\xce\x5c\xcd\xba\xf7\x5c\x94\xcb\x93" "\x49\x9f\x69\x47\xa9\x67\xa7\xbc\xe1\x4c\x6d\x80\x01\x0f\x5c\x65\x3d\x22" "\xd4\x90\x30\xa8\xc2\xa4\xab\x59\x5b\xf4\x23\x8f\x18\xca\x42\x8d\xaf\xc7" "\xac\x96\xd4\x04\x60\x78\x00\x00\x00\x00\x51\xa2\x10\x4f\x22\xe6\xdb\x5a" "\x62\xb5\x08\x9c\x1b\x45\x28\x2d\x38\x86\x4d\xaa\x3a\xe8\x1d\x6b\x09\x68" "\xd1\xd2\x86\x7b\x91\xb7\xd1\x20\x96\x83\x08\xc3\x1d\xb2\x63\x3d\x68\x64" "\xda\x40\xb5\x47\x83\xa1\x7a\xae\xb6\x73\x7c\x32\x3f\x9f\x98\xe3\x54\xcc" "\x98\xdc\xfe\x23\xad\x01\xbd\x00\x00\x00\x00\x69\xff\xe1\xc2\xc7\x3e\x16" "\x61\x26\x11\x73\xf3\x59\xe9\x3d\x2c\x5e\x42\x4c\x17\x99\x88\x09\xec\x8f" "\x02\x32\xb3\x95\x5e\x05\x2a\x4c\xec\xd8\x90\x08\xf7\x03\x14\xa0\xbd\xd4" "\x91\xec\x86\xa4\x55\x5d\x89\xfe\x01\x20\xf6\x4c\x62\xe8\xe3\xed\x8b\xcb" "\x45\x20\x2c\x20\x4b\xbe\xc8\xd7\x22\x82\x4c\x0e\xbc\xa8\xdb\x1e\xa4\xa0" "\x03\xfe\x9a\xf5\xd7\x85\xd0\x12\x81\x71\xc9\x0d\x99\x00\xce\x25\x32\xb0" "\xf9\xd0\x1c\x4b\x45\x29\x4f\xbb\xa4\x68\xdf\x3e\x1b\x39\x3c\xb4\xe6\x2e" "\x75\x45\x98\xe4\x7d\xf6\xbd\x06\x43\x1c\x94\xbc\x5d\x04\x78\x99\xfd\x21" "\x9f\x44\x8b\xf9\x18\x9c\x65\xc9\xd9\x1e\xda\x6b\x52\xa3\x73\x80\x3a\x9e" "\x06\x00\xf8\x69\x09\xbc\x90\xad\xdb\x7b\x9a\xee\x81\x3d\xf5\x34\xaa\xc4" "\xb3\x2f\xd6\x91\xb8\x06\x8c\xd8\x49\x90\x45\x68\x91\x66\x94\xd4\x61\xb7" "\x6a\x58\xd8\x8c\xf0\xf5\x20\x31\x0a\x1e\x9f\xdc\x18\xcd\xe9\x8d\x66\x2e" "\xee\x07\x75\x15\xd0\xa8\x81\x19\x22\x92\x9e\x08\x53\x92\xab\x3d\x13\x11" "\xb8\x24\x32\x66\xd8\x70\x47\xf6\x01\xfa\x88\xa0\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x6a\xcc\x19\x80\x8d\x7c\xf2\x9b\xc9\x74" "\xb0\xea\x92\x49\x9a\x41\x9a\xa0\x95\xe2\x03\xc1\xba\xfb\xb9\xb9\xa7\xc2" "\xbc\xa3\xf0\xa1\x8e\xe4\x95\x2f\x2d\x32\x5a\x56\x39\x05\x78\xf1\x22\x05" "\xdb\x65\x3a\x53\x6f\x01\x00\xe0\xed\xa3\x00\xa4\xdc\x6b\x3f\xb8\x4f\x37" "\x38\xa4\xb6\xca\xa8\x4f\xed\xa9\x1f\x3e\xdb\x32\x23\x1e\xc7\x53\x00\x00" "\x00\x00\x00\x00\x87\xef\xa5\x1c\x5d\x95\xec\xba\x4e\x50\xe5\x29\xd1\xe8" "\xc8\x96\x00\xe8\x09\xdc\x3d\x0a\x2f\x65\x57\x9e\x23\x45\x79\x49\xa5\x0f" "\x2d\x04\x55\xcf\x79\xa4\x37\x46\x97\x9f\x99\xf6\xa1\x52\x7f\x00\x4f\x1e" "\x37\xa3\x92\x69\x37\xe8\x4f\xb4\x78\x19\x9d\xc1\x02\x0f\x4b\xeb\x98\xb8" "\x8b\x5e\x78\x85\xe9\xa6\x17\xaa\x6c\x8e\x10\xd4\x20\x2c\x5a\xfe\xb0\x6e" "\x2f\x91\x15\x55\x8e\xa1\x2f\x92\xd7\xae\x63\x3d\x44\x08\x6b\x3f\x03\xb2" "\x0d\x54\x6f\xa6\x6a\x72\xe3\x82\x07\xc9\xd2\x00\x35\xab\x63\xde\x71\xa3" "\x0f\x12\x40\xde\x52\x53\x69\x41\x24\x2d\x23\x89\x6a\xb7\x4a\x3c\x66\x70" "\xfd\xc4\x9c\x14\xf3\x4f\xc4\xea\xdd\x6d\xb8\xd8\x0e\xba\x43\x97\x72\xbf" "\x60\xa1\xdb\x18\x29\xf1\xa5\x7d\x3f\x18\xf4\xed\xae\xb5\xd3\x79\x18\xe6" "\xfd\xdc\xd8\x21\xda\x67\xa0\x78\x55\x85\xa4\x44\x34\x40\xdc\x65\x60\x0e" "\x64\xa6\xa2\x74\x4c\x46\x57\x0e\x8f\x46\xda\x1a\xb9\x90\xca\x05\x3c\xbf" "\xe8\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xd5" "\x5d\x71\x82\xaf\x2e\xa5\xf8\xd0\xad\x49\x5e\x3e\xb9\x42\x19\x63\xa5\xa6" "\x83\xc3\xdc\xb2\xd3\x00\xaa\x3b\x2c\xfe\x94\x6d\x23\x48\xc3\x5f\x5d\x67" "\xd6\x8a\xc0\x7c\x8f\x84\xb3\x67\x9e\x77\xc2\xe6\x29\xec\xec\x7c\x12\xc3" "\x5d\x6b\x69\x71\xb8\xae\x13\xcc\x00\x95\x6d\x22\x27\xdb\x60\xc0\xa4\x61" "\xed\x2b\x3e\xcf\xb1\x6d\x19\x03\x7c\x8c\x88\xc9\x1d\xda\x1f\x90\x4f\xbb" "\xc8\x64\xe9\x5a\xd4\x3d\x6d\xd6\xd5\xea\xdb\xce\xa2\x56\x82\xba\x4b\x91" "\xe1\x4c\x3f\xbf\xdf\xd1\xd6\x80\xaa\x1a\xf1\x02\xd9\x76\x81\x65\x6b\xf5" "\x6f\xf0\x67\x42\x37\xce\x09\x7d\x39\x00\x8c\xc3\x25\x77\x78\xde\x87\x8b" "\xcd\x37\x46\x73\x86\xf9\x93\xbe\x6d\x20\xc9\x3a\x77\x91\xe7\xf2\xa1\x55" "\xce\x37\x9b\x4c\xda\x25\x00\x10\x80\x52\xae\xb9\xbd\x03\xff\x6d\x4c\x5d" "\xbd\xa9\xff\x48\x5d\x65\x76\xa4\x92\xd4\x36\xd5\x2e\xdc\xd4\x20\xe7\xde" "\xaa\x43\x43\xa0\xad\xd3\x94\x1a\xe7\xc5\xf5\x8a\xf4\x38\x66\xca\x64\x75" "\x0f\x43\xe5\x83\xca\x1c\xeb\x3a\x80\x5e\x46\xbe\xef\x9d\xca\x77\xa4\xed" "\xcb\xb4\x2a\xa0\xca\xf0\xbb\xd6\xce\xc7\x2d\x85\x54\x02\x93\xcb\x48\x49" "\xb0\x61\x08\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\xf9\x81\x4d\x5f\x6c\x86\x73\xc1\x43\xff\x2f\x90\x1e\x71\xb8\x81\x86" "\x65\xb5\x6f\x7a\x03\xaf\xe3\xd9\x00\x00\x76\x56\x85\x9d\xb4\xcb\x06\xaa" "\xaf\x9f\x02\xcf\xab\x5b\x9e\x61\xcc\x00\xe8\xe1\x94\x29\x92\x1b\x8d\xf4" "\xc4\xc5\x3b\xdd\xea\x4c\xc4\x87\x37\x37\x1c\xdf\x8f\x68\x1d\xd7\xa2\x68" "\x5d\xf1\x94\xca\x89\xda\x8c\xf6\xd2\x9a\x2b\xe9\x77\x91\x81\xfd\x5d\x10" "\x5a\xf5\x78\x60\x94\xd9\x13\x0f\x58\x26\xb1\x8b\x96\x67\xb9\x71\xa9\x94" "\xf3\xfd\x06\x96\x29\xa1\x05\x2f\x44\x1e\x96\x88\x4f\x90\xc9\x1f\x4a\x97" "\x42\x42\xaa\xbf\xc8\xad\xba\xdc\x9c\xa2\x79\x55\xb5\xc9\x0f\x0b\xd9\xa4" "\x6e\xd0\x44\x27\x23\x83\xd3\x76\x88\x71\xa9\xc8\xcf\xd7\x94\x8a\xea\x44" "\x5c\x55\x68\x43\x51\x00\x2e\xd4\xa4\xaf\x45\x34\x1d\xe8\xe5\xe1\xf3\x36" "\x24\xbd\x2e\xc1\x59\x1d\xd0\x0b\xbe\x05\x00\x00\x00\xf8\x9a\x92\x86\x62" "\xe9\xb9\x44\x9d\xb3\x43\x94\xfc\x5e\x94\x6f\xad\xae\xe5\x76\xe2\x8a\xc0" "\xfe\xab\x4e\x35\x85\xed\x43\xd2\x06\x21\x8f\x52\x40\x83\x84\x0a\x78\xb7" "\x23\x6b\xb7\xf5\xe4\x2b\x53\x76\x64\x2f\x8a\xd4\x02\x8d\x4e\xad\x40\x72" "\x40\xe7\x46\x7d\x1b\x37\xaf\xe2\x06\x90\xd7\x67\x2c\x7e\x92\x6f\xde\xd9" "\x5c\xf8\x05\x51\x6a\xd8\x36\xeb\x73\x06\x19\xa0\x5a\xf3\x6f\xb2\x83\x29" "\xd6\xfe\xb3\x32\x19\xcc\x91\x64\x46\x1a\x8b\xa3\xaf\xd5\x94\x9b\x9a\x60" "\x46\xc5\x36\x63\xdf\x30\xa0\x49\x41\x40\x89\xc1\xae\x8f\x34\x76\x23\x6b" "\x05\xdd\xe8\xdd\xa4\x84\x3a\x62\xc5\x91\xf8\xd2\xb1\xa6\x2d\x0d\xb8\xdc" "\x82\x62\x19\xbd\x87\x39\x8b\x33\xe1\x40\x79\x22\x97\xd0\x23\xef\x52\xde" "\x2e\x75\xb9\xdb\xbf\xb8\x71\x2c\xcc\x15\xc6\x9c\xfb\x4c\x6c\x1b\xc2\xae" "\x74\x62\x1e\x53\x6b\x9d\x3f\x09\xa1\x5d\xad\xa1\x56\x1a\x81\x92\xd6\x5c" "\xc5\x9d\x7e\xd5\xa6\xbd\x61\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\xf6\x37\x78\x2e\x31\x7d\x49\x2b\x23\x92\xfd" "\x0e\xa8\x13\x97\xa8\x02\x27\xf2\x71\xba\xd2\x1d\x68\x8a\xf3\x5a\x2b\xd0" "\x2c\x15\xd2\x0f\x3d\x62\xa5\x0e\x20\x26\x06\x42\xc2\x5f\x30\x4c\x80\x34" "\xa5\xf4\xd8\xe4\x5e\x70\x1d\xbd\x84\x29\x4d\x10\x96\xe7\x15\x66\x2b\x82" "\x23\xe1\x0e\x98\xc4\xc3\x84\x51\xfc\x5c\x70\x20\x84\xe3\xfa\x9b\x18\x4e" "\x0d\x0f\xba\x44\xac\xf3\xbb\x8a\x84\x6c\xf6\x80\xdf\xbf\x31\x2c\xdd\xfd" "\xb2\x04\x32\x88\xfa\x6b\x67\xfa\x76\x2c\x8b\x75\xd4\x47\x87\x56\xef\x24" "\x0f\x2b\x31\x4e\x4d\x77\xa3\xaf\xb4\xfc\xec\x92\x24\x83\x27\x00\x4d\x1d" "\xac\x7a\xc8\x7a\x6f\x8c\xb0\x4d\x82\xac\xc3\x07\xd6\x0e\x47\x13\xbd\x9a" "\x8f\x29\x09\x1d\x30\x48\xc6\x69\xa5\xf5\x43\x9e\x0a\x90\x6c\xe0\x98\xd1" "\x77\xb9\x57\x98\x82\x58\x65\x11\xcf\xe6\xa2\x3e\x57\xc4\x4d\x16\x54\x89" "\x9f\x07\x7b\x56\x36\xe4\x18\x1f\x3d\xe6\xb8\x14\xbe\xdc\xac\x52\x90\xad" "\x80\x18\xbb\xe4\x42\x4e\xdc\x6d\x9b\x0e\x61\xb4\x04\xbb\x7a\x2d\x48\x83" "\xbb\xc2\x00\xde\x83\x32\x02\x9c\xbc\x04\xa0\xbc\x52\xd9\x87\x0c\xdf\xb9" "\x50\xb1\x39\x62\x5f\xa8\x8f\x5c\x90\x88\xfc\x90\x32\xa5\xea\x07\x41\x50" "\x29\xc7\x43\x54\xf5\x4e\x37\x42\x7a\x4b\x26\xe5\x59\xcd\x24\x0b\x79\x50" "\x63\x0d\x7d\x4d\xa9\xcb\x8d\x25\x63\x56\xbe\xe8\xc8\x27\xdb\x43\x31\x3e" "\x75\xda\x9c\x36\xd0\xf7\xbe\xf4\xfc\xf2\x34\x69\xd8\xc9\x10\x4a\x91\x79" "\x59\xc3\xbc\x79\x1a\x54\xd1\x88\x2f\x53\x2d\x25\x97\xff\x50\xd4\xa1\x0f" "\xe3\xb8\x0a\x3d\x67\xd3\xc3\xdc\xa0\xdf\xe0\xe4\xeb\x03\x9d\xf7\x48\x05" "\x42\xf8\x41\x31\x3a\xd2\xec\x26\xfe\x7d\x03\x82\x9f\x80\xc6\xf3\xe0\x28" "\xd2\xf4\x49\x5c\x3c\x52\x39\x29\xb2\x03\x04\x8a\xc9\xba\x20\xb0\x12\xc0" "\x05\xe3\x6b\x93\xeb\x5a\x02\x76\x85\x03\xc6\xc4\x1f\x50\xd2\xa0\x49\x99" "\xbb\xa5\x60\xf8\x6c\x7c\x9a\x78\xe4\xb3\x37\x98\x3c\xbd\xb5\xd7\x1b\xe3" "\x09\x02\x08\xa1\xf7\xea\xa3\xed\xc8\x40\xea\x0d\xa5\xf4\xcc\x01\xf3\xe8" "\x7c\x75\x66\x17\x69\x81\xa7\x38\xbc\xd4\xdd\x8b\x8a\x13\x7e\x7a\x15\xe5" "\x70\x54\xeb\xf1\xd9\xba\x22\x73\x61\xbe\x11\xa7\xd1\x55\x05\x4e\x15\x43" "\x64\x04\x14\x68\xe6\x26\x8e\xa2\x3e\x74\xea\xcb\xb5\x20\x0e\x2d\x8f\x89" "\x19\x40\x2c\xa2\x07\x94\xa2\x9d\xd9\x86\xc6\x59\x3d\x47\xb4\x7d\x5c\xd7" "\x01\x53\x90\x8a\x77\x03\x9a\x99\x5a\x44\xe9\x60\xad\x03\x7f\x4d\x25\x69" "\x75\x1e\xea\x3a\xe7\x0f\xc4\x9f\x32\xc3\x0d\x6b\xe0\x59\x4b\xfd\xa1\x89" "\xf0\xbe\x84\xd1\xea\xf7\x0e\x0e\x90\x22\x3a\x3c\x97\xad\xe9\x97\x3e\x92" "\x19\xc5\xa2\xe1\xc6\x8e\xfe\x6a\xdf\x74\x47\x10\xeb\x0a\xd8\xe5\x55\xbe" "\x26\x85\x54\x96\xbc\x6b\x5e\x13\x07\x83\x80\x23\x07\x28\xb1\x86\x2f\x0d" "\x93\x39\x7b\x88\xeb\xf5\x19\x7b\x61\xd2\x7b\x6c\x55\x55\x02\xae\xd2\x7d" "\x2f\x2b\x12\x7a\xee\xae\x41\xdd\x43\x24\xfa\xd2\xe7\xa9\x62", 3615); *(uint64_t*)0x2000000017d0 = 0x2000000001c0; memcpy((void*)0x2000000001c0, "GPL\000", 4); *(uint32_t*)0x2000000017d8 = 0; *(uint32_t*)0x2000000017dc = 0; *(uint64_t*)0x2000000017e0 = 0; *(uint32_t*)0x2000000017e8 = 0; *(uint32_t*)0x2000000017ec = 0; memset((void*)0x2000000017f0, 0, 16); *(uint32_t*)0x200000001800 = 0; *(uint32_t*)0x200000001804 = 0; *(uint32_t*)0x200000001808 = -1; *(uint32_t*)0x20000000180c = 8; *(uint64_t*)0x200000001810 = 0x200000000000; *(uint32_t*)0x200000000000 = 0; *(uint32_t*)0x200000000004 = 0; *(uint32_t*)0x200000001818 = 0; *(uint32_t*)0x20000000181c = 0x10; *(uint64_t*)0x200000001820 = 0x200000000000; *(uint32_t*)0x200000000000 = 0; *(uint32_t*)0x200000000004 = 0; *(uint32_t*)0x200000000008 = 0; *(uint32_t*)0x20000000000c = 0; *(uint32_t*)0x200000001828 = 0xfffffd00; *(uint32_t*)0x20000000182c = 0; *(uint32_t*)0x200000001830 = -1; *(uint32_t*)0x200000001834 = 0; *(uint64_t*)0x200000001838 = 0; *(uint64_t*)0x200000001840 = 0; *(uint32_t*)0x200000001848 = 0x10; *(uint32_t*)0x20000000184c = 0; *(uint32_t*)0x200000001850 = 0; syscall(__NR_bpf, /*cmd=*/5ul, /*arg=*/0x2000000017c0ul, /*size=*/0x48ul); } int main(void) { syscall(__NR_mmap, /*addr=*/0x1ffffffff000ul, /*len=*/0x1000ul, /*prot=*/0ul, /*flags=MAP_FIXED|MAP_ANONYMOUS|MAP_PRIVATE*/ 0x32ul, /*fd=*/(intptr_t)-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=*/(intptr_t)-1, /*offset=*/0ul); syscall(__NR_mmap, /*addr=*/0x200001000000ul, /*len=*/0x1000ul, /*prot=*/0ul, /*flags=MAP_FIXED|MAP_ANONYMOUS|MAP_PRIVATE*/ 0x32ul, /*fd=*/(intptr_t)-1, /*offset=*/0ul); const char* reason; (void)reason; loop(); return 0; }