🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

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

#296834
From: JF Mezei
Date: Fri, 05 Jan 2018 17:22
31 lines
2897 bytes
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.

> 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).
Technical Details
Message-ID: <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
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>

Show Full Headers
Complete Article Headers
Message-ID: <2vO3C.211600$Cr5.112175@fx36.iad>
Subject: Re: Intel junk...Kernel-memory-leaking Intel processor design flaw forces Linux, Windows redesign
Date: Fri, 5 Jan 2018 12:22:06 -0500
From: JF Mezei <jfmezei.spamnot@vaxination.ca>
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>
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
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:52.0)
 Gecko/20100101 Thunderbird/52.3.0
MIME-Version: 1.0
In-Reply-To: <050120181657413271%timstreater@greenbee.net>
Content-Type: text/plain; charset=utf-8
Content-Language: en-US
Content-Transfer-Encoding: 7bit
Lines: 34
X-Complaints-To: http://abuse.usenetxs.com
NNTP-Posting-Date: Fri, 05 Jan 2018 17:22:06 UTC
X-Received-Body-CRC: 1503495923
X-Received-Bytes: 2686