Skip to contentSkip to conversation

about buffer overflow.

DISCUSSION Justin Pryzby 1 participant 1 message May 19, 2003 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): E19Hp05-0005FO-00@andromeda

#1 lore raw

Check out [http://www.trusteddebian.org/]. They apply a bunch of kernel patches like grsecurity. Seems they have to recompile, repackage all the .debs though.

It is interesting to note that some of these patches introduce an apparent non-determinism into userspace; the same inputs could result in different outputs (the difference is that there are more inputs than userspace can actually see). So, maybe it could happen that you get a segv from an off by 1, but when you rerun it, you can't reproduce it because all the addresses are different.

In practice, this will eventually segv somewhere, and someone will find the problem, but its something to consider.

Justin Pryzby

Quoted 14 lines · Barry K. Nathan
Quoted 3 lines · Halil Demirezen

yes that is interesting, however, what i want to learn, clearly, is this patch available from 2.4.20-rc1 at every default linux kernel from this moment on?

...
BTW, another option is the pageexec ('PaX') patch:
http://pageexec.virtualave.net/ (warning: this page has pop-up windows)

and that's integrated into a more comprehensive security patch, grsecurity:
http://www.grsecurity.net/

-Barry K. Nathan <[email protected]>