Disco update: 5.0.7 upstream stable release

Bug #1828410 reported by Kleber Sacilotto de Souza on 2019-05-09
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)

Bug Description

SRU Justification

       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:

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

The following patches were applied:
* ext4: cleanup bh release code in ext4_ind_remove_space()
* CIFS: fix POSIX lock leak and invalid ptr deref
* nvme-fc: fix numa_node when dev is null
* nvme-loop: init nvmet_ctrl fatal_err_work when allocate
* h8300: use cc-cross-prefix instead of hardcoding h8300-unknown-linux-
* f2fs: fix to adapt small inline xattr space in __find_inline_xattr()
* f2fs: fix to avoid deadlock in f2fs_read_inline_dir()
* tracing: kdb: Fix ftdump to not sleep
* net/mlx5e: Fix access to non-existing receive queue
* net/mlx5: Avoid panic when setting vport rate
* net/mlx5: Avoid panic when setting vport mac, getting vport config
* xsk: fix to reject invalid flags in xsk_bind
* clk: ti: clkctrl: Fix clkdm_name regression for TI_CLK_CLKCTRL_COMPAT
* gpio: gpio-omap: fix level interrupt idling
* include/linux/relay.h: fix percpu annotation in struct rchan
* sysctl: handle overflow for file-max
* net: stmmac: Avoid sometimes uninitialized Clang warnings
* enic: fix build warning without CONFIG_CPUMASK_OFFSTACK
* libbpf: force fixdep compilation at the start of the build
* iio: adc: fix warning in Qualcomm PM8xxx HK/XOADC driver
* x86/hyperv: Fix kernel panic when kexec on HyperV
* perf c2c: Fix c2c report for empty numa node
* mm/sparse: fix a bad comparison
* mm/cma.c: cma_declare_contiguous: correct err handling
* mm/page_ext.c: fix an imbalance with kmemleak
* mm, swap: bounds check swap_info array accesses to avoid NULL derefs
* docs/core-api/mm: fix user memory accessors formatting
* mm,oom: don't kill global init via memory.oom.group
* memcg: killed threads should not invoke memcg OOM killer
* mm, mempolicy: fix uninit memory access
* mm/vmalloc.c: fix kernel BUG at mm/vmalloc.c:512!
* mm/slab.c: kmemleak no scan alien caches
* ocfs2: fix a panic problem caused by o2cb_ctl
* f2fs: do not use mutex lock in atomic context
* f2fs: fix to data block override node segment by mistake
* fs/file.c: initialize init_files.resize_wait
* page_poison: play nicely with KASAN
* kasan: fix kasan_check_read/write definitions
* cifs: use correct format characters
* dm thin: add sanity checks to thin-pool and external snapshot creation
* f2fs: fix to check inline_xattr_size boundary correctly
* cifs: Accept validate negotiate if server return NT_STATUS_NOT_SUPPORTED
* cifs: Fix NULL pointer dereference of devname
* perf beauty msg_flags: Add missing %s lost when adding prefix suppression logic
* netfilter: nf_tables: check the result of dereferencing base_chain->stats
* PCI: mediatek: Fix memory mapped IO range size computation
* netfilter: conntrack: tcp: only close if RST matches exact sequence
* iommu/vt-d: Disable ATS support on untrusted devices
* jbd2: fix invalid descriptor block checksum
* ext4: fix bigalloc cluster freeing when hole punching under load
* fs: fix guard_bio_eod to check for real EOD errors
* tools lib traceevent: Fix buffer overflow in arg_eval
* mm/resource: Return real error codes from walk failures
* PCI/PME: Fix hotplug/sysfs remove deadlock in pcie_pme_remove()
* wil6210: check null pointer in _wil_cfg80211_merge_extra_ies
* mt76: fix a leaked reference by adding a missing of_node_put
* ath10k: Fix the wrong updation of BW in tx_stats debugfs entry
* lockdep/lib/tests: Fix run_tests.sh
* crypto: crypto4xx - add missing of_node_put after of_device_is_available
* crypto: cavium/zip - fix collision with generic cra_driver_name
* tools/bpf: selftests: add map lookup to test_map_in_map bpf prog
* usb: chipidea: Grab the (legacy) USB PHY by phandle first
* powerpc/powernv/ioda: Fix locked_vm counting for memory used by IOMMU tables
* scsi: core: replace GFP_ATOMIC with GFP_KERNEL in scsi_scan.c
* kbuild: invoke syncconfig if include/config/auto.conf.cmd is missing
* kbuild: make -r/-R effective in top Makefile for old Make versions
* btrfs: save drop_progress if we drop refs at all
* drm/amd/display: Fix reference counting for struct dc_sink.
* ath10k: don't report unset rssi values to mac80211
* powerpc/xmon: Fix opcode being uninitialized in print_insn_powerpc
* coresight: etm4x: Add support to enable ETMv4.2
* serial: 8250_pxa: honor the port number from devicetree
* ARM: 8840/1: use a raw_spinlock_t in unwind
* ARM: 8845/1: use unified assembler in c files
* iommu/io-pgtable-arm-v7s: Only kmemleak_ignore L2 tables
* powerpc/hugetlb: Handle mmap_min_addr correctly in get_unmapped_area callback
* net: dsa: mv88e6xxx: Default CMODE to 1000BaseX only on 6390X
* ice: fix ice_remove_rule_internal vsi_list handling
* perf script: Handle missing fields with -F +..
* btrfs: qgroup: Make qgroup async transaction commit more aggressive
* btrfs: don't enospc all tickets on flush failure
* mmc: omap: fix the maximum timeout setting
* net: dsa: mv88e6xxx: Add lockdep classes to fix false positive splat
* veth: Fix -Wformat-truncation
* e1000e: Fix -Wformat-truncation warnings
* mlxsw: spectrum: Avoid -Wformat-truncation warnings
* i2c: Allow recovery of the initial IRQ by an I2C client device.
* platform/x86: ideapad-laptop: Fix no_hw_rfkill_list for Lenovo RESCUER R720-15IKBN
* platform/mellanox: mlxreg-hotplug: Fix KASAN warning
* loop: set GENHD_FL_NO_PART_SCAN after blkdev_reread_part()
* i2c: designware: Do not allow i2c_dw_xfer() calls while suspended
* IB/mlx4: Increase the timeout for CM cache
* clk: fractional-divider: check parent rate only if flag is set
* perf annotate: Fix getting source line failure
* powerpc/44x: Force PCI on for CURRITUCK
* ASoC: qcom: Fix of-node refcount unbalance in qcom_snd_parse_of()
* cpufreq: acpi-cpufreq: Report if CPU doesn't support boost technologies
* efi: cper: Fix possible out-of-bounds access
* s390/ism: ignore some errors during deregistration
* scsi: megaraid_sas: return error when create DMA pool failed
* scsi: fcoe: make use of fip_mode enum complete
* drm/amd/display: Clear stream->mode_changed after commit
* perf test: Fix failure of 'evsel-tp-sched' test on s390
* mwifiex: don't advertise IBSS features without FW support
* perf report: Don't shadow inlined symbol with different addr range
* SoC: imx-sgtl5000: add missing put_device()
* media: ov7740: fix runtime pm initialization
* media: sh_veu: Correct return type for mem2mem buffer helpers
* media: s5p-jpeg: Correct return type for mem2mem buffer helpers
* media: rockchip/rga: Correct return type for mem2mem buffer helpers
* media: s5p-g2d: Correct return type for mem2mem buffer helpers
* media: mx2_emmaprp: Correct return type for mem2mem buffer helpers
* media: mtk-jpeg: Correct return type for mem2mem buffer helpers
* media: rockchip/vpu: Correct return type for mem2mem buffer helpers
* mt76: usb: do not run mt76u_queues_deinit twice
* gpio: of: Apply regulator-gpio quirk only to enable-gpios
* xen/gntdev: Do not destroy context while dma-bufs are in use
* vfs: fix preadv64v2 and pwritev64v2 compat syscalls with offset == -1
* HID: intel-ish-hid: avoid binding wrong ishtp_cl_device
* cgroup, rstat: Don't flush subtree root unless necessary
* efi: Fix build error due to enum collision between efi.h and ima.h
* drm/sched: Fix entities with 0 rqs.
* regulator: core: Take lock before applying system load
* jbd2: fix race when writing superblock
* leds: lp55xx: fix null deref on firmware load failure
* tools build: Add -lrt to FEATURE_CHECK_LDFLAGS-libaio
* tools build: Add test-reallocarray.c to test-all.c to fix the build
* perf beauty waitid options: Fix up prefix showing logic
* perf trace: Check if the 'fd' is negative when mapping it to pathname
* perf report: Add s390 diagnosic sampling descriptor size
* perf coresight: Do not test for libopencsd by default
* iwlwifi: pcie: fix emergency path
* ACPI / video: Refactor and fix dmi_is_desktop()
* selftests: ir: fix warning: "%s" directive output may be truncated ’ directive output may be truncated
* selftests: skip seccomp get_metadata test if not real root
* kprobes: Prohibit probing on bsearch()
* kprobes: Prohibit probing on RCU debug routine
* netfilter: conntrack: fix cloned unconfirmed skb->_nfct race in __nf_conntrack_confirm
* ARM: 8833/1: Ensure that NEON code always compiles with Clang
* ARM: dts: meson8b: fix the Ethernet data line signals in eth_rgmii_pins
* ALSA: PCM: check if ops are defined before suspending PCM
* ath10k: fix shadow register implementation for WCN3990
* usb: f_fs: Avoid crash due to out-of-scope stack ptr access
* sched/topology: Fix percpu data types in struct sd_data & struct s_data
* bcache: fix input overflow to cache set sysfs file io_error_halflife
* bcache: fix input overflow to sequential_cutoff
* bcache: fix potential div-zero error of writeback_rate_i_term_inverse
* bcache: improve sysfs_strtoul_clamp()
* genirq: Avoid summation loops for /proc/stat
* net: marvell: mvpp2: fix stuck in-band SGMII negotiation
* iw_cxgb4: fix srqidx leak during connection abort
* net: phy: consider latched link-down status in polling mode
* fbdev: fbmem: fix memory access if logo is bigger than the screen
* cdrom: Fix race condition in cdrom_sysctl_register
* drm: rcar-du: add missing of_node_put
* drm/amd/display: Don't re-program planes for DPMS changes
* bpf: test_maps: fix possible out of bound access warning
* x86/kexec: Fill in acpi_rsdp_addr from the first kernel
* powerpc/ptrace: Mitigate potential Spectre v1
* drm/amd/display: Disconnect mpcc when changing tg
* perf/aux: Make perf_event accessible to setup_aux()
* e1000e: fix cyclic resets at link up with active tx
* e1000e: Exclude device from suspend direct complete optimization
* platform/x86: intel_pmc_core: Fix PCH IP sts reading
* i2c: of: Try to find an I2C adapter matching the parent
* staging: spi: mt7621: Add return code check on device_reset()
* iwlwifi: mvm: fix RFH config command with >=10 CPUs
* ASoC: fsl-asoc-card: fix object reference leaks in fsl_asoc_card_probe
* sched/debug: Initialize sd_sysctl_cpus if !CONFIG_CPUMASK_OFFSTACK
* efi/memattr: Don't bail on zero VA if it equals the region's PA
* sched/core: Use READ_ONCE()/WRITE_ONCE() in move_queued_task()/task_rq_lock()
* drm/vkms: Bugfix racing hrtimer vblank handle
* drm/vkms: Bugfix extra vblank frame
* ARM: dts: lpc32xx: Remove leading 0x and 0s from bindings notation
* soc: qcom: gsbi: Fix error handling in gsbi_probe()
* drm/msm/dpu: Convert to a chained irq chip
* mt7601u: bump supported EEPROM version
* ARM: 8830/1: NOMMU: Toggle only bits in EXC_RETURN we are really care of
* ARM: avoid Cortex-A9 livelock on tight dmb loops
* block, bfq: fix in-service-queue check for queue merging
* block, bfq: fix queue removal from weights tree
* bpf: fix missing prototype warnings
* selftests/bpf: skip verifier tests for unsupported program types
* powerpc/64s: Clear on-stack exception marker upon exception return
* cgroup/pids: turn cgroup_subsys->free() into cgroup_subsys->release() to fix the accounting
* backlight: pwm_bl: Use gpiod_get_value_cansleep() to get initial state
* tty: increase the default flip buffer limit to 2*640K
* powerpc/pseries: Perform full re-add of CPU for topology update post-migration
* drm/amd/display: Enable vblank interrupt during CRC capture
* ALSA: dice: add support for Solid State Logic Duende Classic/Mini
* regulator: mcp16502: Include linux/gpio/consumer.h to fix build error
* usb: dwc3: gadget: Fix OTG events when gadget driver isn't loaded
* platform/x86: intel-hid: Missing power button release on some Dell models
* perf trace: Fixup etcsnoop example
* perf script python: Use PyBytes for attr in trace-event-python
* perf script python: Add trace_context extension module to sys.modules
* media: mt9m111: set initial frame size other than 0x0
* hwrng: virtio - Avoid repeated init of completion
* soc/tegra: fuse: Fix illegal free of IO base address
* selftests/bpf: suppress readelf stderr when probing for BTF support
* HID: intel-ish: ipc: handle PIMR before ish_wakeup also clear PISR busy_clear bit
* f2fs: UBSAN: set boolean value iostat_enable correctly
* f2fs: fix to initialize variable to avoid UBSAN/smatch warning
* hpet: Fix missing '=' character in the __setup() code of hpet_mmap_enable
* pinctrl: meson: fix G12A ao pull registers base address
* pinctrl: sh-pfc: r8a77990: Fix MOD_SEL bit numbering
* pinctrl: sh-pfc: r8a77995: Fix MOD_SEL bit numbering
* cpu/hotplug: Mute hotplug lockdep during init
* dmaengine: imx-dma: fix warning comparison of distinct pointer types
* dmaengine: qcom_hidma: assign channel cookie correctly
* dmaengine: qcom_hidma: initialize tx flags in hidma_prep_dma_*
* netfilter: physdev: relax br_netfilter dependency
* media: rcar-vin: Allow independent VIN link enablement
* media: s5p-jpeg: Check for fmt_ver_flag when doing fmt enumeration
* PCI: pciehp: Assign ctrl->slot_ctrl before writing it to hardware
* audit: hand taken context to audit_kill_trees for syscall logging
* regulator: act8865: Fix act8600_sudcdc_voltage_ranges setting
* pinctrl: meson: meson8b: add the eth_rxd2 and eth_rxd3 pins
* drm: Auto-set allow_fb_modifiers when given modifiers at plane init
* drm/nouveau: Stop using drm_crtc_force_disable
* x86/build: Specify elf_i386 linker emulation explicitly for i386 objects
* selinux: do not override context on context mounts
* brcmfmac: Use firmware_request_nowarn for the clm_blob
* wlcore: Fix memory leak in case wl12xx_fetch_firmware failure
* x86/build: Mark per-CPU symbols as absolute explicitly for LLD
* drm/fb-helper: fix leaks in error path of drm_fb_helper_fbdev_setup
* clk: meson: clean-up clock registration
* ARM: shmobile: Fix R-Car Gen2 regulator quirk
* clk: rockchip: fix frac settings of GPLL clock for rk3328
* dmaengine: tegra: avoid overflow of byte tracking
* staging: iio: adt7316: fix dac_bits assignment
* Input: soc_button_array - fix mapping of the 5th GPIO in a PNP0C40 device
* ASoC: simple-card-utils: check "reg" property on asoc_simple_card_get_dai_id()
* drm: Reorder set_property_atomic to avoid returning with an active ww_ctx
* drm/dp/mst: Configure no_stop_bit correctly for remote i2c xfers
* net: stmmac: Avoid one more sometimes uninitialized Clang warning
* appletalk: Fix compile regression
* gpio: of: Restrict enable-gpio quirk to regulator-gpio
* ACPI / video: Extend chassis-type detection with a "Lunch Box" check
* bcache: fix potential div-zero error of writeback_rate_p_term_inverse
* kbuild: add workaround for Debian make-kpkg
* kbuild: skip sub-make for in-tree build with GNU Make 4.x
* Linux 5.0.7

