// https://syzkaller.appspot.com/bug?id=004b0f7b61d4901cbfecfc33de7996e8cbe0a278 // autogenerated by syzkaller (http://github.com/google/syzkaller) #define _GNU_SOURCE #include #include #include #include #include uint64_t r[1] = {0xffffffffffffffff}; void loop() { long res = 0; res = syscall(__NR_socket, 0x2b, 0x801, 0); if (res != -1) r[0] = res; *(uint64_t*)0x20000680 = 0x20000080; *(uint16_t*)0x20000080 = 0xa; *(uint16_t*)0x20000082 = htobe16(0x4e24); *(uint32_t*)0x20000084 = 0x100; *(uint8_t*)0x20000088 = 0xfe; *(uint8_t*)0x20000089 = 0x80; *(uint8_t*)0x2000008a = 0; *(uint8_t*)0x2000008b = 0; *(uint8_t*)0x2000008c = 0; *(uint8_t*)0x2000008d = 0; *(uint8_t*)0x2000008e = 0; *(uint8_t*)0x2000008f = 0; *(uint8_t*)0x20000090 = 0; *(uint8_t*)0x20000091 = 0; *(uint8_t*)0x20000092 = 0; *(uint8_t*)0x20000093 = 0; *(uint8_t*)0x20000094 = 0; *(uint8_t*)0x20000095 = 0; *(uint8_t*)0x20000096 = 0; *(uint8_t*)0x20000097 = 0x16; *(uint32_t*)0x20000098 = 3; *(uint32_t*)0x20000688 = 0x1c; *(uint64_t*)0x20000690 = 0x200005c0; *(uint64_t*)0x200005c0 = 0x200000c0; *(uint64_t*)0x200005c8 = 0; *(uint64_t*)0x200005d0 = 0x20000180; *(uint64_t*)0x200005d8 = 0; *(uint64_t*)0x200005e0 = 0x200001c0; *(uint64_t*)0x200005e8 = 0; *(uint64_t*)0x200005f0 = 0x20000280; *(uint64_t*)0x200005f8 = 0; *(uint64_t*)0x20000600 = 0x200002c0; *(uint64_t*)0x20000608 = 0; *(uint64_t*)0x20000610 = 0x20000300; *(uint64_t*)0x20000618 = 0; *(uint64_t*)0x20000620 = 0x20000400; *(uint64_t*)0x20000628 = 0; *(uint64_t*)0x20000630 = 0x20000440; *(uint64_t*)0x20000638 = 0; *(uint64_t*)0x20000640 = 0x20000500; *(uint64_t*)0x20000648 = 0; *(uint64_t*)0x20000698 = 9; *(uint64_t*)0x200006a0 = 0; *(uint64_t*)0x200006a8 = 0; *(uint32_t*)0x200006b0 = 0x40850; syscall(__NR_sendmsg, r[0], 0x20000680, 0x20000000); } int main() { syscall(__NR_mmap, 0x20000000, 0x1000000, 3, 0x32, -1, 0); loop(); return 0; }