🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

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

#296891
From: Johnny Billquist
Date: Sat, 06 Jan 2018 22:01
44 lines
3741 bytes
On 2018-01-06 19:23, Tim Streater wrote:
> In article <p2qtjk$ul0$1@Iltempo.Update.UU.SE>, Johnny Billquist
> <bqt@softjar.se> wrote:
> 
>> And then they figured out a clever way of mining the contents of the 
>> cache.
>>
>> One could argue that the cache should be invalidated in such a 
>> scenario, but that is not happening either.
> 
> Never mind invalidating it. WTF is going on if a non-priv process has
> the right to do anything at all to the cache? Non-priv processes
> shouldn't even be aware that there *is* a cache, never mind having the
> right to execute instructions *about* the cache.

Normally, that is true. But clever people can do a lot around this.
When I was doing my CS major, we had a course on advanced computer 
architectures, in where we learned how to write a very simple program 
that told us everything about cache size, associativeness, line size, 
TLB size, TLB associativeness, and so on...
All you need to do is understand how the computer is affected by these 
things, and then write programs that detect the effects.

In short, you write small loops that exercise the cache in different 
ways, and time the whole thing. You don't even need any high precision 
timers for it. All user level, and all very simple.

Caches are not "visible" to normal operation, but caches affects the 
timing a *lot*. Which is obvious, since that is why the cache is there 
in the first place.

I assume you are not arguing that the cache should be disabled for user 
processes.

Any instruction that refers to memory is executing instructions that is 
about the cache.

   Johnny

-- 
Johnny Billquist                  || "I'm on a bus
                                   ||  on a psychedelic trip
email: bqt@softjar.se             ||  Reading murder books
pdp is alive!                     ||  tryin' to stay hip" - B. Idol
Technical Details
Message-ID: <p2rh0g$876$1@Iltempo.Update.UU.SE>
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> <p2m8t9$efm$4@news.albasani.net> <p2o19j$e88$1@dont-email.me> <t7adndjRJMgAF9LHnZ2dnUU7-QnNnZ2d@giganews.com> <p2op29$v81$1@dont-email.me> <puydnboIF7Npd83HnZ2dnUU7-XnNnZ2d@giganews.com> <p2qs6u$aul$1@news.albasani.net> <w9qdnQWsSamFaM3HnZ2dnUU7-d2dnZ2d@giganews.com> <p2qtjk$ul0$1@Iltempo.Update.UU.SE> <060120181823336560%timstreater@greenbee.net>

Show Full Headers
Complete Article Headers
Message-ID: <p2rh0g$876$1@Iltempo.Update.UU.SE>
Subject: Re: Intel junk...Kernel-memory-leaking Intel processor design flaw forces Linux, Windows redesign
Date: Sat, 6 Jan 2018 23:01:51 +0100
From: Johnny Billquist <bqt@softjar.se>
References: <7db9888b131268038007398919a05b86@dizum.com> <jmhs4d1khine5frfj09mahpksmclbsa88q@4ax.com> <p2m3kt$vnk$1@dont-email.me> <040120182204575400%timstreater@greenbee.net> <p2m8t9$efm$4@news.albasani.net> <p2o19j$e88$1@dont-email.me> <t7adndjRJMgAF9LHnZ2dnUU7-QnNnZ2d@giganews.com> <p2op29$v81$1@dont-email.me> <puydnboIF7Npd83HnZ2dnUU7-XnNnZ2d@giganews.com> <p2qs6u$aul$1@news.albasani.net> <w9qdnQWsSamFaM3HnZ2dnUU7-d2dnZ2d@giganews.com> <p2qtjk$ul0$1@Iltempo.Update.UU.SE> <060120181823336560%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
Organization: Update Computer Club
Lines: 44
NNTP-Posting-Host: 178-82-175-247.dynamic.hispeed.ch
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: Iltempo.Update.UU.SE 1515276112 8422 178.82.175.247 (6 Jan 2018 22:01:52 GMT)
X-Complaints-To: newsmaster@Update.UU.SE
NNTP-Posting-Date: Sat, 6 Jan 2018 22:01:52 +0000 (UTC)
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:52.0)
 Gecko/20100101 Thunderbird/52.5.2
In-Reply-To: <060120181823336560%timstreater@greenbee.net>
Content-Language: en-US
X-Received-Body-CRC: 3699099113