[LU-7451] kernel upgrade [RHEL7.2 3.10.0-327.3.1.el7] Created: 19/Nov/15  Updated: 01/Jul/16  Resolved: 05/Jan/16

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: Lustre 2.8.0

Type: Bug Priority: Minor
Reporter: Bob Glossman (Inactive) Assignee: Bob Glossman (Inactive)
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Blocker
Related
Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

This ticket represents upgrade of our supported el7 version from RHEL 7.1 to RHEL 7.2, just announced recently.

  • A flaw was found in the way the Linux kernel's file system implementation
    handled rename operations in which the source was inside and the
    destination was outside of a bind mount. A privileged user inside a
    container could use this flaw to escape the bind mount and, potentially,
    escalate their privileges on the system. (CVE-2015-2925, Important)
  • A race condition flaw was found in the way the Linux kernel's IPC
    subsystem initialized certain fields in an IPC object structure that were
    later used for permission checking before inserting the object into a
    globally visible list. A local, unprivileged user could potentially use
    this flaw to elevate their privileges on the system. (CVE-2015-7613,
    Important)
  • It was found that reporting emulation failures to user space could lead
    to either a local (CVE-2014-7842) or a L2->L1 (CVE-2010-5313) denial of
    service. In the case of a local denial of service, an attacker must have
    access to the MMIO area or be able to access an I/O port. (CVE-2010-5313,
    CVE-2014-7842, Moderate)
  • A flaw was found in the way the Linux kernel's KVM subsystem handled
    non-canonical addresses when emulating instructions that change the RIP
    (for example, branches or calls). A guest user with access to an I/O or
    MMIO region could use this flaw to crash the guest. (CVE-2014-3647,
    Moderate)
  • It was found that the Linux kernel memory resource controller's (memcg)
    handling of OOM (out of memory) conditions could lead to deadlocks.
    An attacker could use this flaw to lock up the system. (CVE-2014-8171,
    Moderate)
  • A race condition flaw was found between the chown and execve system
    calls. A local, unprivileged user could potentially use this flaw to
    escalate their privileges on the system. (CVE-2015-3339, Moderate)
  • A flaw was discovered in the way the Linux kernel's TTY subsystem handled
    the tty shutdown phase. A local, unprivileged user could use this flaw to
    cause a denial of service on the system. (CVE-2015-4170, Moderate)
  • A NULL pointer dereference flaw was found in the SCTP implementation.
    A local user could use this flaw to cause a denial of service on the system
    by triggering a kernel panic when creating multiple sockets in parallel
    while the system did not have the SCTP module loaded. (CVE-2015-5283,
    Moderate)
  • A flaw was found in the way the Linux kernel's perf subsystem retrieved
    userlevel stack traces on PowerPC systems. A local, unprivileged user could
    use this flaw to cause a denial of service on the system. (CVE-2015-6526,
    Moderate)
  • A flaw was found in the way the Linux kernel's Crypto subsystem handled
    automatic loading of kernel modules. A local user could use this flaw to
    load any installed kernel module, and thus increase the attack surface of
    the running kernel. (CVE-2013-7421, CVE-2014-9644, Low)
  • An information leak flaw was found in the way the Linux kernel changed
    certain segment registers and thread-local storage (TLS) during a context
    switch. A local, unprivileged user could use this flaw to leak the user
    space TLS base address of an arbitrary process. (CVE-2014-9419, Low)
  • It was found that the Linux kernel KVM subsystem's sysenter instruction
    emulation was not sufficient. An unprivileged guest user could use this
    flaw to escalate their privileges by tricking the hypervisor to emulate a
    SYSENTER instruction in 16-bit mode, if the guest OS did not initialize the
    SYSENTER model-specific registers (MSRs). Note: Certified guest operating
    systems for Red Hat Enterprise Linux with KVM do initialize the SYSENTER
    MSRs and are thus not vulnerable to this issue when running on a KVM
    hypervisor. (CVE-2015-0239, Low)
  • A flaw was found in the way the Linux kernel handled the securelevel
    functionality after performing a kexec operation. A local attacker could
    use this flaw to bypass the security mechanism of the
    securelevel/secureboot combination. (CVE-2015-7837, Low)

