// https://syzkaller.appspot.com/bug?id=be49c2247d07ad4a4faa018ebea0432f6f0c1a82 // 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 386 #endif #ifndef __NR_mmap #define __NR_mmap 192 #endif #undef __NR_mmap #define __NR_mmap __NR_mmap2 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 < 15000) continue; kill_and_wait(pid, &status); break; } } } void execute_one(void) { if (write(1, "executing program\n", sizeof("executing program\n") - 1)) { } // bpf$PROG_LOAD arguments: [ // cmd: const = 0x5 (4 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 = 0x5 (4 bytes) // insns: ptr[inout, array[ANYUNION]] { // array[ANYUNION] { // union ANYUNION { // ANYBLOB: buffer: {bf 16 00 00 00 00 00 00 b7 07 00 00 01 00 f0 // ff 50 70 00 00 00 00 00 00 30 00 00 00 00 00 c0 00 95 00 00 00 // 00 00 00 00 2b a7 28 04 15 98 d6 fb d3 0c b5 99 e8 3d 24 bd 81 // 37 a3 aa 81 e0 ed 13 9a 85 d3 6b b3 01 9d 13 bd 23 21 af 3c 2b // d6 7c e6 8f 15 c0 ec 71 d0 e6 ad fe fc f1 d8 f7 fa f7 5e 0f 22 // 6b d9 17 06 00 00 00 71 42 fa 9e a4 31 81 23 f5 1c 0a 0e 16 8c // 18 86 d0 d4 d3 53 79 bd 22 3e c8 39 bc 16 ee 98 8e 6e 0d c8 ce // df 3c eb 9f bf bf 9b 0a 49 ef 23 d4 30 f6 29 6b 32 a8 34 38 81 // 07 20 a1 59 cd a9 03 63 db 3d 22 1e 15 2d fc a6 40 57 ff 3c 47 // 44 ae ac cd 36 41 11 0b ec 4e 90 27 a0 c8 05 5b bf c3 a9 6d 2e // 89 10 c2 c3 9e 4b ab e8 02 f5 ab 3e 89 cf 6c 66 2e d4 04 8d 3b // 3e 39 62 dc dd ef 6a f1 a1 19 72 a6 b4 97 50 22 27 8d 00 03 1e // 53 88 ee 5c 86 7d dd 58 21 1d 6e ce 1c cb 0c d2 b6 d3 cf fd 96 // 28 67 a3 a2 f6 24 f9 92 da a9 4a 0c 55 6f 32 18 ce 74 00 68 72 // 5c 37 07 4e 46 8e e2 07 d2 f7 39 02 eb cf cf 49 82 27 75 98 5b // f3 1b 71 5f 58 88 b2 4e fa 19 00 00 00 00 00 00 00 00 00 00 00 // 00 00 00 dd ff ff ff 02 00 00 00 00 00 00 00 00 dd ff ff ff 00 // 00 b2 7c f3 d1 84 8a 54 d7 13 2b e1 bf b0 ad f9 de ab 33 23 aa // 9f df b5 2f af 9c b0 9c 3b fd 09 71 d3 79 38 0b f6 34 32 87 2c // fe d4 53 87 00 00 b2 19 ef 00 bb 7b 3d e8 f6 7f fc ad 3f 6c 3c // 2b 1f 03 55 00 00 00 00 00 00 1c f4 1a b1 1f 12 fb 1e 0a 49 40 // 34 00 7d e7 c6 59 2d f1 a6 c6 4d 3f 15 3b 3d 34 88 9f 40 15 9e // 80 0e a2 47 4b 54 05 00 a3 0b 23 bc ee 46 76 2e 20 93 bc c9 ea // e5 ee 3e 98 00 26 c9 6f 80 ee 1a 74 e0 4b de 74 07 50 fa 4d 9a // aa 70 59 89 b8 e6 73 e3 29 6e 52 d3 11 28 74 ec 51 d6 fe 04 8b // a6 86 6a de ba b5 31 68 77 0a 71 ad 90 1a ce 38 3e 79 27 de 21 // 7d 6b f7 4d af 41 d2 77 b1 03 92 3a 9d 96 1f 7a 25 91 db e4 a9 // 12 ff af 6f 65 8f 3f 9c d1 62 86 74 4f 83 a8 3f 13 8f 8f 92 ef // d9 22 39 ea fc e5 c1 b3 f9 7a 29 7c 9e 49 0f 24 19 99 08 5a fa // bd d5 29 f6 2c a0 c3 30 0e f7 b7 fb 5f 09 e0 c8 a8 68 a3 53 40 // 9e 34 d3 e8 22 79 63 7f 99 f3 5a d3 f7 ff ff ff 3c ac 39 4c 7b // bd cd 0e 0e b5 21 62 e0 c4 10 ad e7 a3 6b 26 a4 e7 0f 03 cc 41 // 46 a7 7a f0 2c 1d 4c ef d4 a2 b9 4c 0a ed 84 77 df a8 ce ef b4 // 67 f0 5c 69 77 c7 8c db f3 77 04 ec 73 75 55 39 2a 0b 06 49 1c // ba 71 f8 97 14 49 10 fe 05 00 38 ec 9e 47 5e 89 29 8b 7b f4 d7 // 69 cc c1 8e ed e0 06 8c a1 45 78 70 eb 30 d2 11 e2 3c cc 8e 06 // dd de b6 17 9d 25 7a b5 00 00 13 c8 6b a9 af fb 12 ec 75 7c 72 // 34 c2 70 24 6c 87 8d 01 16 0e 6c 07 bf 6c f8 80 9c 3a 0d 06 23 // 57 ba 25 15 56 72 30 a6 f8 b2 ad 1e 1f 49 33 54 5f c3 c7 41 37 // 42 11 66 3f 6b 63 b1 dd 04 4d d0 11 7c 9b 73 7b 9b 59 41 80 06 // c1 bc 1a af a2 76 8e 82 59 72 51 e5 51 0a 33 dc da 5e 4e 20 2b // d6 22 54 9c 4c ff ff ff 50 1d 3a 5d d7 14 3f bf 22 1f ff 16 1c // 12 ca 38 9c be 00 00 00 00 00 00 0f ff 75 06 7d 2a 21 4f 8c 9d // 9b 2e cf 63 1c 6c 5f d9 c2 6a 54 d4 3f a0 50 b8 8d 1d 43 a8 64 // 5b d9 10 9b 7e 07 86 9b ba 71 31 42 1c 0f 39 70 73 94 33 30 ba // af d2 43 c0 c6 ff e6 73 ba b4 11 3b e7 66 4e 08 bd d7 11 5c 61 // af cb 71 8c f3 c4 68 0b 2f 6c 7a 84 00 e3 78 a9 b1 01 00 0f 49 // e2 98 72 73 40 e8 7c de fb 40 e5 6e 9c fa d9 73 34 7d 0d e7 ba // 47 54 ff 23 1a 1b 93 3d 8f 93 1b 8c 55 2b 2c 7c 50 3f 3d 0e 7a // b0 e9 58 ad b8 62 82 2e 40 00 99 95 ae 16 6d eb 98 56 29 1a 43 // a6 f7 eb 2e 32 ce fb f4 44 b0 32 da d1 30 07 b8 2e 60 44 f6 43 // fc 8c d0 7a 97 e2 bb e6 36 a5 db e9 86 4a 11 7d 27 32 68 50 a7 // c3 b5 70 86 3f 53 2c 21 8b 10 af 13 d7 be 94 98 70 05 08 8a 83 // 88 0c ca b9 c9 92 0c 2d 2a f8 c5 e1 3d 52 c8 3a c3 fa 7c 3a e6 // c0 83 84 86 5b 66 d2 b4 dc b5 dd 9c ba 16 b6 20 40 bf 87 02 ae // 12 c7 7e 6e 34 99 1a f6 03 e3 85 6a 34 6c f7 08 fe eb 70 8a b2 // 2b 56 0c f8 a4 a6 f3 1b a6 d9 b8 cb 09 08 00 00 00 00 00 00 00 // 1a 34 2c 01 00 00 00 00 00 e6 67 a7 59 2b 33 40 6f 1f 71 c7 39 // b5 5d b9 1d 23 09 dc 7a e4 01 00 5f 52 05 3a 39 e7 30 7c 09 ff // 3a c3 e8 20 b0 1c 57 dd 74 d4 aa fc 4c 38 3a 17 bc 1d e5 34 7b // b7 1c a1 6d cb bb aa 29 35 f6 02 32 59 84 38 6b 21 b9 64 92 ae // 66 20 82 b5 6c f6 66 e6 3a 75 7c 0e f3 ea 7a f6 88 15 13 be 94 // b3 62 e1 5f fc a8 ec 45 3b 3a 2a 67 be 70 c1 7b 0f 9c 2e ac 76 // 58 16 c3 0c 2e 71 33 8a 40 c7 66 95 22 e8 df f8 bc 57 0a 93 fb // db 68 8c 3a ef 81 00 00 00 7a 6e a6 b1 11 63 39 2a 19 d8 79 95 // b5 1c b6 fe bd 5f 24 a3 49 98 d2 01 0f d5 fa cf 68 c4 f8 4e 2f // 66 e2 7c 81 a1 49 d7 b3 31 98 3d 3b 74 44 49 53 fc 12 16 df ec // 10 b7 24 be 37 33 c2 6f 12 53 83 76 e1 77 ff ef 6f d2 60 3b fa // b9 68 31 95 7a 08 e4 91 9a 46 3d 53 32 a2 54 60 32 a3 c0 6b 94 // f1 68 e8 fc 4b da 0c 29 47 23 fe 30 6f 26 c4 77 af 4b 92 66 44 // 67 29 85 fa b7 cc 67 bc 5b 5f 5d 38 cd d8 df 95 14 7e be 1c d8 // 8b 0a 4c 6c de 99 51 be 42 82 7d fd df ef b2 38 fa c2 30 3c c8 // 98 2f 1e 55 b0 05 af cf ea 5e b0 37 24 8f ef ad 6b b0 2c 16 2c // e9 2a b1 77 44 c8 ec 3d 2e 80 cf 32 05 d3 66 99 fd 38 1b c8 12 // 31 fb 5e 12 e4 5f 30 59 f3 61 d0 8d 6a 6d 01 af 43 08 3c 29 51 // 2b ce dd 79 ca 9b f2 4e 06 3d 0c 27 3e d7 0a 2b 70 be 52 1e a2 // 7d c8 cf 3c 9b df 83 b9 34 05 db 07 e8 2e 2d df 4c 4d 26 f1 cd // d8 c3 c9 73 6c f5 e5 08 2d e3 b4 84 f8 67 3e 0e 97 dd 7e 8a 87 // 21 48 61 3c 3a 04 f3 d6 7f 43 75 ba 5c 7f 1b 00 33 f8 df e0 fd // 9b b2 a7 08 01 f7 63 52 4e 1d 79 d8 12 ce d7 82 64 6b 5f 79 c8 // fc 08 bb 5c 11 02 01 08 d7 02 ed d2 ea 9c 96 cf cb 90 66 66 86 // 27 eb e9 2d 48 aa 5f c0 a7 bf 1b 51 08 b3 4d 22 ad 00 4d e8 27 // 4c 22 c8 ba 82 3d 96 49 69 c9 f0 2b b7 8c 59 8f a8 70 1b 00 08 // 84 de 71 0b 54 e5 ab 2e 8f f0 c7 ae 23 e0 b6 01 ac 95 c4 c2 ee // f2 e5 eb 1d 01 9d 52 09 9f bd 40 4e 8e ce 97 0f 67 73 6b a7 e9 // 60 bd 8b 1e 41 05 b6 50 07 c8 ff 1f 00 a8 ce 7e 31 f7 c9 c3 e3 // fa 61 aa b9 67 b9 00 87 e9 1d 70 3e 98 53 5b 10 7b 8f 46 53 be // 4c 46 a3 a1 ad b0 7d 22 69 52 b8 57 3b 41 70 18 31 6f a9 6e 94 // 2e 35 c4 ba a1 90 41 22 c8 63 70 9b 08 d4 63 9a 19 a4 6a c9 0a // c4 8a 13 ee 9b ca a8 75 fc 70 0b a3 63 ca 31 82 10 59 60 be f3 // 37 8a 98 00 00 00 00 00 00 3b 40 dc 5c 74 5f e2 49 1e 84 25 e6 // 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 25 03 18 a4 4a d3 1b aa c0 52 0a // 91 33 01 e6 30 ae 54 0f 32 89 ae bd e8 63 3f 6f 45 0c fe 6e 39 // 95 97 35 75 82 48 03 2c df 73 20 c6 dc 87 b0 1e 3f 9a 78 11 b2 // 00 00 00 00 ae 18 9d e4 b9 b2 5f 7c 7a 9c 32 e4 f1 f2 2a f1 c0 // 63 15 27 0d e4 a6 60 5e 4b 4b 58 be f7 6f ac 54 f1 1b 84 bd 7b // cd 6b 6a 48 5e df b7 68 4c 77 0a 39 b3 8b 08 e1 8a 51 a4 d4 e6 // 6c a2 1c 06 a4 b4 19 8e 1b c2 ef 99 0c 9b a9 11 ef ed 62 6e 5e // e3 41 a1 7b f8 13 2b 5b 1d fa 9f d3 1d f2 13 c8 8b 40 47 97 05 // 6f d3 ba a8 b2 d6 cb 13 44 37 cb a0 19 3b a4 36 0b dc c9 8a ad // 25 60 aa 58 29 1c 4e b9 d4 e0 8a d7 a9 c5 f0 4b e1 ab 59 71 9a // 82 00 00 7b d8 cc a8 f6 81 54 a0 ed 35 6e 77 3a 79 7c a6 d6 67 // 48 85 7b 4a bb f8 83 0a be ea 2a 46 34 2e 6a 73 78 17 3c b2 9d // 5c dc d6 98 a0 20 3f 78 11 6b 71 00 08 00 00 00 00 00 00 00 7c // 2d 86 b9 44 72 80 7c 10 eb 9a 8e 2f b8 bd 79 fe 3a 83 16 de ff // 3e e6 41 c9 a0 80 a2 17 36 42 e6 73 a6 72 27 9b ae 4e 7e 28 05 // 5d a9 49 7d 7e db 53 be 6e 80 48 2b d4 d9 a7 4b 7f 76 c7 8b a0 // b4 4e c0 bd fa 0d 32 d7 03 00 00 00 3a 07 3b 12 eb 57 90 32 b8 // 56 d8 92 ad 6a f5 12 4c 9c 31 30 48 5e 96 82 ff 1f 3c 54 e4 75 // d5 bb 49 6a ef 4b b5 37 d7 e1 91 df de ba 10 9f dc f7 86 47 63 // f8 7a 6d 71 1c f5 2e 52 0a 6c e3 0e 13 4c 55 e0 2b 7c d2 53 85 // f3 b9 62 84 71 b4 36 49 87 b0 b2 c8 2a 8b 0f 97 63 87 eb b6 2e // ad 0e 1b 76 1e 6e c9 b8 24 fe 00 6e a5 2c 0c 46 9e 3b d8 fe d0 // 5a 48 6b d5 51 11 44 eb b6 3d 56 d6 1d a5 fc b5 8e 19 6a 89 23 // ed af 22 8b 0c b9 6b 85 6b 15 c9 0b 15 44 94 fb 0c ff 76 8b 34 // 17 fc c8 9a cb 9b 9b 4f 85 81 c8 2f f3 12 1b 59 20 f4 e7 15 08 // ee a4 34 1e c6 18 f4 d9 11 09 28 ea 8d d1 7e 36 f3 be b0 c0 7d // 91 1c 00 eb 40 54 ad 48 ca b5 63 c5 ad 97 d7 32 c3 65 36 35 df // 76 00 09 19 73 d4 4f f9 4a c6 d6 70 ec c0 85 50 1b d9 1b 58 6a // df 85 8b 41 d9 18 fd 58 f8 57 7a db 54 18 57 db bf 33 be 97 c4 // 80 9c 65 95 eb ff f1 9b 34 ce c7 fd 87 7e 8f 2a ad 6a 1a 6a 4e // c6 db b3 de 42 bb 2e 75 b4 76 8d 13 9d 7b 7f f5 d5 1e 68 63 b6 // 70 49 01 b5 9f d9 24 95 60 83 95 fc e9 8c 26 7a 38 46 b6 7e 7a // 5b 57 d9 95 e0 7d ca 8d b5 55 ae a5 a0 f6 f1 cd 85 d7 91 f2 2d // 06 ff 37 fc bb 22 b2 d9 29 6b 36 fa ee 22 e5 13 b2 76 fc 84 94 // ce 31 69 93 43 27 8a a8 f5 31 ee 54 9d 2b a4 95 05 9c 80 d5 74 // 8d 8a 0c b1 9d f2 73 38 aa af bf 08 49 c3 15 72 d1 7a 78 63 83 // b3 f6 19 21 26 51 a0 76 e5 14 8f a6 42 1f 54 05 e6 5e e3 1e 6f // bd 51 0d 92 c1 7f e1 2a 7f 20 30 66 84 8e 2a 9a de f6 6a d7 ae // 8e de a2 0f b8 c7 23 3d e3 73 69 49 e1 5b 88 69 9c 2f 85 76 06 // 0c f9 5d 25 93 82 8a bd e6 e2 ee d2 a7 17 65 57 82 ae 9e 58 9f // 5d e9 79 2c 81 0e c0 7a 84 2b ca 96 e5 94 f1 32 11 ea e7 ee 19 // 19 b7 af 1e 33 ff 72 67 92 cb b1 36 6f b8 a3 68 43 70 e3 51 22 // b0 ad 40 f5 58 46 ca 7d 39 cf 6f 9a 1c fa 54 60 f5 37 e8 9e 1c // 5f 3c d1 0a 3d 8a e3 ec ec 0c 7e 41 14 ae c3 07 42 d8 8f 31 3d // 74 44 77 23 80 8d a0 88 9e 34 b3 1c 13 a7 9b 8b b1 05 cd cb 23 // 4d 56 24 6b bf 00 3c 0a d0 3f f2 0f 57 3d f9 60 47 20 d6 52 b0 // a0 cc 5d 90 a2 84 b5 c7 82 4b fd c4 e3 f1 8e af 98 20 ff bd 8c // 4f 32 c8 de 63 1c 18 1a b7 65 05 da c7 53 fe c7 59 b0 41 4c b3 // c5 df a0 2b 6a 3b 93 ff 79 bc f8 c6 13 b4 a9 12 49 23 e7 e6 ce // 74 26 6f d7 85 64 00 00 00 00 0c e0 d3 ac 23 50 50 2c f4 a4 10 // 15 2e e8 93 d5 76 22 be e2 b5 2d f8 3c d3 0b 4a e1 7d 50 7f ba // 05 e7 05 5d b7 e6 d4 cf c0 85 77 3b 90 0c a5 0b ee 4d 49 52 9f // 24 ba b3 89 fb 87 fb b4 81 34 0e 8c e1 81 07 27 21 2d c5 e9 6d // 99 de 07 61 1c b5 88 a5 d8 b5 c5 10 c1 f5 b3 fb 56 89 71 64 68 // 21 b5 0d c2 54 20 03 eb 60 a4 ee 93 98 ae 4b 66 81 c2 9c d9 21 // fb 35 b1 2c a1 11 f1 2c 59 ac 39 dd e4 bf 4f 75 24 36 23 04 61 // 09 79 f5 19 9e f9 d2 71 af 60 a4 21 e2 9c 64 83 42 31 57 ed 4c // 27 21 12 3d df 33 31 3a 97 ec 1a 55 11 5b 6d f2 31 57 ad 17 b5 // e5 44 db 26 c4 6d 31 b2 e7 37 5c 37 ac e0 25 95 5c 94 82 e1 ef // 84 15 54 c2 02 c3 56 84 22 33 c5 7c 25 8f 8f 20 43 b4 b6 de 43 // 3e 8a 2f b9 36 5b 65 49 6c 57 77 c1 a1 a2 23 76 3d 51 19 0a 24 // fb 40 47 ad 7f f6 25 8f 1b 00 00 00 00 00 00 00 00 00 00 00 00 // e0 ef 07 72 62 28 fb 15 0d 09 f6 97 ee 3d b6 cc 09 66 76 22 57 // 80 d4 22 fe 91 7a 5c 57 be da bb 42 39 97 27 b3 86 e9 79 dd e3 // b7 24 3d ad 1f 78 e8 59 29 37 86 6c fc 01 7f 3a 8a d3 1c 53 11 // 5f b7 f3 45 2b d3 31 8c 4a 17 cc 80 bc ab 32 d9 ed 35 27 3c 3c // 93 07 19 dd b5 b7 57 f9 d8 5c c8 6d dd} (length 0xcfd) // } // } // } // 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: nil // func_info_cnt: len = 0x0 (4 bytes) // line_info_rec_size: const = 0x10 (4 bytes) // line_info: nil // line_info_cnt: len = 0x0 (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 (4 bytes) // ] // returns fd_bpf_prog *(uint32_t*)0x20000080 = 1; *(uint32_t*)0x20000084 = 5; *(uint64_t*)0x20000088 = 0x20001cc0; memcpy( (void*)0x20001cc0, "\xbf\x16\x00\x00\x00\x00\x00\x00\xb7\x07\x00\x00\x01\x00\xf0\xff\x50\x70" "\x00\x00\x00\x00\x00\x00\x30\x00\x00\x00\x00\x00\xc0\x00\x95\x00\x00\x00" "\x00\x00\x00\x00\x2b\xa7\x28\x04\x15\x98\xd6\xfb\xd3\x0c\xb5\x99\xe8\x3d" "\x24\xbd\x81\x37\xa3\xaa\x81\xe0\xed\x13\x9a\x85\xd3\x6b\xb3\x01\x9d\x13" "\xbd\x23\x21\xaf\x3c\x2b\xd6\x7c\xe6\x8f\x15\xc0\xec\x71\xd0\xe6\xad\xfe" "\xfc\xf1\xd8\xf7\xfa\xf7\x5e\x0f\x22\x6b\xd9\x17\x06\x00\x00\x00\x71\x42" "\xfa\x9e\xa4\x31\x81\x23\xf5\x1c\x0a\x0e\x16\x8c\x18\x86\xd0\xd4\xd3\x53" "\x79\xbd\x22\x3e\xc8\x39\xbc\x16\xee\x98\x8e\x6e\x0d\xc8\xce\xdf\x3c\xeb" "\x9f\xbf\xbf\x9b\x0a\x49\xef\x23\xd4\x30\xf6\x29\x6b\x32\xa8\x34\x38\x81" "\x07\x20\xa1\x59\xcd\xa9\x03\x63\xdb\x3d\x22\x1e\x15\x2d\xfc\xa6\x40\x57" "\xff\x3c\x47\x44\xae\xac\xcd\x36\x41\x11\x0b\xec\x4e\x90\x27\xa0\xc8\x05" "\x5b\xbf\xc3\xa9\x6d\x2e\x89\x10\xc2\xc3\x9e\x4b\xab\xe8\x02\xf5\xab\x3e" "\x89\xcf\x6c\x66\x2e\xd4\x04\x8d\x3b\x3e\x39\x62\xdc\xdd\xef\x6a\xf1\xa1" "\x19\x72\xa6\xb4\x97\x50\x22\x27\x8d\x00\x03\x1e\x53\x88\xee\x5c\x86\x7d" "\xdd\x58\x21\x1d\x6e\xce\x1c\xcb\x0c\xd2\xb6\xd3\xcf\xfd\x96\x28\x67\xa3" "\xa2\xf6\x24\xf9\x92\xda\xa9\x4a\x0c\x55\x6f\x32\x18\xce\x74\x00\x68\x72" "\x5c\x37\x07\x4e\x46\x8e\xe2\x07\xd2\xf7\x39\x02\xeb\xcf\xcf\x49\x82\x27" "\x75\x98\x5b\xf3\x1b\x71\x5f\x58\x88\xb2\x4e\xfa\x19\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\xdd\xff\xff\xff\x02\x00\x00\x00\x00" "\x00\x00\x00\x00\xdd\xff\xff\xff\x00\x00\xb2\x7c\xf3\xd1\x84\x8a\x54\xd7" "\x13\x2b\xe1\xbf\xb0\xad\xf9\xde\xab\x33\x23\xaa\x9f\xdf\xb5\x2f\xaf\x9c" "\xb0\x9c\x3b\xfd\x09\x71\xd3\x79\x38\x0b\xf6\x34\x32\x87\x2c\xfe\xd4\x53" "\x87\x00\x00\xb2\x19\xef\x00\xbb\x7b\x3d\xe8\xf6\x7f\xfc\xad\x3f\x6c\x3c" "\x2b\x1f\x03\x55\x00\x00\x00\x00\x00\x00\x1c\xf4\x1a\xb1\x1f\x12\xfb\x1e" "\x0a\x49\x40\x34\x00\x7d\xe7\xc6\x59\x2d\xf1\xa6\xc6\x4d\x3f\x15\x3b\x3d" "\x34\x88\x9f\x40\x15\x9e\x80\x0e\xa2\x47\x4b\x54\x05\x00\xa3\x0b\x23\xbc" "\xee\x46\x76\x2e\x20\x93\xbc\xc9\xea\xe5\xee\x3e\x98\x00\x26\xc9\x6f\x80" "\xee\x1a\x74\xe0\x4b\xde\x74\x07\x50\xfa\x4d\x9a\xaa\x70\x59\x89\xb8\xe6" "\x73\xe3\x29\x6e\x52\xd3\x11\x28\x74\xec\x51\xd6\xfe\x04\x8b\xa6\x86\x6a" "\xde\xba\xb5\x31\x68\x77\x0a\x71\xad\x90\x1a\xce\x38\x3e\x79\x27\xde\x21" "\x7d\x6b\xf7\x4d\xaf\x41\xd2\x77\xb1\x03\x92\x3a\x9d\x96\x1f\x7a\x25\x91" "\xdb\xe4\xa9\x12\xff\xaf\x6f\x65\x8f\x3f\x9c\xd1\x62\x86\x74\x4f\x83\xa8" "\x3f\x13\x8f\x8f\x92\xef\xd9\x22\x39\xea\xfc\xe5\xc1\xb3\xf9\x7a\x29\x7c" "\x9e\x49\x0f\x24\x19\x99\x08\x5a\xfa\xbd\xd5\x29\xf6\x2c\xa0\xc3\x30\x0e" "\xf7\xb7\xfb\x5f\x09\xe0\xc8\xa8\x68\xa3\x53\x40\x9e\x34\xd3\xe8\x22\x79" "\x63\x7f\x99\xf3\x5a\xd3\xf7\xff\xff\xff\x3c\xac\x39\x4c\x7b\xbd\xcd\x0e" "\x0e\xb5\x21\x62\xe0\xc4\x10\xad\xe7\xa3\x6b\x26\xa4\xe7\x0f\x03\xcc\x41" "\x46\xa7\x7a\xf0\x2c\x1d\x4c\xef\xd4\xa2\xb9\x4c\x0a\xed\x84\x77\xdf\xa8" "\xce\xef\xb4\x67\xf0\x5c\x69\x77\xc7\x8c\xdb\xf3\x77\x04\xec\x73\x75\x55" "\x39\x2a\x0b\x06\x49\x1c\xba\x71\xf8\x97\x14\x49\x10\xfe\x05\x00\x38\xec" "\x9e\x47\x5e\x89\x29\x8b\x7b\xf4\xd7\x69\xcc\xc1\x8e\xed\xe0\x06\x8c\xa1" "\x45\x78\x70\xeb\x30\xd2\x11\xe2\x3c\xcc\x8e\x06\xdd\xde\xb6\x17\x9d\x25" "\x7a\xb5\x00\x00\x13\xc8\x6b\xa9\xaf\xfb\x12\xec\x75\x7c\x72\x34\xc2\x70" "\x24\x6c\x87\x8d\x01\x16\x0e\x6c\x07\xbf\x6c\xf8\x80\x9c\x3a\x0d\x06\x23" "\x57\xba\x25\x15\x56\x72\x30\xa6\xf8\xb2\xad\x1e\x1f\x49\x33\x54\x5f\xc3" "\xc7\x41\x37\x42\x11\x66\x3f\x6b\x63\xb1\xdd\x04\x4d\xd0\x11\x7c\x9b\x73" "\x7b\x9b\x59\x41\x80\x06\xc1\xbc\x1a\xaf\xa2\x76\x8e\x82\x59\x72\x51\xe5" "\x51\x0a\x33\xdc\xda\x5e\x4e\x20\x2b\xd6\x22\x54\x9c\x4c\xff\xff\xff\x50" "\x1d\x3a\x5d\xd7\x14\x3f\xbf\x22\x1f\xff\x16\x1c\x12\xca\x38\x9c\xbe\x00" "\x00\x00\x00\x00\x00\x0f\xff\x75\x06\x7d\x2a\x21\x4f\x8c\x9d\x9b\x2e\xcf" "\x63\x1c\x6c\x5f\xd9\xc2\x6a\x54\xd4\x3f\xa0\x50\xb8\x8d\x1d\x43\xa8\x64" "\x5b\xd9\x10\x9b\x7e\x07\x86\x9b\xba\x71\x31\x42\x1c\x0f\x39\x70\x73\x94" "\x33\x30\xba\xaf\xd2\x43\xc0\xc6\xff\xe6\x73\xba\xb4\x11\x3b\xe7\x66\x4e" "\x08\xbd\xd7\x11\x5c\x61\xaf\xcb\x71\x8c\xf3\xc4\x68\x0b\x2f\x6c\x7a\x84" "\x00\xe3\x78\xa9\xb1\x01\x00\x0f\x49\xe2\x98\x72\x73\x40\xe8\x7c\xde\xfb" "\x40\xe5\x6e\x9c\xfa\xd9\x73\x34\x7d\x0d\xe7\xba\x47\x54\xff\x23\x1a\x1b" "\x93\x3d\x8f\x93\x1b\x8c\x55\x2b\x2c\x7c\x50\x3f\x3d\x0e\x7a\xb0\xe9\x58" "\xad\xb8\x62\x82\x2e\x40\x00\x99\x95\xae\x16\x6d\xeb\x98\x56\x29\x1a\x43" "\xa6\xf7\xeb\x2e\x32\xce\xfb\xf4\x44\xb0\x32\xda\xd1\x30\x07\xb8\x2e\x60" "\x44\xf6\x43\xfc\x8c\xd0\x7a\x97\xe2\xbb\xe6\x36\xa5\xdb\xe9\x86\x4a\x11" "\x7d\x27\x32\x68\x50\xa7\xc3\xb5\x70\x86\x3f\x53\x2c\x21\x8b\x10\xaf\x13" "\xd7\xbe\x94\x98\x70\x05\x08\x8a\x83\x88\x0c\xca\xb9\xc9\x92\x0c\x2d\x2a" "\xf8\xc5\xe1\x3d\x52\xc8\x3a\xc3\xfa\x7c\x3a\xe6\xc0\x83\x84\x86\x5b\x66" "\xd2\xb4\xdc\xb5\xdd\x9c\xba\x16\xb6\x20\x40\xbf\x87\x02\xae\x12\xc7\x7e" "\x6e\x34\x99\x1a\xf6\x03\xe3\x85\x6a\x34\x6c\xf7\x08\xfe\xeb\x70\x8a\xb2" "\x2b\x56\x0c\xf8\xa4\xa6\xf3\x1b\xa6\xd9\xb8\xcb\x09\x08\x00\x00\x00\x00" "\x00\x00\x00\x1a\x34\x2c\x01\x00\x00\x00\x00\x00\xe6\x67\xa7\x59\x2b\x33" "\x40\x6f\x1f\x71\xc7\x39\xb5\x5d\xb9\x1d\x23\x09\xdc\x7a\xe4\x01\x00\x5f" "\x52\x05\x3a\x39\xe7\x30\x7c\x09\xff\x3a\xc3\xe8\x20\xb0\x1c\x57\xdd\x74" "\xd4\xaa\xfc\x4c\x38\x3a\x17\xbc\x1d\xe5\x34\x7b\xb7\x1c\xa1\x6d\xcb\xbb" "\xaa\x29\x35\xf6\x02\x32\x59\x84\x38\x6b\x21\xb9\x64\x92\xae\x66\x20\x82" "\xb5\x6c\xf6\x66\xe6\x3a\x75\x7c\x0e\xf3\xea\x7a\xf6\x88\x15\x13\xbe\x94" "\xb3\x62\xe1\x5f\xfc\xa8\xec\x45\x3b\x3a\x2a\x67\xbe\x70\xc1\x7b\x0f\x9c" "\x2e\xac\x76\x58\x16\xc3\x0c\x2e\x71\x33\x8a\x40\xc7\x66\x95\x22\xe8\xdf" "\xf8\xbc\x57\x0a\x93\xfb\xdb\x68\x8c\x3a\xef\x81\x00\x00\x00\x7a\x6e\xa6" "\xb1\x11\x63\x39\x2a\x19\xd8\x79\x95\xb5\x1c\xb6\xfe\xbd\x5f\x24\xa3\x49" "\x98\xd2\x01\x0f\xd5\xfa\xcf\x68\xc4\xf8\x4e\x2f\x66\xe2\x7c\x81\xa1\x49" "\xd7\xb3\x31\x98\x3d\x3b\x74\x44\x49\x53\xfc\x12\x16\xdf\xec\x10\xb7\x24" "\xbe\x37\x33\xc2\x6f\x12\x53\x83\x76\xe1\x77\xff\xef\x6f\xd2\x60\x3b\xfa" "\xb9\x68\x31\x95\x7a\x08\xe4\x91\x9a\x46\x3d\x53\x32\xa2\x54\x60\x32\xa3" "\xc0\x6b\x94\xf1\x68\xe8\xfc\x4b\xda\x0c\x29\x47\x23\xfe\x30\x6f\x26\xc4" "\x77\xaf\x4b\x92\x66\x44\x67\x29\x85\xfa\xb7\xcc\x67\xbc\x5b\x5f\x5d\x38" "\xcd\xd8\xdf\x95\x14\x7e\xbe\x1c\xd8\x8b\x0a\x4c\x6c\xde\x99\x51\xbe\x42" "\x82\x7d\xfd\xdf\xef\xb2\x38\xfa\xc2\x30\x3c\xc8\x98\x2f\x1e\x55\xb0\x05" "\xaf\xcf\xea\x5e\xb0\x37\x24\x8f\xef\xad\x6b\xb0\x2c\x16\x2c\xe9\x2a\xb1" "\x77\x44\xc8\xec\x3d\x2e\x80\xcf\x32\x05\xd3\x66\x99\xfd\x38\x1b\xc8\x12" "\x31\xfb\x5e\x12\xe4\x5f\x30\x59\xf3\x61\xd0\x8d\x6a\x6d\x01\xaf\x43\x08" "\x3c\x29\x51\x2b\xce\xdd\x79\xca\x9b\xf2\x4e\x06\x3d\x0c\x27\x3e\xd7\x0a" "\x2b\x70\xbe\x52\x1e\xa2\x7d\xc8\xcf\x3c\x9b\xdf\x83\xb9\x34\x05\xdb\x07" "\xe8\x2e\x2d\xdf\x4c\x4d\x26\xf1\xcd\xd8\xc3\xc9\x73\x6c\xf5\xe5\x08\x2d" "\xe3\xb4\x84\xf8\x67\x3e\x0e\x97\xdd\x7e\x8a\x87\x21\x48\x61\x3c\x3a\x04" "\xf3\xd6\x7f\x43\x75\xba\x5c\x7f\x1b\x00\x33\xf8\xdf\xe0\xfd\x9b\xb2\xa7" "\x08\x01\xf7\x63\x52\x4e\x1d\x79\xd8\x12\xce\xd7\x82\x64\x6b\x5f\x79\xc8" "\xfc\x08\xbb\x5c\x11\x02\x01\x08\xd7\x02\xed\xd2\xea\x9c\x96\xcf\xcb\x90" "\x66\x66\x86\x27\xeb\xe9\x2d\x48\xaa\x5f\xc0\xa7\xbf\x1b\x51\x08\xb3\x4d" "\x22\xad\x00\x4d\xe8\x27\x4c\x22\xc8\xba\x82\x3d\x96\x49\x69\xc9\xf0\x2b" "\xb7\x8c\x59\x8f\xa8\x70\x1b\x00\x08\x84\xde\x71\x0b\x54\xe5\xab\x2e\x8f" "\xf0\xc7\xae\x23\xe0\xb6\x01\xac\x95\xc4\xc2\xee\xf2\xe5\xeb\x1d\x01\x9d" "\x52\x09\x9f\xbd\x40\x4e\x8e\xce\x97\x0f\x67\x73\x6b\xa7\xe9\x60\xbd\x8b" "\x1e\x41\x05\xb6\x50\x07\xc8\xff\x1f\x00\xa8\xce\x7e\x31\xf7\xc9\xc3\xe3" "\xfa\x61\xaa\xb9\x67\xb9\x00\x87\xe9\x1d\x70\x3e\x98\x53\x5b\x10\x7b\x8f" "\x46\x53\xbe\x4c\x46\xa3\xa1\xad\xb0\x7d\x22\x69\x52\xb8\x57\x3b\x41\x70" "\x18\x31\x6f\xa9\x6e\x94\x2e\x35\xc4\xba\xa1\x90\x41\x22\xc8\x63\x70\x9b" "\x08\xd4\x63\x9a\x19\xa4\x6a\xc9\x0a\xc4\x8a\x13\xee\x9b\xca\xa8\x75\xfc" "\x70\x0b\xa3\x63\xca\x31\x82\x10\x59\x60\xbe\xf3\x37\x8a\x98\x00\x00\x00" "\x00\x00\x00\x3b\x40\xdc\x5c\x74\x5f\xe2\x49\x1e\x84\x25\xe6\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\x25\x03\x18\xa4\x4a\xd3\x1b\xaa" "\xc0\x52\x0a\x91\x33\x01\xe6\x30\xae\x54\x0f\x32\x89\xae\xbd\xe8\x63\x3f" "\x6f\x45\x0c\xfe\x6e\x39\x95\x97\x35\x75\x82\x48\x03\x2c\xdf\x73\x20\xc6" "\xdc\x87\xb0\x1e\x3f\x9a\x78\x11\xb2\x00\x00\x00\x00\xae\x18\x9d\xe4\xb9" "\xb2\x5f\x7c\x7a\x9c\x32\xe4\xf1\xf2\x2a\xf1\xc0\x63\x15\x27\x0d\xe4\xa6" "\x60\x5e\x4b\x4b\x58\xbe\xf7\x6f\xac\x54\xf1\x1b\x84\xbd\x7b\xcd\x6b\x6a" "\x48\x5e\xdf\xb7\x68\x4c\x77\x0a\x39\xb3\x8b\x08\xe1\x8a\x51\xa4\xd4\xe6" "\x6c\xa2\x1c\x06\xa4\xb4\x19\x8e\x1b\xc2\xef\x99\x0c\x9b\xa9\x11\xef\xed" "\x62\x6e\x5e\xe3\x41\xa1\x7b\xf8\x13\x2b\x5b\x1d\xfa\x9f\xd3\x1d\xf2\x13" "\xc8\x8b\x40\x47\x97\x05\x6f\xd3\xba\xa8\xb2\xd6\xcb\x13\x44\x37\xcb\xa0" "\x19\x3b\xa4\x36\x0b\xdc\xc9\x8a\xad\x25\x60\xaa\x58\x29\x1c\x4e\xb9\xd4" "\xe0\x8a\xd7\xa9\xc5\xf0\x4b\xe1\xab\x59\x71\x9a\x82\x00\x00\x7b\xd8\xcc" "\xa8\xf6\x81\x54\xa0\xed\x35\x6e\x77\x3a\x79\x7c\xa6\xd6\x67\x48\x85\x7b" "\x4a\xbb\xf8\x83\x0a\xbe\xea\x2a\x46\x34\x2e\x6a\x73\x78\x17\x3c\xb2\x9d" "\x5c\xdc\xd6\x98\xa0\x20\x3f\x78\x11\x6b\x71\x00\x08\x00\x00\x00\x00\x00" "\x00\x00\x7c\x2d\x86\xb9\x44\x72\x80\x7c\x10\xeb\x9a\x8e\x2f\xb8\xbd\x79" "\xfe\x3a\x83\x16\xde\xff\x3e\xe6\x41\xc9\xa0\x80\xa2\x17\x36\x42\xe6\x73" "\xa6\x72\x27\x9b\xae\x4e\x7e\x28\x05\x5d\xa9\x49\x7d\x7e\xdb\x53\xbe\x6e" "\x80\x48\x2b\xd4\xd9\xa7\x4b\x7f\x76\xc7\x8b\xa0\xb4\x4e\xc0\xbd\xfa\x0d" "\x32\xd7\x03\x00\x00\x00\x3a\x07\x3b\x12\xeb\x57\x90\x32\xb8\x56\xd8\x92" "\xad\x6a\xf5\x12\x4c\x9c\x31\x30\x48\x5e\x96\x82\xff\x1f\x3c\x54\xe4\x75" "\xd5\xbb\x49\x6a\xef\x4b\xb5\x37\xd7\xe1\x91\xdf\xde\xba\x10\x9f\xdc\xf7" "\x86\x47\x63\xf8\x7a\x6d\x71\x1c\xf5\x2e\x52\x0a\x6c\xe3\x0e\x13\x4c\x55" "\xe0\x2b\x7c\xd2\x53\x85\xf3\xb9\x62\x84\x71\xb4\x36\x49\x87\xb0\xb2\xc8" "\x2a\x8b\x0f\x97\x63\x87\xeb\xb6\x2e\xad\x0e\x1b\x76\x1e\x6e\xc9\xb8\x24" "\xfe\x00\x6e\xa5\x2c\x0c\x46\x9e\x3b\xd8\xfe\xd0\x5a\x48\x6b\xd5\x51\x11" "\x44\xeb\xb6\x3d\x56\xd6\x1d\xa5\xfc\xb5\x8e\x19\x6a\x89\x23\xed\xaf\x22" "\x8b\x0c\xb9\x6b\x85\x6b\x15\xc9\x0b\x15\x44\x94\xfb\x0c\xff\x76\x8b\x34" "\x17\xfc\xc8\x9a\xcb\x9b\x9b\x4f\x85\x81\xc8\x2f\xf3\x12\x1b\x59\x20\xf4" "\xe7\x15\x08\xee\xa4\x34\x1e\xc6\x18\xf4\xd9\x11\x09\x28\xea\x8d\xd1\x7e" "\x36\xf3\xbe\xb0\xc0\x7d\x91\x1c\x00\xeb\x40\x54\xad\x48\xca\xb5\x63\xc5" "\xad\x97\xd7\x32\xc3\x65\x36\x35\xdf\x76\x00\x09\x19\x73\xd4\x4f\xf9\x4a" "\xc6\xd6\x70\xec\xc0\x85\x50\x1b\xd9\x1b\x58\x6a\xdf\x85\x8b\x41\xd9\x18" "\xfd\x58\xf8\x57\x7a\xdb\x54\x18\x57\xdb\xbf\x33\xbe\x97\xc4\x80\x9c\x65" "\x95\xeb\xff\xf1\x9b\x34\xce\xc7\xfd\x87\x7e\x8f\x2a\xad\x6a\x1a\x6a\x4e" "\xc6\xdb\xb3\xde\x42\xbb\x2e\x75\xb4\x76\x8d\x13\x9d\x7b\x7f\xf5\xd5\x1e" "\x68\x63\xb6\x70\x49\x01\xb5\x9f\xd9\x24\x95\x60\x83\x95\xfc\xe9\x8c\x26" "\x7a\x38\x46\xb6\x7e\x7a\x5b\x57\xd9\x95\xe0\x7d\xca\x8d\xb5\x55\xae\xa5" "\xa0\xf6\xf1\xcd\x85\xd7\x91\xf2\x2d\x06\xff\x37\xfc\xbb\x22\xb2\xd9\x29" "\x6b\x36\xfa\xee\x22\xe5\x13\xb2\x76\xfc\x84\x94\xce\x31\x69\x93\x43\x27" "\x8a\xa8\xf5\x31\xee\x54\x9d\x2b\xa4\x95\x05\x9c\x80\xd5\x74\x8d\x8a\x0c" "\xb1\x9d\xf2\x73\x38\xaa\xaf\xbf\x08\x49\xc3\x15\x72\xd1\x7a\x78\x63\x83" "\xb3\xf6\x19\x21\x26\x51\xa0\x76\xe5\x14\x8f\xa6\x42\x1f\x54\x05\xe6\x5e" "\xe3\x1e\x6f\xbd\x51\x0d\x92\xc1\x7f\xe1\x2a\x7f\x20\x30\x66\x84\x8e\x2a" "\x9a\xde\xf6\x6a\xd7\xae\x8e\xde\xa2\x0f\xb8\xc7\x23\x3d\xe3\x73\x69\x49" "\xe1\x5b\x88\x69\x9c\x2f\x85\x76\x06\x0c\xf9\x5d\x25\x93\x82\x8a\xbd\xe6" "\xe2\xee\xd2\xa7\x17\x65\x57\x82\xae\x9e\x58\x9f\x5d\xe9\x79\x2c\x81\x0e" "\xc0\x7a\x84\x2b\xca\x96\xe5\x94\xf1\x32\x11\xea\xe7\xee\x19\x19\xb7\xaf" "\x1e\x33\xff\x72\x67\x92\xcb\xb1\x36\x6f\xb8\xa3\x68\x43\x70\xe3\x51\x22" "\xb0\xad\x40\xf5\x58\x46\xca\x7d\x39\xcf\x6f\x9a\x1c\xfa\x54\x60\xf5\x37" "\xe8\x9e\x1c\x5f\x3c\xd1\x0a\x3d\x8a\xe3\xec\xec\x0c\x7e\x41\x14\xae\xc3" "\x07\x42\xd8\x8f\x31\x3d\x74\x44\x77\x23\x80\x8d\xa0\x88\x9e\x34\xb3\x1c" "\x13\xa7\x9b\x8b\xb1\x05\xcd\xcb\x23\x4d\x56\x24\x6b\xbf\x00\x3c\x0a\xd0" "\x3f\xf2\x0f\x57\x3d\xf9\x60\x47\x20\xd6\x52\xb0\xa0\xcc\x5d\x90\xa2\x84" "\xb5\xc7\x82\x4b\xfd\xc4\xe3\xf1\x8e\xaf\x98\x20\xff\xbd\x8c\x4f\x32\xc8" "\xde\x63\x1c\x18\x1a\xb7\x65\x05\xda\xc7\x53\xfe\xc7\x59\xb0\x41\x4c\xb3" "\xc5\xdf\xa0\x2b\x6a\x3b\x93\xff\x79\xbc\xf8\xc6\x13\xb4\xa9\x12\x49\x23" "\xe7\xe6\xce\x74\x26\x6f\xd7\x85\x64\x00\x00\x00\x00\x0c\xe0\xd3\xac\x23" "\x50\x50\x2c\xf4\xa4\x10\x15\x2e\xe8\x93\xd5\x76\x22\xbe\xe2\xb5\x2d\xf8" "\x3c\xd3\x0b\x4a\xe1\x7d\x50\x7f\xba\x05\xe7\x05\x5d\xb7\xe6\xd4\xcf\xc0" "\x85\x77\x3b\x90\x0c\xa5\x0b\xee\x4d\x49\x52\x9f\x24\xba\xb3\x89\xfb\x87" "\xfb\xb4\x81\x34\x0e\x8c\xe1\x81\x07\x27\x21\x2d\xc5\xe9\x6d\x99\xde\x07" "\x61\x1c\xb5\x88\xa5\xd8\xb5\xc5\x10\xc1\xf5\xb3\xfb\x56\x89\x71\x64\x68" "\x21\xb5\x0d\xc2\x54\x20\x03\xeb\x60\xa4\xee\x93\x98\xae\x4b\x66\x81\xc2" "\x9c\xd9\x21\xfb\x35\xb1\x2c\xa1\x11\xf1\x2c\x59\xac\x39\xdd\xe4\xbf\x4f" "\x75\x24\x36\x23\x04\x61\x09\x79\xf5\x19\x9e\xf9\xd2\x71\xaf\x60\xa4\x21" "\xe2\x9c\x64\x83\x42\x31\x57\xed\x4c\x27\x21\x12\x3d\xdf\x33\x31\x3a\x97" "\xec\x1a\x55\x11\x5b\x6d\xf2\x31\x57\xad\x17\xb5\xe5\x44\xdb\x26\xc4\x6d" "\x31\xb2\xe7\x37\x5c\x37\xac\xe0\x25\x95\x5c\x94\x82\xe1\xef\x84\x15\x54" "\xc2\x02\xc3\x56\x84\x22\x33\xc5\x7c\x25\x8f\x8f\x20\x43\xb4\xb6\xde\x43" "\x3e\x8a\x2f\xb9\x36\x5b\x65\x49\x6c\x57\x77\xc1\xa1\xa2\x23\x76\x3d\x51" "\x19\x0a\x24\xfb\x40\x47\xad\x7f\xf6\x25\x8f\x1b\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\xe0\xef\x07\x72\x62\x28\xfb\x15\x0d\x09\xf6\x97" "\xee\x3d\xb6\xcc\x09\x66\x76\x22\x57\x80\xd4\x22\xfe\x91\x7a\x5c\x57\xbe" "\xda\xbb\x42\x39\x97\x27\xb3\x86\xe9\x79\xdd\xe3\xb7\x24\x3d\xad\x1f\x78" "\xe8\x59\x29\x37\x86\x6c\xfc\x01\x7f\x3a\x8a\xd3\x1c\x53\x11\x5f\xb7\xf3" "\x45\x2b\xd3\x31\x8c\x4a\x17\xcc\x80\xbc\xab\x32\xd9\xed\x35\x27\x3c\x3c" "\x93\x07\x19\xdd\xb5\xb7\x57\xf9\xd8\x5c\xc8\x6d\xdd", 3325); *(uint64_t*)0x20000090 = 0x20000140; memcpy((void*)0x20000140, "GPL\000", 4); *(uint32_t*)0x20000098 = 0; *(uint32_t*)0x2000009c = 0; *(uint64_t*)0x200000a0 = 0; *(uint32_t*)0x200000a8 = 0; *(uint32_t*)0x200000ac = 0; memset((void*)0x200000b0, 0, 16); *(uint32_t*)0x200000c0 = 0; *(uint32_t*)0x200000c4 = 0; *(uint32_t*)0x200000c8 = -1; *(uint32_t*)0x200000cc = 8; *(uint64_t*)0x200000d0 = 0; *(uint32_t*)0x200000d8 = 0; *(uint32_t*)0x200000dc = 0x10; *(uint64_t*)0x200000e0 = 0; *(uint32_t*)0x200000e8 = 0; *(uint32_t*)0x200000ec = 0; *(uint32_t*)0x200000f0 = -1; *(uint32_t*)0x200000f4 = 0; *(uint64_t*)0x200000f8 = 0; *(uint64_t*)0x20000100 = 0; *(uint32_t*)0x20000108 = 0x10; *(uint32_t*)0x2000010c = 0; *(uint32_t*)0x20000110 = 0; syscall(__NR_bpf, /*cmd=*/5, /*arg=*/0x20000080, /*size=*/0x48); // bpf$BPF_PROG_RAW_TRACEPOINT_LOAD arguments: [ // cmd: const = 0x5 (4 bytes) // arg: nil // size: len = 0x0 (4 bytes) // ] // returns fd_bpf_prog_raw_tracepoint syscall(__NR_bpf, /*cmd=*/5, /*arg=*/0, /*size=*/0); } int main(void) { syscall(__NR_mmap, /*addr=*/0x1ffff000, /*len=*/0x1000, /*prot=*/0, /*flags=MAP_FIXED|MAP_ANONYMOUS|MAP_PRIVATE*/ 0x32, /*fd=*/(intptr_t)-1, /*offset=*/0); syscall(__NR_mmap, /*addr=*/0x20000000, /*len=*/0x1000000, /*prot=PROT_WRITE|PROT_READ|PROT_EXEC*/ 7, /*flags=MAP_FIXED|MAP_ANONYMOUS|MAP_PRIVATE*/ 0x32, /*fd=*/(intptr_t)-1, /*offset=*/0); syscall(__NR_mmap, /*addr=*/0x21000000, /*len=*/0x1000, /*prot=*/0, /*flags=MAP_FIXED|MAP_ANONYMOUS|MAP_PRIVATE*/ 0x32, /*fd=*/(intptr_t)-1, /*offset=*/0); const char* reason; (void)reason; loop(); return 0; }