Home Security OpenBSD chief de Raadt says no easy fix for new Intel CPU bug

OpenBSD chief de Raadt says no easy fix for new Intel CPU bug

Theo de Raadt: "This Intel CPU is amazing. They sure are keeping it fresh and new!" Theo de Raadt: "This Intel CPU is amazing. They sure are keeping it fresh and new!" Supplied Featured

Recompiling is unlikely to be a catch-all solution for a recently unveiled Intel CPU vulnerability known as TLBleed, the details of which were leaked on Friday, the head of the OpenBSD project Theo de Raadt says.

The details of TLBleed, which gets its name from the fact that the flaw targets the translation lookaside buffer, a CPU cache, were leaked to the British tech site, The Register; the side-channel vulnerability can be theoretically exploited to extract encryption keys and private information from programs.

Former NSA hacker Jake Williams said on Twitter that a fix would probably need changes to the core operating system and were likely to involve "a ton of work to mitigate (mostly app recompile)".

But de Raadt was not so sanguine. "There are people saying you can change the kernel's process scheduler," he told iTWire on Monday. "(It's) not so easy."

He said that Williams was lacking all the details and not thinking it through. "They actually have sufficient detail to think it through: the article says the TLB is shared between hyperthreading CPUs, and it is unsafe to share between two different contexts. Basically you can measure evictions against your own mappings, which indicates the other process is touching memory (you can determine the aliasing factors)."

Despite the extent of detail in the article, de Raadt said he was still not prepared to say more. Last week, when iTWire asked him about the flaw before the leak to The Register, he said he could not be more specific about the nature of the vulnerability that had led to the disabling of hyper-threading as the researchers are due to present a paper about it only in August/

"Please wait for the paper," de Raadt said on Monday. "But the detail doesn't matter. Any cynic can see the issue based upon the word 'shared'.

"So the proposed rule is to not run two separate virtual address spaces on a HT CPU pair. Only run the same address space."

He said there were problems aplenty that could arise. "The problem with changing the scheduler is, what processes do you run on two hyperthreading CPUs sharing a TLB? They must trust each other. So how about only processes by the same user. But what if one of them uses a security technology like, say pledge? It has a different security profile than the another process. Oh, the rule has just been broken."

De Raadt offered a second scenario. "Let's say you just run threads of the same program, so they have the same address space. One of the threads does a system call, so it is now running in the kernel. In a subtle way, the rule has just been broken."

A third problem was illustrated, he said, by the different processes of Chrome process separation. "(Let's say you run) one process per tab. Oh, now a JavaScript program in one tab can play a TLBleed attack against another tab (or management process) running on a hyperthreading CPU. The rule has been broken."

OpenBSD has an enviable reputation for security and runs some of the public servers with the longest uptimes. De Raadt himself is obsessed with security, and has as his aim the provision of an operating system that has a secure default install. OpenBSD has had only two remote vulnerabilities in its default install since the project forked from NetBSD in 1996.

De Raadt said it was nearly impossible to select processes that one could run on another CPU, "and there are instances where if one process does something, you must immediately bump the other because it is about to observe something it should not".

He laid the blame squarely on Intel. "There are delineations of rights between processes, otherwise we wouldn't go through so much effort separating the rights that processes have. Hyperthreading isn't dumb per se, Intel just took a further shortcut by not creating independent or segmented micro caches and TLBs which hide this."

And de Raadt reiterated what he had said earlier: there were no quick fixes.

"BTW, it looks like the floating point unit fixes to operating systems took every team about two weeks, individually," de Raadt commented, before adding, sarcastically, "This Intel CPU is amazing. They sure are keeping it fresh and new!"

An Intel spokesperson told iTWire in an unsolicited comment: "Protecting our customers and their data continues to be a critical priority for us. We are looking into this feedback and thank the community for their ongoing efforts.” (Intel update is here.)

LEARN HOW TO REDUCE YOUR RISK OF A CYBER ATTACK

Australia is a cyber espionage hot spot.

As we automate, script and move to the cloud, more and more businesses are reliant on infrastructure that has the high potential to be exposed to risk.

It only takes one awry email to expose an accounts’ payable process, and for cyber attackers to cost a business thousands of dollars.

In the free white paper ‘6 Steps to Improve your Business Cyber Security’ you’ll learn some simple steps you should be taking to prevent devastating and malicious cyber attacks from destroying your business.

Cyber security can no longer be ignored, in this white paper you’ll learn:

· How does business security get breached?
· What can it cost to get it wrong?
· 6 actionable tips

DOWNLOAD NOW!

10 SIMPLE TIPS TO PROTECT YOUR ORGANISATION FROM RANSOMWARE

Ransomware attacks on businesses and institutions are now the most common type of malware breach, accounting for 39% of all IT security incidents, and they are still growing.

Criminal ransomware revenues are projected to reach $11.5B by 2019.

With a few simple policies and procedures, plus some cutting-edge endpoint countermeasures, you can effectively protect your business from the ransomware menace.

DOWNLOAD NOW!

Sam Varghese

website statistics

A professional journalist with decades of experience, Sam for nine years used DOS and then Windows, which led him to start experimenting with GNU/Linux in 1998. Since then he has written widely about the use of both free and open source software, and the people behind the code. His personal blog is titled Irregular Expression.

 

Popular News

 

Telecommunications