This is the start of the stable review cycle for the 4.19.239 release.
There are 32 patches in this series, all will be posted as a response
to this one. If anyone has any issues with these being applied, please
let me know.
Responses should be made by Wed, 20 Apr 2022 12:11:14 +0000.
Anything received after that time might be too late.
The whole patch series can be found in one patch at:
https://www.kernel.org/pub/linux/kernel/v4.x/stable-review/patch-4.19.239-r…
or in the git tree and branch at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-4.19.y
and the diffstat can be found below.
thanks,
greg k-h
-------------
Pseudo-Shortlog of commits:
Greg Kroah-Hartman <gregkh(a)linuxfoundation.org>
Linux 4.19.239-rc1
Martin Povišer <povik+lin(a)cutebit.org>
i2c: pasemi: Wait for write xfers to finish
Nadav Amit <namit(a)vmware.com>
smp: Fix offline cpu check in flush_smp_call_function_queue()
Nathan Chancellor <nathan(a)kernel.org>
ARM: davinci: da850-evm: Avoid NULL pointer dereference
Nicolas Dichtel <nicolas.dichtel(a)6wind.com>
ipv6: fix panic when forwarding a pkt with no in6 dev
Fabio M. De Francesco <fmdefrancesco(a)gmail.com>
ALSA: pcm: Test for "silence" field in struct "pcm_format_data"
Tim Crawford <tcrawford(a)system76.com>
ALSA: hda/realtek: Add quirk for Clevo PD50PNT
Jason A. Donenfeld <Jason(a)zx2c4.com>
gcc-plugins: latent_entropy: use /dev/urandom
Oliver Upton <oupton(a)google.com>
KVM: Don't create VM debugfs files outside of the VM directory
Patrick Wang <patrick.wang.shcn(a)gmail.com>
mm: kmemleak: take a full lowmem check in kmemleak_*_phys()
Juergen Gross <jgross(a)suse.com>
mm, page_alloc: fix build_zonerefs_node()
Duoming Zhou <duoming(a)zju.edu.cn>
drivers: net: slip: fix NPD bug in sl_tx_timeout()
Alexey Galakhov <agalakhov(a)gmail.com>
scsi: mvsas: Add PCI ID of RocketRaid 2640
Roman Li <Roman.Li(a)amd.com>
drm/amd/display: Fix allocate_mst_payload assert on resume
Joey Gouly <joey.gouly(a)arm.com>
arm64: alternatives: mark patch_alternative() as `noinstr`
Leo Ruan <tingquan.ruan(a)cn.bosch.com>
gpu: ipu-v3: Fix dev_dbg frequency output
Christian Lamparter <chunkeey(a)gmail.com>
ata: libata-core: Disable READ LOG DMA EXT for Samsung 840 EVOs
Randy Dunlap <rdunlap(a)infradead.org>
net: micrel: fix KS8851_MLL Kconfig
Tyrel Datwyler <tyreld(a)linux.ibm.com>
scsi: ibmvscsis: Increase INITIAL_SRP_LIMIT to 1024
Xiaoguang Wang <xiaoguang.wang(a)linux.alibaba.com>
scsi: target: tcmu: Fix possible page UAF
Michael Kelley <mikelley(a)microsoft.com>
Drivers: hv: vmbus: Prevent load re-ordering when reading ring buffer
QintaoShen <unSimple1993(a)163.com>
drm/amdkfd: Check for potential null return of kmalloc_array()
Aurabindo Pillai <aurabindo.pillai(a)amd.com>
drm/amd: Add USBC connector ID
Harshit Mogalapalli <harshit.m.mogalapalli(a)oracle.com>
cifs: potential buffer overflow in handling symlinks
Lin Ma <linma(a)zju.edu.cn>
nfc: nci: add flush_workqueue to prevent uaf
Athira Rajeev <atrajeev(a)linux.vnet.ibm.com>
testing/selftests/mqueue: Fix mq_perf_tests to free the allocated cpu set
Petr Malat <oss(a)malat.biz>
sctp: Initialize daddr on peeled off socket
Dinh Nguyen <dinguyen(a)kernel.org>
net: ethernet: stmmac: fix altr_tse_pcs function when using a fixed-link
Vadim Pasternak <vadimp(a)nvidia.com>
mlxsw: i2c: Fix initialization error flow
Linus Torvalds <torvalds(a)linux-foundation.org>
gpiolib: acpi: use correct format characters
Guillaume Nault <gnault(a)redhat.com>
veth: Ensure eth header is in skb's linear part
Vlad Buslov <vladbu(a)nvidia.com>
net/sched: flower: fix parsing of ethertype following VLAN header
Miaoqian Lin <linmq006(a)gmail.com>
memory: atmel-ebi: Fix missing of_node_put in atmel_ebi_probe
-------------
Diffstat:
Makefile | 4 +-
arch/arm/mach-davinci/board-da850-evm.c | 4 +-
arch/arm64/kernel/alternative.c | 6 +--
drivers/ata/libata-core.c | 3 ++
drivers/gpio/gpiolib-acpi.c | 4 +-
drivers/gpu/drm/amd/amdgpu/ObjectID.h | 1 +
drivers/gpu/drm/amd/amdkfd/kfd_events.c | 2 +
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 3 +-
drivers/gpu/ipu-v3/ipu-di.c | 5 ++-
drivers/hv/ring_buffer.c | 11 +++++-
drivers/i2c/busses/i2c-pasemi.c | 6 +++
drivers/memory/atmel-ebi.c | 23 ++++++++---
drivers/net/ethernet/mellanox/mlxsw/i2c.c | 1 +
drivers/net/ethernet/micrel/Kconfig | 1 +
drivers/net/ethernet/stmicro/stmmac/altr_tse_pcs.c | 8 ----
drivers/net/ethernet/stmicro/stmmac/altr_tse_pcs.h | 4 ++
.../net/ethernet/stmicro/stmmac/dwmac-socfpga.c | 13 +++----
drivers/net/slip/slip.c | 2 +-
drivers/net/veth.c | 2 +-
drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c | 2 +-
drivers/scsi/mvsas/mv_init.c | 1 +
drivers/target/target_core_user.c | 3 +-
fs/cifs/link.c | 3 ++
include/net/flow_dissector.h | 2 +
kernel/smp.c | 2 +-
mm/kmemleak.c | 8 ++--
mm/page_alloc.c | 2 +-
net/core/flow_dissector.c | 1 +
net/ipv6/ip6_output.c | 2 +-
net/nfc/nci/core.c | 4 ++
net/sched/cls_flower.c | 18 ++++++---
net/sctp/socket.c | 2 +-
scripts/gcc-plugins/latent_entropy_plugin.c | 44 +++++++++++++---------
sound/core/pcm_misc.c | 2 +-
sound/pci/hda/patch_realtek.c | 1 +
tools/testing/selftests/mqueue/mq_perf_tests.c | 25 ++++++++----
virt/kvm/kvm_main.c | 8 +++-
37 files changed, 155 insertions(+), 78 deletions(-)
When writing out a stereo control we discard the change notification from
the first channel, meaning that events are only generated based on changes
to the second channel. Ensure that we report a change if either channel
has changed.
Signed-off-by: Mark Brown <broonie(a)kernel.org>
Cc: stable(a)vger.kernel.org
---
sound/soc/soc-ops.c | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/sound/soc/soc-ops.c b/sound/soc/soc-ops.c
index 73c9d53de25b..f0d1aeb38346 100644
--- a/sound/soc/soc-ops.c
+++ b/sound/soc/soc-ops.c
@@ -413,6 +413,7 @@ int snd_soc_put_volsw_sx(struct snd_kcontrol *kcontrol,
int min = mc->min;
unsigned int mask = (1U << (fls(min + max) - 1)) - 1;
int err = 0;
+ int ret;
unsigned int val, val_mask;
val_mask = mask << shift;
@@ -422,6 +423,7 @@ int snd_soc_put_volsw_sx(struct snd_kcontrol *kcontrol,
err = snd_soc_component_update_bits(component, reg, val_mask, val);
if (err < 0)
return err;
+ ret = err;
if (snd_soc_volsw_is_stereo(mc)) {
unsigned int val2;
@@ -432,6 +434,11 @@ int snd_soc_put_volsw_sx(struct snd_kcontrol *kcontrol,
err = snd_soc_component_update_bits(component, reg2, val_mask,
val2);
+
+ /* Don't discard any error code or drop change flag */
+ if (ret == 0 || err < 0) {
+ ret = err;
+ }
}
return err;
}
--
2.30.2