Public bug reported:

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:

       upstream stable patchset 2020-07-02

                Ported from the following upstream stable releases:
                        v4.19.130, v.5.4.48

       from git://git.kernel.org/

power: supply: bq24257_charger: Replace depends on REGMAP_I2C with select
clk: sunxi: Fix incorrect usage of round_down()
ASoC: tegra: tegra_wm8903: Support nvidia, headset property
i2c: piix4: Detect secondary SMBus controller on AMD AM4 chipsets
iio: pressure: bmp280: Tolerate IRQ before registering
remoteproc: Fix IDR initialisation in rproc_alloc()
clk: qcom: msm8916: Fix the address location of pll->config_reg
backlight: lp855x: Ensure regulators are disabled on probe failure
ASoC: davinci-mcasp: Fix dma_chan refcnt leak when getting dma type
ARM: integrator: Add some Kconfig selections
scsi: qedi: Check for buffer overflow in qedi_set_path()
ALSA: hda/realtek - Introduce polarity for micmute LED GPIO
ALSA: isa/wavefront: prevent out of bounds write in ioctl
PCI: Allow pci_resize_resource() for devices on root bus
scsi: qla2xxx: Fix issue with adapter's stopping state
iio: bmp280: fix compensation of humidity
f2fs: report delalloc reserve as non-free in statfs for project quota
i2c: pxa: clear all master action bits in i2c_pxa_stop_message()
clk: samsung: Mark top ISP and CAM clocks on Exynos542x as critical
usblp: poison URBs upon disconnect
serial: 8250: Fix max baud limit in generic 8250 port
dm mpath: switch paths in dm_blk_ioctl() code path
PCI: aardvark: Don't blindly enable ASPM L0s and don't write to read-only 
register
ps3disk: use the default segment boundary
vfio/pci: fix memory leaks in alloc_perm_bits()
RDMA/mlx5: Add init2init as a modify command
m68k/PCI: Fix a memory leak in an error handling path
gpio: dwapb: Call acpi_gpiochip_free_interrupts() on GPIO chip de-registration
mfd: wm8994: Fix driver operation if loaded as modules
scsi: lpfc: Fix lpfc_nodelist leak when processing unsolicited event
clk: clk-flexgen: fix clock-critical handling
powerpc/perf/hv-24x7: Fix inconsistent output values incase multiple hv-24x7 
events run
nfsd: Fix svc_xprt refcnt leak when setup callback client failed
PCI: vmd: Filter resource type bits from shadow register
powerpc/crashkernel: Take "mem=" option into account
pwm: img: Call pm_runtime_put() in pm_runtime_get_sync() failed case
yam: fix possible memory leak in yam_init_driver
NTB: ntb_pingpong: Choose doorbells based on port number
NTB: Fix the default port and peer numbers for legacy drivers
mksysmap: Fix the mismatch of '.L' symbols in System.map
apparmor: fix introspection of of task mode for unconfined tasks
ASoC: meson: add missing free_irq() in error path
scsi: sr: Fix sr_probe() missing deallocate of device minor
scsi: ibmvscsi: Don't send host info in adapter info MAD after LPM
x86/purgatory: Disable various profiling and sanitizing options
staging: greybus: fix a missing-check bug in gb_lights_light_config()
arm64: dts: mt8173: fix unit name warnings
scsi: qedi: Do not flush offload work if ARP not resolved
ARM: dts: sun8i-h2-plus-bananapi-m2-zero: Fix led polarity
gpio: dwapb: Append MODULE_ALIAS for platform driver
scsi: qedf: Fix crash when MFW calls for protocol stats while function is still 
probing
pinctrl: rza1: Fix wrong array assignment of rza1l_swio_entries
firmware: qcom_scm: fix bogous abuse of dma-direct internals
staging: gasket: Fix mapping refcnt leak when put attribute fails
staging: gasket: Fix mapping refcnt leak when register/store fails
ALSA: usb-audio: Improve frames size computation
ALSA: usb-audio: Fix racy list management in output queue
s390/qdio: put thinint indicator after early error
slimbus: ngd: get drvdata from correct device
thermal/drivers/ti-soc-thermal: Avoid dereferencing ERR_PTR
usb: dwc3: gadget: Properly handle failed kick_transfer
staging: sm750fb: add missing case while setting FB_VISUAL
PCI: v3-semi: Fix a memory leak in v3_pci_probe() error handling paths
i2c: pxa: fix i2c_pxa_scream_blue_murder() debug output
serial: amba-pl011: Make sure we initialize the port.lock spinlock
drivers: base: Fix NULL pointer exception in __platform_driver_probe() if a 
driver developer is foolish
PCI: rcar: Fix incorrect programming of OB windows
PCI/ASPM: Allow ASPM on links to PCIe-to-PCI/PCI-X Bridges
scsi: qla2xxx: Fix warning after FC target reset
power: supply: lp8788: Fix an error handling path in 'lp8788_charger_probe()'
power: supply: smb347-charger: IRQSTAT_D is volatile
scsi: mpt3sas: Fix double free warnings
pinctrl: rockchip: fix memleak in rockchip_dt_node_to_map
dlm: remove BUG() before panic()
clk: ti: composite: fix memory leak
PCI: Fix pci_register_host_bridge() device_register() error handling
powerpc/64: Don't initialise init_task->thread.regs
tty: n_gsm: Fix SOF skipping
tty: n_gsm: Fix waking up upper tty layer when room available
HID: Add quirks for Trust Panora Graphic Tablet
ipmi: use vzalloc instead of kmalloc for user creation
powerpc/pseries/ras: Fix FWNMI_VALID off by one
powerpc/ps3: Fix kexec shutdown hang
vfio-pci: Mask cap zero
usb/ohci-platform: Fix a warning when hibernating
drm/msm/mdp5: Fix mdp5_init error path for failed mdp5_kms allocation
ASoC: Intel: bytcr_rt5640: Add quirk for Toshiba Encore WT8-A tablet
USB: host: ehci-mxc: Add error handling in ehci_mxc_drv_probe()
tty: n_gsm: Fix bogus i++ in gsm_data_kick
fpga: dfl: afu: Corrected error handling levels
clk: samsung: exynos5433: Add IGNORE_UNUSED flag to sclk_i2s1
scsi: target: tcmu: Userspace must not complete queued commands
arm64: tegra: Fix ethernet phy-mode for Jetson Xavier
powerpc/64s/pgtable: fix an undefined behaviour
dm zoned: return NULL if dmz_get_zone_for_reclaim() fails to find a zone
PCI/PTM: Inherit Switch Downstream Port PTM settings from Upstream Port
PCI: dwc: Fix inner MSI IRQ domain registration
IB/cma: Fix ports memory leak in cma_configfs
watchdog: da9062: No need to ping manually before setting timeout
usb: dwc2: gadget: move gadget resume after the core is in L0 state
USB: gadget: udc: s3c2410_udc: Remove pointless NULL check in s3c2410_udc_nuke
usb: gadget: lpc32xx_udc: don't dereference ep pointer before null check
usb: gadget: fix potential double-free in m66592_probe.
usb: gadget: Fix issue with config_ep_by_speed function
RDMA/iw_cxgb4: cleanup device debugfs entries on ULD remove
x86/apic: Make TSC deadline timer detection message visible
ASoC: fix incomplete error-handling in img_i2s_in_probe.
scsi: target: tcmu: Fix a use after free in tcmu_check_expired_queue_cmd()
clk: bcm2835: Fix return type of bcm2835_register_gate
scsi: ufs-qcom: Fix scheduling while atomic issue
KVM: PPC: Book3S HV: Ignore kmemleak false positives
clk: sprd: return correct type of value for _sprd_pll_recalc_rate
net: sunrpc: Fix off-by-one issues in 'rpc_ntop6'
NFSv4.1 fix rpc_call_done assignment for BIND_CONN_TO_SESSION
of: Fix a refcounting bug in __of_attach_node_sysfs()
powerpc/4xx: Don't unmap NULL mbase
extcon: adc-jack: Fix an error handling path in 'adc_jack_probe()'
ASoC: fsl_asrc_dma: Fix dma_chan leak when config DMA channel failed
vfio/mdev: Fix reference count leak in add_mdev_supported_type
rxrpc: Adjust /proc/net/rxrpc/calls to display call->debug_id not user_ID
openrisc: Fix issue with argument clobbering for clone/fork
gfs2: Allow lock_nolock mount to specify jid=X
scsi: iscsi: Fix reference count leak in iscsi_boot_create_kobj
scsi: ufs: Don't update urgent bkops level when toggling auto bkops
pinctrl: imxl: Fix an error handling path in 'imx1_pinctrl_core_probe()'
pinctrl: freescale: imx: Fix an error handling path in 'imx_pinctrl_probe()'
crypto: omap-sham - add proper load balancing support for multicore
geneve: change from tx_error to tx_dropped on missing metadata
lib/zlib: remove outdated and incorrect pre-increment optimization
include/linux/bitops.h: avoid clang shift-count-overflow warnings
selftests/vm/pkeys: fix alloc_random_pkey() to make it really random
blktrace: use errno instead of bi_status
blktrace: fix endianness in get_pdu_int()
blktrace: fix endianness for blk_log_remap()
gfs2: fix use-after-free on transaction ail lists
ntb_perf: pass correct struct device to dma_alloc_coherent
ntb_tool: pass correct struct device to dma_alloc_coherent
NTB: ntb_tool: reading the link file should not end in a NULL byte
NTB: Revert the change to use the NTB device dev for DMA allocations
NTB: perf: Don't require one more memory window than number of peers
NTB: perf: Fix support for hardware that doesn't have port numbers
NTB: perf: Fix race condition when run with ntb_test
NTB: ntb_test: Fix bug when counting remote files
drivers/perf: hisi: Fix wrong value for all counters enable
selftests/net: in timestamping, strncpy needs to preserve null byte
afs: Fix memory leak in afs_put_sysnames()
ASoC: core: only convert non DPCM link to DPCM link
ASoC: Intel: bytcr_rt5640: Add quirk for Toshiba Encore WT10-A tablet
ASoC: rt5645: Add platform-data for Asus T101HA
drm/sun4i: hdmi ddc clk: Fix size of m divider
scsi: acornscsi: Fix an error handling path in acornscsi_probe()
x86/idt: Keep spurious entries unset in system_vectors
net/filter: Permit reading NET in load_bytes_relative when MAC not set
xdp: Fix xsk_generic_xmit errno
usb/xhci-plat: Set PM runtime as active on resume
usb: host: ehci-platform: add a quirk to avoid stuck
usb/ehci-platform: Set PM runtime as active on resume
perf report: Fix NULL pointer dereference in hists__fprintf_nr_sample_events()
ext4: stop overwrite the errcode in ext4_setup_super
bcache: fix potential deadlock problem in btree_gc_coalesce
afs: Fix non-setting of mtime when writing into mmap
afs: afs_write_end() should change i_size under the right lock
block: Fix use-after-free in blkdev_get()
arm64: hw_breakpoint: Don't invoke overflow handler on uaccess watchpoints
libata: Use per port sync for detach
drm: encoder_slave: fix refcouting error for modules
drm/dp_mst: Reformat drm_dp_check_act_status() a bit
drm/qxl: Use correct notify port address when creating cursor ring
drm/amdgpu: Replace invalid device ID with a valid device ID
selinux: fix double free
ext4: fix partial cluster initialization when splitting extent
ext4: avoid race conditions when remounting with options that change dax
drm/dp_mst: Increase ACT retry timeout to 3s
x86/boot/compressed: Relax sed symbol type regex for LLVM ld.lld
block: nr_sects_write(): Disable preemption on seqcount write
mtd: rawnand: diskonchip: Fix the probe error path
mtd: rawnand: sharpsl: Fix the probe error path
mtd: rawnand: xway: Fix the probe error path
mtd: rawnand: orion: Fix the probe error path
mtd: rawnand: oxnas: Add of_node_put()
mtd: rawnand: oxnas: Fix the probe error path
mtd: rawnand: socrates: Fix the probe error path
mtd: rawnand: plat_nand: Fix the probe error path
mtd: rawnand: mtk: Fix the probe error path
mtd: rawnand: tmio: Fix the probe error path
s390: fix syscall_get_error for compat processes
drm/i915: Whitelist context-local timestamp in the gen9 cmdparser
drm/i915/icl+: Fix hotplug interrupt disabling after storm detection
crypto: algif_skcipher - Cap recv SG list at ctx->used
crypto: algboss - don't wait during notifier callback
kprobes: Fix to protect kick_kprobe_optimizer() by kprobe_mutex
e1000e: Do not wake up the system via WOL if device wakeup is disabled
net: octeon: mgmt: Repair filling of RX ring
kretprobe: Prevent triggering kretprobe from within kprobe_flush_task
sched/rt, net: Use CONFIG_PREEMPTION.patch
net: core: device_rename: Use rwsem instead of a seqcount
Revert "dpaa_eth: fix usage as DSA master, try 3"
kvm: x86: Move kvm_set_mmio_spte_mask() from x86.c to mmu.c
kvm: x86: Fix reserved bits related calculation errors caused by MKTME
KVM: x86/mmu: Set mmio_value to '0' if reserved #PF can't be generated
spi: spi-mem: Fix Dual/Quad modes on Octal-capable devices
arm64/kernel: Fix range on invalidating dcache for boot page tables
sched/fair: Refill bandwidth before scaling
ath10k: remove the max_sched_scan_reqs value
rtw88: fix an issue about leak system resources
block: reset mapping if failed to update hardware queue count
drm: rcar-du: Set primary plane zpos immutably at initializing
platform/x86: dell-laptop: don't register micmute LED if there is no token
mips: Fix cpu_has_mips64r1/2 activation for MIPS32 CPUs
media: dvbdev: Fix tuner->demod media controller link
ice: Fix memory leak
ice: Fix for memory leaks and modify ICE_FREE_CQ_BUFS
drm/mediatek: set dpi pin mode to gpio low to avoid leakage current
ath10k: add flush tx packets for SDIO chip
net: bcmgenet: Fix WoL with password after deep sleep
nvme-tcp: use bh_lock in data_ready
kgdboc: Use a platform device to handle tty drivers showing up late
sched: Defend cfs and rt bandwidth quota against overflow
MIPS: tools: Fix resource leak in elf-entry.c
ice: fix potential double free in probe unrolling
platform/x86: asus_wmi: Reserve more space for struct bias_args
bpf: Fix map permissions check
bpf: Refactor sockmap redirect code so its easy to reuse
ima: Remove __init annotation from ima_pcrread()
x86/amd_nb: Add AMD family 17h model 60h PCI IDs
ima: Remove redundant policy rule set in add_rules()
ima: Set again build_ima_appraise variable
media: cedrus: Program output format during each run
hwmon: (k10temp) Add AMD family 17h model 60h PCI match
soc/tegra: pmc: Select GENERIC_PINCONF
mtd: rawnand: Fix nand_gpio_waitrdy()
mtd: rawnand: onfi: Fix redundancy detection check
mtd: rawnand: sunxi: Fix the probe error path
UBUNTU: upstream stable to v4.19.130, v5.4.48

