open-vm-tools 10.3.10 released

Bug #1822204 reported by Oliver Kurth
14
This bug affects 1 person
Affects Status Importance Assigned to Milestone
open-vm-tools (Debian)
Fix Released
Unknown
open-vm-tools (Ubuntu)
Fix Released
Critical
Unassigned
Xenial
Won't Fix
Undecided
Unassigned
Bionic
Fix Released
Undecided
Unassigned
Cosmic
Fix Released
Undecided
Unassigned

Bug Description

[Impact]

 * Without SRUing the newer version users get issues running on more
   recent hypervisors - this is a case of [1] in the SRU policy.

 * Furthermore Upstream releases this as a collection of fixes which is
   usually worth to pick up.

 * This is not backporting a single fix, but the version of a latter
   Ubuntu release

[Test Case]

 * TL;DR is "use open-vm-tools" but that can be quite complex for the
   variety of potential Host versions.

 * VMWare itself took ownership of verifying these backports and will test
   the same bits from a PPA and the SRU for the official "ack"

 * We tried upgrading and the setup that I had available, everybody that
   has different setups is invited to test theirs.

 * In general I recommend to give this some extra time in -proposed to see
   if anybody comes up with issues on this.

[Regression Potential]

 * It is a new version which might contain new issues. This time a bit
   safer than the last one thou, as we have already backported some bigger
   changes between 10.3.5 -> 10.3.10 with individual SRUs so the remaining
   changes should be rather safe.

[Other Info]

 * This time this is only the MRE, no extra bugs (with extra
   test/verification descriptions) are associated.
 * As agreed back when processing bug 1741390 the real verification of
   open-vm-tools for having the proper test matrix and project ownership
   is on VMWare.

[1]: https://wiki.ubuntu.com/StableReleaseUpdates#Other_safe_cases

--- original bug on disco and later ---

We have released open-vm-tools 10.3.10.

open-vm-tools 10.3.10 is available for download from GitHub:

https://github.com/vmware/open-vm-tools/tree/stable-10.3.10

For more details and changes, please refer to the release notes at

https://github.com/vmware/open-vm-tools/blob/stable-10.3.10/ReleaseNotes.md

or the ChangeLog at:

https://github.com/vmware/open-vm-tools/blob/stable-10.3.10/open-vm-tools/ChangeLog

Also filed at Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=925940

Oliver

Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

Thanks Oliver, this will be to be considered for 19.10 then

Changed in open-vm-tools (Ubuntu):
status: New → Triaged
Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

Reviewing the changelog after talking to Bernd (thanks) I realized that there are security critical issues in there.

There is a security fix in it "Among others Fix possible security issue with the permissions of the intermediate staging directory and path"
[1]

But there are some further really bad things fixed like:
5f3f6ccd Fix NULL pointer dereference and remove three lines of dead code.

Since we are in Freeze but for critical cases can still reconsider it I'd want to do the following:
1. subscribe the release team and ping them if this could be synced into Disco still
   Actually i'll trigger the sync right away so it shows up as -unapproved as well.
2. subscribe -security to evaluate the severity of the issue to decide if we can wait for
   older releases for the next regular backport (planned towards the end of 19.10) or if we
   need/want to immediately work on those
   - subscribe security team

[1]: https://github.com/vmware/open-vm-tools/commit/e88f91b00a715b79255de6576506d80ecfdb064c

Changed in open-vm-tools (Ubuntu Xenial):
assignee: nobody → Ubuntu Security Team (ubuntu-security)
Changed in open-vm-tools (Ubuntu Bionic):
assignee: nobody → Ubuntu Security Team (ubuntu-security)
Changed in open-vm-tools (Ubuntu Cosmic):
assignee: nobody → Ubuntu Security Team (ubuntu-security)
Changed in open-vm-tools (Ubuntu):
importance: Undecided → Critical
Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

Ok, I see it in [1] disco-unapproved - up to the release team now to let it in (or not).

[1]: https://launchpad.net/ubuntu/disco/+queue?queue_state=1

Changed in open-vm-tools (Debian):
status: Unknown → Fix Released
Revision history for this message
Iain Lane (laney) wrote :

One request (not essential for now): In future, could you paste release notes into the bug so that I can see them without opening a link? :-)

