Markakd / CVE-2022-2588

exploit for CVE-2022-2588
464 stars 71 forks source link

Failed on Ubuntu 20.04 - 5.4.0-182-generic #13

Open shriyakk opened 1 month ago

shriyakk commented 1 month ago

test@test-ThinkCentre-M92p:~/Desktop/kernel-exploit-factory/CVE-2022-2588$ ./exploit [] self path /home/test/Desktop/kernel-exploit-factory/CVE-2022-2588/./exploit [] prepare evil data Old limits -> soft limit= 14096 hard limit= 14096 [] starting exploit, num of cores: 4 [1] defragmentation - spray 10000 file to exhaust all file slabs for cross cache [2] spray (38+3)32 kmalloc-192 & kmalloc-256 [3] allocate the vulnerable filter [4] spray kmalloc-192 & kmalloc-256 [5] free (end-24)32 kmalloc-192 & kmalloc-256 [6] 1st freed the filter object [7] free (end-middle+1)32 kmalloc-192 & kmalloc-256 [8] spray 4000 uprivileged file [9] 2nd free the filter object pause after 2nd free [10] spraying 5000 unprivileged file [13] check whether we overwrite the privileged file [-] no overlap found :(... [-] failed