This is the start of the stable review cycle for the 4.9.313 release. There are 66 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, 12 May 2022 13:07:16 +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.313-rc1.gz 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@xxxxxxxxxxxxxxxxxxx> Linux 4.9.313-rc1 Mike Snitzer <snitzer@xxxxxxxxxx> dm: interlock pending dm_io and dm_wait_for_bios_completion Jiazi Li <jqqlijiazi@xxxxxxxxx> dm: fix mempool NULL pointer race when completing IO j.nixdorf@xxxxxx <j.nixdorf@xxxxxx> net: ipv6: ensure we call ipv6_mc_down() at most once Thadeu Lima de Souza Cascardo <cascardo@xxxxxxxxxxxxx> net: sched: prevent UAF on tc_ctl_tfilter when temporarily dropping rtnl_lock Sandipan Das <sandipan.das@xxxxxxx> kvm: x86/cpuid: Only provide CPUID leaf 0xA if host has architectural PMU Eric Dumazet <edumazet@xxxxxxxxxx> net: igmp: respect RCU rules in ip_mc_source() and ip_mc_msfilter() Filipe Manana <fdmanana@xxxxxxxx> btrfs: always log symlinks in full mode Sergey Shtylyov <s.shtylyov@xxxxxx> smsc911x: allow using IRQ0 Shravya Kumbham <shravya.kumbham@xxxxxxxxxx> net: emaclite: Add error handling for of_address_to_resource() Codrin Ciubotariu <codrin.ciubotariu@xxxxxxxxxxxxx> ASoC: dmaengine: Restore NULL prepare_slave_config() callback Armin Wolf <W_Armin@xxxxxx> hwmon: (adt7470) Fix warning on module removal Duoming Zhou <duoming@xxxxxxxxxx> NFC: netlink: fix sleep in atomic bug when firmware download timeout Duoming Zhou <duoming@xxxxxxxxxx> nfc: nfcmrvl: main: reorder destructive operations in nfcmrvl_nci_unregister_dev to avoid bugs Duoming Zhou <duoming@xxxxxxxxxx> nfc: replace improper check device_is_registered() in netlink related functions Daniel Hellstrom <daniel@xxxxxxxxxxx> can: grcan: use ofdev->dev when allocating DMA memory Duoming Zhou <duoming@xxxxxxxxxx> can: grcan: grcan_close(): fix deadlock Mark Brown <broonie@xxxxxxxxxx> ASoC: wm8958: Fix change notifications for DSP controls Niels Dossche <dossche.niels@xxxxxxxxx> firewire: core: extend card->lock in fw_core_handle_bus_reset Jakob Koschel <jakobkoschel@xxxxxxxxx> firewire: remove check of list iterator against head past the loop body Chengfeng Ye <cyeaa@xxxxxxxxxxxxxx> firewire: fix potential uaf in outbound_phy_packet_callback() Trond Myklebust <trond.myklebust@xxxxxxxxxxxxxxx> Revert "SUNRPC: attempt AF_LOCAL connect on setup" Takashi Sakamoto <o-takashi@xxxxxxxxxxxxx> ALSA: fireworks: fix wrong return count shorter than expected by 4 bytes Helge Deller <deller@xxxxxx> parisc: Merge model and model name into one line in /proc/cpuinfo Maciej W. Rozycki <macro@xxxxxxxxxxx> MIPS: Fix CP0 counter erratum detection for R4k CPUs Daniel Starke <daniel.starke@xxxxxxxxxxx> tty: n_gsm: fix incorrect UA handling Daniel Starke <daniel.starke@xxxxxxxxxxx> tty: n_gsm: fix wrong command frame length field encoding Daniel Starke <daniel.starke@xxxxxxxxxxx> tty: n_gsm: fix wrong command retry handling Daniel Starke <daniel.starke@xxxxxxxxxxx> tty: n_gsm: fix missing explicit ldisc flush Daniel Starke <daniel.starke@xxxxxxxxxxx> tty: n_gsm: fix insufficient txframe size Daniel Starke <daniel.starke@xxxxxxxxxxx> tty: n_gsm: fix malformed counter for out of frame data Daniel Starke <daniel.starke@xxxxxxxxxxx> tty: n_gsm: fix wrong signal octet encoding in convergence layer type 2 Borislav Petkov <bp@xxxxxxx> x86/cpu: Load microcode during restore_processor_state() Duoming Zhou <duoming@xxxxxxxxxx> drivers: net: hippi: Fix deadlock in rr_close() Zheyu Ma <zheyuma97@xxxxxxxxx> ASoC: wm8731: Disable the regulator when probing fails Manish Chopra <manishc@xxxxxxxxxxx> bnx2x: fix napi API usage sequence Yang Yingliang <yangyingliang@xxxxxxxxxx> clk: sunxi: sun9i-mmc: check return value after calling platform_get_resource() Christophe JAILLET <christophe.jaillet@xxxxxxxxxx> bus: sunxi-rsb: Fix the return value of sunxi_rsb_device_create() Eric Dumazet <edumazet@xxxxxxxxxx> tcp: fix potential xmit stalls caused by TCP_NOTSENT_LOWAT Peilin Ye <peilin.ye@xxxxxxxxxxxxx> ip_gre: Make o_seqno start from 0 in native mode Lv Ruyi <lv.ruyi@xxxxxxxxxx> pinctrl: pistachio: fix use of irq_of_parse_and_map() Miaoqian Lin <linmq006@xxxxxxxxx> mtd: rawnand: Fix return value check of wait_for_completion_timeout H. Nikolaus Schaller <hns@xxxxxxxxxxxxx> ARM: dts: Fix mmc order for omap3-gta04 Miaoqian Lin <linmq006@xxxxxxxxx> ARM: OMAP2+: Fix refcount leak in omap_gic_of_init Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxx> phy: samsung: exynos5250-sata: fix missing device put in probe error paths Miaoqian Lin <linmq006@xxxxxxxxx> phy: samsung: Fix missing of_node_put() in exynos_sata_phy_probe Fabio Estevam <festevam@xxxxxxxxx> ARM: dts: imx6qdl-apalis: Fix sgtl5000 detection issue Mikulas Patocka <mpatocka@xxxxxxxxxx> hex2bin: fix access beyond string end Mikulas Patocka <mpatocka@xxxxxxxxxx> hex2bin: make the function hex_to_bin constant-time Maciej W. Rozycki <macro@xxxxxxxxxxx> serial: 8250: Correct the clock for EndRun PTP/1588 PCIe device Maciej W. Rozycki <macro@xxxxxxxxxxx> serial: 8250: Also set sticky MCR bits in console restoration Vijayavardhan Vennapusa <vvreddy@xxxxxxxxxxxxxx> usb: gadget: configfs: clear deactivation flag in configfs_composite_unbind() Dan Vacura <w36195@xxxxxxxxxxxx> usb: gadget: uvc: Fix crash when encoding data for usb request Hangyu Hua <hbh25y@xxxxxxxxx> usb: misc: fix improper handling of refcount in uss720_probe() Zheyu Ma <zheyuma97@xxxxxxxxx> iio: magnetometer: ak8975: Fix the error handling in ak8975_power_on() Michael Hennerich <michael.hennerich@xxxxxxxxxx> iio: dac: ad5446: Fix read_raw not returning set value Zizhuang Deng <sunsetdzz@xxxxxxxxx> iio: dac: ad5592r: Fix the missing return value. Henry Lin <henryl@xxxxxxxxxx> xhci: stop polling roothubs after shutdown Daniele Palmas <dnlplm@xxxxxxxxx> USB: serial: option: add Telit 0x1057, 0x1058, 0x1075 compositions Slark Xiao <slark_xiao@xxxxxxx> USB: serial: option: add support for Cinterion MV32-WA/MV32-WB Bruno Thomsen <bruno.thomsen@xxxxxxxxx> USB: serial: cp210x: add PIDs for Kamstrup USB Meter Reader Kees Cook <keescook@xxxxxxxxxxxx> USB: serial: whiteheat: fix heap overflow in WHITEHEAT_GET_DTR_RTS Oliver Neukum <oneukum@xxxxxxxx> USB: quirks: add STRING quirk for VCOM device Oliver Neukum <oneukum@xxxxxxxx> USB: quirks: add a Realtek card reader Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> lightnvm: disable the subsystem Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> Revert "net: ethernet: stmmac: fix altr_tse_pcs function when using a fixed-link" Willy Tarreau <w@xxxxxx> floppy: disable FDRAWCMD by default ------------- Diffstat: Makefile | 4 +- arch/arm/boot/dts/imx6qdl-apalis.dtsi | 10 ++++- arch/arm/boot/dts/omap3-gta04.dtsi | 2 + arch/arm/mach-omap2/omap4-common.c | 2 + arch/mips/include/asm/timex.h | 8 ++-- arch/mips/kernel/time.c | 11 ++---- arch/parisc/kernel/processor.c | 3 +- arch/x86/include/asm/microcode.h | 2 + arch/x86/kernel/cpu/microcode/core.c | 6 +-- arch/x86/kvm/cpuid.c | 5 +++ arch/x86/power/cpu.c | 8 ++++ drivers/block/Kconfig | 16 ++++++++ drivers/block/floppy.c | 43 ++++++++++++++++------ drivers/bus/sunxi-rsb.c | 2 + drivers/clk/sunxi/clk-sun9i-mmc.c | 2 + drivers/firewire/core-card.c | 3 ++ drivers/firewire/core-cdev.c | 4 +- drivers/firewire/core-topology.c | 9 ++--- drivers/firewire/core-transaction.c | 30 ++++++++------- drivers/firewire/sbp2.c | 13 ++++--- drivers/hwmon/adt7470.c | 4 +- drivers/iio/dac/ad5446.c | 2 +- drivers/iio/dac/ad5592r-base.c | 2 +- drivers/iio/magnetometer/ak8975.c | 1 + drivers/lightnvm/Kconfig | 2 +- drivers/md/dm.c | 19 ++++++---- drivers/mtd/nand/sh_flctl.c | 14 ++++--- drivers/net/can/grcan.c | 8 +++- drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c | 9 +++-- drivers/net/ethernet/smsc/smsc911x.c | 2 +- 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/ethernet/xilinx/xilinx_emaclite.c | 15 ++++++-- drivers/net/hippi/rrunner.c | 2 + drivers/nfc/nfcmrvl/main.c | 2 +- drivers/phy/phy-exynos5250-sata.c | 21 ++++++++--- drivers/pinctrl/pinctrl-pistachio.c | 6 +-- drivers/tty/n_gsm.c | 40 ++++++++++---------- drivers/tty/serial/8250/8250_pci.c | 8 ++-- drivers/tty/serial/8250/8250_port.c | 2 +- drivers/usb/core/quirks.c | 6 +++ drivers/usb/gadget/configfs.c | 2 + drivers/usb/gadget/function/uvc_queue.c | 2 + drivers/usb/host/xhci.c | 11 ++++++ drivers/usb/misc/uss720.c | 3 +- drivers/usb/serial/cp210x.c | 2 + drivers/usb/serial/option.c | 12 ++++++ drivers/usb/serial/whiteheat.c | 5 +-- fs/btrfs/tree-log.c | 14 ++++++- include/linux/kernel.h | 2 +- include/net/tcp.h | 1 + lib/hexdump.c | 41 ++++++++++++++++----- net/ipv4/igmp.c | 9 +++-- net/ipv4/ip_gre.c | 8 ++-- net/ipv4/tcp_input.c | 12 +++++- net/ipv4/tcp_output.c | 1 + net/ipv6/addrconf.c | 8 +++- net/nfc/core.c | 29 +++++++-------- net/nfc/netlink.c | 4 +- net/sched/cls_api.c | 5 ++- net/sunrpc/xprtsock.c | 3 -- sound/firewire/fireworks/fireworks_hwdep.c | 1 + sound/soc/codecs/wm8731.c | 19 ++++++---- sound/soc/codecs/wm8958-dsp2.c | 8 ++-- sound/soc/soc-generic-dmaengine-pcm.c | 6 +-- 66 files changed, 387 insertions(+), 194 deletions(-)