News for hackers. Stuff that matters.
Re:Google, Xiaomi, and Huawei affected by zero-day flaw that... by dmix on Saturday October 05, 2019 @09:04PM (#21169097)
The failures of the Linux core team to properly prioritize security is quite well known. A lot of people have poked the bear by trying to bring this up, also with specific real examples, and got a tongue lashing from the team and moved on to other things.

I'm amazed the GRSecurity people have managed to do it for so long. Even if merging their stuff mainline legitimately wasn't practical, I've seen plenty of snark and dismissiveness from the Linux team towards them and others. And GRSEC does actively bring in CVEs into their kernel patches all the time and get paid via sponsors to do so.

I'm sure going through old CVEs is a great way to find "zero days" and/or relapses after old patches. Or even just following the work GRSec does there's probably plenty of stuff for a highly motivated company like NSO to exploit.

Re:Google, Xiaomi, and Huawei affected by zero-day flaw that... by dexen on Sunday October 06, 2019 @07:31AM (#21171356)
>The failures of the Linux core team to properly prioritize security

Why even post this, when it has nothing to do the with the case GP & OP described? It's misleading at best.

The failure here is in the way Google has set its Android development process. They keep a separate "stable" kernel, and manually select certain patches to backport to. In process they skip all kinds of patches - performance, features, and yes, security ones. Given that only selected patches are backported, the process is best described as insecure by default. It was Google's decision to favor stable API over security here.

This is compounded by the fact other Android phone vendors are pretty slow at releasing OS upgrade - and tend to stop releasing them altogether shortly after the phone's no longer manufactured.

The mainline kernel, as released by the Linux core team is up to date with security. Hold to account people that decided to skip patches as a matter of course, resulting in the insecure by default process.

Re:Google, Xiaomi, and Huawei affected by zero-day flaw that... by typical182 on Sunday October 06, 2019 @08:47AM (#21171705)
> The mainline kernel, as released by the Linux core team is up to date with security. Hold to account people that decided to skip patches as a matter of course

To me, the particulars of this exact case are not as interesting as the fact that the entire Linux patching and backporting of security issues seems _very_ fragile, with things frequently getting "lost" for mundane reasons, and a key part of the "why" it is so fragile is due to many of the core Linux development processes.

This particular CVE is apparently one small example that happened to catch some headlines out of _thousands_ of similar problems.

That talk linked above by Dmitry Vyukov is worthwhile for getting a sense of the magnitude of the problem.

Re:Google, Xiaomi, and Huawei affected by zero-day flaw that... by sukahiroaki on Sunday October 06, 2019 @12:50PM (#21173153)
I think there is a lot to be said about the shortcomings of the Android world in how Linux Kernel updates are trickling down the whole foodchain (or rather: are not). BUT: This particular episode is a very bad choice for your argument. Cause in this case the bugfix in question was never ported back to any regular Linux LTS version, while it actually was cherrypicked for the Android Common Kernel (branches 3.18, 4.4 and 4.9).

Now why that fix never made it in most vendor kernels (besides a few like the one in the Pixel 3 that is based on 4.9) is a good question. But at the same time there is the reality, that everyone focusing on the upstream LTS kernel would have never gotten the fix.

Re:Google, Xiaomi, and Huawei affected by zero-day flaw that... by viraptor on Sunday October 06, 2019 @08:06AM (#21171512)
> The failure here is in the way Google has set its Android development process.

I think it's still the won't layer. Google may be able to put some pressure to change things, but it's describe the issue as "the failure is in the way SOC manufacturers have set their kernel porting process". You often get chips which work with one version and a dump of specific drivers. Beyond pressuring the company to upstream their changes, or writing clean room versions, I don't see many solutions.

Re:Google, Xiaomi, and Huawei affected by zero-day flaw that... by lucb1e on Sunday October 06, 2019 @03:45AM (#21170462)
> failures of the Linux core team

But isn't the issue that Android didn't merge it? Linux patched it.

Re:Google, Xiaomi, and Huawei affected by zero-day flaw that... by telanis on Saturday October 05, 2019 @09:27PM (#21169208)
GRSec is the primary reason the Android devices from BlackBerry have never, to my knowledge, been rooted (despite their many flaws). It's crazy that it's not more accepted.
Re:Google, Xiaomi, and Huawei affected by zero-day flaw that... by dmix on Saturday October 05, 2019 @09:42PM (#21169274)
I personally wouldn't trust a company that openly bragged it built a system to provide local police and Intel agencies with real time access to Blackberry messaging flowing across an entire city in 2010 for G20. In addition to sharing their "master" encryption key for a number of years:

https://www.theverge.com/2016/4/14/11434926/blackberry-encry...

Also AFAIK Blackberry only provided a hardened kernel with a single device in 2015 called Priv. I haven't heard anything from them since... maybe someone could correct me here.

Re:Google, Xiaomi, and Huawei affected by zero-day flaw that... by westmeal on Saturday October 05, 2019 @11:17PM (#21169611)
The new Android devices also have hardened kernels but it doesn't really matter phones are insecure as fuck in other ways.
Re:Google, Xiaomi, and Huawei affected by zero-day flaw that... by justinjlynn on Sunday October 06, 2019 @04:03AM (#21170518)
Indeed. Who the hell thought it was a great idea for the modem baseband device to have unlimited direct memory access to the host processor memory space? I mean, especially when the baseband firmware can usually be remotely updated by the network with zero user interaction?!
Re:Google, Xiaomi, and Huawei affected by zero-day flaw that... by posix_me_less on Sunday October 06, 2019 @05:32AM (#21170866)
> have unlimited direct memory access to the host processor memory space

Can you give some reference for that claim?

Re:Google, Xiaomi, and Huawei affected by zero-day flaw that... by jsjohnst on Sunday October 06, 2019 @08:08AM (#21171526)
https://www.usenix.org/system/files/conference/woot12/woot12...

If you want more, literally google “baseband attack host processor memory” or “baseband exploits DMA” or “baseband exploits memory”.

Re:Google, Xiaomi, and Huawei affected by zero-day flaw that... by diroussel on Sunday October 06, 2019 @08:49AM (#21171715)
Is this all Android? Or just Blackberry?
Re:Google, Xiaomi, and Huawei affected by zero-day flaw that... by fooker on Sunday October 06, 2019 @03:29AM (#21170419)
There is no 'Linux core team'
Re:Google, Xiaomi, and Huawei affected by zero-day flaw that... by panpanna on Sunday October 06, 2019 @04:31AM (#21170606)
There is one, but they have nothing to do with this.

This falls pretty much on Google and people in charge of the backports

Re:Google, Xiaomi, and Huawei affected by zero-day flaw that... by pjmlp on Sunday October 06, 2019 @06:08AM (#21171016)
Sure there is, the ones with commit rights to validate pull requests.
Re:Google, Xiaomi, and Huawei affected by zero-day flaw that... by fooker on Sunday October 06, 2019 @10:40AM (#21172308)
That is too large to be considered 'core' and too unstructured to be considered a 'team'.

Hence these issues, arguably.

Re:Google, Xiaomi, and Huawei affected by zero-day flaw that... by pnako on Saturday October 05, 2019 @11:03PM (#21169551)
If you submitted a huge patch to Linux that would really improve support for real-time audio, but break many other things like IO throughput, etc. but your argument for accepting it anyway was "yes, but it's for real-time audio support, so it's really important and more important than what everyone else is working on", you'd be laughed out of the mailing list.

The fact you use the word "prioritize security" is indeed telling. Security is just one aspect of a system. There is no particular reason for Linux to prioritize it above everything else, no matter what twitter infosec drama queens believe.

Obviously the fact that infosec people are quite often insufferable does not help their case.

Re:Google, Xiaomi, and Huawei affected by zero-day flaw that... by kuzimoto on Saturday October 05, 2019 @11:37PM (#21169672)
When you're developing such a crucial part of an operating system, wouldn't you want to put security pretty high at the top of the priorities list?

If I were an average consumer, I would care much more about my device being secure, than having real time audio.

Re:Google, Xiaomi, and Huawei affected by zero-day flaw that... by kbenson on Sunday October 06, 2019 @03:36AM (#21170443)
You act as if we don't have an experiment about exactly this going on for decades that says the exact opposite, but we do. It's called OpenBSD. The average consumer doesn't care, because it's less performant in some cases and certain software doesn't work or work as well.

It's not even a choice between better security and real-time audio, since the average consumer doesn't even know about that unless specifically called out by marketing. For phones it's about what looks better, both physically and digitally. It's about how the emojis look, how good the pictures the camera takes look (or how good you're told they look), and how responsive and smooth the screen movements are.

The average consumer goes off what they can immediately see and what they're told by marketing, and by what they feel social pressure to buy. The discerning technical expert goes off marketing (but a different set of claims), and a bit more of a discerning eye, and while far more knowledgeable than the average consumer, is still mostly driven by hearsay.

The number of people with enough knowledge to actually make a real data driven choice is probably much less than 0.0001% of people, and that's far from average. I'm not one of them, but I can look at the systems often affected, make some assumptions about how many people know enough about them to speak usefully on risks they actually have, and do some napkin statistics to know almost nobody else is either, even here.

It's easy to call out the average consumer, but truthfully, the last time you bought a phone or computer, how deeply did you analyze the actual security considerations to do with the different aspects of the system, and how much did you rely on what some site told you, trusted recommendations, what you already preferred, and your hunch was which was better? How many millions of lines of code are involved in these systems now? How could you, or any of us actually do anything other than that?

Re:Google, Xiaomi, and Huawei affected by zero-day flaw that... by pnako on Sunday October 06, 2019 @12:29AM (#21169830)
>If I were an average consumer

If you were, you would behave like one, i.e. not care that much (if at all) about security. What you are saying is "I do care about my device being secure".

Re:Google, Xiaomi, and Huawei affected by zero-day flaw that... by kuzimoto on Sunday October 06, 2019 @12:40AM (#21169853)
Yes, I suppose that's true. I should have worded it differently.

Perhaps, the average person would be more upset/notice if they were negatively impacted as the result of a security issue, than if some feature, e.g. real time audio were missing, which I'm sure no one would even notice.

Re:Google, Xiaomi, and Huawei affected by zero-day flaw that... by girvo on Sunday October 06, 2019 @04:28AM (#21170598)
You’d think no one would notice real time audio being missing on android devices, but that discounts the huge amount of music creation thats done on mobile platforms these days. It’s a way bigger market than you’d think!
Re:Google, Xiaomi, and Huawei affected by zero-day flaw that... by pjmlp on Sunday October 06, 2019 @06:12AM (#21171026)
Security should indeed come before anything else.

If you're system gets p0wned there is hardly any audio to play.

macOS, iOS and Windows security improvements, while being the musicians choice for real time audio, show it is possible to put security first, while offering a good audio stack.

Re:Google, Xiaomi, and Huawei affected by zero-day flaw that... by zzzcpan on Sunday October 06, 2019 @06:34AM (#21171111)
Security is always in service of something, not the other way around. The highest point for security is coming together with something side by side, but not before it.
Re:Google, Xiaomi, and Huawei affected by zero-day flaw that... by pjmlp on Sunday October 06, 2019 @06:56AM (#21171207)
That is how languages like C or JavaScript get adoption.
Re:Google, Xiaomi, and Huawei affected by zero-day flaw that... by jodrellblank on Sunday October 06, 2019 @12:55AM (#21169900)
It’s “telling” of what exactly?

Linux distributions make up the majority of public web and database servers and approximately none of the real-time audio players, is that not a “particular reason” to prioritise security over real-time audio?

Re:Google, Xiaomi, and Huawei affected by zero-day flaw that... by pnako on Sunday October 06, 2019 @02:09AM (#21170141)
I'm not saying that Linux should neglect security, but there is no reason for it to be above anything else. People who care about security can look at systems that are more focused, like OpenBSD.
Re:Google, Xiaomi, and Huawei affected by zero-day flaw that... by posix_me_less on Sunday October 06, 2019 @05:42AM (#21170913)
Agreed on fair prioritization, but most people care about Linux security, because that is the major platform. OpenBSD is an obscure platform that is not an option for massive majority of users, and no phone uses it.