Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Qubes Security Bulletin #2
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  18 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Joanna Rutkowska  
View profile  
 More options Jun 12 2012, 8:13 am
From: Joanna Rutkowska <joa...@invisiblethingslab.com>
Date: Tue, 12 Jun 2012 14:13:09 +0200
Local: Tues, Jun 12 2012 8:13 am
Subject: Qubes Security Bulletin #2

        ---===[ Qubes Security Bulletin #2 ]===---

Problem description
--------------------

Today Xen.org has announced a critical bug in the Xen hypervisor [1],
that allows for PV DomU->hypervisor escalation. The bug has been found,
as usual, by Rafal Wojtczuk, Qubes co-author, and is a beautiful
demonstration of incorrect design decisions made by Intel, specifically
in the behavior of the SYSRET instruction (AMD processors are not
vulnerable).

So, while the bug has been patched in software by adding some extra
checks to the hypervisor (Xen.org just released a patch), one should
still consider it a CPU-level bug. The issue also affects other systems,
not just Xen (more details in the original advisory). Congrats to Rafal
for coming unprecedentedly close to "The Holly Grail" of system-level
exploitation!

Patching
----------

We have uploaded the patched Xen packages and users of current Qubes
Beta 3 should upgrade immediately, by running (in Dom0 console):

sudo qubes-dom0-updates

... which should bring Xen v4.1.2-4 packages that are immune to the
attack. Please reboot your systems afterwards.

References
------------

1) The official Xen.org advisory:
http://lists.xen.org/archives/html/xen-devel/2012-06/msg00670.html

2) A complete list of all Qubes Security bulletins (2010-2012):
http://wiki.qubes-os.org/trac/wiki/SecurityBulletins

Thanks,
joanna.

  signature.asc
< 1K Download

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Gynvael Coldwind  
View profile  
 More options Jun 12 2012, 8:21 am
From: Gynvael Coldwind <gynv...@coldwind.pl>
Date: Tue, 12 Jun 2012 14:21:52 +0200
Local: Tues, Jun 12 2012 8:21 am
Subject: Re: [qubes-devel] Qubes Security Bulletin #2
Great find - good work! :)

Are you going to be releasing more details about this?

On Tue, Jun 12, 2012 at 2:13 PM, Joanna Rutkowska

--
gynvael.coldwind//vx

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Zrubecz Laszlo  
View profile  
 More options Jun 12 2012, 1:21 pm
From: Zrubecz Laszlo <m...@zrubi.hu>
Date: Tue, 12 Jun 2012 19:21:16 +0200
Local: Tues, Jun 12 2012 1:21 pm
Subject: Re: [qubes-devel] Qubes Security Bulletin #2
On 12 June 2012 14:13, Joanna Rutkowska <joa...@invisiblethingslab.com> wrote:

> Patching
> ----------

> We have uploaded the patched Xen packages and users of current Qubes
> Beta 3 should upgrade immediately, by running (in Dom0 console):

> sudo qubes-dom0-updates

Am I missed something?:
"bash: qubes-dom0-updates: command not found"

Instead I have qvm-dom0-update - but it is said: "No updates avaliable"

--
Zrubi


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Joanna Rutkowska  
View profile  
 More options Jun 12 2012, 4:12 pm
From: Joanna Rutkowska <joa...@invisiblethingslab.com>
Date: Tue, 12 Jun 2012 22:12:12 +0200
Local: Tues, Jun 12 2012 4:12 pm
Subject: Re: [qubes-devel] Qubes Security Bulletin #2

On 06/12/12 19:21, Zrubecz Laszlo wrote:

> On 12 June 2012 14:13, Joanna Rutkowska <joa...@invisiblethingslab.com> wrote:
>> > Patching
>> > ----------

>> > We have uploaded the patched Xen packages and users of current Qubes
>> > Beta 3 should upgrade immediately, by running (in Dom0 console):

>> > sudo qubes-dom0-updates
> Am I missed something?:
> "bash: qubes-dom0-updates: command not found"

Ah, indeed, qubes-dom0-update has been introduced after Beta3 (and is
available only in the current-testing branch), so, yes, please use
qvm-dom0-update instead...

> Instead I have qvm-dom0-update - but it is said: "No updates avaliable"

Hm... that's strange. What qubes-* packages versions do you have?

