Re: Protecting against kernel NULL-pointer derefs
- From: Pieter de Boer <pieter@xxxxxxxxxxxxxx>
- Date: Tue, 15 Sep 2009 14:24:21 +0200
Dag-Erling Smørgrav wrote:
'amount' => 2, 'of late' is more figure of speech than anything else. For me, amount was high enough to get interested and 'of late' may be because I've not been looking long enough.Given the amount of NULL-pointer dereference vulnerabilities in theSpecify "amount" and define "of late".
FreeBSD kernel that have been discovered of late,
I was aware of that issue, and was expecting your comment as well. While SELinux (and iirc SysV compatibility) effectively killed the "don't map at 0x0" feature, that does not mean such a feature is useless in of itself. If it is possible to attain a high enough level of confidence that such a feature would actually work, without negative side-effects, I feel that it would be beneficial to FreeBSD.By disallowing userland to map pages at address 0x0 (and a bit beyond),
it is possible to make such NULL-pointer deref bugs mere DoS'es instead
of code execution bugs. Linux has implemented such a protection for a
long while now, by disallowing page mappings on 0x0 - 0xffff.
Yes, that really worked out great for them:
http://isc.sans.org/diary.html?storyid=6820
I'd be interested in hearing your and other's opinions, specifically on the topics my original questions hinted at.
--
Pieter
_______________________________________________
freebsd-security@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-security
To unsubscribe, send any mail to "freebsd-security-unsubscribe@xxxxxxxxxxx"
- Follow-Ups:
- Re: Protecting against kernel NULL-pointer derefs
- From: Dag-Erling Smørgrav
- Re: Protecting against kernel NULL-pointer derefs
- References:
- Protecting against kernel NULL-pointer derefs
- From: Pieter de Boer
- Re: Protecting against kernel NULL-pointer derefs
- From: Dag-Erling Smørgrav
- Protecting against kernel NULL-pointer derefs
- Prev by Date: Re: Protecting against kernel NULL-pointer derefs
- Next by Date: Re: Protecting against kernel NULL-pointer derefs
- Previous by thread: Re: Protecting against kernel NULL-pointer derefs
- Next by thread: Re: Protecting against kernel NULL-pointer derefs
- Index(es):
Relevant Pages
|