s390x: correct restore of high gprs on signal return

Bug #1550468 reported by bugproxy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Fix Released
Critical
Tim Gardner
Trusty
Invalid
Undecided
Tim Gardner
Vivid
Invalid
Undecided
Tim Gardner
Wily
Invalid
Undecided
Tim Gardner
Xenial
Fix Released
Critical
Tim Gardner

Bug Description

== Comment: #0 - Hendrik Brueckner - 2016-02-26 11:02:00 ==

Please backport Linux kernel upstream commit ID:

commit 342300cc9cd3428bc6bfe5809bfcc1b9a0f06702

Author: Martin Schwidefsky <email address hidden>

Date: Fri Feb 19 14:44:14 2016 +0100

    s390/compat: correct restore of high gprs on signal return

    git commit 8070361799ae1e3f4ef347bd10f0a508ac10acfb

    "s390: add support for vector extension"

    broke 31-bit compat processes in regard to signal handling.

    The restore_sigregs_ext32() function is used to restore the additional

    elements from the user space signal frame. Among the additional elements

    are the upper registers halves for 64-bit register support for 31-bit

    processes. The copy_from_user that is used to retrieve the high-gprs

    array from the user stack uses an incorrect length, 8 bytes instead of

    64 bytes. This causes incorrect upper register halves to get loaded.

    Cc: <email address hidden> # 3.8+

    Signed-off-by: Martin Schwidefsky <email address hidden>

bugproxy (bugproxy)
tags: added: architecture-s39064 bugnameltc-137990 severity-high targetmilestone-inin1604
Changed in ubuntu:
assignee: nobody → Skipper Bug Screeners (skipper-screen-team)
Kevin W. Rudd (kevinr)
affects: ubuntu → linux (Ubuntu)
dann frazier (dannf)
Changed in linux (Ubuntu):
importance: Undecided → Critical
assignee: Skipper Bug Screeners (skipper-screen-team) → Andy Whitcroft (apw)
status: New → Confirmed
dann frazier (dannf)
description: updated
tags: added: s390x
summary: - kernel: correct restore of high gprs on signal return
+ s390x: correct restore of high gprs on signal return
Revision history for this message
Tim Gardner (timg-tpi) wrote :

No support for s390 in Trusty

Changed in linux (Ubuntu Xenial):
assignee: Andy Whitcroft (apw) → Tim Gardner (timg-tpi)
status: Confirmed → Fix Committed
Changed in linux (Ubuntu Trusty):
assignee: nobody → Tim Gardner (timg-tpi)
status: New → In Progress
Changed in linux (Ubuntu Vivid):
assignee: nobody → Tim Gardner (timg-tpi)
status: New → In Progress
Changed in linux (Ubuntu Wily):
assignee: nobody → Tim Gardner (timg-tpi)
status: New → In Progress
Changed in linux (Ubuntu Trusty):
status: In Progress → Invalid
Revision history for this message
Tim Gardner (timg-tpi) wrote :

No support for s390 in Vivid

Changed in linux (Ubuntu Vivid):
status: In Progress → Invalid
Revision history for this message
Dimitri John Ledkov (xnox) wrote :

s390x is only available in xenial (and later releases). Please do not open bugs for irrelevant series.

Changed in linux (Ubuntu Wily):
status: In Progress → Invalid
Revision history for this message
Dimitri John Ledkov (xnox) wrote :

New kernel upload has entered xenial-proposed, and is being tested before migrating to release component

For full changelog see:

https://launchpad.net/ubuntu/+source/linux/4.4.0-9.24

Kernel release process workflow bug for this kernel is at:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1551319

To see progress of this kernel being released to xenial release component.