rpm -qa | grep ^qubes

?

  signature.asc
< 1K Download

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Marek Marczykowski  
View profile  
 More options Jun 12 2012, 4:31 pm
From: Marek Marczykowski <marma...@invisiblethingslab.com>
Date: Tue, 12 Jun 2012 22:31:29 +0200
Local: Tues, Jun 12 2012 4:31 pm
Subject: Re: [qubes-devel] Qubes Security Bulletin #2

On 12.06.2012 22:12, Joanna Rutkowska wrote:

Perhaps you have cached metadata from some time before publishing fix. You can
try:
qvm-dom0-update --clean

Or just wait some time (for qubes-dom0-current repo, metadata_expire is set to
7 days...).

--
Best Regards / Pozdrawiam,
Marek Marczykowski
Invisible Things Lab

  signature.asc
< 1K Download

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Zrubecz Laszlo  
View profile  
 More options Jun 12 2012, 6:38 pm
From: Zrubecz Laszlo <m...@zrubi.hu>
Date: Wed, 13 Jun 2012 00:38:27 +0200
Local: Tues, Jun 12 2012 6:38 pm
Subject: Re: [qubes-devel] Qubes Security Bulletin #2
On 12 June 2012 22:31, Marek Marczykowski

<marma...@invisiblethingslab.com> wrote:
> Perhaps you have cached metadata from some time before publishing fix. You can
> try:
> qvm-dom0-update --clean

It is not helped... still: "No updates avaliable"

--
Zrubi


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Marek Marczykowski  
View profile  
 More options Jun 12 2012, 8:34 pm
From: Marek Marczykowski <marma...@invisiblethingslab.com>
Date: Wed, 13 Jun 2012 02:34:00 +0200
Subject: Re: [qubes-devel] Qubes Security Bulletin #2

On 13.06.2012 00:38, Zrubecz Laszlo wrote:

> On 12 June 2012 22:31, Marek Marczykowski
> <marma...@invisiblethingslab.com> wrote:
>> Perhaps you have cached metadata from some time before publishing fix. You can
>> try:
>> qvm-dom0-update --clean

> It is not helped... still: "No updates avaliable"

Ah, in the meantime our release signing key expired (in March), we now use new
key. Updates signatures are verified while fetched to dom0, so because you
haven't new key, verification fails.
You need to update qubes-release package first (signed still by old key) and
then the rest of updates:

sudo qvm-dom0-update --clean qubes-release
sudo qvm-dom0-update --clean

--
Best Regards / Pozdrawiam,
Marek Marczykowski
Invisible Things Lab

  signature.asc
< 1K Download

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Zrubecz Laszlo  
View profile  
 More options Jun 13 2012, 3:18 am
From: Zrubecz Laszlo <m...@zrubi.hu>
Date: Wed, 13 Jun 2012 09:18:32 +0200
Local: Wed, Jun 13 2012 3:18 am
Subject: Re: [qubes-devel] Qubes Security Bulletin #2
On 13 June 2012 02:34, Marek Marczykowski

<marma...@invisiblethingslab.com> wrote:
> sudo qvm-dom0-update --clean qubes-release
> sudo qvm-dom0-update --clean

Now that's working... Update was successfull :)

Maybe we need some update on related the wiki pagea s well:
http://wiki.qubes-os.org/trac/wiki/SoftwareUpdateDom0

Thanks.

--
Zrubi


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Daniel Cegiełka  
View profile  
 More options Jun 13 2012, 7:07 am
From: Daniel Cegiełka <daniel.cegie...@gmail.com>
Date: Wed, 13 Jun 2012 13:07:39 +0200
Local: Wed, Jun 13 2012 7:07 am
Subject: Re: [qubes-devel] Qubes Security Bulletin #2
 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Zrubecz Laszlo  
View profile  
 More options Jun 14 2012, 7:35 am
From: Zrubecz Laszlo <m...@zrubi.hu>
Date: Thu, 14 Jun 2012 13:35:44 +0200
Local: Thurs, Jun 14 2012 7:35 am
Subject: Re: [qubes-devel] Qubes Security Bulletin #2
On 13 June 2012 09:18, Zrubecz Laszlo <m...@zrubi.hu> wrote:

> On 13 June 2012 02:34, Marek Marczykowski
> <marma...@invisiblethingslab.com> wrote:
>> sudo qvm-dom0-update --clean qubes-release
>> sudo qvm-dom0-update --clean

> Now that's working... Update was successfull :)

Somthing wrong... after Updated my system already got a full system
freeze 3 times now :(

I had 2 kind of freeze:

* instant hard reset
No logs, no error messages just a hard reset and qubes reboots...

* screen freeze
I can see my last 'screenshot' but my system not respondst to any kind
of input - just the  power button (4 sec and hard off)
No logs, no error messages.

all these are random, and I can't reproduce it...  Ther was no problem
at all befor the upgrade...

Any idea how can I solve this?

--
Zrubi


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Joanna Rutkowska  
View profile  
 More options Jun 14 2012, 7:46 am
From: Joanna Rutkowska <joa...@invisiblethingslab.com>
Date: Thu, 14 Jun 2012 13:46:29 +0200
Local: Thurs, Jun 14 2012 7:46 am
Subject: Re: [qubes-devel] Qubes Security Bulletin #2

On 06/14/12 13:35, Zrubecz Laszlo wrote:

And which packages the update brought to your system? Perhaps also some
new Dom0 kernel(s)? Are you sure you still use the same Dom0 kernel as
before?

joanna.

  signature.asc
< 1K Download

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Zrubecz Laszlo  
View profile  
 More options Jun 14 2012, 8:02 am
From: Zrubecz Laszlo <m...@zrubi.hu>
Date: Thu, 14 Jun 2012 14:02:28 +0200
Local: Thurs, Jun 14 2012 8:02 am
Subject: Re: [qubes-devel] Qubes Security Bulletin #2
On 14 June 2012 13:46, Joanna Rutkowska <joa...@invisiblethingslab.com> wrote:

> And which packages the update brought to your system? Perhaps also some
> new Dom0 kernel(s)? Are you sure you still use the same Dom0 kernel as
> before?

not sure... but also not sure which packages contains the dom0 kernel...

These packages was updated:

Jun 13 07:39:22 Updated: qubes-release-1-3.noarch
Jun 13 07:41:14 Updated: 1000:xen-hypervisor-4.1.2-4.qubes.x86_64
Jun 13 07:41:15 Updated: 1000:xen-licenses-4.1.2-4.qubes.x86_64
Jun 13 07:41:17 Updated: 1000:xen-libs-4.1.2-4.qubes.x86_64
Jun 13 07:41:21 Updated: 1000:xen-runtime-4.1.2-4.qubes.x86_64
Jun 13 07:41:23 Updated: 1000:xen-4.1.2-4.qubes.x86_64

--
Zrubi


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Zrubecz Laszlo  
View profile  
 More options Jun 14 2012, 8:27 am
From: Zrubecz Laszlo <m...@zrubi.hu>
Date: Thu, 14 Jun 2012 14:27:24 +0200
Local: Thurs, Jun 14 2012 8:27 am
Subject: Re: [qubes-devel] Qubes Security Bulletin #2

> These packages was updated:

> Jun 13 07:39:22 Updated: qubes-release-1-3.noarch
> Jun 13 07:41:14 Updated: 1000:xen-hypervisor-4.1.2-4.qubes.x86_64
> Jun 13 07:41:15 Updated: 1000:xen-licenses-4.1.2-4.qubes.x86_64
> Jun 13 07:41:17 Updated: 1000:xen-libs-4.1.2-4.qubes.x86_64
> Jun 13 07:41:21 Updated: 1000:xen-runtime-4.1.2-4.qubes.x86_64
> Jun 13 07:41:23 Updated: 1000:xen-4.1.2-4.qubes.x86_64

And it seems the kernel is the same:
2.6.38.3-10.xenlinux.qubes.x86_64

--
Zrubi


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Joanna Rutkowska  
View profile  
 More options Jun 14 2012, 8:57 am
From: Joanna Rutkowska <joa...@invisiblethingslab.com>
Date: Thu, 14 Jun 2012 14:57:20 +0200
Local: Thurs, Jun 14 2012 8:57 am
Subject: Re: [qubes-devel] Qubes Security Bulletin #2

On 06/14/12 13:35, Zrubecz Laszlo wrote:

Perhaps the problems were introduced by this commit:

http://git.qubes-os.org/?p=joanna/xen.git;a=commit;h=c83b66efe6b73809...

In order to rule this out, can you please try to downgrade your xen
packages to 4.1.2-3? See the wiki[1] for howto on downgrading.

[1] http://wiki.qubes-os.org/trac/wiki/SoftwareUpdateDom0

If that doesn't help, then the problem is most likely caused by switch
from Xen 4.1.1 (that was default in Beta 3) and 4.1.2 that we switched
to later, as can be seen in the repo. In that case, well... you're out
of luck, and you would need to debug the issue with the help of
xen-devel people... :/

joanna.

  signature.asc
< 1K Download

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Zrubecz Laszlo  
View profile  
 More options Jun 14 2012, 12:09 pm
From: Zrubecz Laszlo <m...@zrubi.hu>
Date: Thu, 14 Jun 2012 18:09:02 +0200
Local: Thurs, Jun 14 2012 12:09 pm
Subject: Re: [qubes-devel] Qubes Security Bulletin #2
On 14 June 2012 14:57, Joanna Rutkowska <joa...@invisiblethingslab.com> wrote:

> In order to rule this out, can you please try to downgrade your xen
> packages to 4.1.2-3? See the wiki[1] for howto on downgrading.

Just did it...

now waiting for the crash - hopefully this wil not happen :)