Changed in linux (Ubuntu):
status: New → Confirmed
tags: added: kernel-stable-tracking-bug

The following patches have been skipped as they have already been applied:

d8dbb581d4f86a2ac669c056fc71a28ebeb367f4 - apparmor: fix double free when unpack of secmark rules fails
efdcad62e7b8a02fcccc5ccca57806dce1482ac8 - scsi: hisi_sas: Set PHY linkrate when disconnected
4790595723d4b833b18c994973d39f9efb842887 - scsi: hisi_sas: Fix a timeout race of driver internal and SMP IO
eb4c2ccbad6c688be791e0c08640a40124558c03 - net: hns3: fix setting of the hns reset_type for rdma hw errors
4e46c2a956215482418d7b315749fb1b6c6bc224 - efi/arm/arm64: Allow SetVirtualAddressMap() to be omitted

description: updated

Built test passed on all architectures:

amd64-binary: PASSED
arm64-binary: PASSED
armhf-binary: PASSED
i386-binary: PASSED
ppc64el-binary: PASSED
s390x-binary: PASSED

Changed in linux (Ubuntu Disco):
status: New → In Progress
Stefan Bader (smb) on 2019-05-14
Changed in linux (Ubuntu Disco):
status: In Progress → Fix Committed
Changed in linux (Ubuntu):
status: Confirmed → Invalid
Changed in linux (Ubuntu Disco):
importance: Undecided → Medium
Launchpad Janitor (janitor) wrote :
Download full text (24.0 KiB)

