Article View: alt.privacy.anon-server
Article #296921Re: Intel junk...Kernel-memory-leaking Intel processor design flaw forces Linux, Windows redesign
From: Johnny Billquist
Date: Sun, 07 Jan 2018 00:09
Date: Sun, 07 Jan 2018 00:09
45 lines
3864 bytes
3864 bytes
On 2018-01-06 23:34, Tim Streater wrote:
> 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"?
Nope.
It's easy to "clear" the cache with normal code. Just force something
else into it.
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:
<p2rogn$mrt$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>Show Full Headers
Complete Article Headers
Message-ID: <p2rogn$mrt$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 01:09:59 +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> 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: 45 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 1515283800 23421 178.82.175.247 (7 Jan 2018 00:10:00 GMT) X-Complaints-To: newsmaster@Update.UU.SE NNTP-Posting-Date: Sun, 7 Jan 2018 00:10:00 +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: <060120182234098739%timstreater@greenbee.net> Content-Language: en-US X-Received-Body-CRC: 2878004008