blob: e921dedfac9558ea0b5778226c4e6b66c6047474 [file] [log] [blame]
// WARNING in alloc_pages_vma
// https://syzkaller.appspot.com/bug?id=0084fd109a7a10011e183a357715c91cff2cacb0
// 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>
int main(void)
{
syscall(__NR_mmap, 0x20000000, 0x1000000, 3, 0x32, -1, 0);
*(uint64_t*)0x200001c0 = 0x80000001;
syscall(__NR_mbind, 0x20012000, 0xc00000, 0x8002, 0x200001c0, 0xfe, 0);
syscall(__NR_get_mempolicy, 0, 0x203e8000, 0x401, 0x208d3000, 3);
return 0;
}