mailing list archives
Re: Shared memory DoS's
From: multics () WIZVAX WIZVAX NET (Richard Shetron)
Date: Tue, 20 Jul 1999 23:00:35 -0400
Multics was designed with the entire system running in VM in the early
60's (the first boot was around 1969). You never opened a file, you
asked the OS to give you the VM address of the start of the 'segment'
and the length of the segment. Everything was done in VM. Each 'user'
had their own tmp space and quota so if you ran out of your personal tmp,
you get stopped.
typical process for an editor to read a file:
get segment name from user
call OS to get address of first bit of segment.
allocate working segment.
substr(working segment,,lenght) = substr(segment to edit,,length);
Tops-20 had mapped memory segments before VMS was born. It was called
PMAP back then (for Page Map). I don't know if it had the same
"Dick St.Peters" wrote:
Mike Perry writes:
So as it turns out that it is in fact possible to create a DoS condition by
requesting a truckload of shared mem, then triggering pagefaults in the entire
Mapped memory segments have been susceptible to this since at least
the early days of VMS, which AFAIK was the first OS to implement
mapped memory (VMS used the term "mapped section"). I ran into this
by accident no later than 1982 while doing image processing on a VMS
system. My processes run at the lowest possible priority (equivalent
to the highest possible niceness), would effectively shut down the
system until they completed.
VMS didn't have a lot of tools for analyzing what was happening, but a
few experiments quickly showed the culprit was page faulting. Image
processing tends to step through memory sparsely.
Sorry - I no longer have an exploit :)
Dick St.Peters, stpeters () NetHeaven com
Gatekeeper, NetHeaven, Saratoga Springs, NY
Oldest Internet service based in the Adirondack-Albany region
Richard Shetron multics () wizvax net multics () acm rpi edu
What is the Meaning of Life?
There is no meaning,
It's just a consequence of complex carbon based chemistry; don't worry about it
The Super 76, "Free Aspirin and Tender Sympathy", Las Vegas Strip.
- Re: Shared memory DoS's, (continued)