** Affects: linux (Ubuntu)
     Importance: Undecided
     Assignee: Kamal Mostafa (kamalmostafa)
         Status: In Progress


** Tags: kernel-stable-tracking-bug

** Changed in: linux (Ubuntu)
       Status: New => Confirmed

** Tags added: kernel-stable-tracking-bug

** Changed in: linux (Ubuntu)
       Status: Confirmed => In Progress

** Changed in: linux (Ubuntu)
     Assignee: (unassigned) => Kamal Mostafa (kamalmostafa)

** Description changed:

- 
-     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:
- 
-        upstream stable patchset 2020-07-02
-        from git://git.kernel.org/
+ 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:
+ 
+        upstream stable patchset 2020-07-02
+ 
+                 Ported from the following upstream stable releases:
+                         v4.19.130, v.5.4.48
+ 
+        from git://git.kernel.org/
+ 
+ power: supply: bq24257_charger: Replace depends on REGMAP_I2C with select
+ clk: sunxi: Fix incorrect usage of round_down()
+ ASoC: tegra: tegra_wm8903: Support nvidia, headset property
+ i2c: piix4: Detect secondary SMBus controller on AMD AM4 chipsets
+ iio: pressure: bmp280: Tolerate IRQ before registering
+ remoteproc: Fix IDR initialisation in rproc_alloc()
+ clk: qcom: msm8916: Fix the address location of pll->config_reg
+ backlight: lp855x: Ensure regulators are disabled on probe failure
+ ASoC: davinci-mcasp: Fix dma_chan refcnt leak when getting dma type
+ ARM: integrator: Add some Kconfig selections
+ scsi: qedi: Check for buffer overflow in qedi_set_path()
+ ALSA: hda/realtek - Introduce polarity for micmute LED GPIO
+ ALSA: isa/wavefront: prevent out of bounds write in ioctl
+ PCI: Allow pci_resize_resource() for devices on root bus
+ scsi: qla2xxx: Fix issue with adapter's stopping state
+ iio: bmp280: fix compensation of humidity
+ f2fs: report delalloc reserve as non-free in statfs for project quota
+ i2c: pxa: clear all master action bits in i2c_pxa_stop_message()
+ clk: samsung: Mark top ISP and CAM clocks on Exynos542x as critical
+ usblp: poison URBs upon disconnect
+ serial: 8250: Fix max baud limit in generic 8250 port
+ dm mpath: switch paths in dm_blk_ioctl() code path
+ PCI: aardvark: Don't blindly enable ASPM L0s and don't write to read-only 
register
+ ps3disk: use the default segment boundary
+ vfio/pci: fix memory leaks in alloc_perm_bits()
+ RDMA/mlx5: Add init2init as a modify command
+ m68k/PCI: Fix a memory leak in an error handling path
+ gpio: dwapb: Call acpi_gpiochip_free_interrupts() on GPIO chip de-registration
+ mfd: wm8994: Fix driver operation if loaded as modules
+ scsi: lpfc: Fix lpfc_nodelist leak when processing unsolicited event
+ clk: clk-flexgen: fix clock-critical handling
+ powerpc/perf/hv-24x7: Fix inconsistent output values incase multiple hv-24x7 
events run
+ nfsd: Fix svc_xprt refcnt leak when setup callback client failed
+ PCI: vmd: Filter resource type bits from shadow register
+ powerpc/crashkernel: Take "mem=" option into account
+ pwm: img: Call pm_runtime_put() in pm_runtime_get_sync() failed case
+ yam: fix possible memory leak in yam_init_driver
+ NTB: ntb_pingpong: Choose doorbells based on port number
+ NTB: Fix the default port and peer numbers for legacy drivers
+ mksysmap: Fix the mismatch of '.L' symbols in System.map
+ apparmor: fix introspection of of task mode for unconfined tasks
+ ASoC: meson: add missing free_irq() in error path
+ scsi: sr: Fix sr_probe() missing deallocate of device minor
+ scsi: ibmvscsi: Don't send host info in adapter info MAD after LPM
+ x86/purgatory: Disable various profiling and sanitizing options
+ staging: greybus: fix a missing-check bug in gb_lights_light_config()
+ arm64: dts: mt8173: fix unit name warnings
+ scsi: qedi: Do not flush offload work if ARP not resolved
+ ARM: dts: sun8i-h2-plus-bananapi-m2-zero: Fix led polarity
+ gpio: dwapb: Append MODULE_ALIAS for platform driver
+ scsi: qedf: Fix crash when MFW calls for protocol stats while function is 
still probing
+ pinctrl: rza1: Fix wrong array assignment of rza1l_swio_entries
+ firmware: qcom_scm: fix bogous abuse of dma-direct internals
+ staging: gasket: Fix mapping refcnt leak when put attribute fails
+ staging: gasket: Fix mapping refcnt leak when register/store fails
+ ALSA: usb-audio: Improve frames size computation
+ ALSA: usb-audio: Fix racy list management in output queue
+ s390/qdio: put thinint indicator after early error
+ slimbus: ngd: get drvdata from correct device
+ thermal/drivers/ti-soc-thermal: Avoid dereferencing ERR_PTR
+ usb: dwc3: gadget: Properly handle failed kick_transfer
+ staging: sm750fb: add missing case while setting FB_VISUAL
+ PCI: v3-semi: Fix a memory leak in v3_pci_probe() error handling paths
+ i2c: pxa: fix i2c_pxa_scream_blue_murder() debug output
+ serial: amba-pl011: Make sure we initialize the port.lock spinlock
+ drivers: base: Fix NULL pointer exception in __platform_driver_probe() if a 
driver developer is foolish
+ PCI: rcar: Fix incorrect programming of OB windows
+ PCI/ASPM: Allow ASPM on links to PCIe-to-PCI/PCI-X Bridges
+ scsi: qla2xxx: Fix warning after FC target reset
+ power: supply: lp8788: Fix an error handling path in 'lp8788_charger_probe()'
+ power: supply: smb347-charger: IRQSTAT_D is volatile
+ scsi: mpt3sas: Fix double free warnings
+ pinctrl: rockchip: fix memleak in rockchip_dt_node_to_map
+ dlm: remove BUG() before panic()
+ clk: ti: composite: fix memory leak
+ PCI: Fix pci_register_host_bridge() device_register() error handling
+ powerpc/64: Don't initialise init_task->thread.regs
+ tty: n_gsm: Fix SOF skipping
+ tty: n_gsm: Fix waking up upper tty layer when room available
+ HID: Add quirks for Trust Panora Graphic Tablet
+ ipmi: use vzalloc instead of kmalloc for user creation
+ powerpc/pseries/ras: Fix FWNMI_VALID off by one
+ powerpc/ps3: Fix kexec shutdown hang
+ vfio-pci: Mask cap zero
+ usb/ohci-platform: Fix a warning when hibernating
+ drm/msm/mdp5: Fix mdp5_init error path for failed mdp5_kms allocation
+ ASoC: Intel: bytcr_rt5640: Add quirk for Toshiba Encore WT8-A tablet
+ USB: host: ehci-mxc: Add error handling in ehci_mxc_drv_probe()
+ tty: n_gsm: Fix bogus i++ in gsm_data_kick
+ fpga: dfl: afu: Corrected error handling levels
+ clk: samsung: exynos5433: Add IGNORE_UNUSED flag to sclk_i2s1
+ scsi: target: tcmu: Userspace must not complete queued commands
+ arm64: tegra: Fix ethernet phy-mode for Jetson Xavier
+ powerpc/64s/pgtable: fix an undefined behaviour
+ dm zoned: return NULL if dmz_get_zone_for_reclaim() fails to find a zone
+ PCI/PTM: Inherit Switch Downstream Port PTM settings from Upstream Port
+ PCI: dwc: Fix inner MSI IRQ domain registration
+ IB/cma: Fix ports memory leak in cma_configfs
+ watchdog: da9062: No need to ping manually before setting timeout
+ usb: dwc2: gadget: move gadget resume after the core is in L0 state
+ USB: gadget: udc: s3c2410_udc: Remove pointless NULL check in s3c2410_udc_nuke
+ usb: gadget: lpc32xx_udc: don't dereference ep pointer before null check
+ usb: gadget: fix potential double-free in m66592_probe.
+ usb: gadget: Fix issue with config_ep_by_speed function
+ RDMA/iw_cxgb4: cleanup device debugfs entries on ULD remove
+ x86/apic: Make TSC deadline timer detection message visible
+ ASoC: fix incomplete error-handling in img_i2s_in_probe.
+ scsi: target: tcmu: Fix a use after free in tcmu_check_expired_queue_cmd()
+ clk: bcm2835: Fix return type of bcm2835_register_gate
+ scsi: ufs-qcom: Fix scheduling while atomic issue
+ KVM: PPC: Book3S HV: Ignore kmemleak false positives
+ clk: sprd: return correct type of value for _sprd_pll_recalc_rate
+ net: sunrpc: Fix off-by-one issues in 'rpc_ntop6'
+ NFSv4.1 fix rpc_call_done assignment for BIND_CONN_TO_SESSION
+ of: Fix a refcounting bug in __of_attach_node_sysfs()
+ powerpc/4xx: Don't unmap NULL mbase
+ extcon: adc-jack: Fix an error handling path in 'adc_jack_probe()'
+ ASoC: fsl_asrc_dma: Fix dma_chan leak when config DMA channel failed
+ vfio/mdev: Fix reference count leak in add_mdev_supported_type
+ rxrpc: Adjust /proc/net/rxrpc/calls to display call->debug_id not user_ID
+ openrisc: Fix issue with argument clobbering for clone/fork
+ gfs2: Allow lock_nolock mount to specify jid=X
+ scsi: iscsi: Fix reference count leak in iscsi_boot_create_kobj
+ scsi: ufs: Don't update urgent bkops level when toggling auto bkops
+ pinctrl: imxl: Fix an error handling path in 'imx1_pinctrl_core_probe()'
+ pinctrl: freescale: imx: Fix an error handling path in 'imx_pinctrl_probe()'
+ crypto: omap-sham - add proper load balancing support for multicore
+ geneve: change from tx_error to tx_dropped on missing metadata
+ lib/zlib: remove outdated and incorrect pre-increment optimization
+ include/linux/bitops.h: avoid clang shift-count-overflow warnings
+ selftests/vm/pkeys: fix alloc_random_pkey() to make it really random
+ blktrace: use errno instead of bi_status
+ blktrace: fix endianness in get_pdu_int()
+ blktrace: fix endianness for blk_log_remap()
+ gfs2: fix use-after-free on transaction ail lists
+ ntb_perf: pass correct struct device to dma_alloc_coherent
+ ntb_tool: pass correct struct device to dma_alloc_coherent
+ NTB: ntb_tool: reading the link file should not end in a NULL byte
+ NTB: Revert the change to use the NTB device dev for DMA allocations
+ NTB: perf: Don't require one more memory window than number of peers
+ NTB: perf: Fix support for hardware that doesn't have port numbers
+ NTB: perf: Fix race condition when run with ntb_test
+ NTB: ntb_test: Fix bug when counting remote files
+ drivers/perf: hisi: Fix wrong value for all counters enable
+ selftests/net: in timestamping, strncpy needs to preserve null byte
+ afs: Fix memory leak in afs_put_sysnames()
+ ASoC: core: only convert non DPCM link to DPCM link
+ ASoC: Intel: bytcr_rt5640: Add quirk for Toshiba Encore WT10-A tablet
+ ASoC: rt5645: Add platform-data for Asus T101HA
+ drm/sun4i: hdmi ddc clk: Fix size of m divider
+ scsi: acornscsi: Fix an error handling path in acornscsi_probe()
+ x86/idt: Keep spurious entries unset in system_vectors
+ net/filter: Permit reading NET in load_bytes_relative when MAC not set
+ xdp: Fix xsk_generic_xmit errno
+ usb/xhci-plat: Set PM runtime as active on resume
+ usb: host: ehci-platform: add a quirk to avoid stuck
+ usb/ehci-platform: Set PM runtime as active on resume
+ perf report: Fix NULL pointer dereference in hists__fprintf_nr_sample_events()
+ ext4: stop overwrite the errcode in ext4_setup_super
+ bcache: fix potential deadlock problem in btree_gc_coalesce
+ afs: Fix non-setting of mtime when writing into mmap
+ afs: afs_write_end() should change i_size under the right lock
+ block: Fix use-after-free in blkdev_get()
+ arm64: hw_breakpoint: Don't invoke overflow handler on uaccess watchpoints
+ libata: Use per port sync for detach
+ drm: encoder_slave: fix refcouting error for modules
+ drm/dp_mst: Reformat drm_dp_check_act_status() a bit
+ drm/qxl: Use correct notify port address when creating cursor ring
+ drm/amdgpu: Replace invalid device ID with a valid device ID
+ selinux: fix double free
+ ext4: fix partial cluster initialization when splitting extent
+ ext4: avoid race conditions when remounting with options that change dax
+ drm/dp_mst: Increase ACT retry timeout to 3s
+ x86/boot/compressed: Relax sed symbol type regex for LLVM ld.lld
+ block: nr_sects_write(): Disable preemption on seqcount write
+ mtd: rawnand: diskonchip: Fix the probe error path
+ mtd: rawnand: sharpsl: Fix the probe error path
+ mtd: rawnand: xway: Fix the probe error path
+ mtd: rawnand: orion: Fix the probe error path
+ mtd: rawnand: oxnas: Add of_node_put()
+ mtd: rawnand: oxnas: Fix the probe error path
+ mtd: rawnand: socrates: Fix the probe error path
+ mtd: rawnand: plat_nand: Fix the probe error path
+ mtd: rawnand: mtk: Fix the probe error path
+ mtd: rawnand: tmio: Fix the probe error path
+ s390: fix syscall_get_error for compat processes
+ drm/i915: Whitelist context-local timestamp in the gen9 cmdparser
+ drm/i915/icl+: Fix hotplug interrupt disabling after storm detection
+ crypto: algif_skcipher - Cap recv SG list at ctx->used
+ crypto: algboss - don't wait during notifier callback
+ kprobes: Fix to protect kick_kprobe_optimizer() by kprobe_mutex
+ e1000e: Do not wake up the system via WOL if device wakeup is disabled
+ net: octeon: mgmt: Repair filling of RX ring
+ kretprobe: Prevent triggering kretprobe from within kprobe_flush_task
+ sched/rt, net: Use CONFIG_PREEMPTION.patch
+ net: core: device_rename: Use rwsem instead of a seqcount
+ Revert "dpaa_eth: fix usage as DSA master, try 3"
+ kvm: x86: Move kvm_set_mmio_spte_mask() from x86.c to mmu.c
+ kvm: x86: Fix reserved bits related calculation errors caused by MKTME
+ KVM: x86/mmu: Set mmio_value to '0' if reserved #PF can't be generated
+ spi: spi-mem: Fix Dual/Quad modes on Octal-capable devices
+ arm64/kernel: Fix range on invalidating dcache for boot page tables
+ sched/fair: Refill bandwidth before scaling
+ ath10k: remove the max_sched_scan_reqs value
+ rtw88: fix an issue about leak system resources
+ block: reset mapping if failed to update hardware queue count
+ drm: rcar-du: Set primary plane zpos immutably at initializing
+ platform/x86: dell-laptop: don't register micmute LED if there is no token
+ mips: Fix cpu_has_mips64r1/2 activation for MIPS32 CPUs
+ media: dvbdev: Fix tuner->demod media controller link
+ ice: Fix memory leak
+ ice: Fix for memory leaks and modify ICE_FREE_CQ_BUFS
+ drm/mediatek: set dpi pin mode to gpio low to avoid leakage current
+ ath10k: add flush tx packets for SDIO chip
+ net: bcmgenet: Fix WoL with password after deep sleep
+ nvme-tcp: use bh_lock in data_ready
+ kgdboc: Use a platform device to handle tty drivers showing up late
+ sched: Defend cfs and rt bandwidth quota against overflow
+ MIPS: tools: Fix resource leak in elf-entry.c
+ ice: fix potential double free in probe unrolling
+ platform/x86: asus_wmi: Reserve more space for struct bias_args
+ bpf: Fix map permissions check
+ bpf: Refactor sockmap redirect code so its easy to reuse
+ ima: Remove __init annotation from ima_pcrread()
+ x86/amd_nb: Add AMD family 17h model 60h PCI IDs
+ ima: Remove redundant policy rule set in add_rules()
+ ima: Set again build_ima_appraise variable
+ media: cedrus: Program output format during each run
+ hwmon: (k10temp) Add AMD family 17h model 60h PCI match
+ soc/tegra: pmc: Select GENERIC_PINCONF
+ mtd: rawnand: Fix nand_gpio_waitrdy()
+ mtd: rawnand: onfi: Fix redundancy detection check
+ mtd: rawnand: sunxi: Fix the probe error path
+ UBUNTU: upstream stable to v4.19.130, v5.4.48

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