One question (which I'd like to see on future requests please): I assume you've done testing, but could you state what you've done and that it worked OK please, for the record?

Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

Hi,
I try to remember the release notes, but my feeling here was they are too long for a bug description.

For testing I have formerly only talked with the Debian maintainer and it seemed good.

But to be sure on buildability and no major issues I have built it in a PPA [1] and installed as well as slightly tested it (the services are happy, but I'm not a power user) on a vmware guest. For the use cases I had it was fine.

[1]: https://launchpad.net/~paelzer/+archive/ubuntu/bug-1822204-open-vm-tools-10.3.10

Iain Lane (laney)
Changed in open-vm-tools (Ubuntu):
status: Triaged → Fix Released
Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

I talked to the security Team (Marc), they said for the SRU our usual timing is enough as there is a another layer of protection against those kind of attacks. Therefore the bug will stay open for a while unless discussed otherwise.

un-assigning the security Team for now, and thanks for the guidance

Changed in open-vm-tools (Ubuntu Xenial):
assignee: Ubuntu Security Team (ubuntu-security) → nobody
Changed in open-vm-tools (Ubuntu Bionic):
assignee: Ubuntu Security Team (ubuntu-security) → nobody
Changed in open-vm-tools (Ubuntu Cosmic):
assignee: Ubuntu Security Team (ubuntu-security) → nobody
Changed in open-vm-tools (Ubuntu Xenial):
status: New → Won't Fix
Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

open-vm-tools 11.0 will be too late this cycle (mid September), therefore in our "one MRE per cycle" approach to ensure the latest LTS stays up to match hypervisors we will backport 10.3.10 now.

description: updated
Changed in open-vm-tools (Ubuntu Bionic):
status: New → Triaged
Changed in open-vm-tools (Ubuntu Cosmic):
status: New → Triaged
Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

Pushed to SRU team review - once in proposed I'll get into contact with VMWare to verify it on those releases as well (as usual).

Revision history for this message
Steve Langasek (vorlon) wrote : Please test proposed package

Hello Oliver, or anyone else affected,

Accepted open-vm-tools into cosmic-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/open-vm-tools/2:10.3.10-1~ubuntu0.18.10.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested and change the tag from verification-needed-cosmic to verification-done-cosmic. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-cosmic. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Changed in open-vm-tools (Ubuntu Cosmic):
status: Triaged → Fix Committed
tags: added: verification-needed verification-needed-cosmic
Changed in open-vm-tools (Ubuntu Bionic):
status: Triaged → Fix Committed
tags: added: verification-needed-bionic
Revision history for this message
Steve Langasek (vorlon) wrote :

Hello Oliver, or anyone else affected,

Accepted open-vm-tools into bionic-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/open-vm-tools/2:10.3.10-1~ubuntu0.18.04.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested and change the tag from verification-needed-bionic to verification-done-bionic. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-bionic. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Revision history for this message
Oliver Kurth (okurth-1) wrote :

Thank you. I have notified our testing team to take care of this.

Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

Thanks Oliver!
Waiting for their reply then ...

Revision history for this message
vmware-gos-Yuhua (yhzou) wrote :

open-vm-tools 10.3.10 from -proposed works well in Ubuntu 18.04 Desktop and ubuntu 18.10 Server

1. Sanity Check from -proposed in Ubuntu 18.04 desktop:
  1) install/upgrade/uninstall open-vm-tools
  2) install /uninstall open-vm-tools-desktop
  3) check tools service and VGAuth service
  4) check tools service and VGAuth service after reboot VM
  5) check guestInfo with esxi command

2. Sanity Check from -proposed in In ubuntu 18.10 Sever

  1) install/upgrade/uninstall open-vm-tools
  2) check tools service and VGAuth service
  3) check tools service and VGAuth service after reboot VM
  4) check guestInfo with esxi command

Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

Thanks Yuhua for pushing that through your tests.
Marking as verified

tags: added: verification-done verification-done-bionic verification-done-cosmic
removed: verification-needed verification-needed-bionic verification-needed-cosmic
Revision history for this message
Łukasz Zemczak (sil2100) wrote : Update Released

The verification of the Stable Release Update for open-vm-tools has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package open-vm-tools - 2:10.3.10-1~ubuntu0.18.04.1

