Yes, you are overly naive...
Yes, you are overly naive...
Posted Jul 22, 2009 5:42 UTC (Wed) by khim (subscriber, #9252)In reply to: Fun with NULL pointers, part 2 by bojan
Parent article: Fun with NULL pointers, part 2
Given the above and the fact that solutions to this type of bug exist (if I understand UDEREF correctly), why is the kernel not being patched so we don't see this ever again? Or am I being overly naive?
The sad truth is that UDEREF is history now. The only architecture where it was useful slowly goes away: most architectures never had segments and Intel/Amd "lost" them recently: x86-64 does not have full segments in 64-bit mode... Segments only retained one attribute: base address, nothing else - good for TLS, not enough for UDEREF...
