[SRU][Xenial][PULL] Xenial update: 4.4.172 upstream stable release (LP: #1818797)

Juerg Haefliger juerg.haefliger at canonical.com
Wed Mar 6 13:07:41 UTC 2019


    SRU Justification

    Impact:
       The upstream process for stable tree updates is quite similar
       in scope to the Ubuntu SRU process, e.g., each patch has to
       demonstrably fix a bug, and each patch is vetted by upstream
       by originating either directly from a mainline/stable Linux tree or
       a minimally backported form of that patch. The following upstream
       stable patches should be included in the Ubuntu kernel:

       4.4.172 upstream stable release
       from git://git.kernel.org/

            
Linux 4.4.172
ipmi:ssif: Fix handling of multi-part return messages
net: speed up skb_rbtree_purge()
mm, proc: be more verbose about unstable VMA flags in /proc/<pid>/smaps
mm/page-writeback.c: don't break integrity writeback on ->writepage() error
ocfs2: fix panic due to unrecovered local alloc
scsi: megaraid: fix out-of-bound array accesses
sysfs: Disable lockdep for driver bind/unbind files
ALSA: bebob: fix model-id of unit for Apogee Ensemble
dm snapshot: Fix excessive memory usage and workqueue stalls
dm kcopyd: Fix bug causing workqueue stalls
perf parse-events: Fix unchecked usage of strncpy()
perf svghelper: Fix unchecked usage of strncpy()
perf intel-pt: Fix error with config term "pt=0"
mmc: atmel-mci: do not assume idle after atmci_request_end
kconfig: fix memory leak when EOF is encountered in quotation
kconfig: fix file name and line number of warn_ignored_character()
clk: imx6q: reset exclusive gates on init
scsi: target: use consistent left-aligned ASCII INQUIRY data
net: call sk_dst_reset when set SO_DONTROUTE
media: firewire: Fix app_info parameter type in avc_ca{,_app}_info
powerpc/pseries/cpuidle: Fix preempt warning
pstore/ram: Do not treat empty buffers as valid
jffs2: Fix use of uninitialized delayed_work, lockdep breakage
arm64: perf: set suppress_bind_attrs flag to true
MIPS: SiByte: Enable swiotlb for SWARM, LittleSur and BigSur
writeback: don't decrement wb->refcnt if !wb->bdi
e1000e: allow non-monotonic SYSTIM readings
platform/x86: asus-wmi: Tell the EC the OS will handle the display off hotkey
xfs: don't fail when converting shortform attr to long form during ATTR_REPLACE
ipv6: Take rcu_read_lock in __inet6_bind for mapped addresses
ipv6: Consider sk_bound_dev_if when binding a socket to a v4 mapped address
r8169: Add support for new Realtek Ethernet
media: vb2: be sure to unlock mutex on errors
drm/fb-helper: Ignore the value of fb_var_screeninfo.pixclock
loop: Fix double mutex_unlock(&loop_ctl_mutex) in loop_control_ioctl()
loop: Get rid of loop_index_mutex
loop: Fold __loop_release into loop_release
block/loop: Use global lock for ioctl() operation.
tipc: fix uninit-value in tipc_nl_compat_doit
tipc: fix uninit-value in tipc_nl_compat_name_table_dump
tipc: fix uninit-value in tipc_nl_compat_link_set
tipc: fix uninit-value in tipc_nl_compat_bearer_enable
tipc: fix uninit-value in tipc_nl_compat_link_reset_stats
sctp: allocate sctp_sockaddr_entry with kzalloc
selinux: fix GPF on invalid policy
sunrpc: handle ENOMEM in rpcb_getport_async
media: vb2: vb2_mmap: move lock up
LSM: Check for NULL cred-security on free
media: vivid: set min width/height to a value > 0
media: vivid: fix error handling of kthread_run
omap2fb: Fix stack memory disclosure
Disable MSI also when pcie-octeon.pcie_disable on
mfd: tps6586x: Handle interrupts on suspend
mips: fix n32 compat_ipc_parse_version
scsi: sd: Fix cache_type_store()
Yama: Check for pid death before checking ancestry
btrfs: wait on ordered extents on abort cleanup
crypto: authenc - fix parsing key with misaligned rta_len
crypto: authencesn - Avoid twice completion call in decrypt path
ip: on queued skb use skb_header_pointer instead of pskb_may_pull
packet: Do not leak dev refcounts on error exit
net: bridge: fix a bug on using a neighbour cache entry without checking its state
ipv6: fix kernel-infoleak in ipv6_local_error()
arm64: Don't trap host pointer auth use to EL2
arm64/kvm: consistently handle host HCR_EL2 flags
proc: Remove empty line in /proc/self/status
media: em28xx: Fix misplaced reset of dev->v4l::field_count
f2fs: fix validation of the block count in sanity_check_raw_super
f2fs: fix missing up_read
f2fs: fix invalid memory access
f2fs: fix to do sanity check with cp_pack_start_sum
f2fs: fix to do sanity check with block address in main area v2
f2fs: fix to do sanity check with block address in main area
f2fs: fix to do sanity check with reserved blkaddr of inline inode
f2fs: fix to do sanity check with node footer and iblocks
f2fs: Add sanity_check_inode() function
f2fs: fix to do sanity check with user_block_count
f2fs: fix to do sanity check with secs_per_zone
f2fs: introduce and spread verify_blkaddr
f2fs: clean up with is_valid_blkaddr()
f2fs: enhance sanity_check_raw_super() to avoid potential overflow
f2fs: sanity check on sit entry
f2fs: check blkaddr more accuratly before issue a bio
f2fs: return error during fill_super
f2fs: fix race condition in between free nid allocator/initializer
f2fs: free meta pages if sanity check for ckpt is failed
f2fs: detect wrong layout
f2fs: fix to determine start_cp_addr by sbi->cur_cp_pack
f2fs: put directory inodes before checkpoint in roll-forward recovery
f2fs: introduce get_checkpoint_version for cleanup
f2fs: use crc and cp version to determine roll-forward recovery
f2fs: avoid unneeded loop in build_sit_entries
f2fs: not allow to write illegal blkaddr
f2fs: fix to avoid reading out encrypted data in page cache
f2fs: fix inode cache leak
f2fs: factor out fsync inode entry operations
f2fs: remove an obsolete variable
f2fs: give -EINVAL for norecovery and rw mount
f2fs: fix to convert inline directory correctly
f2fs: move sanity checking of cp into get_valid_checkpoint
f2fs: cover more area with nat_tree_lock
f2fs: clean up argument of recover_data
can: gw: ensure DLC boundaries after CAN frame modification
tty/ldsem: Wake up readers after timed out down_write()

Compile-tested all supported architectures.

Signed-off-by: Juerg Haefliger <juergh at canonical.com>
---

The following changes since commit fe832fd849db7f97bfea1e72e2739d351464f204:

  Linux 4.4.171 (2019-03-01 15:19:13 +0100)

are available in the Git repository at:

  git://git.launchpad.net/~juergh/+git/xenial-linux update-4.4.172

for you to fetch changes up to 56c7f10dbd1cf954daeb3a896bebed7cd069378a:

  Linux 4.4.172 (2019-03-06 09:50:48 +0100)

----------------------------------------------------------------
Adrian Hunter (1):
      perf intel-pt: Fix error with config term "pt=0"

Anders Roxell (2):
      writeback: don't decrement wb->refcnt if !wb->bdi
      arm64: perf: set suppress_bind_attrs flag to true

Arnaldo Carvalho de Melo (2):
      perf svghelper: Fix unchecked usage of strncpy()
      perf parse-events: Fix unchecked usage of strncpy()

Arnd Bergmann (1):
      mips: fix n32 compat_ipc_parse_version

Ben Hutchings (2):
      f2fs: Add sanity_check_inode() function
      media: em28xx: Fix misplaced reset of dev->v4l::field_count

Breno Leitao (1):
      powerpc/pseries/cpuidle: Fix preempt warning

Brian Foster (1):
      mm/page-writeback.c: don't break integrity writeback on ->writepage() error

Chao Yu (17):
      f2fs: clean up argument of recover_data
      f2fs: fix to convert inline directory correctly
      f2fs: factor out fsync inode entry operations
      f2fs: fix inode cache leak
      f2fs: fix to avoid reading out encrypted data in page cache
      f2fs: avoid unneeded loop in build_sit_entries
      f2fs: fix race condition in between free nid allocator/initializer
      f2fs: clean up with is_valid_blkaddr()
      f2fs: introduce and spread verify_blkaddr
      f2fs: fix to do sanity check with secs_per_zone
      f2fs: fix to do sanity check with user_block_count
      f2fs: fix to do sanity check with node footer and iblocks
      f2fs: fix to do sanity check with reserved blkaddr of inline inode
      f2fs: fix to do sanity check with block address in main area
      f2fs: fix to do sanity check with block address in main area v2
      f2fs: fix to do sanity check with cp_pack_start_sum
      f2fs: fix invalid memory access

Corey Minyard (1):
      ipmi:ssif: Fix handling of multi-part return messages

Daniel Santos (1):
      jffs2: Fix use of uninitialized delayed_work, lockdep breakage

Daniel Vetter (1):
      sysfs: Disable lockdep for driver bind/unbind files

David Ahern (2):
      ipv6: Consider sk_bound_dev_if when binding a socket to a v4 mapped address
      ipv6: Take rcu_read_lock in __inet6_bind for mapped addresses

David Disseldorp (1):
      scsi: target: use consistent left-aligned ASCII INQUIRY data

Dmitry Safonov (1):
      tty/ldsem: Wake up readers after timed out down_write()

Eric Biggers (1):
      crypto: authenc - fix parsing key with misaligned rta_len

Eric Dumazet (2):
      ipv6: fix kernel-infoleak in ipv6_local_error()
      net: speed up skb_rbtree_purge()

Greg Kroah-Hartman (1):
      Linux 4.4.172

Hans Verkuil (3):
      media: vivid: fix error handling of kthread_run
      media: vivid: set min width/height to a value > 0
      media: vb2: vb2_mmap: move lock up

Harsh Jain (1):
      crypto: authencesn - Avoid twice completion call in decrypt path

Ivan Mironov (2):
      scsi: sd: Fix cache_type_store()
      drm/fb-helper: Ignore the value of fb_var_screeninfo.pixclock

J. Bruce Fields (1):
      sunrpc: handle ENOMEM in rpcb_getport_async

Jaegeuk Kim (12):
      f2fs: cover more area with nat_tree_lock
      f2fs: give -EINVAL for norecovery and rw mount
      f2fs: remove an obsolete variable
      f2fs: use crc and cp version to determine roll-forward recovery
      f2fs: put directory inodes before checkpoint in roll-forward recovery
      f2fs: fix to determine start_cp_addr by sbi->cur_cp_pack
      f2fs: detect wrong layout
      f2fs: free meta pages if sanity check for ckpt is failed
      f2fs: return error during fill_super
      f2fs: sanity check on sit entry
      f2fs: enhance sanity_check_raw_super() to avoid potential overflow
      f2fs: fix missing up_read

James Morris (1):
      LSM: Check for NULL cred-security on free

Jan Kara (2):
      loop: Fold __loop_release into loop_release
      loop: Get rid of loop_index_mutex

Jason Gunthorpe (1):
      packet: Do not leak dev refcounts on error exit

JianJhen Chen (1):
      net: bridge: fix a bug on using a neighbour cache entry without checking its state

Joel Fernandes (Google) (1):
      pstore/ram: Do not treat empty buffers as valid

Jonas Danielsson (1):
      mmc: atmel-mci: do not assume idle after atmci_request_end

Jonathan Hunter (1):
      mfd: tps6586x: Handle interrupts on suspend

Josef Bacik (1):
      btrfs: wait on ordered extents on abort cleanup

João Paulo Rechi Vita (1):
      platform/x86: asus-wmi: Tell the EC the OS will handle the display off hotkey

Junxiao Bi (1):
      ocfs2: fix panic due to unrecovered local alloc

Kai-Heng Feng (1):
      r8169: Add support for new Realtek Ethernet

Kees Cook (1):
      Yama: Check for pid death before checking ancestry

Lucas Stach (1):
      clk: imx6q: reset exclusive gates on init

Maciej W. Rozycki (1):
      MIPS: SiByte: Enable swiotlb for SWARM, LittleSur and BigSur

Mark Rutland (2):
      arm64/kvm: consistently handle host HCR_EL2 flags
      arm64: Don't trap host pointer auth use to EL2

Martin Blumenstingl (1):
      f2fs: fix validation of the block count in sanity_check_raw_super

Masahiro Yamada (2):
      kconfig: fix file name and line number of warn_ignored_character()
      kconfig: fix memory leak when EOF is encountered in quotation

Mauro Carvalho Chehab (1):
      media: vb2: be sure to unlock mutex on errors

Michal Hocko (1):
      mm, proc: be more verbose about unstable VMA flags in /proc/<pid>/smaps

Miroslav Lichvar (1):
      e1000e: allow non-monotonic SYSTIM readings

Nathan Chancellor (1):
      media: firewire: Fix app_info parameter type in avc_ca{,_app}_info

Nikos Tsironis (2):
      dm kcopyd: Fix bug causing workqueue stalls
      dm snapshot: Fix excessive memory usage and workqueue stalls

Oliver Hartkopp (1):
      can: gw: ensure DLC boundaries after CAN frame modification

Qian Cai (1):
      scsi: megaraid: fix out-of-bound array accesses

Shawn Lin (1):
      f2fs: move sanity checking of cp into get_valid_checkpoint

Stephen Smalley (1):
      selinux: fix GPF on invalid policy

Takashi Sakamoto (1):
      ALSA: bebob: fix model-id of unit for Apogee Ensemble

Tetsuo Handa (2):
      block/loop: Use global lock for ioctl() operation.
      loop: Fix double mutex_unlock(&loop_ctl_mutex) in loop_control_ioctl()

Tiezhu Yang (1):
      f2fs: introduce get_checkpoint_version for cleanup

Vlad Tsyrklevich (1):
      omap2fb: Fix stack memory disclosure

Willem de Bruijn (1):
      ip: on queued skb use skb_header_pointer instead of pskb_may_pull

Xin Long (1):
      sctp: allocate sctp_sockaddr_entry with kzalloc

Ying Xue (5):
      tipc: fix uninit-value in tipc_nl_compat_link_reset_stats
      tipc: fix uninit-value in tipc_nl_compat_bearer_enable
      tipc: fix uninit-value in tipc_nl_compat_link_set
      tipc: fix uninit-value in tipc_nl_compat_name_table_dump
      tipc: fix uninit-value in tipc_nl_compat_doit

YunQiang Su (1):
      Disable MSI also when pcie-octeon.pcie_disable on

Yunlei He (2):
      f2fs: not allow to write illegal blkaddr
      f2fs: check blkaddr more accuratly before issue a bio

yupeng (1):
      net: call sk_dst_reset when set SO_DONTROUTE

 Documentation/filesystems/proc.txt               |   4 +-
 Makefile                                         |   2 +-
 arch/arm64/include/asm/kvm_arm.h                 |   3 +
 arch/arm64/kernel/head.S                         |   3 +-
 arch/arm64/kernel/perf_event.c                   |   1 +
 arch/arm64/kvm/hyp.S                             |   2 +-
 arch/mips/Kconfig                                |   4 +
 arch/mips/pci/msi-octeon.c                       |   4 +-
 arch/mips/sibyte/common/Makefile                 |   1 +
 arch/mips/sibyte/common/dma.c                    |  14 ++
 crypto/authenc.c                                 |  14 +-
 crypto/authencesn.c                              |   2 +-
 drivers/base/bus.c                               |   7 +-
 drivers/block/loop.c                             |  79 +++++------
 drivers/block/loop.h                             |   1 -
 drivers/char/ipmi/ipmi_ssif.c                    |  25 ++--
 drivers/clk/imx/clk-imx6q.c                      |   6 +-
 drivers/cpuidle/cpuidle-pseries.c                |   8 +-
 drivers/gpu/drm/drm_fb_helper.c                  |   7 +-
 drivers/md/dm-kcopyd.c                           |  19 ++-
 drivers/md/dm-snap.c                             |  22 +++
 drivers/media/firewire/firedtv-avc.c             |   6 +-
 drivers/media/firewire/firedtv.h                 |   6 +-
 drivers/media/platform/vivid/vivid-kthread-cap.c |   5 +-
 drivers/media/platform/vivid/vivid-kthread-out.c |   5 +-
 drivers/media/platform/vivid/vivid-vid-common.c  |   2 +-
 drivers/media/usb/em28xx/em28xx-video.c          |   4 +-
 drivers/media/v4l2-core/videobuf2-core.c         |  14 +-
 drivers/mfd/tps6586x.c                           |  24 ++++
 drivers/mmc/host/atmel-mci.c                     |   3 +-
 drivers/net/ethernet/intel/e1000e/ptp.c          |  13 +-
 drivers/net/ethernet/realtek/r8169.c             |   2 +
 drivers/platform/x86/asus-wmi.c                  |   3 +-
 drivers/scsi/megaraid/megaraid_sas_fp.c          |   2 +-
 drivers/scsi/megaraid/megaraid_sas_fusion.c      |   2 +-
 drivers/scsi/sd.c                                |   6 +
 drivers/target/target_core_spc.c                 |  17 ++-
 drivers/tty/tty_ldsem.c                          |  10 ++
 drivers/video/fbdev/omap2/omapfb/omapfb-ioctl.c  |   2 +
 fs/btrfs/disk-io.c                               |   8 ++
 fs/f2fs/checkpoint.c                             | 168 ++++++++++++-----------
 fs/f2fs/data.c                                   | 118 ++++++++++------
 fs/f2fs/dir.c                                    |  87 ++++++------
 fs/f2fs/f2fs.h                                   |  77 ++++++++---
 fs/f2fs/file.c                                   |  21 ++-
 fs/f2fs/inline.c                                 | 115 +++++++++++++++-
 fs/f2fs/inode.c                                  |  68 ++++++++-
 fs/f2fs/node.c                                   | 103 ++++++++------
 fs/f2fs/node.h                                   |  77 +++++++----
 fs/f2fs/recovery.c                               | 165 +++++++++++-----------
 fs/f2fs/segment.c                                |  93 +++++++------
 fs/f2fs/segment.h                                |  48 +++++--
 fs/f2fs/super.c                                  | 134 +++++++++++++++---
 fs/jffs2/super.c                                 |   3 +-
 fs/ocfs2/localalloc.c                            |   9 +-
 fs/pstore/ram_core.c                             |   5 +
 include/linux/backing-dev-defs.h                 |   8 ++
 include/linux/f2fs_fs.h                          |   3 +
 mm/page-writeback.c                              |  35 +++--
 net/bridge/br_netfilter_hooks.c                  |   2 +-
 net/can/gw.c                                     |  30 +++-
 net/core/skbuff.c                                |  11 +-
 net/core/sock.c                                  |   1 +
 net/ipv4/ip_sockglue.c                           |  12 +-
 net/ipv6/af_inet6.c                              |  14 +-
 net/ipv6/datagram.c                              |  11 +-
 net/packet/af_packet.c                           |   4 +-
 net/sctp/ipv6.c                                  |   5 +-
 net/sctp/protocol.c                              |   4 +-
 net/sunrpc/rpcb_clnt.c                           |   8 ++
 net/tipc/netlink_compat.c                        |  50 ++++++-
 scripts/kconfig/zconf.l                          |   4 +-
 security/security.c                              |   7 +
 security/selinux/ss/policydb.c                   |   3 +-
 security/yama/yama_lsm.c                         |   4 +-
 sound/firewire/bebob/bebob.c                     |   2 +-
 tools/perf/arch/x86/util/intel-pt.c              |  11 ++
 tools/perf/util/parse-events.c                   |   2 +-
 tools/perf/util/svghelper.c                      |   2 +-
 79 files changed, 1325 insertions(+), 561 deletions(-)
 create mode 100644 arch/mips/sibyte/common/dma.c



More information about the kernel-team mailing list