---------------
open-vm-tools (2:10.3.10-1~ubuntu0.18.04.1) bionic; urgency=medium

  * Backport recent open-vm-tools (LP: #1822204)

open-vm-tools (2:10.3.10-1) unstable; urgency=high

  * [122e511] Update upstream source from tag 'upstream/10.3.10'
    Update to upstream version '10.3.10'
    with Debian dir fb12c7cfc99a9497795475c29306e78d08cc3712
    - Closes: #925940
    - Bugfix release for the 10.3 series.
      - Correct and/or improve handling of certain quiesced
        snapshot failures (shipped as patch in 2:10.3.5-6).
      - Fix some bad derefs in primary NIC gather code
      - Fix possible security issue with the permissions of the
        intermediate staging directory and path.
        Closes: #925959
      - CONSTANT_EXPRESSION_RESULT in TimeUtil_StringToDate()
        Found by coverity.
      - Deploypkg log files of linux should not be world readable.
        They might contain sensitive data.
      - General code clean-up:
        - Treat local variables "len" consistently as "size_t"
          type in Posix_Getmntent_r()
        - Improve readability of error handling logic in
          ShrinkDoWipeAndShrink() and remove another line of dead code.
        - Setting "errno" to ENOENT when there is no passwd entry
          for the user.
      - Fix NULL pointer dereference and remove three lines of dead code.
    - Other changes/fixes, not related to Debian:
      - Update copyright years
      - Fix CentOS 7.6 detection
      - Include vmware/tools/log.h to define g_info (fix for SLES)
      - Special-case profile loading for StartProgram
        (Win32 only)
      - Changes to common source files not applicable to
        open-vm-tools. (Code used by other vmware tools, unrelated
        to open-vm-tools).
      - Bump up the SYSIMAGE_VERSION for VMware tools 10.3.10

  * [18de70f] Removing backported patches, shipped in 10.3.10.

open-vm-tools (2:10.3.5-8) unstable; urgency=medium

  [ Jean-Baptiste Lallement ]
  * [0f35aee] Add modaliases to open-vm-tools-desktop.
    Added Modaliases to open-vm-tools-desktop to auto-discover and
    auto-install the driver on Ubuntu via ubuntu-drivers. The driver is then
    installed at installation time and available on first boot for an
    improved user experience (LP: #1819207)

  [ Bernd Zeimetz ]
  * [dc4e1ce] Load vmwgfx module before vmtoolsd starts.
    As discussed on github in vmware/open-vm-tools#214
    we need to load the vmwgfx module before starting vmtoolsd
    for desktop users. Otherwise it is not able to retrieve the KMS
    resolutions and resizing the VM desktop fails.
    Thanks to @thomashvmw @rhertzog (Closes: #924518)

 -- Christian Ehrhardt <email address hidden> Tue, 14 May 2019 09:07:32 +0200

Changed in open-vm-tools (Ubuntu Bionic):
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package open-vm-tools - 2:10.3.10-1~ubuntu0.18.10.1

---------------
open-vm-tools (2:10.3.10-1~ubuntu0.18.10.1) cosmic; urgency=medium

  * Backport recent open-vm-tools (LP: #1822204)

open-vm-tools (2:10.3.10-1) unstable; urgency=high

  * [122e511] Update upstream source from tag 'upstream/10.3.10'
    Update to upstream version '10.3.10'
    with Debian dir fb12c7cfc99a9497795475c29306e78d08cc3712
    - Closes: #925940
    - Bugfix release for the 10.3 series.
      - Correct and/or improve handling of certain quiesced
        snapshot failures (shipped as patch in 2:10.3.5-6).
      - Fix some bad derefs in primary NIC gather code
      - Fix possible security issue with the permissions of the
        intermediate staging directory and path.
        Closes: #925959
      - CONSTANT_EXPRESSION_RESULT in TimeUtil_StringToDate()
        Found by coverity.
      - Deploypkg log files of linux should not be world readable.
        They might contain sensitive data.
      - General code clean-up:
        - Treat local variables "len" consistently as "size_t"
          type in Posix_Getmntent_r()
        - Improve readability of error handling logic in
          ShrinkDoWipeAndShrink() and remove another line of dead code.
        - Setting "errno" to ENOENT when there is no passwd entry
          for the user.
      - Fix NULL pointer dereference and remove three lines of dead code.
    - Other changes/fixes, not related to Debian:
      - Update copyright years
      - Fix CentOS 7.6 detection
      - Include vmware/tools/log.h to define g_info (fix for SLES)
      - Special-case profile loading for StartProgram
        (Win32 only)
      - Changes to common source files not applicable to
        open-vm-tools. (Code used by other vmware tools, unrelated
        to open-vm-tools).
      - Bump up the SYSIMAGE_VERSION for VMware tools 10.3.10

  * [18de70f] Removing backported patches, shipped in 10.3.10.

open-vm-tools (2:10.3.5-8) unstable; urgency=medium

  [ Jean-Baptiste Lallement ]
  * [0f35aee] Add modaliases to open-vm-tools-desktop.
    Added Modaliases to open-vm-tools-desktop to auto-discover and
    auto-install the driver on Ubuntu via ubuntu-drivers. The driver is then
    installed at installation time and available on first boot for an
    improved user experience (LP: #1819207)

  [ Bernd Zeimetz ]
  * [dc4e1ce] Load vmwgfx module before vmtoolsd starts.
    As discussed on github in vmware/open-vm-tools#214
    we need to load the vmwgfx module before starting vmtoolsd
    for desktop users. Otherwise it is not able to retrieve the KMS
    resolutions and resizing the VM desktop fails.
    Thanks to @thomashvmw @rhertzog (Closes: #924518)

 -- Christian Ehrhardt <email address hidden> Tue, 14 May 2019 09:05:46 +0200

Changed in open-vm-tools (Ubuntu Cosmic):
status: Fix Committed → Fix Released
Revision history for this message
Maher AlAsfar (malasfar) wrote :

folks how can i update to open-vm-tools 10.3.10 ... when installing Ubuntu i only get version 10.2.0 and there is no online updates

thanks

Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

Hi Maher, in general all those questions/reports would be new bugs as it is not reopening or advancing this old bug. Giving you an answer now, but for the future it would be great if you could open new bugs for those.

It depends on the Ubuntu version you are at.
SRU [1] releases are always a tradeoff between the improved features/security vs the potential regressions - especially if we are not talking abotu single bug fixes but full version upgrades. Due to that together with VMWare we decided a while ago to backport the most recent open-vm-tools back to the latest LTS but then keep them frozen except for individual bugfixes.

Due to that you have:
>=Bionic (latest LTS) all on 10.3.10
Xenial: frozen at 10.2

If you really need a version >10.2 you should upgrade your system to Ubuntu 18.04 or later.

[1]: https://wiki.ubuntu.com/StableReleaseUpdates

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.