This bug was fixed in the package linux - 5.0.0-16.17

linux (5.0.0-16.17) disco; urgency=medium

  * linux: 5.0.0-16.17 -proposed tracker (LP: #1829173)

  * shiftfs: lock security sensitive superblock flags (LP: #1827122)
    - SAUCE: shiftfs: lock down certain superblock flags

  * Please package libbpf (which is done out of the kernel src) in Debian [for
    19.10] (LP: #1826410)
    - SAUCE: tools -- fix add ability to disable libbfd

  * Disco update: 5.0.8 upstream stable release (LP: #1828415)
    - drm/i915/gvt: do not let pin count of shadow mm go negative
    - kbuild: pkg: use -f $(srctree)/Makefile to recurse to top Makefile
    - netfilter: nft_compat: use .release_ops and remove list of extension
    - netfilter: nf_tables: use-after-free in dynamic operations
    - netfilter: nf_tables: add missing ->release_ops() in error path of newrule()
    - hv_netvsc: Fix unwanted wakeup after tx_disable
    - ibmvnic: Fix completion structure initialization
    - ip6_tunnel: Match to ARPHRD_TUNNEL6 for dev type
    - ipv6: Fix dangling pointer when ipv6 fragment
    - ipv6: sit: reset ip header pointer in ipip6_rcv
    - kcm: switch order of device registration to fix a crash
    - net: ethtool: not call vzalloc for zero sized memory request
    - net-gro: Fix GRO flush when receiving a GSO packet.
    - net/mlx5: Decrease default mr cache size
    - netns: provide pure entropy for net_hash_mix()
    - net: rds: force to destroy connection if t_sock is NULL in
    - net/sched: act_sample: fix divide by zero in the traffic path
    - net/sched: fix ->get helper of the matchall cls
    - qmi_wwan: add Olicard 600
    - r8169: disable ASPM again
    - sctp: initialize _pad of sockaddr_in before copying to user memory
    - tcp: Ensure DCTCP reacts to losses
    - tcp: fix a potential NULL pointer dereference in tcp_sk_exit
    - vrf: check accept_source_route on the original netdevice
    - net/mlx5e: Fix error handling when refreshing TIRs
    - net/mlx5e: Add a lock on tir list
    - nfp: validate the return code from dev_queue_xmit()
    - nfp: disable netpoll on representors
    - bnxt_en: Improve RX consumer index validity check.
    - bnxt_en: Reset device on RX buffer errors.
    - net: ip_gre: fix possible use-after-free in erspan_rcv
    - net: ip6_gre: fix possible use-after-free in ip6erspan_rcv
    - net: bridge: always clear mcast matching struct on reports and leaves
    - net: thunderx: fix NULL pointer dereference in nicvf_open/nicvf_stop
    - net: vrf: Fix ping failed when vrf mtu is set to 0
    - net: core: netif_receive_skb_list: unlist skb before passing to pt->func
    - r8169: disable default rx interrupt coalescing on RTL8168
    - net: mlx5: Add a missing check on idr_find, free buf
    - net/mlx5e: Update xoff formula
    - net/mlx5e: Update xon formula
    - kbuild: clang: choose GCC_TOOLCHAIN_DIR not on LD
    - lib/string.c: implement a basic bcmp
    - Revert "clk: meson: clean-up clock registration"
    - tty: mark Siemens R3964 line discipline as BROKEN
    - [Config]: remove CONFIG_R3964
    - [Config]: add CONFIG_LDISC_AUTOLOAD=y
    - tty: ldisc: add sysctl to p...

Changed in linux (Ubuntu Disco):
status: Fix Committed → Fix Released
Changed in linux (Ubuntu):
status: Invalid → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers