This is the start of the stable review cycle for the 4.19.299 release. There are 88 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 Fri, 17 Nov 2023 19:14:03 +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.299-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.19.y and the diffstat can be found below. thanks, greg k-h ------------- Pseudo-Shortlog of commits: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> Linux 4.19.299-rc1 Filipe Manana <fdmanana@xxxxxxxx> btrfs: use u64 for buffer sizes in the tree search ioctls Dominique Martinet <dominique.martinet@xxxxxxxxxxxxxxxxx> Revert "mmc: core: Capture correct oemid-bits for eMMC cards" Arnd Bergmann <arnd@xxxxxxxx> fbdev: fsl-diu-fb: mark wr_reg_wa() static Dan Carpenter <dan.carpenter@xxxxxxxxxx> fbdev: imsttfb: fix a resource leak in probe Helge Deller <deller@xxxxxx> fbdev: imsttfb: Fix error path of imsttfb_probe() Maciej Żenczykowski <zenczykowski@xxxxxxxxx> netfilter: xt_recent: fix (increase) ipv6 literal buffer length Heiner Kallweit <hkallweit1@xxxxxxxxx> r8169: respect userspace disabling IFF_MULTICAST George Shuklin <george.shuklin@xxxxxxxxx> tg3: power down device only on SYSTEM_POWER_OFF D. Wythe <alibuda@xxxxxxxxxxxxxxxxx> net/smc: fix dangling sock under state SMC_APPFINCLOSEWAIT Karsten Graul <kgraul@xxxxxxxxxxxxx> net/smc: wait for pending work before clcsock release_sock Ursula Braun <ubraun@xxxxxxxxxxxxx> net/smc: postpone release of clcsock Patrick Thompson <ptf@xxxxxxxxxx> net: r8169: Disable multicast filter for RTL8168H and RTL8107E Heiner Kallweit <hkallweit1@xxxxxxxxx> r8169: improve rtl_set_rx_mode Kuniyuki Iwashima <kuniyu@xxxxxxxxxx> dccp/tcp: Call security_inet_conn_request() after setting IPv6 addresses. Kuniyuki Iwashima <kuniyu@xxxxxxxxxx> dccp: Call security_inet_conn_request() after setting IPv4 addresses. Shigeru Yoshida <syoshida@xxxxxxxxxx> tipc: Change nla_policy for bearer-related names to NLA_NUL_STRING Willem de Bruijn <willemb@xxxxxxxxxx> llc: verify mac len before reading mac header Dan Carpenter <dan.carpenter@xxxxxxxxxx> Input: synaptics-rmi4 - fix use after free in rmi_unregister_function() Florian Fainelli <florian.fainelli@xxxxxxxxxxxx> pwm: brcmstb: Utilize appropriate clock APIs in suspend/resume Uwe Kleine-König <u.kleine-koenig@xxxxxxxxxxxxxx> pwm: sti: Reduce number of allocations and drop usage of chip_data Thierry Reding <thierry.reding@xxxxxxxxx> pwm: sti: Avoid conditional gotos Hans Verkuil <hverkuil-cisco@xxxxxxxxx> media: dvb-usb-v2: af9035: fix missing unlock Katya Orlova <e.orlova@xxxxxxxxx> media: s3c-camif: Avoid inappropriate kfree() Zheng Wang <zyytlz.wz@xxxxxxx> media: bttv: fix use after free error due to btv->timeout timer Yang Yingliang <yangyingliang@xxxxxxxxxx> pcmcia: ds: fix possible name leak in error path in pcmcia_device_add() Yang Yingliang <yangyingliang@xxxxxxxxxx> pcmcia: ds: fix refcount leak in pcmcia_device_add() Yang Yingliang <yangyingliang@xxxxxxxxxx> pcmcia: cs: fix possible hung task and memory leak pccardd() Chao Yu <chao@xxxxxxxxxx> f2fs: fix to initialize map.m_pblk in f2fs_precache_extents() Christophe JAILLET <christophe.jaillet@xxxxxxxxxx> dmaengine: pxa_dma: Remove an erroneous BUG_ON() in pxad_free_desc() Jonas Blixt <jonas.blixt@xxxxxxxx> USB: usbip: fix stub_dev hub disconnect Matti Vaittinen <mazziesaccount@xxxxxxxxx> tools: iio: iio_generic_buffer ensure alignment Chenyuan Mi <michenyuan@xxxxxxxxxx> tools: iio: iio_generic_buffer: Fix some integer type and calculation Alexandru Ardelean <alexandru.ardelean@xxxxxxxxxx> tools: iio: privatize globals and functions in iio_generic_buffer.c file Jinjie Ruan <ruanjinjie@xxxxxxxxxx> misc: st_core: Do not call kfree_skb() under spin_lock_irqsave() Dan Carpenter <dan.carpenter@xxxxxxxxxx> dmaengine: ti: edma: handle irq_of_parse_and_map() errors Jia-Ju Bai <baijiaju@xxxxxxxxxxx> usb: dwc2: fix possible NULL pointer dereference caused by driver concurrency Yi Yang <yiyang13@xxxxxxxxxx> tty: tty_jobctrl: fix pid memleak in disassociate_ctty() Christophe JAILLET <christophe.jaillet@xxxxxxxxxx> leds: trigger: ledtrig-cpu:: Fix 'output may be truncated' issue for 'cpu' Pavel Machek <pavel@xxxxxx> ledtrig-cpu: Limit to 8 CPUs Uwe Kleine-König <u.kleine-koenig@xxxxxxxxxxxxxx> leds: pwm: Don't disable the PWM when the LED should be off Uwe Kleine-König <uwe@xxxxxxxxxxxxxxxxx> leds: pwm: convert to atomic PWM API Uwe Kleine-König <uwe@xxxxxxxxxxxxxxxxx> leds: pwm: simplify if condition Dinghao Liu <dinghao.liu@xxxxxxxxxx> mfd: dln2: Fix double put in dln2_probe Kuninori Morimoto <kuninori.morimoto.gx@xxxxxxxxxxx> ASoC: ams-delta.c: use component after check Cezary Rojewski <cezary.rojewski@xxxxxxxxx> ASoC: Intel: Skylake: Fix mem leak when parsing UUIDs fails Geert Uytterhoeven <geert+renesas@xxxxxxxxx> sh: bios: Revive earlyprintk support Leon Romanovsky <leonro@xxxxxxxxxx> RDMA/hfi1: Workaround truncation compilation error Gou Hao <gouhao@xxxxxxxxxxxxx> ext4: move 'ix' sanity check to corrent position Kursad Oney <kursad.oney@xxxxxxxxxxxx> ARM: 9321/1: memset: cast the constant byte to unsigned char Danny Kaehn <danny.kaehn@xxxxxxxxxx> hid: cp2112: Fix duplicate workqueue initialization Linus Walleij <linus.walleij@xxxxxxxxxx> HID: cp2112: Use irqchip template Tomas Glozar <tglozar@xxxxxxxxxx> nd_btt: Make BTT lanes preemptible Thomas Gleixner <tglx@xxxxxxxxxxxxx> sched/rt: Provide migrate_disable/enable() inlines Jonas Gorski <jonas.gorski@xxxxxxxxx> hwrng: geode - fix accessing registers Sudeep Holla <sudeep.holla@xxxxxxx> clk: scmi: Free scmi_clk allocated when the clocks with invalid info are skipped Dhruva Gole <d-gole@xxxxxx> firmware: ti_sci: Mark driver as non removable Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxx> ARM: dts: qcom: mdm9615: populate vsdcc fixed regulator Christophe JAILLET <christophe.jaillet@xxxxxxxxxx> drm/rockchip: cdn-dp: Fix some error handling paths in cdn_dp_probe() Konstantin Meskhidze <konstantin.meskhidze@xxxxxxxxxx> drm/radeon: possible buffer overflow Jonas Karlman <jonas@xxxxxxxxx> drm/rockchip: vop: Fix reset of state in duplicate state crtc funcs Zhang Rui <rui.zhang@xxxxxxxxx> hwmon: (coretemp) Fix potentially truncated sysfs attribute name Armin Wolf <W_Armin@xxxxxx> platform/x86: wmi: Fix opening of char device Barnabás Pőcze <pobrn@xxxxxxxxxxxxxx> platform/x86: wmi: remove unnecessary initializations Armin Wolf <W_Armin@xxxxxx> platform/x86: wmi: Fix probe failure when failing to register WMI devices Jiasheng Jiang <jiasheng@xxxxxxxxxxx> clk: mediatek: clk-mt2701: Add check for mtk_alloc_clk_data Jiasheng Jiang <jiasheng@xxxxxxxxxxx> clk: mediatek: clk-mt6797: Add check for mtk_alloc_clk_data Jonathan Neuschäfer <j.neuschaefer@xxxxxxx> clk: npcm7xx: Fix incorrect kfree Dan Carpenter <dan.carpenter@xxxxxxxxxx> clk: keystone: pll: fix a couple NULL vs IS_ERR() checks Devi Priya <quic_devipriy@xxxxxxxxxxx> clk: qcom: clk-rcg2: Fix clock rate overflow for high parent frequencies Christophe JAILLET <christophe.jaillet@xxxxxxxxxx> regmap: debugfs: Fix a erroneous check after snprintf() Eric Dumazet <edumazet@xxxxxxxxxx> ipvlan: properly track tx_errors Eric Dumazet <edumazet@xxxxxxxxxx> net: add DEV_STATS_READ() helper Eric Dumazet <edumazet@xxxxxxxxxx> macsec: use DEV_STATS_INC() Clayton Yager <Clayton_Yager@xxxxxxxxxx> macsec: Fix traffic counters/statistics Yan Zhai <yan@xxxxxxxxxxxxxx> ipv6: avoid atomic fragment on GSO packets Christophe JAILLET <christophe.jaillet@xxxxxxxxxx> ACPI: sysfs: Fix create_pnp_modalias() and create_of_modalias() Eric Dumazet <edumazet@xxxxxxxxxx> chtls: fix tp->rcv_tstamp initialization Dan Carpenter <dan.carpenter@xxxxxxxxxx> thermal: core: prevent potential string overflow Marc Kleine-Budde <mkl@xxxxxxxxxxxxxx> can: dev: can_restart(): fix race condition between controller restart and netif_carrier_on() Marc Kleine-Budde <mkl@xxxxxxxxxxxxxx> can: dev: can_restart(): don't crash kernel if carrier is OK Marc Kleine-Budde <mkl@xxxxxxxxxxxxxx> can: dev: move driver related infrastructure into separate subdir Dmitry Antipov <dmantipov@xxxxxxxxx> wifi: rtlwifi: fix EDCA limit set by BT coexistence Eric Dumazet <edumazet@xxxxxxxxxx> tcp_metrics: do not create an entry from tcp_init_metrics() Eric Dumazet <edumazet@xxxxxxxxxx> tcp_metrics: properly set tp->snd_ssthresh in tcp_init_metrics() Eric Dumazet <edumazet@xxxxxxxxxx> tcp_metrics: add missing barriers on delete Andrii Staikov <andrii.staikov@xxxxxxxxx> i40e: fix potential memory leaks in i40e_remove() Chen Yu <yu.c.chen@xxxxxxxxx> genirq/matrix: Exclude managed interrupts in irq_matrix_allocated() Reuben Hawkins <reubenhwk@xxxxxxxxx> vfs: fix readahead(2) on block devices ------------- Diffstat: Makefile | 4 +- arch/arm/boot/dts/qcom-mdm9615.dtsi | 14 ++-- arch/arm/lib/memset.S | 1 + arch/sh/Kconfig.debug | 11 ++++ drivers/acpi/device_sysfs.c | 10 +-- drivers/base/regmap/regmap-debugfs.c | 2 +- drivers/char/hw_random/geode-rng.c | 6 +- drivers/clk/clk-npcm7xx.c | 2 +- drivers/clk/clk-scmi.c | 1 + drivers/clk/keystone/pll.c | 15 +++-- drivers/clk/mediatek/clk-mt2701.c | 8 +++ drivers/clk/mediatek/clk-mt6797.c | 6 ++ drivers/clk/qcom/clk-rcg2.c | 14 ++-- drivers/crypto/chelsio/chtls/chtls_cm.c | 2 +- drivers/dma/pxa_dma.c | 1 - drivers/dma/ti/edma.c | 4 +- drivers/firmware/ti_sci.c | 46 +------------ drivers/gpu/drm/radeon/evergreen.c | 7 +- drivers/gpu/drm/rockchip/cdn-dp-core.c | 15 ++++- drivers/gpu/drm/rockchip/rockchip_drm_vop.c | 3 +- drivers/hid/hid-cp2112.c | 23 +++---- drivers/hwmon/coretemp.c | 2 +- drivers/infiniband/hw/hfi1/efivar.c | 2 +- drivers/input/rmi4/rmi_bus.c | 2 +- drivers/leds/leds-pwm.c | 41 +++--------- drivers/leds/trigger/ledtrig-cpu.c | 17 +++-- drivers/media/pci/bt8xx/bttv-driver.c | 1 + drivers/media/platform/s3c-camif/camif-capture.c | 6 +- drivers/media/usb/dvb-usb-v2/af9035.c | 13 ++-- drivers/mfd/dln2.c | 1 - drivers/misc/ti-st/st_core.c | 7 +- drivers/mmc/core/mmc.c | 2 +- drivers/net/can/Makefile | 7 +- drivers/net/can/dev/Makefile | 7 ++ drivers/net/can/{ => dev}/dev.c | 10 +-- drivers/net/can/{ => dev}/rx-offload.c | 0 drivers/net/ethernet/broadcom/tg3.c | 3 +- drivers/net/ethernet/intel/i40e/i40e_main.c | 10 ++- drivers/net/ethernet/realtek/r8169_main.c | 56 ++++++++-------- drivers/net/ipvlan/ipvlan_core.c | 8 +-- drivers/net/ipvlan/ipvlan_main.c | 1 + drivers/net/macsec.c | 70 +++++++++++++++----- .../net/wireless/realtek/rtlwifi/rtl8188ee/dm.c | 2 +- .../wireless/realtek/rtlwifi/rtl8192c/dm_common.c | 2 +- .../net/wireless/realtek/rtlwifi/rtl8723ae/dm.c | 2 +- drivers/nvdimm/region_devs.c | 8 +-- drivers/pcmcia/cs.c | 1 + drivers/pcmcia/ds.c | 14 ++-- drivers/platform/x86/wmi.c | 50 ++++++--------- drivers/pwm/pwm-brcmstb.c | 4 +- drivers/pwm/pwm-sti.c | 75 ++++++++++------------ drivers/thermal/thermal_core.c | 6 +- drivers/tty/tty_jobctrl.c | 17 +++-- drivers/usb/dwc2/hcd.c | 2 +- drivers/usb/usbip/stub_dev.c | 9 ++- drivers/video/fbdev/fsl-diu-fb.c | 2 +- drivers/video/fbdev/imsttfb.c | 33 ++++++---- fs/btrfs/ioctl.c | 10 +-- fs/ext4/extents.c | 10 +-- fs/f2fs/file.c | 1 + include/linux/netdevice.h | 1 + include/linux/preempt.h | 30 +++++++++ kernel/irq/matrix.c | 6 +- mm/readahead.c | 3 +- net/dccp/ipv4.c | 6 +- net/dccp/ipv6.c | 6 +- net/ipv4/tcp_metrics.c | 15 ++--- net/ipv6/ip6_output.c | 8 ++- net/ipv6/syncookies.c | 7 +- net/llc/llc_input.c | 10 ++- net/llc/llc_s_ac.c | 3 + net/llc/llc_station.c | 3 + net/netfilter/xt_recent.c | 2 +- net/smc/af_smc.c | 43 +++++++------ net/smc/smc.h | 5 ++ net/smc/smc_cdc.c | 2 +- net/smc/smc_close.c | 26 +++++++- net/smc/smc_close.h | 1 + net/tipc/netlink.c | 4 +- sound/soc/intel/skylake/skl-sst-utils.c | 1 + sound/soc/omap/ams-delta.c | 4 +- tools/iio/iio_generic_buffer.c | 59 +++++++++++------ 82 files changed, 548 insertions(+), 406 deletions(-)