News for hackers. Stuff that matters.
Re:Google Chromium drops support for Linux 3.16 and earlier by rdtsc on Saturday March 07, 2015 @10:26PM (#9164379)
Really, a browser is now dependent on a particular Linux kernel?

For example RHEL/CentOS 7 which was released just last year with at least a 10 year support ahead of it is now obsolete according to them because it has a kernel version 3.10...

Not that many people are on desktop versions of those OSes, and those that are will not use Chrome (for example, US govt loves them some Desktop RHEL systems, but Chrome is usually not allowed there anyway), but just highlighting how still seems a bit crazy.

Re:Google Chromium drops support for Linux 3.16 and earlier by comex on Saturday March 07, 2015 @11:25PM (#9164528)
Chrome isn't your average application, though - it pioneered the modern use of tight process sandboxes in general (in client-side applications, anyway), and in particular was the biggest motivating client for (and Kees Cook on Chrome OS Security wrote some of the code for) seccomp-bpf, the ~3-year-old sandboxing mechanism that allows precise control of permitted syscalls and syscall arguments. The incompatibility here is related to a new seccomp feature. I don't know whether it's reasonable to drop support for older kernels, but it's no surprise that Chrome is using the latest and greatest in kernel sandboxing support.
Re:Google Chromium drops support for Linux 3.16 and earlier by zobzu on Sunday March 08, 2015 @01:43AM (#9164831)
Chrome certainly didn't pioneer anything. Google devs brought seccomp-bpf to the kernel, which is a simpler alternative (but also not always as useable) to many other mechanisms.

Chrome is one of the first products on linux with a large amount of users to support a reasonably strong sandbox. But that's not what pioneering means.

Of course, seccomp-nonbpf, selinux and quite a few other mechanisms have been around for a longer while. In non-Linux kernels in fact, there are FAR more secure mechanisms (but also, they don't run Linux binaries..)

Re:Google Chromium drops support for Linux 3.16 and earlier by pacala on Sunday March 08, 2015 @12:36PM (#9166109)
There is no stable sandboxed browser protecting against kernel vulnerabilities on any platform that I know of prior to Chrome. That's the very definition of pioneering. Do you have an example of prior art? There may be sandboxing mechanisms in various kernels, but that's not what browser users care about.

As for the other points:

* "seccomp-nonbpf" is a vastly more limited mechanism than seccomp-bfp, and inappropriate for Chrome use-case. http://en.wikipedia.org/wiki/Seccomp. seccomp-bfp is pioneering in Linux kernel space, even if, ironically, the team might not have wanted to spend their time there. See below.

* Popular consumer distribution of Linux doesn't have SELinux enabled by default. https://wiki.ubuntu.com/SELinux. "SELinux can be enabled in Ubuntu by installing the "selinux" meta-package". In my bubble we everyone uses Ubuntu on desktop, apologies to other distributions vying for the title of "popular consumer Linux distribution".

* Not sure why we are talking about security mechanisms on non-Linux kernels. Chrome is a browser, the team's job is not to innovate in the kernel space. http://www.chromium.org/developers/design-documents/sandbox. "Do not re-invent the wheel: It is tempting to extend the OS kernel with a better security model. Don't.".

Re:Google Chromium drops support for Linux 3.16 and earlier by zobzu on Wednesday March 11, 2015 @03:31AM (#9182993)
if you give enough details you'll always find a way to work around words. For example if i ship a copy of webkit with my ui on top with a sandbox I'll pioneer that. Or a shell. Or a text editor. Or whatever you want. A blue wheel of 29.0349in on a bike. etc.

I'm not sure why I'm even replying sometimes.

Re:Google Chromium drops support for Linux 3.16 and earlier by strcat on Sunday March 08, 2015 @12:13PM (#9166032)
> Of course, seccomp-nonbpf, selinux and quite a few other mechanisms have been around for a longer while. In non-Linux kernels in fact, there are FAR more secure mechanisms (but also, they don't run Linux binaries..)

You're quite confused. SELinux, AppArmor, SMACK, etc. do not overlap with seccomp-bpf which exists to protect the kernel itself. Chromium has a working sandbox with or without seccomp-bpf based on a chroot, namespaces and IPC protocols. It needs seccomp to mitigate kernel vulnerabilities, which are not at all uncommon.

Re:Google Chromium drops support for Linux 3.16 and earlier by zobzu on Wednesday March 11, 2015 @03:29AM (#9182986)
they actually do the control in a very similar way. its the model of how the control is decided that differs. in other words, they're all blocking syscalls depending on the arguments/syscall name/etc. LSMs and seccomp-bpf alike.

So no, I'm not confused :)

Re:Google Chromium drops support for Linux 3.16 and earlier by vanzard on Sunday March 08, 2015 @03:40AM (#9164941)
What comex meant is Chrome pioneered the use of seccomp-bpf. And indeed, Chrome is by far the application using seccomp-bpf in the most advanced way.
Re:Google Chromium drops support for Linux 3.16 and earlier by gsnedders on Sunday March 08, 2015 @12:49AM (#9164729)
Chrome did? IE7 shipped with pretty tight sandboxing in 2006 — and Chrome was only announced in 2008!
Re:Google Chromium drops support for Linux 3.16 and earlier by greggman on Sunday March 08, 2015 @05:00AM (#9165055)
well let's see. in 2014 there were 214 code exploits in IE vs 4 in Chrome. I don't think IE's sandbox can really be considered tight

http://www.cvedetails.com/product/9900/Microsoft-Internet-Ex...

http://www.cvedetails.com/product/15031/Google-Chrome.html?v...

Re:Google Chromium drops support for Linux 3.16 and earlier by throwawaykf05 on Sunday March 08, 2015 @10:18AM (#9165642)
Still doesn't change the fact that Chrome did not "pioneer" sandboxing.
Re:Google Chromium drops support for Linux 3.16 and earlier by xeromal on Sunday March 08, 2015 @11:54AM (#9165953)
If the pioneer dies before he gets to california, he doesn't get the credit.
Re:Google Chromium drops support for Linux 3.16 and earlier by strcat on Sunday March 08, 2015 @12:14PM (#9166035)
There is no Windows sandbox (including the Chromium one) that's comparable to the quality of Chromium's Linux implementation.

Note that seccomp is a layer on top of the layer-1 sandbox implementation based on a chroot and namespaces. There is no equivalent to the layer-2 sandbox used to protect against kernel vulnerabilities on other platforms.

Re:Google Chromium drops support for Linux 3.16 and earlier by yuhong on Sunday March 08, 2015 @01:38AM (#9164825)
Only on Vista and later though.
Re:Google Chromium drops support for Linux 3.16 and earlier by honestthrowaway on Sunday March 08, 2015 @01:37AM (#9164821)
Google invented sandboxing in client apps? I don't know who's more arrogant - Google or their fawning fanboys.
Re:Google Chromium drops support for Linux 3.16 and earlier by strcat on Sunday March 08, 2015 @12:19PM (#9166048)
Google created seccomp-bpf which is crucial to a meaningful sandbox and has no equivalent on other platforms. It was not an obvious innovation or it would have been done years earlier. It exists because someone paid by Google to improve Chromium security had the epiphany that BPF would be a good way to filter system calls.
Re:Google Chromium drops support for Linux 3.16 and earlier by RaleyField on Sunday March 08, 2015 @03:21PM (#9166798)
Isn't seccomp-bpf similar to OpenBSD's (failed) systrace? Both are basically filters for system calls if I'm not mistaken.
Re:Google Chromium drops support for Linux 3.16 and earlier by delroth on Sunday March 08, 2015 @01:46AM (#9164838)
Calling comex a "fawning fanboy"? That's ballsy for a throwaway account.
Re:Google Chromium drops support for Linux 3.16 and earlier by ryannevius on Sunday March 08, 2015 @07:52AM (#9165300)
Wouldn't comex be the "Google" in the comment, rather than the "fanboy"?
Re:Google Chromium drops support for Linux 3.16 and earlier by delroth on Sunday March 08, 2015 @01:40PM (#9166337)
comex doesn't work for Google.
Re:Google Chromium drops support for Linux 3.16 and earlier by honestthrowaway on Sunday March 08, 2015 @03:01AM (#9164869)
Claiming that Chrome pioneered sandboxing doesn't pass the smell test, irrespective of how many Google employees (according to your profile) are backing you up.
Re:Google Chromium drops support for Linux 3.16 and earlier by strcat on Sunday March 08, 2015 @12:20PM (#9166052)
No one is claiming that Google invented sandboxing. You should stop lying to push your bias because it only makes you look foolish.
Re:Google Chromium drops support for Linux 3.16 and earlier by yuhong on Sunday March 08, 2015 @03:41AM (#9164944)
But do you know who comex is? People sometimes are not exactly precise and sometimes make mistakes too.
Re:Google Chromium drops support for Linux 3.16 and earlier by frankzinger on Sunday March 08, 2015 @04:43AM (#9165031)

  But do you know who comex is?
I didn't, and it was not that easy to find out, but I was curious. He is Nicholas Allegra and he is known for jailbreaking the iPhone. See http://www.androidbeat.com/2013/04/google-comex/ and http://www.forbes.com/sites/andygreenberg/2011/08/01/meet-co.... He went on to work for Apple and now for Google, apparently on the Chome or Chrome OS teams.
Re:Google Chromium drops support for Linux 3.16 and earlier by Apofis on Sunday March 08, 2015 @02:12PM (#9166482)
Damn, now honestthrowaway looks even more foolish. I can understand why he used a throwaway now.
Re:Google Chromium drops support for Linux 3.16 and earlier by taeric on Sunday March 08, 2015 @12:28AM (#9164682)
On the flip side, chrome is also one of the tools used to convince people that web should somehow be equivalent to native. Which, really, just doesn't make any bloody sense.

If web pages were content to showing web sites, the vast majority of the motivation for heavy sandboxing, Chrome style, would be irrelevant.

Re:Google Chromium drops support for Linux 3.16 and earlier by sebcat on Sunday March 08, 2015 @12:44AM (#9164711)
You have code running on your computer for rendering the content. Historically, pictures (GDI+ buffer overflow, and others) and .pdf files has been used for exploiting bugs in that code. Sandboxing would have made that a non-issue, or at least less severe of an issue.
Re:Google Chromium drops support for Linux 3.16 and earlier by strcat on Sunday March 08, 2015 @12:23PM (#9166059)
It's still a serious issue even with a sandbox, both because of the endless stream of kernel vulnerabilities and similar issues in userspace processes the sandboxed processes communicate with to get work done.

Chromium's use of seccomp-bpf is solely to crack down on kernel vulnerabilities, as it's an additional layer over a sandbox already providing all of the security boundaries they need. It moves things along pretty far, but there are still at least 1-2 holes found every year.

It's definitely an improvement over browsers like Firefox where there are at least 3-4 unmitigated remote code execution vulnerabilities fixed every six week cycle...

Re:Google Chromium drops support for Linux 3.16 and earlier by wtallis on Saturday March 07, 2015 @10:53PM (#9164451)
When you commit to a 10-year support cycle, you'd better be prepared to backport quite a few things.

Google's being aggressive about taking advantage of a kernel-level security feature that they developed to solve a real problem. This seems like a good thing overall.

Re:Google Chromium drops support for Linux 3.16 and earlier by username223 on Saturday March 07, 2015 @11:23PM (#9164522)
> When you commit to a 10-year support cycle, you'd better be prepared to backport quite a few things.

OTOH, when you make a break-the-world release every six weeks, you can expect lots of breakage when dealing with the rest of the world. From what I can tell, Google pushed a feature they wanted into Linux, then didn't bother to think about backward compatibility. This would be fine if Chrome weren't force-updating software -- people on older kernels could just wait and update when they updated their kernels -- but alas that is not the case.

Re:Google Chromium drops support for Linux 3.16 and earlier by jfoster on Sunday March 08, 2015 @12:33AM (#9164692)
Chrome doesn't force-update on Linux. You can just install it and not accept any updates.
Re:Google Chromium drops support for Linux 3.16 and earlier by KaiserPro on Sunday March 08, 2015 @01:59AM (#9164864)
And if you don't upgrade you get moaned at by gmail et al until you do.
Re:Google Chromium drops support for Linux 3.16 and earlier by keithpeter on Sunday March 08, 2015 @09:51AM (#9165573)
"Google's being aggressive about taking advantage of a kernel-level security feature that they developed to solve a real problem. This seems like a good thing overall."

Yes, it is a good thing for the people who 1) use desktop linux and 2) use a rolling distribution or a distribution that was released within the last year. I suspect that might be a rather small percentage of the Desktop users in the world.

It simply means that people who 1) use a desktop Linux and 2) use a stable distribution can't run Chrome (which I imagine solves the security problem in another way). This fraction of a fraction may be larger (corporate desktops, e.g. RHEL, CentOS, Scientific Linux, Debian stable, Ubuntu LTS &c)

Re:Google Chromium drops support for Linux 3.16 and earlier by pjmlp on Sunday March 08, 2015 @03:11AM (#9164885)
And then people wonder why normal users go for Windows and Mac OS X systems for their desktops.
Re:Google Chromium drops support for Linux 3.16 and earlier by igravious on Sunday March 08, 2015 @04:25AM (#9165008)
It'd be nice if they used some of their massive pile of cash to back-port that feature and generate a ton of good will.
Re:Google Chromium drops support for Linux 3.16 and earlier by kjksf on Sunday March 08, 2015 @06:05AM (#9165177)
Google does a lot of Linux kernel work, a lot of gcc work, a lot of clang work, open-sources monumental amounts of code, pays several hundred students to work on open-source during summer.

If that's not enough to "generate a ton of good will" then doing one more minor thing won't change anything.

If they start giving out hundred dollar bills, you'll be complaining that it's not two hundred dollar bills.

Re:Google Chromium drops support for Linux 3.16 and earlier by igravious on Monday March 09, 2015 @02:44AM (#9169545)
I'm aware of the work they do. A couple of stupid decisions can cancel out a lot of good will. Not back-porting key pieces of tech and sunsetting products without open-sourcing them is going to counteract the good will they generate. I actually don't dislike Google, and appreciate that they've been a decent open-source player.

This is not so minor.

If they start handing out hundred dollar bills I would think they'd gone nuts.

Re:Google Chromium drops support for Linux 3.16 and earlier by foogoespop on Saturday March 07, 2015 @11:25PM (#9164530)
RHEL/CentOS 6 has been unsupported for quite a while by chrome before this had happened.

I assume they'll either drop support altogether or will support RHEL 7 until RHEL 8 is shipped like they did with RHEL 6.

They don't care that most people don't jump ship and upgrade RHEL as soon as a new release exists.

Re:Google Chromium drops support for Linux 3.16 and earlier by keeperofdakeys on Saturday March 07, 2015 @11:31PM (#9164540)
I don't think the Chrome dev team would want to drop earlier kernels that easily, but this option must help development a lot. From looking, it seems to be something regarding synchronising SECCOMP filters between different threads (SECCOMP is a security sandbox). I imagine this removes quite a bit of code, or fixes some serious corner cases.
Re:Google Chromium drops support for Linux 3.16 and earlier by eeZi on Saturday March 07, 2015 @10:46PM (#9164425)
The feature might very well be backported to 3.10.