This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* PoC for CVE-2021-41073, tested on Debian 11 with Linux 5.14 | |
* For writeup and exp visit https://www.graplsecurity.com/post/iou-ring-exploiting-the-linux-kernel | |
* For liburing visit https://github.com/axboe/liburing | |
* gcc -static -o poc poc.c -luring && ./poc | |
*/ | |
#include <fcntl.h> | |
#include <stdio.h> | |
#include <string.h> |