Status Update
Comments
ja...@gmail.com <ja...@gmail.com> #2
Also is it possible to attach the patch to this bug report so we can see what is involved on the clang side?
ed...@gmail.com <ed...@gmail.com> #3
In the past (e.g. when Intel disclosed LVI) our approach was to have patches ready to go and pre-reviewed by appropriate (and appropriately read-in) code owners but not post the patches "for real" until the embargo lifted. Usually this was part of a larger comms strategy where announcements were made in other forums.
Is there an entity beyond security@kernel.org that's coordinating this disclosure?
[Deleted User] <[Deleted User]> #4
di...@apprekon.com <di...@apprekon.com> #5
* Aaron Ballman <aaron@aaronballman.com> (a code owner for clang who has already reviewed my patch off list)
* Craig Topper <craig.topper@gmail.com> (a code owner for the x86 backend who has already reviewed my patch off list)
x86 is the only confirmed architecture affected. ARM has confirmed they're not affected for their micro-architectures. Not all x86 micro-architectures are affected. Not seeing one particular x86 vendor represented in the LLVM Security Group is...concerning.
> Also is it possible to attach the patch to this bug report so we can see what is involved on the clang side?
Yes, but just note that the LLVM code is somewhat a giveaway of what's going on here. GCC has had a similar feature for years; they did not publish the patch under embargo but rather did so publicly back when various spectre and meltdown mitigations were being tested before the development of retpoline. The very first comment on the GCC mailing list was along the lines of "What is this?" I'd like to avoid that here if possible; the name of the game is to not spill the beans to too wide an audience prematurely. Doing so would lose LLVM their (lone) seat at the table for Linux kernel vulnerability disclosures such as this. So we need to be super careful about keeping this need to know.
> Is there an entity beyond security@kernel.org that's coordinating this disclosure?
The encrypted kernel mailing list I'm referring to that is coordinating is not that specific email address. It's more controlled than even that list and members of that list (security@kernel.org) aren't even considered need to know for this one. I don't know whether linux-distros@vs.openwall.org has even been contacted yet; the kernel patch set is up to ~45 patches and growing, and backports will be painful.
ib...@gmail.com <ib...@gmail.com> #12
ta...@gmail.com <ta...@gmail.com> #16
ro...@hicmobile.com <ro...@hicmobile.com> #17
d....@gmail.com <d....@gmail.com> #18
an...@google.com <an...@google.com>
ha...@gmail.com <ha...@gmail.com> #19
> is replacing ret with a jmp absolutely necessary
I think so; it might ultimately not be, but it is how Linux kernel developers have decided to mitigate the vulnerability for the time being. It's not my call though, I was just asked to implement -mfunction-return=/__attribute__((function_return(""))) like GCC has already had now for years. In order for clang to be useful as a drop in replacement for GCC, clang needs to match command line flag, function attribute, and codegen ABI frequently.
> my experience in other domains suggests that messing with the x86 call stack cache does pretty terrible things to performance.
Yep, the performance overhead of this isn't great for sure. An additional set of kernel patches are in the works to try to claw back some performance lost to this approach, but they're not pretty and haven't been vetted quite yet. Time will tell if this is the ultimate solution to this issue, but for now it's what we've got.
> If it is, do we know if this is actually x86 specific?
Not all x86 uArchs are effected. The exploit is specific to uArch's the speculate return addresses in a specific way, and how they behave under specific circumstances wrt. kernel vs userspace privilege boundaries. But there are at least two x86 vendors effected.
ARM commented that their micro architectures were not affected. I'm guessing that they can't vouch for their architectural licensees micro architectures though. That said, I can ask on the encrypted list about architectural licensees, and whether the reporters have tested other architectures or uArchs or contacted other vendors.
> zero-daying every other architecture is also not a super great outcome.
I agree but again it's not my call and there's no stopping the train now; regardless of my toolchain patch the embargo will lift July 12. The researchers that reported the vulnerability may not have access to every uArch under the sun, and I don't know who they have or have not contacted about this vulnerability.
That said, there are non-Linux-kernel vendors participating in the encrypted list IIUC. It might be worthwhile for security representatives at various organizations to get involved.
There's also other non-Linux operating system vendors on the linux-distros mailing list, which also has early access to embargo'd vuln reports+fixes:
FLOSS projects have a catch-22 of needing to develop mitigations behind closed doors, without publishing mitigations before embargo lift (similar to what we're doing here but for the toolchain). Those are the methods open source operating system developers have converged on, and made available to folks developing proprietary operating systems to participate in.
jo...@entitechsolutions.com <jo...@entitechsolutions.com> #20
sa...@gmail.com <sa...@gmail.com> #21
That said, it may be better to ask on the linux-distros list once the kernel mitigations are published there (I don't know if they are, please don't spill the beans otherwise!). Once the patches are public, I can point to any formal recommendations they may have.
But right now, it looks like Patch 10/45 addresses the x86 BPF JIT in the corresponding (and unpublished) Linux kernel patches.
My toolchain patch is orthogonal to the x86 BPF JIT. BPF programs aren't expected to be compiled with -mfunction-return, use __attribute__((function_return(""))), or rely on my compiler patch at all. BPF JIT backends may need to call the same runtime hooks that this toolchain patch generates jmps to, as provided by the runtime environment (in this case, the Linux kernel).
Also, it looks like work has started on backporting the kernel patches to the 5.18.y, 5.17.y, and 5.15.y branches of the LTS stable kernel tree.
(Not pushed publicly, just pointing where that tree is)
Requests have been made for 5.14.y and 4.19.y but it's not clear to me that work has started yet on those branches, or that it will. Distros shipping kernels based on older branches will be encouraged to move to something newer, and something based off LTS (as usual)(some distros DON'T use LTS).
ge...@gmail.com <ge...@gmail.com> #22
or...@gmail.com <or...@gmail.com> #23
I'm representing Rust here, and from what I gather these mitigations are only going to be needed by the Linux kernel. In that case there shouldn't be a need to make a security point release of rustc, as Rust is not yet used in mainline Linux. Is my reading here correct?
ch...@gmail.com <ch...@gmail.com> #24
For the time being, yes. Other operating systems may choose to mitigate the issue similarly, or not at all. I guess there could be another OS, written in Rust, that wants to mitigate the issue using this feature. But I'd perhaps wait for such a feature request from such theoretical developers if such a scenario exists.
> there shouldn't be a need to make a security point release of rustc, as Rust is not yet used in mainline Linux
The rust-for-linux folks might be interested in this eventually, but rustc would need feature development since the LLVM IR function attributes added here are controlled by command line flags and function attributes from clang and the C/C++ code respectively. Rust support isn't in the kernel yet, though I am hopeful it will be, and have been providing review upstream on their patch series.
So without the corresponding front end work to rustc, rolling my llvm+clang change out in a point release wouldn't be useful at this time, IMO.
an...@gmail.com <an...@gmail.com> #25
fo...@google.com <fo...@google.com> #26
Thanks for checking, our Rust team had pretty much the exact same question.
> zero-daying every other architecture is also not a super great outcome.
So I reached out to ARM folks on the encrypted mailing list, as well as the reporters. I heard back from both.
ARM re-iterated that they cannot comment on competing uArch implementations. They recommended the researchers contact Apple directly. ARM mentioned they do "brief" architectural licensees, but don't necessarily share the researchers' whitepaper. They also mentioned the same mailing lists be joined that I mentioned in
This is second hand paraphrasing from me though; I don't speak on behalf of ARM in any capacity.
The researchers mentioned they have not tested their exploit on m1/m2 macs, or researched other architectures.
or...@onigroup.com.au <or...@onigroup.com.au> #27
nm...@gmail.com <nm...@gmail.com> #28
iMessage is secure, I worked on the crypto myself, trust me :D
an...@zweischneider.de <an...@zweischneider.de> #29
- ohunt@apple.com
- oliver@nerget.com
Otherwise, I believe their email address is:
Johannes Wikner <kwikner@ethz.ch>
ta...@gmail.com <ta...@gmail.com> #30
If someone from Google knows, would they be able to?
n....@gmail.com <n....@gmail.com> #31
ma...@gmail.com <ma...@gmail.com> #32
nm...@gmail.com <nm...@gmail.com> #33
I'll hand you our paper and the pocs we made for Intel (Skylake-like), AMD (fam 17h, but likely 15h,16h,18h too) and ARM ThunderX2. As you will find, however, we don't mention ARM at all in the paper. The only ARM machine we have in our lab is a ThunderX2, and it seems to be vulnerable to all kinds of BTI Spectres under this user--kernel threat model. Because these CPUs don't seem have (or use?) the necessary SMC workaround or CSV2 feature, we assumed that they could not be representative for ARM.
As for the AMD and Intel ones, the end-to-end exploits are made specifically for the kernel build we carried out the research on, which was the latest ubuntu/focal kernel available at the time (5.8.0-63-generic).
ni...@gmail.com <ni...@gmail.com> #34
[Deleted User] <[Deleted User]> #35
[Deleted User] <[Deleted User]> #36
I'd be ok with keeping this thread embargoed until we have a confirmation from Oliver that we would not be zero-daying Apple.
st...@gmail.com <st...@gmail.com> #37
ta...@gmail.com <ta...@gmail.com> #38
Given above messages, and more than a week with no objections, I'm derestricting.
se...@seanhoyt.com <se...@seanhoyt.com> #39
mi...@google.com <mi...@google.com> #40
an...@gmail.com <an...@gmail.com> #41
br...@gmail.com <br...@gmail.com> #43
[Deleted User] <[Deleted User]> #44
ta...@gmail.com <ta...@gmail.com> #45
th...@gmail.com <th...@gmail.com> #46
al...@gmail.com <al...@gmail.com> #47
da...@saluteanalytics.com <da...@saluteanalytics.com> #48
er...@gmail.com <er...@gmail.com> #50
wa...@gmail.com <wa...@gmail.com> #52
jt...@gmail.com <jt...@gmail.com> #53
A must have. The info is there, should be simple to expose it.
This is actually a deal breaker for me, since this is crucial part of what I need.
[Deleted User] <[Deleted User]> #54
mi...@gmail.com <mi...@gmail.com> #55
he...@gmail.com <he...@gmail.com> #56
be...@gmail.com <be...@gmail.com> #57
From that standpoint the Foursquare API is superior and provides specific categories (+ icons) for each venue type
I would love for the Google Place API to provide similar info. The current Place Types list remains very high level, and an awful lot of venues' primary categories are filed as "point of interest". That's currently the single weakness of the API that is keeping us away from using it vs. Foursquare.
Considering that the Google My Business API already supports a much more specific list of place types than the Place API, it is hard to understand why the same list is not made available in the Place API.
ra...@gmail.com <ra...@gmail.com> #58
[Deleted User] <[Deleted User]> #59
da...@gmail.com <da...@gmail.com> #60
an...@gmail.com <an...@gmail.com> #61
ta...@gmail.com <ta...@gmail.com> #62
sh...@gmail.com <sh...@gmail.com> #63
ti...@gmail.com <ti...@gmail.com> #64
Two years have passed but nothing.
Keep it up, google!
cr...@gmail.com <cr...@gmail.com> #65
em...@animalrights.se <em...@animalrights.se> #66
as...@gmail.com <as...@gmail.com> #67
hu...@gmail.com <hu...@gmail.com> #68
fe...@gmail.com <fe...@gmail.com> #69
wa...@umich.edu <wa...@umich.edu> #70
yo...@gmail.com <yo...@gmail.com> #71
[Deleted User] <[Deleted User]> #72
gc...@gmail.com <gc...@gmail.com> #73
dn...@gmail.com <dn...@gmail.com> #74
gr...@gmail.com <gr...@gmail.com> #75
pr...@gmail.com <pr...@gmail.com> #76
om...@gmail.com <om...@gmail.com> #77
ca...@gmail.com <ca...@gmail.com> #78
gb...@gmail.com <gb...@gmail.com> #79
[Deleted User] <[Deleted User]> #80
an...@gmail.com <an...@gmail.com> #81
[Deleted User] <[Deleted User]> #82
wc...@googlemail.com <wc...@googlemail.com> #83
ja...@noonan.co <ja...@noonan.co> #84
ch...@dailylemons.com <ch...@dailylemons.com> #85
el...@gmail.com <el...@gmail.com> #86
le...@gmail.com <le...@gmail.com> #88
iv...@google.com <iv...@google.com>
co...@gmail.com <co...@gmail.com> #89
10...@gmail.com <10...@gmail.com> #90
st...@google.com <st...@google.com>
[Deleted User] <[Deleted User]> #91
ar...@google.com <ar...@google.com>
kb...@gmail.com <kb...@gmail.com> #92
cr...@gmail.com <cr...@gmail.com> #93
le...@gmail.com <le...@gmail.com> #94
je...@gmail.com <je...@gmail.com> #95
Does anyone know how to find in any other API?
an...@gmail.com <an...@gmail.com> #96
ca...@gmail.com <ca...@gmail.com> #97
[Deleted User] <[Deleted User]> #98
je...@gmail.com <je...@gmail.com> #99
so...@mailchimp.intuit.com <so...@mailchimp.intuit.com> #100
jh...@gmail.com <jh...@gmail.com> #101
za...@net2phone.com <za...@net2phone.com> #103
ma...@gmail.com <ma...@gmail.com> #104
[Deleted User] <[Deleted User]> #105
ta...@gmail.com <ta...@gmail.com> #107
md...@gmail.com <md...@gmail.com> #108
yv...@gmail.com <yv...@gmail.com> #109
jo...@gmail.com <jo...@gmail.com> #110
so...@gmail.com <so...@gmail.com> #112
fa...@gmail.com <fa...@gmail.com> #113
vi...@perincherry.com <vi...@perincherry.com> #114
di...@gmail.com <di...@gmail.com> #115
In 5 years we've had 3 different messaging apps, but we can't get this basic functionality?!
er...@gmail.com <er...@gmail.com> #116
th...@gmail.com <th...@gmail.com> #117
oh...@melio.com <oh...@melio.com> #118
ma...@gmail.com <ma...@gmail.com> #119
rw...@gmail.com <rw...@gmail.com> #120
sm...@gmail.com <sm...@gmail.com> #122
sa...@gmail.com <sa...@gmail.com> #125
Otherwise we have to try via OSM.
lb...@gmail.com <lb...@gmail.com> #126
For example Kosher, Halal, vegan, ...
so...@gmail.com <so...@gmail.com> #127
+1
al...@gmail.com <al...@gmail.com> #128
cc...@gmail.com <cc...@gmail.com> #129
ja...@gmail.com <ja...@gmail.com> #130
ji...@gmail.com <ji...@gmail.com> #131
co...@gmail.com <co...@gmail.com> #132
Thanks.
ki...@gmail.com <ki...@gmail.com> #133
sk...@gmail.com <sk...@gmail.com> #134
ty...@gmail.com <ty...@gmail.com> #135
ch...@gmail.com <ch...@gmail.com> #136
ma...@googlemail.com <ma...@googlemail.com> #137
[Deleted User] <[Deleted User]> #138
[Deleted User] <[Deleted User]> #139
dr...@gmail.com <dr...@gmail.com> #140
le...@gmail.com <le...@gmail.com> #141
ag...@gmail.com <ag...@gmail.com> #142
1e...@gmail.com <1e...@gmail.com> #143
je...@gmail.com <je...@gmail.com> #144
al...@gmail.com <al...@gmail.com> #145
si...@gmail.com <si...@gmail.com> #146
da...@gmail.com <da...@gmail.com> #147
an...@gmail.com <an...@gmail.com> #148
sa...@gmail.com <sa...@gmail.com> #149
ro...@itomic.com.au <ro...@itomic.com.au> #150
lo...@gmail.com <lo...@gmail.com> #151
he...@hkmci.com <he...@hkmci.com> #152
Cloud you please help to add a business management consultant place type for our business?
We saw the business management consultant place type is available in Google Maps.
But We search for "synpulse hong kong limited" by Place AutoComplete API.
We only see both types "point_of_interest" and "establishment" from the Api's response.
Thanks for your help!
he...@hkmci.com <he...@hkmci.com> #153
We also want to request to add another cell phone store place type for our business.
We saw the cell phone store place type is also available in Google Maps.
But We search for "Chrisbanks Gsm Center" by Place AutoComplete API.
We saw there are three types "point_of_interest", "store", and "establishment" from the Api's response.
Thanks for your help!
at...@gmail.com <at...@gmail.com> #154
ab...@gmail.com <ab...@gmail.com> #155
ab...@gmail.com <ab...@gmail.com> #156
ab...@gmail.com <ab...@gmail.com> #157
yu...@gmail.com <yu...@gmail.com> #158
ab...@gmail.com <ab...@gmail.com> #159
[Deleted User] <[Deleted User]> #160
ch...@gmail.com <ch...@gmail.com> #161
jo...@gmail.com <jo...@gmail.com> #162
sa...@gmail.com <sa...@gmail.com> #163
s....@thenormandygroup.com <s....@thenormandygroup.com> #164
ad...@gmail.com <ad...@gmail.com> #165
ro...@itomic.com.au <ro...@itomic.com.au> #166
me...@jonhmchan.com <me...@jonhmchan.com> #167
al...@gmail.com <al...@gmail.com> #168
ch...@gmail.com <ch...@gmail.com> #169
da...@gmail.com <da...@gmail.com> #170
ju...@gmail.com <ju...@gmail.com> #171
fi...@gmail.com <fi...@gmail.com> #172
please
za...@gmail.com <za...@gmail.com> #173
jo...@locktrust.com <jo...@locktrust.com> #174
from a food perspective.
category = sushi / steakhouse
ad...@wemangia.com <ad...@wemangia.com> #175
aj...@appscrip.co <aj...@appscrip.co> #176
ja...@gmail.com <ja...@gmail.com> #177
ad...@gmail.com <ad...@gmail.com> #178
vi...@gmail.com <vi...@gmail.com> #179
[Deleted User] <[Deleted User]> #180
[Deleted User] <[Deleted User]> #181
be...@gmail.com <be...@gmail.com> #182
dg...@ardi-tech.com <dg...@ardi-tech.com> #183
aa...@dime.io <aa...@dime.io> #184
jo...@locktrust.com <jo...@locktrust.com> #185
ph...@gmail.com <ph...@gmail.com> #186
jr...@vendasta.com <jr...@vendasta.com> #187
The google business profile category (seen on google maps) should be returned on the place details response!!! Why doesn't the place details response return the same categories as the locations get api????
d....@gmail.com <d....@gmail.com> #188
re...@codev.com <re...@codev.com> #189
ch...@cbsaunders.com <ch...@cbsaunders.com> #190
ja...@gmail.com <ja...@gmail.com> #191
st...@gmail.com <st...@gmail.com> #192
ka...@gmail.com <ka...@gmail.com> #193
lu...@gmail.com <lu...@gmail.com> #194
hu...@gmail.com <hu...@gmail.com> #195
gi...@planckresolution.com <gi...@planckresolution.com> #196
This is a major drawback of using google API. Please fix it ! Better later than never!
el...@dilish.app <el...@dilish.app> #197
be...@gmail.com <be...@gmail.com> #198
na...@mercadolivre.com <na...@mercadolivre.com> #199
ad...@gmail.com <ad...@gmail.com> #200
ts...@gmail.com <ts...@gmail.com> #201
pa...@gmail.com <pa...@gmail.com> #202
de...@applogist.com <de...@applogist.com> #203
ba...@gmail.com <ba...@gmail.com> #204
us...@gmail.com <us...@gmail.com> #205
mi...@navagis.com <mi...@navagis.com> #206
Need to find "Electric Vehicle Charging Stations"
ag...@und3fined.it <ag...@und3fined.it> #207
[Deleted User] <[Deleted User]> #208
da...@gmail.com <da...@gmail.com> #209
to...@gmail.com <to...@gmail.com> #210
ph...@gmail.com <ph...@gmail.com> #211
mi...@google.com <mi...@google.com> #212
We greatly appreciate your patience.
Detailed information about the primary type of each place, as displayed on Google Maps, is now available in
The new API introduces many
primaryTypeDisplayName
for the Place's primary type as a localized text string.primaryTypeName
for the Place's primary type, as it is found in thetypes
array.
In addition to this, includedTypes
or one or more includedPrimaryTypes
),
as well as excludedTypes
or one or more excludedPrimaryTypes
).
We believe this issue is now fixed, hence marking it as such.
Thanks for working with us!
lb...@gmail.com <lb...@gmail.com> #213
?
Can you please show examples of what can be fetched, of a real place?
mi...@google.com <mi...@google.com> #214
Re.
This includes a number of vegan_restaurant
, vegetarian_restaurant
and many more.
For example API requests and responses, see
lb...@gmail.com <lb...@gmail.com> #215
mi...@google.com <mi...@google.com> #216
Re.
lb...@gmail.com <lb...@gmail.com> #217
Anyway here:
wa...@gmail.com <wa...@gmail.com> #218
wa...@gmail.com <wa...@gmail.com> #219
The "next page token" field was used when the API returned more than 20 results.
Thanks!
ju...@searchmas.es <ju...@searchmas.es> #220
ma...@gmail.com <ma...@gmail.com> #221
ke...@gmail.com <ke...@gmail.com> #222
ju...@gmail.com <ju...@gmail.com> #223
mi...@google.com <mi...@google.com> #224
Reminder: this issue is closed and no longer monitored.
Re. "next page token" field, please see
For anything else, please
Description
Many Places have detailed information about the type of place that they are. For example, the Place below displays "Indian Restaurant".
It would be great to have this detailed place type information in the Search and Details responses!
*********************************************************
For developers viewing this issue: please click the 'star' icon to be
notified of future changes, and to let us know how many of you are
interested in seeing it resolved.
*********************************************************