| ▲ | fguerraz 2 hours ago | |||||||||||||
If it’s freed it can be reallocated, so then you have pointers to the same area of memory used for completely different data structures, and this can go very wrong | ||||||||||||||
| ▲ | marcosscriven 2 hours ago | parent [-] | |||||||||||||
I get the principle - what I struggle to find is concrete examples of how it can practically be used. How do you know which pointer (as I say, especially if it’s in the heap)? And I know it can go wrong - but how do you do more than just crash the kernel? In OOB writes in a stack variable it’s completely clear to me. For other situations I’d love to find real and clearly explained exploits of past UAF or OOB vulnerabilities. | ||||||||||||||
| ||||||||||||||