Article View: alt.privacy.anon-server
Article #296958Re: Intel junk...Kernel-memory-leaking Intel processor design flaw forces Linux, Windows redesign
From: Johnny Billquist
Date: Sun, 07 Jan 2018 04:23
Date: Sun, 07 Jan 2018 04:23
55 lines
4357 bytes
4357 bytes
On 2018-01-07 01:28, Jan-Erik Soderholm wrote:
> Den 2018-01-06 kl. 23:34, skrev Tim Streater:
>> In article <p2rh0g$876$1@Iltempo.Update.UU.SE>, Johnny Billquist
>> <bqt@softjar.se> wrote:
>>
>>> 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.
>>
>> Does that involve instructions that operate on the cache. Such as
>> "clear cache"?
>>
>
> You just read some unrelated (to the actual tests) data, so that the
> test that you are running are 100% non-chached. If that is what your
> tests are about.
Right.
> And anyway, you can never "clear" any memory, being it the cache or any
> other memory. Each byte will always have a value between x'00' and x'FF'.
True for normal memory, but not for caches. Caches actually have a
separate bit saying if the content is valid or not.
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:
<p2s7br$ock$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-mailReferences:
<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> <p2rh0g$876$1@Iltempo.Update.UU.SE> <060120182234098739%timstreater@greenbee.net> <p2rpk1$aul$4@news.albasani.net>Show Full Headers
Complete Article Headers
Message-ID: <p2s7br$ock$1@Iltempo.Update.UU.SE> Subject: Re: Intel junk...Kernel-memory-leaking Intel processor design flaw forces Linux, Windows redesign Date: Sun, 7 Jan 2018 05:23:23 +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> <p2rh0g$876$1@Iltempo.Update.UU.SE> <060120182234098739%timstreater@greenbee.net> <p2rpk1$aul$4@news.albasani.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: 55 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 1515299004 24980 178.82.175.247 (7 Jan 2018 04:23:24 GMT) X-Complaints-To: newsmaster@Update.UU.SE NNTP-Posting-Date: Sun, 7 Jan 2018 04:23:24 +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: <p2rpk1$aul$4@news.albasani.net> Content-Language: en-US X-Received-Bytes: 4172 X-Received-Body-CRC: 2246505962