Bugs fixed (https://bugzilla.redhat.com/):

1033907 - Test case failure: Outputs - DVI on Radeon HD 7850 [1002:6819]
1033908 - Test case failure: Multihead - Large Desktop on Radeon HD 7850 [1002:6819]
1033910 - Test case failure: Panning on Radeon HD 7850 [1002:6819]
1033911 - Test case failure: Screen - Change Monitors on Radeon HD 7850 [1002:6819]
1034497 - Test case failure: KMS - Log out after suspend/resume on AMD/ATI Kaveri [1002:1304]
1036792 - PXE boot 5-10x slower in RHEL due to invalid guest state emulation
1064059 - clock_nanosleep returns early with TIMER_ABSTIME
1076738 - No RHGB on some new ATI hardware
1076769 - Test case failure: KMS - Log out after suspend/resume on ATI Pitcairn PRO [Radeon HD 7850] [1002:6819]
1144897 - CVE-2014-3647 kernel: kvm: noncanonical rip after emulation
1163762 - CVE-2010-5313 CVE-2014-7842 kernel: kvm: reporting emulation failures to userspace
1177260 - CVE-2014-9419 kernel: partial ASLR bypass through TLS base addresses leak
1182243 - partition scan in losetup does not succeed when bound repeatedly
1184155 - Dynamic tickless feature not working in RHEL7 KVM guest
1185469 - CVE-2013-7421 Linux kernel: crypto api unprivileged arbitrary module load via request_module()
1186112 - [thinkpad] Support the Lenovo early 2015 models touchpad (X1 Carbon 3rd, T450, W541)
1186448 - CVE-2015-0239 kernel: kvm: insufficient sysenter emulation when invoked from 16-bit code
1190546 - CVE-2014-9644 Linux kernel: crypto api unprivileged arbitrary module load via request_module()
1191604 - DM RAID - Add support for 'raid0' mappings to device-mapper raid target
1198109 - CVE-2014-8171 kernel: memcg: OOM handling DoS
1205258 - Busy loop in recv(MSG_PEEK|MSG_WAITALL)
1206198 - Intel 9-series PCH chipset ACS quirks
1209367 - CVE-2015-2925 Kernel: vfs: Do not allow escaping from bind mounts
1214030 - CVE-2015-3339 kernel: race condition between chown() and execve()
1218454 - CVE-2015-6526 kernel: perf on ppc64 can loop forever getting userlevel stacktraces
1218879 - CVE-2015-4170 kernel: pty layer race condition on tty ldisc shutdown.
1243998 - CVE-2015-7837 kernel: securelevel disabled after kexec [rhel-7.2]
1249107 - [targetcli] cannot discover iSCSI target with IPv6
1251331 - Lenovo W541 Xorg freezes when mini display port cable is plugged in - 3.10.0-267.el7 WARNING: at drivers/gpu/drm/drm_dp_mst_topology.c:1272 process_single_tx_qlock+0x4b6/0x540 [drm_kms_helper]()
1257528 - CVE-2015-5283 kernel: Creating multiple sockets when SCTP module isn't loaded leads to kernel panic
1268270 - CVE-2015-7613 kernel: Unauthorized access to IPC objects with SysV shm
1272472 - CVE-2015-7837 kernel: securelevel disabled after kexec
839466 - ext4: ext4 driver should reject nonsensical mount options for ext2 and ext3



 Comments   
Comment by Gerrit Updater [ 20/Nov/15 ]

Bob Glossman (bob.glossman@intel.com) uploaded a new patch: http://review.whamcloud.com/17305
Subject: LU-7451 kernel: kernel upgrade RHEL7.2 [3.10.0-327.el7]
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 3bf441d88b5263d4950267b3729e15ad06f78cf3

Comment by Bob Glossman (Inactive) [ 08/Dec/15 ]

there is already a kernel update for el7.2. Since we haven't landed el7.2 support on any branch yet I'm just refocusing this ticket on the update instead of doing a whole new ticket.

Comment by Bob Glossman (Inactive) [ 08/Dec/15 ]
  • It was found that the x86 ISA (Instruction Set Architecture) is prone to
    a denial of service attack inside a virtualized environment in the form of
    an infinite loop in the microcode due to the way (sequential) delivering of
    benign exceptions such as #AC (alignment check exception) and #DB (debug
    exception) is handled. A privileged user inside a guest could use these
    flaws to create denial of service conditions on the host kernel.
    (CVE-2015-5307, CVE-2015-8104, Important)
  • On Intel Xeon v5 platforms, the processor frequency was always tied to
    the highest possible frequency. Switching p-states on these client
    platforms failed. This update sets the idle frequency, busy frequency, and
    processor frequency values by determining the range and adjusting the
    minimal and maximal percent limit values. Now, switching p-states on the
    aforementioned client platforms proceeds successfully. (BZ#1273926)
  • Due to a validation error of in-kernel memory-mapped I/O (MMIO) tracing,
    a VM became previously unresponsive when connected to Red Hat Enterprise
    Virtualization Hypervisor. The provided patch fixes this bug by dropping
    the check in MMIO handler, and a VM continues running as expected.
    (BZ#1275150)
  • Due to retry-able command errors, the NVMe driver previously leaked I/O
    descriptors and DMA mappings. As a consequence, the kernel could become
    unresponsive during the hot-unplug operation if a driver was removed.
    This update fixes the driver memory leak bug on command retries, and the
    kernel no longer hangs in this situation. (BZ#1279792)
  • The hybrid_dma_data() function was not initialized before use, which
    caused an invalid memory access when hot-plugging a PCI card. As a
    consequence, a kernel oops occurred. The provided patch makes sure
    hybrid_dma_data() is initialized before use, and the kernel oops no longer
    occurs in this situation. (BZ#1279793)
  • When running PowerPC (PPC) KVM guests and the host was experiencing a lot
    of page faults, for example because it was running low on memory, the host
    sometimes triggered an incorrect kind of interrupt in the guest: a data
    storage exception instead of a data segment exception. This caused a kernel
    panic of the PPC KVM guest. With this update, the host kernel synthesizes a
    segment fault if the corresponding Segment Lookaside Buffer (SLB) lookup
    fails, which prevents the kernel panic from occurring. (BZ#1281423)
  • The kernel accessed an incorrect area of the khugepaged process causing
    Logical Partitioning (LPAR) to become unresponsive, and an oops occurred in
    medlp5. The backported upstream patch prevents an LPAR hang, and the oops
    no longer occurs. (BZ#1281424)
  • When the sctp module was loaded and a route to an association endpoint
    was removed after receiving an Out-of-The-Blue (OOTB) chunk but before
    incrementing the "dropped because of missing route" SNMP statistic, a Null
    Pointer Dereference kernel panic previously occurred. This update fixes the
    race condition between OOTB response and route removal. (BZ#1281426)
  • The cpuscaling test of the certification test suite previously failed due
    to a rounding bug in the intel-pstate driver. This bug has been fixed and
    the cpuscaling test now passes. (BZ#1281491)

Bugs fixed (https://bugzilla.redhat.com/):

1277172 - CVE-2015-5307 virt: guest to host DoS by triggering an infinite loop in microcode via #AC exception
1278496 - CVE-2015-8104 virt: guest to host DoS by triggering an infinite loop in microcode via #DB exception

Comment by Gerrit Updater [ 05/Jan/16 ]

Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/17305/
Subject: LU-7451 kernel: kernel upgrade RHEL7.2 [3.10.0-327.3.1.el7]
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: b8f8a5b8f0fe889b61acafb48a756cb3872b8598

Comment by Joseph Gmitter (Inactive) [ 05/Jan/16 ]

Landed for 2.8.0

Generated at Sat Feb 10 02:09:01 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.