| // WARNING in __kthread_bind_mask |
| // https://syzkaller.appspot.com/bug?id=65e90b4c394c4323478ea4a05c8572c1dc47de16 |
| // status:fixed |
| // autogenerated by syzkaller (https://github.com/google/syzkaller) |
| |
| #define _GNU_SOURCE |
| |
| #include <endian.h> |
| #include <stdint.h> |
| #include <stdio.h> |
| #include <stdlib.h> |
| #include <string.h> |
| #include <sys/syscall.h> |
| #include <sys/types.h> |
| #include <unistd.h> |
| |
| #ifndef __NR_io_uring_setup |
| #define __NR_io_uring_setup 425 |
| #endif |
| |
| int main(void) |
| { |
| syscall(__NR_mmap, 0x20000000, 0x1000000, 3, 0x32, -1, 0); |
| |
| *(uint32_t*)0x20000100 = 0; |
| *(uint32_t*)0x20000104 = 0; |
| *(uint32_t*)0x20000108 = 7; |
| *(uint32_t*)0x2000010c = 0; |
| *(uint32_t*)0x20000110 = 0xdc; |
| *(uint32_t*)0x20000114 = 0; |
| *(uint32_t*)0x20000118 = 0; |
| *(uint32_t*)0x2000011c = 0; |
| *(uint32_t*)0x20000120 = 0; |
| *(uint32_t*)0x20000124 = 0; |
| *(uint32_t*)0x20000128 = 0; |
| *(uint32_t*)0x2000012c = 0; |
| *(uint32_t*)0x20000130 = 0; |
| *(uint32_t*)0x20000134 = 0; |
| *(uint32_t*)0x20000138 = 0; |
| *(uint32_t*)0x2000013c = 0; |
| *(uint32_t*)0x20000140 = 0; |
| *(uint32_t*)0x20000144 = 0; |
| *(uint64_t*)0x20000148 = 0; |
| *(uint32_t*)0x20000150 = 0; |
| *(uint32_t*)0x20000154 = 0; |
| *(uint32_t*)0x20000158 = 0; |
| *(uint32_t*)0x2000015c = 0; |
| *(uint32_t*)0x20000160 = 0; |
| *(uint32_t*)0x20000164 = 0; |
| *(uint32_t*)0x20000168 = 0; |
| *(uint32_t*)0x2000016c = 0; |
| *(uint64_t*)0x20000170 = 0; |
| syscall(__NR_io_uring_setup, 0xcf6, 0x20000100); |
| return 0; |
| } |