Highlights from the changelog:
  * s390x: correct restore of high gprs on signal return (LP: #1550468)
    - s390/compat: correct restore of high gprs on signal return
  * Floating-point exception handler receives empty Data-Exception Code in
    Floating Point Control register (LP: #1548414)
    - s390/fpu: signals vs. floating point control register
  * Various failures of kernel_security suite on Xenial kernel on s390x arch
    (LP: #1531327)
    - [config] s390x -- CONFIG_DEFAULT_MMAP_MIN_ADDR=65536

Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (7.6 KiB)

This bug was fixed in the package linux - 4.4.0-9.24

---------------
linux (4.4.0-9.24) xenial; urgency=low

  [ Tim Gardner ]

  * Release Tracking Bug
    - LP: #1551319

  * AppArmor logs denial for when the device path is ENOENT (LP: #1482943)
    - SAUCE: apparmor: fix log of apparmor audit message when kern_path() fails

  * BUG: unable to handle kernel NULL pointer dereference (aa_label_merge) (LP:
    #1448912)
    - SAUCE: apparmor: Fix: insert race between label_update and label_merge
    - SAUCE: apparmor: Fix: ensure aa_get_newest will trip debugging if the
      replacedby is not setup
    - SAUCE: apparmor: Fix: label merge handling of marking unconfined and stale
    - SAUCE: apparmor: Fix: refcount race between locating in labelset and get
    - SAUCE: apparmor: Fix: ensure new labels resulting from merge have a
      replacedby
    - SAUCE: apparmor: Fix: label_vec_merge insertion
    - SAUCE: apparmor: Fix: deadlock in aa_put_label() call chain
    - SAUCE: apparmor: Fix: add required locking of __aa_update_replacedby on
      merge path
    - SAUCE: apparmor: Fix: convert replacedby update to be protected by the
      labelset lock
    - SAUCE: apparmor: Fix: update replacedby allocation to take a gfp parameter

  * apparmor kernel BUG kills firefox (LP: #1430546)
    - SAUCE: apparmor: Disallow update of cred when then subjective != the
      objective cred
    - SAUCE: apparmor: rework retrieval of the current label in the profile update
      case

  * sleep from invalid context in aa_move_mount (LP: #1539349)
    - SAUCE: apparmor: fix sleep from invalid context

  * s390x: correct restore of high gprs on signal return (LP: #1550468)
    - s390/compat: correct restore of high gprs on signal return

  * missing SMAP support (LP: #1550517)
    - x86/entry/compat: Add missing CLAC to entry_INT80_32

  * Floating-point exception handler receives empty Data-Exception Code in
    Floating Point Control register (LP: #1548414)
    - s390/fpu: signals vs. floating point control register

  * kvm fails to boot GNU Hurd kernels with 4.4 Xenial kernel (LP: #1550596)
    - KVM: x86: fix conversion of addresses to linear in 32-bit protected mode

  * Surelock GA2 SP1: capiredp01: cxl_init_adapter fails for CAPI devices
    0000:01:00.0 and 0005:01:00.0 after upgrading to 840.10 Platform firmware
    build fips840/b1208b_1604.840 (LP: #1532914)
    - cxl: Fix PSL timebase synchronization detection

  * [Feature]EDAC support for Knights Landing (LP: #1519631)
    - EDAC, sb_edac: Set fixed DIMM width on Xeon Knights Landing

  * Various failures of kernel_security suite on Xenial kernel on s390x arch
    (LP: #1531327)
    - [config] s390x -- CONFIG_DEFAULT_MMAP_MIN_ADDR=65536

  * Unable to install VirtualBox Guest Service in 15.04 (LP: #1434579)
    - [Config] Provides: virtualbox-guest-modules when appropriate

  * linux is missing provides for virtualbox-guest-modules [i386 amd64 x32] (LP:
    #1507588)
    - [Config] Provides: virtualbox-guest-modules when appropriate

  * Backport more recent driver for SKL, KBL and BXT graphics (LP: #1540390)
    - SAUCE: i915_bpo: Provide a backport driver for SKL, KBL & BXT graphics
    - SA...

Read more...

Changed in linux (Ubuntu Xenial):
status: Fix Committed → Fix Released
Revision history for this message
bugproxy (bugproxy) wrote : Comment bridged from LTC Bugzilla

------- Comment From <email address hidden> 2016-04-19 09:40 EDT-------
*** Bug 140469 has been marked as a duplicate of this bug. ***

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.