Title:
  Disco update: upstream stable patchset 2020-07-02

Status in linux package in Ubuntu:
  In Progress

Bug description:
  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:

         upstream stable patchset 2020-07-02

                  Ported from the following upstream stable releases:
                          v4.19.130, v.5.4.48

         from git://git.kernel.org/

  power: supply: bq24257_charger: Replace depends on REGMAP_I2C with select
  clk: sunxi: Fix incorrect usage of round_down()
  ASoC: tegra: tegra_wm8903: Support nvidia, headset property
  i2c: piix4: Detect secondary SMBus controller on AMD AM4 chipsets
  iio: pressure: bmp280: Tolerate IRQ before registering
  remoteproc: Fix IDR initialisation in rproc_alloc()
  clk: qcom: msm8916: Fix the address location of pll->config_reg
  backlight: lp855x: Ensure regulators are disabled on probe failure
  ASoC: davinci-mcasp: Fix dma_chan refcnt leak when getting dma type
  ARM: integrator: Add some Kconfig selections
  scsi: qedi: Check for buffer overflow in qedi_set_path()
  ALSA: hda/realtek - Introduce polarity for micmute LED GPIO
  ALSA: isa/wavefront: prevent out of bounds write in ioctl
  PCI: Allow pci_resize_resource() for devices on root bus
  scsi: qla2xxx: Fix issue with adapter's stopping state
  iio: bmp280: fix compensation of humidity
  f2fs: report delalloc reserve as non-free in statfs for project quota
  i2c: pxa: clear all master action bits in i2c_pxa_stop_message()
  clk: samsung: Mark top ISP and CAM clocks on Exynos542x as critical
  usblp: poison URBs upon disconnect
  serial: 8250: Fix max baud limit in generic 8250 port
  dm mpath: switch paths in dm_blk_ioctl() code path
  PCI: aardvark: Don't blindly enable ASPM L0s and don't write to read-only 