--
Zrubi


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Marek Marczykowski  
View profile  
 More options Jun 14 2012, 3:59 am
From: Marek Marczykowski <marma...@invisiblethingslab.com>
Date: Thu, 14 Jun 2012 09:59:51 +0200
Local: Thurs, Jun 14 2012 3:59 am
Subject: Re: [qubes-devel] Qubes Security Bulletin #2

On 14.06.2012 18:09, Zrubecz Laszlo wrote:

> On 14 June 2012 14:57, Joanna Rutkowska <joa...@invisiblethingslab.com> wrote:
>> In order to rule this out, can you please try to downgrade your xen
>> packages to 4.1.2-3? See the wiki[1] for howto on downgrading.

> Just did it...

> now waiting for the crash - hopefully this wil not happen :)

You can also compare dom0 kernel output from different xen versions (original
4.1.1, new 4.1.2 and old 4.1.2) - perhaps it differs somehow in active kernel
features. You can find it in /var/log/dmesg (current), dmesg.old (previous)
and /var/log/messages (all together).

--
Best Regards / Pozdrawiam,
Marek Marczykowski
Invisible Things Lab

  signature.asc
< 1K Download

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Zrubecz Laszlo  
View profile  
 More options Jun 15 2012, 5:08 am
From: Zrubecz Laszlo <m...@zrubi.hu>
Date: Fri, 15 Jun 2012 11:08:35 +0200
Local: Fri, Jun 15 2012 5:08 am
Subject: Re: [qubes-devel] Qubes Security Bulletin #2

On 14 June 2012 14:57, Joanna Rutkowska <joa...@invisiblethingslab.com>wrote:

> If that doesn't help, then the problem is most likely caused by switch
> from Xen 4.1.1 (that was default in Beta 3) and 4.1.2 that we switched
> to later, as can be seen in the repo. In that case, well... you're out
> of luck, and you would need to debug the issue with the help of
> xen-devel people... :/

Well, It is happened again with 4.1.2-3 as well :(

Now reverted back to 4.1.1 to be sure this was the reason... Unfortunatelly
i do not have time for such debugging right now :(

--
Zrubi


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Zrubecz Laszlo  
View profile  
 More options Jun 15 2012, 5:10 am
From: Zrubecz Laszlo <m...@zrubi.hu>
Date: Fri, 15 Jun 2012 11:10:01 +0200
Local: Fri, Jun 15 2012 5:10 am
Subject: Re: [qubes-devel] Qubes Security Bulletin #2

On 14 June 2012 09:59, Marek Marczykowski
<marma...@invisiblethingslab.com>wrote:

> You can also compare dom0 kernel output from different xen versions
> (original
> 4.1.1, new 4.1.2 and old 4.1.2) - perhaps it differs somehow in active
> kernel
> features. You can find it in /var/log/dmesg (current), dmesg.old (previous)
> and /var/log/messages (all together).

Just diffed the 3 xen version dmesg's - but no significant diff beside the
memory mappings...

--
Zrubi


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »