🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.privacy.anon-server
Article #296835

Re: Intel junk...Kernel-memory-leaking Intel processor design flaw forces Linux, Windows redesign

#296835
From: Tim Streater
Date: Fri, 05 Jan 2018 17:26
43 lines
3618 bytes
In article <2vO3C.211600$Cr5.112175@fx36.iad>, JF Mezei
<jfmezei.spamnot@vaxination.ca> wrote:

>On 2018-01-05 11:57, Tim Streater wrote:
>
>> 1) Process 2, you say, keeps flushing the CPU cache. How does it do
>> this without root priv? And if it has that priv, there must be easier
>> ways to get access to vital info without doing what you describe.
>
>
>That is an issue which was not adressed by the Meltdown white paper. But
>the transfer of data is dependent on the other process having access to
>the CPU cache because that is the only way the data fetched by process 1
>can be transfered to another process.
>
>Without the cache technique, process 1 might have fetched the data it
>wasn't supposed to, but that data would not have gone to a register or
>to other location in memory as the exception would have stopped
>everything before the instructions are committed.
>
>The cache trick is a means for the dying process to leave breadcrumbs
>that another process can pickup.

OK. So this question stands.

>> 2) Process 1 reads from protected memory and will get an exception for
>> each byte it tries to read. One supposes it has arranged recovery from
>> these exceptions so it can try another byte-read. Wouldn't a prudent OS
>> terminate any process that accumulates more than, say, 10 exceptions of
>> this nature?

>Yep. But the other way to do it is for the process itself to declare its
>own exception handler so that even though the instructions are rolled
>back, the process can continue with attempt to read the next byte. (this
>gets into performance design to read all of the RAM).

Well I would expect it to declare its own exception handler. But that
handler is called by the OS, which can keep tabs on how many exceptions
of a given type a process has accumulated.

-- 
Lady Astor: "If you were my husband I'd give you poison." Churchill: "If
you were my wife, I'd drink it."
Technical Details
Message-ID: <050120181726266768%timstreater@greenbee.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.os.linux.advocacy.(1483839).mbox.7z!not-for-mail
References: <7db9888b131268038007398919a05b86@dizum.com> <jmhs4d1khine5frfj09mahpksmclbsa88q@4ax.com> <p2m3kt$vnk$1@dont-email.me> <040120182204575400%timstreater@greenbee.net> <s2F3C.66300$Xx7.43925@fx16.iad> <050120181657413271%timstreater@greenbee.net> <2vO3C.211600$Cr5.112175@fx36.iad>

Show Full Headers
Complete Article Headers
Message-ID: <050120181726266768%timstreater@greenbee.net>
Subject: Re: Intel junk...Kernel-memory-leaking Intel processor design flaw forces Linux, Windows redesign
Date: Fri, 05 Jan 2018 17:26:26 +0000
From: Tim Streater <timstreater@greenbee.net>
References: <7db9888b131268038007398919a05b86@dizum.com> <jmhs4d1khine5frfj09mahpksmclbsa88q@4ax.com> <p2m3kt$vnk$1@dont-email.me> <040120182204575400%timstreater@greenbee.net> <s2F3C.66300$Xx7.43925@fx16.iad> <050120181657413271%timstreater@greenbee.net> <2vO3C.211600$Cr5.112175@fx36.iad>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.os.linux.advocacy.(1483839).mbox.7z!not-for-mail
Newsgroups: alt.privacy.anon-server,alt.comp.os.windows-10,comp.os.linux.advocacy,comp.sys.mac.system,comp.os.vms
Lines: 43
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: individual.net D9p6ncWWqpjSLXnV1EzBmAEgDZKDDpglEKwtgmb4wFrTkzK3W8
X-Orig-Path: timstreater
Cancel-Lock: sha1:AL7eRB/US8e+yQDAHgA+SbWqb6c=
Mail-Copies-To: nobody
User-Agent: Thoth/1.9.1 (Mac OS X)
X-No-Trace: yes
X-No-Archive: yes
X-Face: "[^yYK92E9|LVD+Av;Fa,giW>Pb"sKU%_`r0#U!ev`>CN2z}$mY(LO@{)-Mo1
  )]#\pO1*O.$hdJl67V?e*J6`nb]cCpJ5<<e&qJ+e+,TI|2/F\d`C#*a*9d^?WOq'H.*%
  V?'C+Fi^W-l)f"Ru5V("V~M:yU/Y"W3F[O!t|M1+Q&_.LEV>ZRWNth$Kw0j3f8lz:H9T
  N5[T'*t:]%pcYSZM
X-Received-Body-CRC: 2236338869
X-Received-Bytes: 3414