register
  ps3disk: use the default segment boundary
  vfio/pci: fix memory leaks in alloc_perm_bits()
  RDMA/mlx5: Add init2init as a modify command
  m68k/PCI: Fix a memory leak in an error handling path
  gpio: dwapb: Call acpi_gpiochip_free_interrupts() on GPIO chip de-registration
  mfd: wm8994: Fix driver operation if loaded as modules
  scsi: lpfc: Fix lpfc_nodelist leak when processing unsolicited event
  clk: clk-flexgen: fix clock-critical handling
  powerpc/perf/hv-24x7: Fix inconsistent output values incase multiple hv-24x7 
events run
  nfsd: Fix svc_xprt refcnt leak when setup callback client failed
  PCI: vmd: Filter resource type bits from shadow register
  powerpc/crashkernel: Take "mem=" option into account
  pwm: img: Call pm_runtime_put() in pm_runtime_get_sync() failed case
  yam: fix possible memory leak in yam_init_driver
  NTB: ntb_pingpong: Choose doorbells based on port number
  NTB: Fix the default port and peer numbers for legacy drivers
  mksysmap: Fix the mismatch of '.L' symbols in System.map
  apparmor: fix introspection of of task mode for unconfined tasks
  ASoC: meson: add missing free_irq() in error path
  scsi: sr: Fix sr_probe() missing deallocate of device minor
  scsi: ibmvscsi: Don't send host info in adapter info MAD after LPM
  x86/purgatory: Disable various profiling and sanitizing options
  staging: greybus: fix a missing-check bug in gb_lights_light_config()
  arm64: dts: mt8173: fix unit name warnings
  scsi: qedi: Do not flush offload work if ARP not resolved
  ARM: dts: sun8i-h2-plus-bananapi-m2-zero: Fix led polarity
  gpio: dwapb: Append MODULE_ALIAS for platform driver
  scsi: qedf: Fix crash when MFW calls for protocol stats while function is 
