linux-um archives
 help / color / mirror / Atom feed
* [uml-devel] I'm out for some time - SKAS host leak diagnosis.
@ 2004-07-08 16:04 BlaisorBlade
  2004-07-19 17:58 ` I'm back - glibc LDT handling (was: Re: [uml-devel] I'm out for some time - SKAS host leak diagnosis.) BlaisorBlade
  0 siblings, 1 reply; 3+ messages in thread
From: BlaisorBlade @ 2004-07-08 16:04 UTC (permalink / raw)
  To: user-mode-linux-devel

1) From 9 to 18 July, I'll be away for study - so I won't be able to 
participate in the UML development. Sadly, after coming back I'll be far away 
from Internet, after a short time; however I think I'll be able to do 
something before starting again (and while away I'll have my new laptop, so 
I'll have plenty of time for coding).

2) Especially, I'm near to fixing the host SKAS leak... seems like it's a race 
condition when calling alloc_ldt(): one of the two values is overwritten by 
the other, and so never freed. In fact for each mm init_new_context() is 
called when open()ing it, while __init_new_context() is called when writing a 
MM_COPY_SEGMENTS request onto /proc/mm (which happens shortly after).
The mm->context is not locked anyway, and this is a SKAS bug: it makes sense 
in mainline, but not when using SKAS. The strange thing is that on 
host/kernel configurations where it happens, it is repeatable, i.e. does not 
seem a race condition. However the locking must be anyway added.

Bye
-- 
Paolo Giarrusso, aka Blaisorblade
Linux registered user n. 292729



-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-07-19 18:45 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-07-08 16:04 [uml-devel] I'm out for some time - SKAS host leak diagnosis BlaisorBlade
2004-07-19 17:58 ` I'm back - glibc LDT handling (was: Re: [uml-devel] I'm out for some time - SKAS host leak diagnosis.) BlaisorBlade
2004-07-19 18:45   ` BlaisorBlade

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox