This is the start of the stable review cycle for the 4.14.237 release.
There are 49 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, 16 Jun 2021 10:26:30 +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.14.237-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.14.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.14.237-rc1
Liangyan <liangyan.peng(a)linux.alibaba.com>
tracing: Correct the length check which causes memory corruption
Steven Rostedt (VMware) <rostedt(a)goodmis.org>
ftrace: Do not blindly read the ip address in ftrace_bug()
Ming Lei <ming.lei(a)redhat.com>
scsi: core: Only put parent device if host state differs from SHOST_CREATED
Ming Lei <ming.lei(a)redhat.com>
scsi: core: Put .shost_dev in failure path if host state changes to RUNNING
Ming Lei <ming.lei(a)redhat.com>
scsi: core: Fix error handling of scsi_host_alloc()
Dai Ngo <dai.ngo(a)oracle.com>
NFSv4: nfs4_proc_set_acl needs to restore NFS_CAP_UIDGID_NOMAP on error.
Anna Schumaker <Anna.Schumaker(a)Netapp.com>
NFS: Fix use-after-free in nfs4_init_client()
Paolo Bonzini <pbonzini(a)redhat.com>
kvm: fix previous commit for 32-bit builds
Leo Yan <leo.yan(a)linaro.org>
perf session: Correct buffer copying when peeking events
Dan Carpenter <dan.carpenter(a)oracle.com>
NFS: Fix a potential NULL dereference in nfs_get_client()
Marco Elver <elver(a)google.com>
perf: Fix data race between pin_count increment/decrement
Dmitry Osipenko <digetx(a)gmail.com>
regulator: max77620: Use device_set_of_node_from_dev()
Dmitry Baryshkov <dmitry.baryshkov(a)linaro.org>
regulator: core: resolve supply for boot-on/always-on regulators
Maciej Żenczykowski <maze(a)google.com>
usb: fix various gadget panics on 10gbps cabling
Maciej Żenczykowski <maze(a)google.com>
usb: fix various gadgets null ptr deref on 10gbps cabling.
Linyu Yuan <linyyuan(a)codeaurora.com>
usb: gadget: eem: fix wrong eem header operation
Johan Hovold <johan(a)kernel.org>
USB: serial: quatech2: fix control-request directions
Alexandre GRIVEAUX <agriveaux(a)deutnet.info>
USB: serial: omninet: add device id for Zyxel Omni 56K Plus
George McCollister <george.mccollister(a)gmail.com>
USB: serial: ftdi_sio: add NovaTech OrionMX product ID
Wesley Cheng <wcheng(a)codeaurora.org>
usb: gadget: f_fs: Ensure io_completion_wq is idle during unbind
Mayank Rana <mrana(a)codeaurora.org>
usb: typec: ucsi: Clear PPM capability data in ucsi_init() error path
Marian-Cristian Rotariu <marian.c.rotariu(a)gmail.com>
usb: dwc3: ep0: fix NULL pointer exception
Maciej Żenczykowski <maze(a)google.com>
USB: f_ncm: ncm_bitrate (speed) is unsigned
Alexander Kuznetsov <wwfq(a)yandex-team.ru>
cgroup1: don't allow '\n' in renaming
Ritesh Harjani <riteshh(a)linux.ibm.com>
btrfs: return value from btrfs_mark_extent_written() in case of error
Wenli Looi <wlooi(a)ucalgary.ca>
staging: rtl8723bs: Fix uninitialized variables
Paolo Bonzini <pbonzini(a)redhat.com>
kvm: avoid speculation-based attacks from out-of-range memslot accesses
Desmond Cheong Zhi Xi <desmondcheongzx(a)gmail.com>
drm: Lock pointer access in drm_master_release()
Desmond Cheong Zhi Xi <desmondcheongzx(a)gmail.com>
drm: Fix use-after-free read in drm_getunique()
Chris Packham <chris.packham(a)alliedtelesis.co.nz>
i2c: mpc: implement erratum A-004447 workaround
Chris Packham <chris.packham(a)alliedtelesis.co.nz>
i2c: mpc: Make use of i2c_recover_bus()
Chris Packham <chris.packham(a)alliedtelesis.co.nz>
powerpc/fsl: set fsl,i2c-erratum-a004447 flag for P1010 i2c controllers
Chris Packham <chris.packham(a)alliedtelesis.co.nz>
powerpc/fsl: set fsl,i2c-erratum-a004447 flag for P2041 i2c controllers
Jiapeng Chong <jiapeng.chong(a)linux.alibaba.com>
bnx2x: Fix missing error code in bnx2x_iov_init_one()
Tiezhu Yang <yangtiezhu(a)loongson.cn>
MIPS: Fix kernel hang under FUNCTION_GRAPH_TRACER and PREEMPT_TRACER
Saubhik Mukherjee <saubhik.mukherjee(a)gmail.com>
net: appletalk: cops: Fix data race in cops_probe1
Zong Li <zong.li(a)sifive.com>
net: macb: ensure the device is available before accessing GEMGXL control registers
Dmitry Bogdanov <d.bogdanov(a)yadro.com>
scsi: target: qla2xxx: Wait for stop_phase1 at WWN removal
Matt Wang <wwentao(a)vmware.com>
scsi: vmw_pvscsi: Set correct residual data length
Zheyu Ma <zheyuma97(a)gmail.com>
net/qla3xxx: fix schedule while atomic in ql_sem_spinlock
Sergey Senozhatsky <senozhatsky(a)chromium.org>
wq: handle VM suspension in stall detection
Shakeel Butt <shakeelb(a)google.com>
cgroup: disable controllers at parse time
Dan Carpenter <dan.carpenter(a)oracle.com>
net: mdiobus: get rid of a BUG_ON()
Johannes Berg <johannes.berg(a)intel.com>
netlink: disable IRQs for netlink_lock_table()
Johannes Berg <johannes.berg(a)intel.com>
bonding: init notify_work earlier to avoid uninitialized use
Zheyu Ma <zheyuma97(a)gmail.com>
isdn: mISDN: netjet: Fix crash in nj_probe:
Zou Wei <zou_wei(a)huawei.com>
ASoC: sti-sas: add missing MODULE_DEVICE_TABLE
Jeimon <jjjinmeng.zhou(a)gmail.com>
net/nfc/rawsock.c: fix a permission check bug
Kees Cook <keescook(a)chromium.org>
proc: Track /proc/$pid/attr/ opener mm_struct
-------------
Diffstat:
Makefile | 4 +-
arch/mips/lib/mips-atomic.c | 12 +--
arch/powerpc/boot/dts/fsl/p1010si-post.dtsi | 8 ++
arch/powerpc/boot/dts/fsl/p2041si-post.dtsi | 16 ++++
drivers/gpu/drm/drm_auth.c | 3 +-
drivers/gpu/drm/drm_ioctl.c | 9 ++-
drivers/i2c/busses/i2c-mpc.c | 95 ++++++++++++++++++++++-
drivers/isdn/hardware/mISDN/netjet.c | 1 -
drivers/net/appletalk/cops.c | 4 +-
drivers/net/bonding/bond_main.c | 2 +-
drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c | 4 +-
drivers/net/ethernet/cadence/macb_main.c | 3 +
drivers/net/ethernet/qlogic/qla3xxx.c | 2 +-
drivers/net/phy/mdio_bus.c | 3 +-
drivers/regulator/core.c | 6 ++
drivers/regulator/max77620-regulator.c | 7 ++
drivers/scsi/hosts.c | 33 ++++----
drivers/scsi/qla2xxx/qla_target.c | 2 +
drivers/scsi/vmw_pvscsi.c | 8 +-
drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c | 2 +-
drivers/usb/dwc3/ep0.c | 3 +
drivers/usb/gadget/config.c | 8 ++
drivers/usb/gadget/function/f_ecm.c | 2 +-
drivers/usb/gadget/function/f_eem.c | 6 +-
drivers/usb/gadget/function/f_fs.c | 3 +
drivers/usb/gadget/function/f_hid.c | 3 +-
drivers/usb/gadget/function/f_loopback.c | 2 +-
drivers/usb/gadget/function/f_ncm.c | 2 +-
drivers/usb/gadget/function/f_printer.c | 3 +-
drivers/usb/gadget/function/f_rndis.c | 2 +-
drivers/usb/gadget/function/f_serial.c | 2 +-
drivers/usb/gadget/function/f_sourcesink.c | 3 +-
drivers/usb/gadget/function/f_subset.c | 2 +-
drivers/usb/gadget/function/f_tcm.c | 3 +-
drivers/usb/serial/ftdi_sio.c | 1 +
drivers/usb/serial/ftdi_sio_ids.h | 1 +
drivers/usb/serial/omninet.c | 2 +
drivers/usb/serial/quatech2.c | 6 +-
drivers/usb/typec/ucsi/ucsi.c | 1 +
fs/btrfs/file.c | 4 +-
fs/nfs/client.c | 2 +-
fs/nfs/nfs4client.c | 2 +-
fs/nfs/nfs4proc.c | 8 ++
fs/proc/base.c | 9 ++-
include/linux/kvm_host.h | 10 ++-
kernel/cgroup/cgroup-v1.c | 4 +
kernel/cgroup/cgroup.c | 13 ++--
kernel/events/core.c | 2 +
kernel/trace/ftrace.c | 8 +-
kernel/trace/trace.c | 2 +-
kernel/workqueue.c | 12 ++-
net/netlink/af_netlink.c | 6 +-
net/nfc/rawsock.c | 2 +-
sound/soc/codecs/sti-sas.c | 1 +
tools/perf/util/session.c | 1 +
55 files changed, 291 insertions(+), 74 deletions(-)
This is the start of the stable review cycle for the 4.9.273 release.
There are 41 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 Thu, 17 Jun 2021 06:06:45 +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.9.273-rc…
or in the git tree and branch at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-4.9.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.9.273-rc2
Liangyan <liangyan.peng(a)linux.alibaba.com>
tracing: Correct the length check which causes memory corruption
Steven Rostedt (VMware) <rostedt(a)goodmis.org>
ftrace: Do not blindly read the ip address in ftrace_bug()
Ming Lei <ming.lei(a)redhat.com>
scsi: core: Only put parent device if host state differs from SHOST_CREATED
Ming Lei <ming.lei(a)redhat.com>
scsi: core: Fix error handling of scsi_host_alloc()
Dai Ngo <dai.ngo(a)oracle.com>
NFSv4: nfs4_proc_set_acl needs to restore NFS_CAP_UIDGID_NOMAP on error.
Paolo Bonzini <pbonzini(a)redhat.com>
kvm: fix previous commit for 32-bit builds
Leo Yan <leo.yan(a)linaro.org>
perf session: Correct buffer copying when peeking events
Dan Carpenter <dan.carpenter(a)oracle.com>
NFS: Fix a potential NULL dereference in nfs_get_client()
Marco Elver <elver(a)google.com>
perf: Fix data race between pin_count increment/decrement
Maciej Żenczykowski <maze(a)google.com>
usb: fix various gadget panics on 10gbps cabling
Maciej Żenczykowski <maze(a)google.com>
usb: fix various gadgets null ptr deref on 10gbps cabling.
Linyu Yuan <linyyuan(a)codeaurora.com>
usb: gadget: eem: fix wrong eem header operation
Johan Hovold <johan(a)kernel.org>
USB: serial: quatech2: fix control-request directions
Alexandre GRIVEAUX <agriveaux(a)deutnet.info>
USB: serial: omninet: add device id for Zyxel Omni 56K Plus
George McCollister <george.mccollister(a)gmail.com>
USB: serial: ftdi_sio: add NovaTech OrionMX product ID
Marian-Cristian Rotariu <marian.c.rotariu(a)gmail.com>
usb: dwc3: ep0: fix NULL pointer exception
Maciej Żenczykowski <maze(a)google.com>
USB: f_ncm: ncm_bitrate (speed) is unsigned
Alexander Kuznetsov <wwfq(a)yandex-team.ru>
cgroup1: don't allow '\n' in renaming
Ritesh Harjani <riteshh(a)linux.ibm.com>
btrfs: return value from btrfs_mark_extent_written() in case of error
Paolo Bonzini <pbonzini(a)redhat.com>
kvm: avoid speculation-based attacks from out-of-range memslot accesses
Desmond Cheong Zhi Xi <desmondcheongzx(a)gmail.com>
drm: Lock pointer access in drm_master_release()
Chris Packham <chris.packham(a)alliedtelesis.co.nz>
i2c: mpc: implement erratum A-004447 workaround
Chris Packham <chris.packham(a)alliedtelesis.co.nz>
i2c: mpc: Make use of i2c_recover_bus()
Chris Packham <chris.packham(a)alliedtelesis.co.nz>
powerpc/fsl: set fsl,i2c-erratum-a004447 flag for P1010 i2c controllers
Chris Packham <chris.packham(a)alliedtelesis.co.nz>
powerpc/fsl: set fsl,i2c-erratum-a004447 flag for P2041 i2c controllers
Jiapeng Chong <jiapeng.chong(a)linux.alibaba.com>
bnx2x: Fix missing error code in bnx2x_iov_init_one()
Tiezhu Yang <yangtiezhu(a)loongson.cn>
MIPS: Fix kernel hang under FUNCTION_GRAPH_TRACER and PREEMPT_TRACER
Saubhik Mukherjee <saubhik.mukherjee(a)gmail.com>
net: appletalk: cops: Fix data race in cops_probe1
Zong Li <zong.li(a)sifive.com>
net: macb: ensure the device is available before accessing GEMGXL control registers
Dmitry Bogdanov <d.bogdanov(a)yadro.com>
scsi: target: qla2xxx: Wait for stop_phase1 at WWN removal
Matt Wang <wwentao(a)vmware.com>
scsi: vmw_pvscsi: Set correct residual data length
Zheyu Ma <zheyuma97(a)gmail.com>
net/qla3xxx: fix schedule while atomic in ql_sem_spinlock
Sergey Senozhatsky <senozhatsky(a)chromium.org>
wq: handle VM suspension in stall detection
Shakeel Butt <shakeelb(a)google.com>
cgroup: disable controllers at parse time
Dan Carpenter <dan.carpenter(a)oracle.com>
net: mdiobus: get rid of a BUG_ON()
Johannes Berg <johannes.berg(a)intel.com>
netlink: disable IRQs for netlink_lock_table()
Johannes Berg <johannes.berg(a)intel.com>
bonding: init notify_work earlier to avoid uninitialized use
Zheyu Ma <zheyuma97(a)gmail.com>
isdn: mISDN: netjet: Fix crash in nj_probe:
Zou Wei <zou_wei(a)huawei.com>
ASoC: sti-sas: add missing MODULE_DEVICE_TABLE
Jeimon <jjjinmeng.zhou(a)gmail.com>
net/nfc/rawsock.c: fix a permission check bug
Kees Cook <keescook(a)chromium.org>
proc: Track /proc/$pid/attr/ opener mm_struct
-------------
Diffstat:
Makefile | 4 +-
arch/mips/lib/mips-atomic.c | 12 +--
arch/powerpc/boot/dts/fsl/p1010si-post.dtsi | 8 ++
arch/powerpc/boot/dts/fsl/p2041si-post.dtsi | 16 ++++
drivers/gpu/drm/drm_auth.c | 3 +-
drivers/i2c/busses/i2c-mpc.c | 95 ++++++++++++++++++++++-
drivers/isdn/hardware/mISDN/netjet.c | 1 -
drivers/net/appletalk/cops.c | 4 +-
drivers/net/bonding/bond_main.c | 2 +-
drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c | 4 +-
drivers/net/ethernet/cadence/macb.c | 3 +
drivers/net/ethernet/qlogic/qla3xxx.c | 2 +-
drivers/net/phy/mdio_bus.c | 3 +-
drivers/scsi/hosts.c | 25 +++---
drivers/scsi/qla2xxx/qla_target.c | 2 +
drivers/scsi/vmw_pvscsi.c | 8 +-
drivers/usb/dwc3/ep0.c | 3 +
drivers/usb/gadget/config.c | 8 ++
drivers/usb/gadget/function/f_ecm.c | 2 +-
drivers/usb/gadget/function/f_eem.c | 6 +-
drivers/usb/gadget/function/f_loopback.c | 2 +-
drivers/usb/gadget/function/f_ncm.c | 2 +-
drivers/usb/gadget/function/f_printer.c | 3 +-
drivers/usb/gadget/function/f_rndis.c | 2 +-
drivers/usb/gadget/function/f_serial.c | 2 +-
drivers/usb/gadget/function/f_sourcesink.c | 3 +-
drivers/usb/gadget/function/f_subset.c | 2 +-
drivers/usb/gadget/function/f_tcm.c | 3 +-
drivers/usb/serial/ftdi_sio.c | 1 +
drivers/usb/serial/ftdi_sio_ids.h | 1 +
drivers/usb/serial/omninet.c | 2 +
drivers/usb/serial/quatech2.c | 6 +-
fs/btrfs/file.c | 4 +-
fs/nfs/client.c | 2 +-
fs/nfs/nfs4proc.c | 8 ++
fs/proc/base.c | 9 ++-
include/linux/kvm_host.h | 11 ++-
kernel/cgroup.c | 17 ++--
kernel/events/core.c | 2 +
kernel/trace/ftrace.c | 8 +-
kernel/trace/trace.c | 2 +-
kernel/workqueue.c | 12 ++-
net/netlink/af_netlink.c | 6 +-
net/nfc/rawsock.c | 2 +-
sound/soc/codecs/sti-sas.c | 1 +
tools/perf/util/session.c | 1 +
46 files changed, 260 insertions(+), 65 deletions(-)
This is the start of the stable review cycle for the 4.4.273 release.
There are 34 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, 16 Jun 2021 10:26:30 +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.4.273-rc…
or in the git tree and branch at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-4.4.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.4.273-rc1
Steven Rostedt (VMware) <rostedt(a)goodmis.org>
ftrace: Do not blindly read the ip address in ftrace_bug()
Ming Lei <ming.lei(a)redhat.com>
scsi: core: Only put parent device if host state differs from SHOST_CREATED
Dai Ngo <dai.ngo(a)oracle.com>
NFSv4: nfs4_proc_set_acl needs to restore NFS_CAP_UIDGID_NOMAP on error.
Paolo Bonzini <pbonzini(a)redhat.com>
kvm: fix previous commit for 32-bit builds
Leo Yan <leo.yan(a)linaro.org>
perf session: Correct buffer copying when peeking events
Dan Carpenter <dan.carpenter(a)oracle.com>
NFS: Fix a potential NULL dereference in nfs_get_client()
Marco Elver <elver(a)google.com>
perf: Fix data race between pin_count increment/decrement
Linyu Yuan <linyyuan(a)codeaurora.com>
usb: gadget: eem: fix wrong eem header operation
Johan Hovold <johan(a)kernel.org>
USB: serial: quatech2: fix control-request directions
Alexandre GRIVEAUX <agriveaux(a)deutnet.info>
USB: serial: omninet: add device id for Zyxel Omni 56K Plus
George McCollister <george.mccollister(a)gmail.com>
USB: serial: ftdi_sio: add NovaTech OrionMX product ID
Marian-Cristian Rotariu <marian.c.rotariu(a)gmail.com>
usb: dwc3: ep0: fix NULL pointer exception
Maciej Żenczykowski <maze(a)google.com>
USB: f_ncm: ncm_bitrate (speed) is unsigned
Alexander Kuznetsov <wwfq(a)yandex-team.ru>
cgroup1: don't allow '\n' in renaming
Ritesh Harjani <riteshh(a)linux.ibm.com>
btrfs: return value from btrfs_mark_extent_written() in case of error
Paolo Bonzini <pbonzini(a)redhat.com>
kvm: avoid speculation-based attacks from out-of-range memslot accesses
Chris Packham <chris.packham(a)alliedtelesis.co.nz>
i2c: mpc: implement erratum A-004447 workaround
Chris Packham <chris.packham(a)alliedtelesis.co.nz>
i2c: mpc: Make use of i2c_recover_bus()
Chris Packham <chris.packham(a)alliedtelesis.co.nz>
powerpc/fsl: set fsl,i2c-erratum-a004447 flag for P1010 i2c controllers
Chris Packham <chris.packham(a)alliedtelesis.co.nz>
powerpc/fsl: set fsl,i2c-erratum-a004447 flag for P2041 i2c controllers
Jiapeng Chong <jiapeng.chong(a)linux.alibaba.com>
bnx2x: Fix missing error code in bnx2x_iov_init_one()
Tiezhu Yang <yangtiezhu(a)loongson.cn>
MIPS: Fix kernel hang under FUNCTION_GRAPH_TRACER and PREEMPT_TRACER
Saubhik Mukherjee <saubhik.mukherjee(a)gmail.com>
net: appletalk: cops: Fix data race in cops_probe1
Zong Li <zong.li(a)sifive.com>
net: macb: ensure the device is available before accessing GEMGXL control registers
Dmitry Bogdanov <d.bogdanov(a)yadro.com>
scsi: target: qla2xxx: Wait for stop_phase1 at WWN removal
Matt Wang <wwentao(a)vmware.com>
scsi: vmw_pvscsi: Set correct residual data length
Zheyu Ma <zheyuma97(a)gmail.com>
net/qla3xxx: fix schedule while atomic in ql_sem_spinlock
Dan Carpenter <dan.carpenter(a)oracle.com>
net: mdiobus: get rid of a BUG_ON()
Johannes Berg <johannes.berg(a)intel.com>
netlink: disable IRQs for netlink_lock_table()
Johannes Berg <johannes.berg(a)intel.com>
bonding: init notify_work earlier to avoid uninitialized use
Zheyu Ma <zheyuma97(a)gmail.com>
isdn: mISDN: netjet: Fix crash in nj_probe:
Zou Wei <zou_wei(a)huawei.com>
ASoC: sti-sas: add missing MODULE_DEVICE_TABLE
Jeimon <jjjinmeng.zhou(a)gmail.com>
net/nfc/rawsock.c: fix a permission check bug
Kees Cook <keescook(a)chromium.org>
proc: Track /proc/$pid/attr/ opener mm_struct
-------------
Diffstat:
Makefile | 4 +-
arch/mips/lib/mips-atomic.c | 12 +--
arch/powerpc/boot/dts/fsl/p1010si-post.dtsi | 8 ++
arch/powerpc/boot/dts/fsl/p2041si-post.dtsi | 16 ++++
drivers/i2c/busses/i2c-mpc.c | 95 ++++++++++++++++++++++-
drivers/isdn/hardware/mISDN/netjet.c | 1 -
drivers/net/appletalk/cops.c | 4 +-
drivers/net/bonding/bond_main.c | 2 +-
drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c | 4 +-
drivers/net/ethernet/cadence/macb.c | 3 +
drivers/net/ethernet/qlogic/qla3xxx.c | 2 +-
drivers/net/phy/mdio_bus.c | 3 +-
drivers/scsi/hosts.c | 2 +-
drivers/scsi/qla2xxx/qla_target.c | 2 +
drivers/scsi/vmw_pvscsi.c | 8 +-
drivers/usb/dwc3/ep0.c | 3 +
drivers/usb/gadget/function/f_eem.c | 4 +-
drivers/usb/gadget/function/f_ncm.c | 2 +-
drivers/usb/serial/ftdi_sio.c | 1 +
drivers/usb/serial/ftdi_sio_ids.h | 1 +
drivers/usb/serial/omninet.c | 2 +
drivers/usb/serial/quatech2.c | 6 +-
fs/btrfs/file.c | 4 +-
fs/nfs/client.c | 2 +-
fs/nfs/nfs4proc.c | 8 ++
fs/proc/base.c | 9 ++-
include/linux/kvm_host.h | 11 ++-
kernel/cgroup.c | 4 +
kernel/events/core.c | 2 +
kernel/trace/ftrace.c | 8 +-
net/netlink/af_netlink.c | 6 +-
net/nfc/rawsock.c | 2 +-
sound/soc/codecs/sti-sas.c | 1 +
tools/perf/util/session.c | 1 +
34 files changed, 209 insertions(+), 34 deletions(-)
In AP mode WPA2-PSK connections were not established.
The reason was that the AP was sending the first message
of the 4 way handshake encrypted, even though no pairwise
key had (correctly) yet been set.
Encryption was enabled if the "security_enable" driver flag
was set and encryption was not explicitly disabled by
IEEE80211_TX_INTFL_DONT_ENCRYPT.
However security_enable was set when *any* key, including
the AP GTK key, had been set which was causing unwanted
encryption even if no key was avaialble for the unicast
packet to be sent.
Fix this by adding a check that we have a key and drop
the old security_enable driver flag which is insufficient
and redundant.
The Redpine downstream out of tree driver does it this way too.
Regarding the Fixes tag the actual code being modified was
introduced earlier, with the original driver submission, in
dad0d04fa7ba ("rsi: Add RS9113 wireless driver"), however
at that time AP mode was not yet supported so there was
no bug at that point.
So I have tagged the introduction of AP support instead
which was part of the patch set "rsi: support for AP mode" [1]
It is not clear whether AP WPA has ever worked, I can see nothing
on the kernel side that broke it afterwards yet the AP support
patch series says "Tests are performed to confirm aggregation,
connections in WEP and WPA/WPA2 security."
One possibility is that the initial tests were done with a modified
userspace (hostapd).
[1] https://www.spinics.net/lists/linux-wireless/msg165302.html
Signed-off-by: Martin Fuzzey <martin.fuzzey(a)flowbird.group>
Fixes: 38ef62353acb ("rsi: security enhancements for AP mode")
CC: stable(a)vger.kernel.org
---
V2:
Remove security_enable driver flag
Remove unnecessary parantheses
Improve $SUBJECT
drivers/net/wireless/rsi/rsi_91x_hal.c | 2 +-
drivers/net/wireless/rsi/rsi_91x_mac80211.c | 3 ---
drivers/net/wireless/rsi/rsi_91x_mgmt.c | 3 +--
drivers/net/wireless/rsi/rsi_main.h | 1 -
4 files changed, 2 insertions(+), 7 deletions(-)
diff --git a/drivers/net/wireless/rsi/rsi_91x_hal.c b/drivers/net/wireless/rsi/rsi_91x_hal.c
index ce98921..a51cb0a 100644
--- a/drivers/net/wireless/rsi/rsi_91x_hal.c
+++ b/drivers/net/wireless/rsi/rsi_91x_hal.c
@@ -203,7 +203,7 @@ int rsi_prepare_data_desc(struct rsi_common *common, struct sk_buff *skb)
wh->frame_control |= cpu_to_le16(RSI_SET_PS_ENABLE);
if ((!(info->flags & IEEE80211_TX_INTFL_DONT_ENCRYPT)) &&
- (common->secinfo.security_enable)) {
+ info->control.hw_key) {
if (rsi_is_cipher_wep(common))
ieee80211_size += 4;
else
diff --git a/drivers/net/wireless/rsi/rsi_91x_mac80211.c b/drivers/net/wireless/rsi/rsi_91x_mac80211.c
index 1602530..57c9e35 100644
--- a/drivers/net/wireless/rsi/rsi_91x_mac80211.c
+++ b/drivers/net/wireless/rsi/rsi_91x_mac80211.c
@@ -1028,7 +1028,6 @@ static int rsi_mac80211_set_key(struct ieee80211_hw *hw,
mutex_lock(&common->mutex);
switch (cmd) {
case SET_KEY:
- secinfo->security_enable = true;
status = rsi_hal_key_config(hw, vif, key, sta);
if (status) {
mutex_unlock(&common->mutex);
@@ -1047,8 +1046,6 @@ static int rsi_mac80211_set_key(struct ieee80211_hw *hw,
break;
case DISABLE_KEY:
- if (vif->type == NL80211_IFTYPE_STATION)
- secinfo->security_enable = false;
rsi_dbg(ERR_ZONE, "%s: RSI del key\n", __func__);
memset(key, 0, sizeof(struct ieee80211_key_conf));
status = rsi_hal_key_config(hw, vif, key, sta);
diff --git a/drivers/net/wireless/rsi/rsi_91x_mgmt.c b/drivers/net/wireless/rsi/rsi_91x_mgmt.c
index 33c76d3..b6d050a 100644
--- a/drivers/net/wireless/rsi/rsi_91x_mgmt.c
+++ b/drivers/net/wireless/rsi/rsi_91x_mgmt.c
@@ -1803,8 +1803,7 @@ int rsi_send_wowlan_request(struct rsi_common *common, u16 flags,
RSI_WIFI_MGMT_Q);
cmd_frame->desc.desc_dword0.frame_type = WOWLAN_CONFIG_PARAMS;
cmd_frame->host_sleep_status = sleep_status;
- if (common->secinfo.security_enable &&
- common->secinfo.gtk_cipher)
+ if (common->secinfo.gtk_cipher)
flags |= RSI_WOW_GTK_REKEY;
if (sleep_status)
cmd_frame->wow_flags = flags;
diff --git a/drivers/net/wireless/rsi/rsi_main.h b/drivers/net/wireless/rsi/rsi_main.h
index a1065e5..0f53585 100644
--- a/drivers/net/wireless/rsi/rsi_main.h
+++ b/drivers/net/wireless/rsi/rsi_main.h
@@ -151,7 +151,6 @@ enum edca_queue {
};
struct security_info {
- bool security_enable;
u32 ptk_cipher;
u32 gtk_cipher;
};
--
1.9.1
The RSI_RATE_x bits must be assigned to struct rsi_data_desc rate_info
field. The rest of the driver does it correctly, except this one place,
so fix it. This is also aligned with the RSI downstream vendor driver.
Without this patch, an AP operating at 5 GHz does not transmit any
beacons at all, this patch fixes that.
Fixes: d26a9559403c ("rsi: add beacon changes for AP mode")
Signed-off-by: Marek Vasut <marex(a)denx.de>
Cc: Amitkumar Karwar <amit.karwar(a)redpinesignals.com>
Cc: Angus Ainslie <angus(a)akkea.ca>
Cc: David S. Miller <davem(a)davemloft.net>
Cc: Jakub Kicinski <kuba(a)kernel.org>
Cc: Kalle Valo <kvalo(a)codeaurora.org>
Cc: Karun Eagalapati <karun256(a)gmail.com>
Cc: Martin Kepplinger <martink(a)posteo.de>
Cc: Prameela Rani Garnepudi <prameela.j04cs(a)gmail.com>
Cc: Sebastian Krzyszkowiak <sebastian.krzyszkowiak(a)puri.sm>
Cc: Siva Rebbagondla <siva8118(a)gmail.com>
Cc: netdev(a)vger.kernel.org
Cc: stable(a)vger.kernel.org
---
drivers/net/wireless/rsi/rsi_91x_hal.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/net/wireless/rsi/rsi_91x_hal.c b/drivers/net/wireless/rsi/rsi_91x_hal.c
index ce9892152f4d..ab837921d9a4 100644
--- a/drivers/net/wireless/rsi/rsi_91x_hal.c
+++ b/drivers/net/wireless/rsi/rsi_91x_hal.c
@@ -470,9 +470,9 @@ int rsi_prepare_beacon(struct rsi_common *common, struct sk_buff *skb)
}
if (common->band == NL80211_BAND_2GHZ)
- bcn_frm->bbp_info |= cpu_to_le16(RSI_RATE_1);
+ bcn_frm->rate_info |= cpu_to_le16(RSI_RATE_1);
else
- bcn_frm->bbp_info |= cpu_to_le16(RSI_RATE_6);
+ bcn_frm->rate_info |= cpu_to_le16(RSI_RATE_6);
if (mac_bcn->data[tim_offset + 2] == 0)
bcn_frm->frame_info |= cpu_to_le16(RSI_DATA_DESC_DTIM_BEACON);
--
2.30.2
This is a note to let you know that I've just added the patch titled
serial_cs: Add Option International GSM-Ready 56K/ISDN modem
to my tty git tree which can be found at
git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty.git
in the tty-testing branch.
The patch will show up in the next release of the linux-next tree
(usually sometime within the next 24 hours during the week.)
The patch will be merged to the tty-next branch sometime soon,
after it passes testing, and the merge window is open.
If you have any questions about this process, please let me know.
>From 674b5396576b636a1ff101f692935748388c7325 Mon Sep 17 00:00:00 2001
From: Ondrej Zary <linux(a)zary.sk>
Date: Fri, 11 Jun 2021 22:19:40 +0200
Subject: serial_cs: Add Option International GSM-Ready 56K/ISDN modem
Add support for Option International GSM-Ready 56K/ISDN PCMCIA modem
card.
Signed-off-by: Ondrej Zary <linux(a)zary.sk>
Cc: stable <stable(a)vger.kernel.org>
Link: https://lore.kernel.org/r/20210611201940.23898-2-linux@zary.sk
Signed-off-by: Greg Kroah-Hartman <gregkh(a)linuxfoundation.org>
---
drivers/tty/serial/8250/serial_cs.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/tty/serial/8250/serial_cs.c b/drivers/tty/serial/8250/serial_cs.c
index 2f1d33ea26e1..dc2ef05a10eb 100644
--- a/drivers/tty/serial/8250/serial_cs.c
+++ b/drivers/tty/serial/8250/serial_cs.c
@@ -786,6 +786,7 @@ static const struct pcmcia_device_id serial_ids[] = {
PCMCIA_DEVICE_PROD_ID12("Multi-Tech", "MT2834LT", 0x5f73be51, 0x4cd7c09e),
PCMCIA_DEVICE_PROD_ID12("OEM ", "C288MX ", 0xb572d360, 0xd2385b7a),
PCMCIA_DEVICE_PROD_ID12("Option International", "V34bis GSM/PSTN Data/Fax Modem", 0x9d7cd6f5, 0x5cb8bf41),
+ PCMCIA_DEVICE_PROD_ID12("Option International", "GSM-Ready 56K/ISDN", 0x9d7cd6f5, 0xb23844aa),
PCMCIA_DEVICE_PROD_ID12("PCMCIA ", "C336MX ", 0x99bcafe9, 0xaa25bcab),
PCMCIA_DEVICE_PROD_ID12("Quatech Inc", "PCMCIA Dual RS-232 Serial Port Card", 0xc4420b35, 0x92abc92f),
PCMCIA_DEVICE_PROD_ID12("Quatech Inc", "Dual RS-232 Serial Port PC Card", 0xc4420b35, 0x031a380d),
--
2.32.0