Home Security 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.)

47 REASONS TO ATTEND YOW! 2018

With 4 keynotes + 33 talks + 10 in-depth workshops from world-class speakers, YOW! is your chance to learn more about the latest software trends, practices and technologies and interact with many of the people who created them.

Speakers this year include Anita Sengupta (Rocket Scientist and Sr. VP Engineering at Hyperloop One), Brendan Gregg (Sr. Performance Architect Netflix), Jessica Kerr (Developer, Speaker, Writer and Lead Engineer at Atomist) and Kent Beck (Author Extreme Programming, Test Driven Development).

YOW! 2018 is a great place to network with the best and brightest software developers in Australia. You’ll be amazed by the great ideas (and perhaps great talent) you’ll take back to the office!

Register now for YOW! Conference

· Sydney 29-30 November
· Brisbane 3-4 December
· Melbourne 6-7 December

Register now for YOW! Workshops

· Sydney 27-28 November
· Melbourne 4-5 December

REGISTER NOW!

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!

Sam Varghese

website statistics

Sam Varghese has been writing for iTWire since 2006, a year after the sitecame into existence. For nearly a decade thereafter, he wrote mostly about free and open source software, based on his own use of this genre of software. Since May 2016, he has been writing across many areas of technology. He has been a journalist for nearly 40 years in India (Indian Express and Deccan Herald), the UAE (Khaleej Times) and Australia (Daily Commercial News (now defunct) and The Age). His personal blog is titled Irregular Expression.

 

Popular News

 

Telecommunications

 

Sponsored News

 

 

 

 

Connect