This bug was fixed in the package linux-aws - 5.4.0-1051.53

---------------
linux-aws (5.4.0-1051.53) focal; urgency=medium

  [ Ubuntu: 5.4.0-77.86 ]

  * UAF on CAN J1939 j1939_can_recv (LP: #1932209)
    - SAUCE: can: j1939: delay release of j1939_priv after synchronize_rcu
  * UAF on CAN BCM bcm_rx_handler (LP: #1931855)
    - SAUCE: can: bcm: delay release of struct bcm_op after synchronize_rcu

  [ Ubuntu: 5.4.0-76.85 ]

  * focal/linux: 5.4.0-76.85 -proposed tracker (LP: #1932123)
  * Upstream v5.9 introduced 'module' patches that removed exported symbols
    (LP: #1932065)
    - SAUCE: Revert "modules: inherit TAINT_PROPRIETARY_MODULE"
    - SAUCE: Revert "modules: return licensing information from find_symbol"
    - SAUCE: Revert "modules: rename the licence field in struct symsearch to
      license"
    - SAUCE: Revert "modules: unexport __module_address"
    - SAUCE: Revert "modules: unexport __module_text_address"
    - SAUCE: Revert "modules: mark each_symbol_section static"
    - SAUCE: Revert "modules: mark find_symbol static"
    - SAUCE: Revert "modules: mark ref_module static"

 -- Stefan Bader <[email protected]>  Thu, 17 Jun 2021 19:23:21
+0200

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-aws in Ubuntu.
https://bugs.launchpad.net/bugs/1920944

Title:
  kvm: properly tear down PV features on hibernate

Status in linux package in Ubuntu:
  Fix Released
Status in linux-aws package in Ubuntu:
  New
Status in linux source package in Focal:
  Fix Released
Status in linux-aws source package in Focal:
  Fix Released
Status in linux source package in Groovy:
  Fix Released
Status in linux-aws source package in Groovy:
  Fix Released
Status in linux source package in Hirsute:
  Fix Released
Status in linux-aws source package in Hirsute:
  Fix Released

Bug description:
  [Impact]

  In LP: #1918694 we applied a fix and a workaround to solve the
  hibernation issues on c5.18xlarge. The workaround was in the form of a
  SAUCE patch:

    "UBUNTU: SAUCE: aws: kvm: double the size of hv_clock_boot"

  It looks like we can replace this workaround with a proper fix, by
  applying this patch:

  http://next.patchew.org/Linux/[email protected]/

  This is required because various PV features (Async PF, PV EOI, steal
  time) work through memory shared with hypervisor and when we restore
  from hibernation we must properly tear down all these features to make
  sure hypervisor doesn't write to stale locations after we jump to the
  previously hibernated kernel.

  For this reason it is safe to apply this patch set also to all the
  generic kernels and not just AWS.

  [Test plan]

  This can be easily tested on AWS (but it should be reproduced by
  hibernating any kvm instance with multiple CPUs). Create a c5.18xlarge
  instance, run the memory stress test script (the same test script that
  we are using to stress test hibernation), trigger the hibernate event,
  trigger the resume event. Repeat a couple of times and the problem is
  very likely to happen.

  [Fix]

  On the AWS kernel replace "UBUNTU: SAUCE: aws: kvm: double the size of
  hv_clock_boot" with:

  http://next.patchew.org/Linux/[email protected]/

  For the other kernels, simply apply this patch set.

  The fix has been tested extensively in the AWS infrastructure with
  positive results.

  [Regression potential]

  This new code introduced by the fix can be executed also when a CPU is
  put offline, so we may see potential regressions in the KVM CPU hot-
  plugging.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1920944/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to