still probing
  pinctrl: rza1: Fix wrong array assignment of rza1l_swio_entries
  firmware: qcom_scm: fix bogous abuse of dma-direct internals
  staging: gasket: Fix mapping refcnt leak when put attribute fails
  staging: gasket: Fix mapping refcnt leak when register/store fails
  ALSA: usb-audio: Improve frames size computation
  ALSA: usb-audio: Fix racy list management in output queue
  s390/qdio: put thinint indicator after early error
  slimbus: ngd: get drvdata from correct device
  thermal/drivers/ti-soc-thermal: Avoid dereferencing ERR_PTR
  usb: dwc3: gadget: Properly handle failed kick_transfer
  staging: sm750fb: add missing case while setting FB_VISUAL
  PCI: v3-semi: Fix a memory leak in v3_pci_probe() error handling paths
  i2c: pxa: fix i2c_pxa_scream_blue_murder() debug output
  serial: amba-pl011: Make sure we initialize the port.lock spinlock
  drivers: base: Fix NULL pointer exception in __platform_driver_probe() if a 
driver developer is foolish
  PCI: rcar: Fix incorrect programming of OB windows
  PCI/ASPM: Allow ASPM on links to PCIe-to-PCI/PCI-X Bridges
  scsi: qla2xxx: Fix warning after FC target reset
  power: supply: lp8788: Fix an error handling path in 'lp8788_charger_probe()'
  power: supply: smb347-charger: IRQSTAT_D is volatile
  scsi: mpt3sas: Fix double free warnings
  pinctrl: rockchip: fix memleak in rockchip_dt_node_to_map
  dlm: remove BUG() before panic()
  clk: ti: composite: fix memory leak
  PCI: Fix pci_register_host_bridge() device_register() error handling
  powerpc/64: Don't initialise init_task->thread.regs
  tty: n_gsm: Fix SOF skipping
  tty: n_gsm: Fix waking up upper tty layer when room available
  HID: Add quirks for Trust Panora Graphic Tablet
  ipmi: use vzalloc instead of kmalloc for user creation
  powerpc/pseries/ras: Fix FWNMI_VALID off by one
  powerpc/ps3: Fix kexec shutdown hang
  vfio-pci: Mask cap zero
  usb/ohci-platform: Fix a warning when hibernating
  drm/msm/mdp5: Fix mdp5_init error path for failed mdp5_kms allocation
  ASoC: Intel: bytcr_rt5640: Add quirk for Toshiba Encore WT8-A tablet
  USB: host: ehci-mxc: Add error handling in ehci_mxc_drv_probe()
  tty: n_gsm: Fix bogus i++ in gsm_data_kick
  fpga: dfl: afu: Corrected error handling levels
  clk: samsung: exynos5433: Add IGNORE_UNUSED flag to sclk_i2s1
  scsi: target: tcmu: Userspace must not complete queued commands
  arm64: tegra: Fix ethernet phy-mode for Jetson Xavier
  powerpc/64s/pgtable: fix an undefined behaviour
  dm zoned: return NULL if dmz_get_zone_for_reclaim() fails to find a zone
  PCI/PTM: Inherit Switch Downstream Port PTM settings from Upstream Port
  PCI: dwc: Fix inner MSI IRQ domain registration
  IB/cma: Fix ports memory leak in cma_configfs
  watchdog: da9062: No need to ping manually before setting timeout
  usb: dwc2: gadget: move gadget resume after the core is in L0 state
  USB: gadget: udc: s3c2410_udc: Remove pointless NULL check in s3c2410_udc_nuke
  usb: gadget: lpc32xx_udc: don't dereference ep pointer before null check
  usb: gadget: fix potential double-free in m66592_probe.
  usb: gadget: Fix issue with config_ep_by_speed function
  RDMA/iw_cxgb4: cleanup device debugfs entries on ULD remove
  x86/apic: Make TSC deadline timer detection message visible
  ASoC: fix incomplete error-handling in img_i2s_in_probe.
  scsi: target: tcmu: Fix a use after free in tcmu_check_expired_queue_cmd()
  clk: bcm2835: Fix return type of bcm2835_register_gate
  scsi: ufs-qcom: Fix scheduling while atomic issue
  KVM: PPC: Book3S HV: Ignore kmemleak false positives
  clk: sprd: return correct type of value for _sprd_pll_recalc_rate
  net: sunrpc: Fix off-by-one issues in 'rpc_ntop6'
  NFSv4.1 fix rpc_call_done assignment for BIND_CONN_TO_SESSION
  of: Fix a refcounting bug in __of_attach_node_sysfs()
  powerpc/4xx: Don't unmap NULL mbase
  extcon: adc-jack: Fix an error handling path in 'adc_jack_probe()'
  ASoC: fsl_asrc_dma: Fix dma_chan leak when config DMA channel failed
  vfio/mdev: Fix reference count leak in add_mdev_supported_type
  rxrpc: Adjust /proc/net/rxrpc/calls to display call->debug_id not user_ID
  openrisc: Fix issue with argument clobbering for clone/fork
  gfs2: Allow lock_nolock mount to specify jid=X
  scsi: iscsi: Fix reference count leak in iscsi_boot_create_kobj
  scsi: ufs: Don't update urgent bkops level when toggling auto bkops
  pinctrl: imxl: Fix an error handling path in 'imx1_pinctrl_core_probe()'
  pinctrl: freescale: imx: Fix an error handling path in 'imx_pinctrl_probe()'
  crypto: omap-sham - add proper load balancing support for multicore
  geneve: change from tx_error to tx_dropped on missing metadata
  lib/zlib: remove outdated and incorrect pre-increment optimization
  include/linux/bitops.h: avoid clang shift-count-overflow warnings
  selftests/vm/pkeys: fix alloc_random_pkey() to make it really random
  blktrace: use errno instead of bi_status
  blktrace: fix endianness in get_pdu_int()
  blktrace: fix endianness for blk_log_remap()
  gfs2: fix use-after-free on transaction ail lists
  ntb_perf: pass correct struct device to dma_alloc_coherent
  ntb_tool: pass correct struct device to dma_alloc_coherent
  NTB: ntb_tool: reading the link file should not end in a NULL byte
  NTB: Revert the change to use the NTB device dev for DMA allocations
  NTB: perf: Don't require one more memory window than number of peers
  NTB: perf: Fix support for hardware that doesn't have port numbers
  NTB: perf: Fix race condition when run with ntb_test
  NTB: ntb_test: Fix bug when counting remote files
  drivers/perf: hisi: Fix wrong value for all counters enable
  selftests/net: in timestamping, strncpy needs to preserve null byte
  afs: Fix memory leak in afs_put_sysnames()
  ASoC: core: only convert non DPCM link to DPCM link
  ASoC: Intel: bytcr_rt5640: Add quirk for Toshiba Encore WT10-A tablet
  ASoC: rt5645: Add platform-data for Asus T101HA
  drm/sun4i: hdmi ddc clk: Fix size of m divider
  scsi: acornscsi: Fix an error handling path in acornscsi_probe()
  x86/idt: Keep spurious entries unset in system_vectors
  net/filter: Permit reading NET in load_bytes_relative when MAC not set
  xdp: Fix xsk_generic_xmit errno
  usb/xhci-plat: Set PM runtime as active on resume
  usb: host: ehci-platform: add a quirk to avoid stuck
  usb/ehci-platform: Set PM runtime as active on resume
  perf report: Fix NULL pointer dereference in hists__fprintf_nr_sample_events()
  ext4: stop overwrite the errcode in ext4_setup_super
  bcache: fix potential deadlock problem in btree_gc_coalesce
  afs: Fix non-setting of mtime when writing into mmap
  afs: afs_write_end() should change i_size under the right lock
  block: Fix use-after-free in blkdev_get()
  arm64: hw_breakpoint: Don't invoke overflow handler on uaccess watchpoints
  libata: Use per port sync for detach
  drm: encoder_slave: fix refcouting error for modules
  drm/dp_mst: Reformat drm_dp_check_act_status() a bit
  drm/qxl: Use correct notify port address when creating cursor ring
  drm/amdgpu: Replace invalid device ID with a valid device ID
  selinux: fix double free
  ext4: fix partial cluster initialization when splitting extent
  ext4: avoid race conditions when remounting with options that change dax
  drm/dp_mst: Increase ACT retry timeout to 3s
  x86/boot/compressed: Relax sed symbol type regex for LLVM ld.lld
  block: nr_sects_write(): Disable preemption on seqcount write
  mtd: rawnand: diskonchip: Fix the probe error path
  mtd: rawnand: sharpsl: Fix the probe error path
  mtd: rawnand: xway: Fix the probe error path
  mtd: rawnand: orion: Fix the probe error path
  mtd: rawnand: oxnas: Add of_node_put()
  mtd: rawnand: oxnas: Fix the probe error path
  mtd: rawnand: socrates: Fix the probe error path
  mtd: rawnand: plat_nand: Fix the probe error path
  mtd: rawnand: mtk: Fix the probe error path
  mtd: rawnand: tmio: Fix the probe error path
  s390: fix syscall_get_error for compat processes
  drm/i915: Whitelist context-local timestamp in the gen9 cmdparser
  drm/i915/icl+: Fix hotplug interrupt disabling after storm detection
  crypto: algif_skcipher - Cap recv SG list at ctx->used
  crypto: algboss - don't wait during notifier callback
  kprobes: Fix to protect kick_kprobe_optimizer() by kprobe_mutex
  e1000e: Do not wake up the system via WOL if device wakeup is disabled
  net: octeon: mgmt: Repair filling of RX ring
  kretprobe: Prevent triggering kretprobe from within kprobe_flush_task
  sched/rt, net: Use CONFIG_PREEMPTION.patch
  net: core: device_rename: Use rwsem instead of a seqcount
  Revert "dpaa_eth: fix usage as DSA master, try 3"
  kvm: x86: Move kvm_set_mmio_spte_mask() from x86.c to mmu.c
  kvm: x86: Fix reserved bits related calculation errors caused by MKTME
  KVM: x86/mmu: Set mmio_value to '0' if reserved #PF can't be generated
  spi: spi-mem: Fix Dual/Quad modes on Octal-capable devices
  arm64/kernel: Fix range on invalidating dcache for boot page tables
  sched/fair: Refill bandwidth before scaling
  ath10k: remove the max_sched_scan_reqs value
  rtw88: fix an issue about leak system resources
  block: reset mapping if failed to update hardware queue count
  drm: rcar-du: Set primary plane zpos immutably at initializing
  platform/x86: dell-laptop: don't register micmute LED if there is no token
  mips: Fix cpu_has_mips64r1/2 activation for MIPS32 CPUs
  media: dvbdev: Fix tuner->demod media controller link
  ice: Fix memory leak
  ice: Fix for memory leaks and modify ICE_FREE_CQ_BUFS
  drm/mediatek: set dpi pin mode to gpio low to avoid leakage current
  ath10k: add flush tx packets for SDIO chip
  net: bcmgenet: Fix WoL with password after deep sleep
  nvme-tcp: use bh_lock in data_ready
  kgdboc: Use a platform device to handle tty drivers showing up late
  sched: Defend cfs and rt bandwidth quota against overflow
  MIPS: tools: Fix resource leak in elf-entry.c
  ice: fix potential double free in probe unrolling
  platform/x86: asus_wmi: Reserve more space for struct bias_args
  bpf: Fix map permissions check
  bpf: Refactor sockmap redirect code so its easy to reuse
  ima: Remove __init annotation from ima_pcrread()
  x86/amd_nb: Add AMD family 17h model 60h PCI IDs
  ima: Remove redundant policy rule set in add_rules()
  ima: Set again build_ima_appraise variable
  media: cedrus: Program output format during each run
  hwmon: (k10temp) Add AMD family 17h model 60h PCI match
  soc/tegra: pmc: Select GENERIC_PINCONF
  mtd: rawnand: Fix nand_gpio_waitrdy()
  mtd: rawnand: onfi: Fix redundancy detection check
  mtd: rawnand: sunxi: Fix the probe error path
  UBUNTU: upstream stable to v4.19.130, v5.4.48

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

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to