This is the start of the stable review cycle for the 4.9.259 release.
There are 134 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, 04 Mar 2021 19:25:07 +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.259-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.259-rc3
Nikos Tsironis <ntsironis(a)arrikto.com>
dm era: Update in-core bitset after committing the metadata
Jason A. Donenfeld <Jason(a)zx2c4.com>
net: icmp: pass zeroed opts from icmp{,v6}_ndo_send before sending
Leon Romanovsky <leonro(a)nvidia.com>
ipv6: silence compilation warning for non-IPV6 builds
Eric Dumazet <edumazet(a)google.com>
ipv6: icmp6: avoid indirect call for icmpv6_send()
Jason A. Donenfeld <Jason(a)zx2c4.com>
sunvnet: use icmp_ndo_send helper
Jason A. Donenfeld <Jason(a)zx2c4.com>
gtp: use icmp_ndo_send helper
Jason A. Donenfeld <Jason(a)zx2c4.com>
icmp: allow icmpv6_ndo_send to work with CONFIG_IPV6=n
Jason A. Donenfeld <Jason(a)zx2c4.com>
icmp: introduce helper for nat'd source address in network device context
Thomas Gleixner <tglx(a)linutronix.de>
futex: fix dead code in attach_to_pi_owner()
Peter Zijlstra <peterz(a)infradead.org>
futex: Fix OWNER_DEAD fixup
Nikos Tsironis <ntsironis(a)arrikto.com>
dm era: only resize metadata in preresume
Nikos Tsironis <ntsironis(a)arrikto.com>
dm era: Reinitialize bitset cache before digesting a new writeset
Nikos Tsironis <ntsironis(a)arrikto.com>
dm era: Use correct value size in equality function of writeset tree
Nikos Tsironis <ntsironis(a)arrikto.com>
dm era: Fix bitset memory leaks
Nikos Tsironis <ntsironis(a)arrikto.com>
dm era: Verify the data block size hasn't changed
Nikos Tsironis <ntsironis(a)arrikto.com>
dm era: Recover committed writeset after crash
Bob Peterson <rpeterso(a)redhat.com>
gfs2: Don't skip dlm unlock if glock has an lvb
Al Viro <viro(a)zeniv.linux.org.uk>
sparc32: fix a user-triggerable oops in clear_user()
Chao Yu <yuchao0(a)huawei.com>
f2fs: fix out-of-repair __setattr_copy()
Maxim Kiselev <bigunclemax(a)gmail.com>
gpio: pcf857x: Fix missing first interrupt
Frank Li <Frank.Li(a)nxp.com>
mmc: sdhci-esdhc-imx: fix kernel panic when remove module
Fangrui Song <maskray(a)google.com>
module: Ignore _GLOBAL_OFFSET_TABLE_ when warning for undefined symbols
Dan Williams <dan.j.williams(a)intel.com>
libnvdimm/dimm: Avoid race between probe and available_slots_show()
Yoshihiro Shimoda <yoshihiro.shimoda.uh(a)renesas.com>
usb: renesas_usbhs: Clear pipe running flag in usbhs_pkt_pop()
Muchun Song <songmuchun(a)bytedance.com>
mm: hugetlb: fix a race between freeing and dissolving the page
Pan Bian <bianpan2016(a)163.com>
mtd: spi-nor: hisi-sfc: Put child node np on error path
Jiri Kosina <jkosina(a)suse.cz>
floppy: reintroduce O_NDELAY fix
Sean Christopherson <seanjc(a)google.com>
x86/reboot: Force all cpus to exit VMX root if VMX is supported
Martin Kaiser <martin(a)kaiser.cx>
staging: rtl8188eu: Add Edimax EW-7811UN V2 to device table
Sabyrzhan Tasbolatov <snovitoll(a)gmail.com>
drivers/misc/vmw_vmci: restrict too big queue size in qp_host_alloc_queue
Paul Cercueil <paul(a)crapouillou.net>
seccomp: Add missing return in non-void function
Filipe Manana <fdmanana(a)suse.com>
btrfs: fix extent buffer leak on failure to copy root
Josef Bacik <josef(a)toxicpanda.com>
btrfs: fix reloc root leak with 0 ref reloc roots on recovery
Josef Bacik <josef(a)toxicpanda.com>
btrfs: abort the transaction if we fail to inc ref in btrfs_copy_root
Jarkko Sakkinen <jarkko(a)kernel.org>
KEYS: trusted: Fix migratable=1 failing
Thinh Nguyen <Thinh.Nguyen(a)synopsys.com>
usb: dwc3: gadget: Fix dep->interval for fullspeed interrupt
Thinh Nguyen <Thinh.Nguyen(a)synopsys.com>
usb: dwc3: gadget: Fix setting of DEPCFG.bInterval_m1
Dan Carpenter <dan.carpenter(a)oracle.com>
USB: serial: mos7720: fix error code in mos7720_write()
Dan Carpenter <dan.carpenter(a)oracle.com>
USB: serial: mos7840: fix error code in mos7840_write()
Paul Cercueil <paul(a)crapouillou.net>
usb: musb: Fix runtime PM race in musb_queue_resume_work
Lech Perczak <lech.perczak(a)gmail.com>
USB: serial: option: update interface mapping for ZTE P685M
Marcos Paulo de Souza <mpdesouza(a)suse.com>
Input: i8042 - add ASUS Zenbook Flip to noselftest list
Dan Carpenter <dan.carpenter(a)oracle.com>
Input: joydev - prevent potential read overflow in ioctl
Olivier Crête <olivier.crete(a)ocrete.ca>
Input: xpad - add support for PowerA Enhanced Wired Controller for Xbox Series X|S
jeffrey.lin <jeffrey.lin(a)rad-ic.com>
Input: raydium_ts_i2c - do not send zero length
Qinglang Miao <miaoqinglang(a)huawei.com>
ACPI: configfs: add missing check after configfs_register_default_group()
Mikulas Patocka <mpatocka(a)redhat.com>
blk-settings: align max_sectors on "logical_block_size" boundary
Randy Dunlap <rdunlap(a)infradead.org>
scsi: bnx2fc: Fix Kconfig warning & CNIC build errors
Maxime Ripard <maxime(a)cerno.tech>
i2c: brcmstb: Fix brcmstd_send_i2c_cmd condition
Marc Zyngier <maz(a)kernel.org>
arm64: Add missing ISB after invalidating TLB in __primary_switch
Miaohe Lin <linmiaohe(a)huawei.com>
mm/hugetlb: fix potential double free in hugetlb_register_node() error path
Miaohe Lin <linmiaohe(a)huawei.com>
mm/memory.c: fix potential pte_unmap_unlock pte error
Dan Carpenter <dan.carpenter(a)oracle.com>
ocfs2: fix a use after free on error
Chuhong Yuan <hslester96(a)gmail.com>
net/mlx4_core: Add missed mlx4_free_cmd_mailbox()
Slawomir Laba <slawomirx.laba(a)intel.com>
i40e: Fix flow for IPv6 next header (extension header)
Konrad Dybcio <konrad.dybcio(a)somainline.org>
drm/msm/dsi: Correct io_start for MSM8994 (20nm PHY)
Heiner Kallweit <hkallweit1(a)gmail.com>
PCI: Align checking of syscall user config accessors
Jorgen Hansen <jhansen(a)vmware.com>
VMCI: Use set_page_dirty_lock() when unregistering guest memory
Simon South <simon(a)simonsouth.net>
pwm: rockchip: rockchip_pwm_probe(): Remove superfluous clk_unprepare()
Aswath Govindraju <a-govindraju(a)ti.com>
misc: eeprom_93xx46: Add module alias to avoid breaking support for non device tree users
Aswath Govindraju <a-govindraju(a)ti.com>
misc: eeprom_93xx46: Fix module alias to enable module autoprobe
Randy Dunlap <rdunlap(a)infradead.org>
sparc64: only select COMPAT_BINFMT_ELF if BINFMT_ELF is set
Dan Carpenter <dan.carpenter(a)oracle.com>
Input: elo - fix an error code in elo_connect()
Namhyung Kim <namhyung(a)kernel.org>
perf test: Fix unaligned access in sample parsing test
Adrian Hunter <adrian.hunter(a)intel.com>
perf intel-pt: Fix missing CYC processing in PSB
Andy Shevchenko <andriy.shevchenko(a)linux.intel.com>
spi: pxa2xx: Fix the controller numbering for Wildcat Point
Nathan Lynch <nathanl(a)linux.ibm.com>
powerpc/pseries/dlpar: handle ibm, configure-connector delay status
Dan Carpenter <dan.carpenter(a)oracle.com>
mfd: wm831x-auxadc: Prevent use after free in wm831x_auxadc_read_irq()
Bob Pearson <rpearsonhpe(a)gmail.com>
RDMA/rxe: Fix coding error in rxe_recv.c
Arnaldo Carvalho de Melo <acme(a)redhat.com>
perf tools: Fix DSO filtering when not finding a map for a sampled address
Steven Rostedt (VMware) <rostedt(a)goodmis.org>
tracepoint: Do not fail unregistering a probe due to memory failure
Uwe Kleine-König <u.kleine-koenig(a)pengutronix.de>
amba: Fix resource leak for drivers without .remove
Vladimir Murzin <vladimir.murzin(a)arm.com>
ARM: 9046/1: decompressor: Do not clear SCTLR.nTLSMD for ARMv7+ cores
Christophe JAILLET <christophe.jaillet(a)wanadoo.fr>
mmc: usdhi6rol0: Fix a resource leak in the error handling path of the probe
Christophe Leroy <christophe.leroy(a)csgroup.eu>
powerpc/47x: Disable 256k page size
Shay Drory <shayd(a)nvidia.com>
IB/umad: Return EIO in case of when device disassociated
Pan Bian <bianpan2016(a)163.com>
isofs: release buffer head before return
Pan Bian <bianpan2016(a)163.com>
regulator: axp20x: Fix reference cout leak
Tom Rix <trix(a)redhat.com>
clocksource/drivers/mxs_timer: Add missing semicolon when DEBUG is defined
Claudiu Beznea <claudiu.beznea(a)microchip.com>
power: reset: at91-sama5d2_shdwc: fix wkupdbc mask
Nicolas Boichat <drinkcat(a)chromium.org>
of/fdt: Make sure no-map does not remove already reserved regions
KarimAllah Ahmed <karahmed(a)amazon.de>
fdt: Properly handle "no-map" field in the memory region
Christophe JAILLET <christophe.jaillet(a)wanadoo.fr>
dmaengine: fsldma: Fix a resource leak in an error handling path of the probe function
Christophe JAILLET <christophe.jaillet(a)wanadoo.fr>
dmaengine: fsldma: Fix a resource leak in the remove function
Randy Dunlap <rdunlap(a)infradead.org>
HID: core: detect and skip invalid inputs to snto32()
Pratyush Yadav <p.yadav(a)ti.com>
spi: cadence-quadspi: Abort read if dummy cycles required are too many
Martin Blumenstingl <martin.blumenstingl(a)googlemail.com>
clk: meson: clk-pll: fix initializing the old rate (fallback) for a PLL
Tom Rix <trix(a)redhat.com>
jffs2: fix use after free in jffs2_sum_write_data()
Colin Ian King <colin.king(a)canonical.com>
fs/jfs: fix potential integer overflow on shift of a int
Daniele Alessandrelli <daniele.alessandrelli(a)intel.com>
crypto: ecdh_helper - Ensure 'len >= secret.len' in decode_key()
Zhihao Cheng <chengzhihao1(a)huawei.com>
btrfs: clarify error returns values in __load_free_space_cache
Florian Fainelli <f.fainelli(a)gmail.com>
ata: ahci_brcm: Add back regulators management
Laurent Pinchart <laurent.pinchart(a)ideasonboard.com>
media: uvcvideo: Accept invalid bFormatIndex and bFrameIndex values
Tom Rix <trix(a)redhat.com>
media: pxa_camera: declare variable when DEBUG is defined
Christophe JAILLET <christophe.jaillet(a)wanadoo.fr>
media: cx25821: Fix a bug when reallocating some dma memory
Luo Meng <luomeng12(a)huawei.com>
media: qm1d1c0042: fix error return code in qm1d1c0042_init()
Joe Perches <joe(a)perches.com>
media: lmedm04: Fix misuse of comma
Dan Carpenter <dan.carpenter(a)oracle.com>
ASoC: cs42l56: fix up error handling in probe
Dinghao Liu <dinghao.liu(a)zju.edu.cn>
media: tm6000: Fix memleak in tm6000_start_stream
Dinghao Liu <dinghao.liu(a)zju.edu.cn>
media: media/pci: Fix memleak in empress_init
Christophe JAILLET <christophe.jaillet(a)wanadoo.fr>
media: vsp1: Fix an error handling path in the probe function
Nathan Chancellor <natechancellor(a)gmail.com>
MIPS: lantiq: Explicitly compare LTQ_EBU_PCC_ISTAT against 0
Nathan Chancellor <natechancellor(a)gmail.com>
MIPS: c-r4k: Fix section mismatch for loongson2_sc_init
Dan Carpenter <dan.carpenter(a)oracle.com>
gma500: clean up error handling in init
Jialin Zhang <zhangjialin11(a)huawei.com>
drm/gma500: Fix error return code in psb_driver_load()
Randy Dunlap <rdunlap(a)infradead.org>
fbdev: aty: SPARC64 requires FB_ATY_CT
Colin Ian King <colin.king(a)canonical.com>
b43: N-PHY: Fix the update of coef for the PHY revision >= 3case
Colin Ian King <colin.king(a)canonical.com>
mac80211: fix potential overflow when multiplying to u32 integers
Juergen Gross <jgross(a)suse.com>
xen/netback: fix spurious event detection for common event case
Edwin Peer <edwin.peer(a)broadcom.com>
bnxt_en: reverse order of TX disable and carrier off
Arnd Bergmann <arnd(a)arndb.de>
ARM: s3c: fix fiq for clang IAS
Vincent Knecht <vincent.knecht(a)mailoo.org>
arm64: dts: msm8916: Fix reserved and rfsa nodes unit address
Guenter Roeck <linux(a)roeck-us.net>
usb: dwc2: Make "trimming xfer length" a debug message
Guenter Roeck <linux(a)roeck-us.net>
usb: dwc2: Abort transaction after errors with unknown reason
Guenter Roeck <linux(a)roeck-us.net>
usb: dwc2: Do not update data length if it is 0 on inbound transfers
Tony Lindgren <tony(a)atomide.com>
ARM: dts: Configure missing thermal interrupt for 4430
Pan Bian <bianpan2016(a)163.com>
Bluetooth: Put HCI device if inquiry procedure interrupts
Pan Bian <bianpan2016(a)163.com>
Bluetooth: drop HCI device reference before return
Krzysztof Kozlowski <krzk(a)kernel.org>
arm64: dts: exynos: correct PMIC interrupt trigger level on Espresso
Krzysztof Kozlowski <krzk(a)kernel.org>
ARM: dts: exynos: correct PMIC interrupt trigger level on Arndale Octa
Krzysztof Kozlowski <krzk(a)kernel.org>
ARM: dts: exynos: correct PMIC interrupt trigger level on Spring
Christopher William Snowhill <chris(a)kode54.net>
Bluetooth: Fix initializing response id after clearing struct
Vlastimil Babka <vbabka(a)suse.cz>
mm, thp: make do_huge_pmd_wp_page() lock page for testing mapcount
Eric Biggers <ebiggers(a)google.com>
random: fix the RNDRESEEDCRNG ioctl
Alexander Lobakin <alobakin(a)pm.me>
MIPS: vmlinux.lds.S: add missing PAGE_ALIGNED_DATA() section
Sumit Garg <sumit.garg(a)linaro.org>
kdb: Make memory allocations more robust
Rong Chen <rong.a.chen(a)intel.com>
scripts/recordmcount.pl: support big endian for ARCH sh
Shyam Prasad N <sprasad(a)microsoft.com>
cifs: Set CIFS_MOUNT_USE_PREFIX_PATH flag on setting cifs_sb->prepath.
Christoph Schemmel <christoph.schemmel(a)gmail.com>
NET: usb: qmi_wwan: Adding support for Cinterion MV31
Sameer Pujar <spujar(a)nvidia.com>
arm64: tegra: Add power-domain for Tegra210 HDA
Corinna Vinschen <vinschen(a)redhat.com>
igb: Remove incorrect "unexpected SYS WRAP" log message
Rustam Kovhaev <rkovhaev(a)gmail.com>
ntfs: check for valid standard information attribute
Stefan Ursella <stefan.ursella(a)wolfvision.net>
usb: quirks: add quirk to start video capture on ELMO L-12F document camera reliable
Will McVicker <willmcvicker(a)google.com>
HID: make arrays usage and value to be the same
-------------
Diffstat:
Makefile | 4 +-
arch/arm/boot/compressed/head.S | 4 +-
arch/arm/boot/dts/exynos5250-spring.dts | 2 +-
arch/arm/boot/dts/exynos5420-arndale-octa.dts | 2 +-
arch/arm/boot/dts/omap443x.dtsi | 2 +
arch/arm64/boot/dts/exynos/exynos7-espresso.dts | 2 +-
arch/arm64/boot/dts/nvidia/tegra210.dtsi | 1 +
arch/arm64/boot/dts/qcom/msm8916.dtsi | 4 +-
arch/arm64/kernel/head.S | 1 +
arch/mips/kernel/vmlinux.lds.S | 1 +
arch/mips/lantiq/irq.c | 2 +-
arch/mips/mm/c-r4k.c | 2 +-
arch/powerpc/Kconfig | 2 +-
arch/powerpc/platforms/pseries/dlpar.c | 7 +-
arch/sparc/Kconfig | 2 +-
arch/sparc/lib/memset.S | 1 +
arch/x86/kernel/reboot.c | 29 +++----
block/blk-settings.c | 12 +++
crypto/ecdh_helper.c | 3 +
drivers/acpi/acpi_configfs.c | 7 +-
drivers/amba/bus.c | 20 +++--
drivers/ata/ahci_brcm.c | 14 +++-
drivers/block/floppy.c | 27 ++++---
drivers/char/random.c | 2 +-
drivers/clk/meson/clk-pll.c | 2 +-
drivers/clocksource/mxs_timer.c | 5 +-
drivers/dma/fsldma.c | 6 ++
drivers/gpio/gpio-pcf857x.c | 2 +-
drivers/gpu/drm/gma500/oaktrail_hdmi_i2c.c | 22 ++---
drivers/gpu/drm/gma500/psb_drv.c | 2 +
drivers/gpu/drm/msm/dsi/phy/dsi_phy_20nm.c | 2 +-
drivers/hid/hid-core.c | 9 ++-
drivers/i2c/busses/i2c-brcmstb.c | 2 +-
drivers/infiniband/core/user_mad.c | 7 +-
drivers/infiniband/sw/rxe/rxe_recv.c | 11 ++-
drivers/input/joydev.c | 7 +-
drivers/input/joystick/xpad.c | 1 +
drivers/input/serio/i8042-x86ia64io.h | 4 +
drivers/input/touchscreen/elo.c | 4 +-
drivers/input/touchscreen/raydium_i2c_ts.c | 3 +-
drivers/md/dm-era-target.c | 93 ++++++++++++++--------
drivers/media/pci/cx25821/cx25821-core.c | 4 +-
drivers/media/pci/saa7134/saa7134-empress.c | 5 +-
drivers/media/platform/pxa_camera.c | 3 +
drivers/media/platform/vsp1/vsp1_drv.c | 4 +-
drivers/media/tuners/qm1d1c0042.c | 4 +-
drivers/media/usb/dvb-usb-v2/lmedm04.c | 2 +-
drivers/media/usb/tm6000/tm6000-dvb.c | 4 +
drivers/media/usb/uvc/uvc_v4l2.c | 18 ++---
drivers/mfd/wm831x-auxadc.c | 3 +-
drivers/misc/eeprom/eeprom_93xx46.c | 1 +
drivers/misc/vmw_vmci/vmci_queue_pair.c | 5 +-
drivers/mmc/host/sdhci-esdhc-imx.c | 3 +-
drivers/mmc/host/usdhi6rol0.c | 4 +-
drivers/mtd/spi-nor/cadence-quadspi.c | 2 +-
drivers/mtd/spi-nor/hisi-sfc.c | 4 +-
drivers/net/ethernet/broadcom/bnxt/bnxt.c | 3 +-
drivers/net/ethernet/intel/i40e/i40e_txrx.c | 9 ++-
drivers/net/ethernet/intel/igb/igb_main.c | 2 -
.../net/ethernet/mellanox/mlx4/resource_tracker.c | 1 +
drivers/net/ethernet/sun/sunvnet_common.c | 24 +-----
drivers/net/gtp.c | 5 +-
drivers/net/usb/qmi_wwan.c | 1 +
drivers/net/wireless/broadcom/b43/phy_n.c | 2 +-
drivers/net/xen-netback/interface.c | 8 +-
drivers/nvdimm/dimm_devs.c | 18 ++++-
drivers/of/fdt.c | 12 ++-
drivers/pci/syscall.c | 10 +--
drivers/power/reset/at91-sama5d2_shdwc.c | 2 +-
drivers/pwm/pwm-rockchip.c | 1 -
drivers/regulator/axp20x-regulator.c | 7 +-
drivers/scsi/bnx2fc/Kconfig | 1 +
drivers/spi/spi-pxa2xx-pci.c | 27 +++++--
drivers/spi/spi-s3c24xx-fiq.S | 9 +--
drivers/staging/rtl8188eu/os_dep/usb_intf.c | 1 +
drivers/usb/core/quirks.c | 3 +
drivers/usb/dwc2/hcd.c | 15 ++--
drivers/usb/dwc2/hcd_intr.c | 14 +++-
drivers/usb/dwc3/gadget.c | 19 ++++-
drivers/usb/musb/musb_core.c | 31 ++++----
drivers/usb/renesas_usbhs/fifo.c | 2 +
drivers/usb/serial/mos7720.c | 4 +-
drivers/usb/serial/mos7840.c | 4 +-
drivers/usb/serial/option.c | 3 +-
drivers/video/fbdev/Kconfig | 2 +-
fs/btrfs/ctree.c | 7 +-
fs/btrfs/free-space-cache.c | 6 +-
fs/btrfs/relocation.c | 4 +-
fs/cifs/connect.c | 1 +
fs/f2fs/file.c | 3 +-
fs/gfs2/lock_dlm.c | 8 +-
fs/isofs/dir.c | 1 +
fs/isofs/namei.c | 1 +
fs/jffs2/summary.c | 3 +
fs/jfs/jfs_dmap.c | 2 +-
fs/ntfs/inode.c | 6 ++
fs/ocfs2/cluster/heartbeat.c | 8 +-
include/linux/icmpv6.h | 48 ++++++++++-
include/linux/ipv6.h | 2 +-
include/net/icmp.h | 10 +++
kernel/debug/kdb/kdb_private.h | 2 +-
kernel/futex.c | 12 +--
kernel/module.c | 21 ++++-
kernel/seccomp.c | 2 +
kernel/tracepoint.c | 80 +++++++++++++++----
mm/huge_memory.c | 15 ++++
mm/hugetlb.c | 43 +++++++++-
mm/memory.c | 6 +-
net/bluetooth/a2mp.c | 3 +-
net/bluetooth/hci_core.c | 6 +-
net/ipv4/icmp.c | 34 ++++++++
net/ipv6/icmp.c | 19 ++---
net/ipv6/ip6_icmp.c | 46 +++++++++--
net/mac80211/mesh_hwmp.c | 2 +-
scripts/recordmcount.pl | 6 +-
security/keys/trusted.c | 2 +-
sound/soc/codecs/cs42l56.c | 3 +-
tools/perf/tests/sample-parsing.c | 2 +-
tools/perf/util/event.c | 2 +
.../perf/util/intel-pt-decoder/intel-pt-decoder.c | 3 +
120 files changed, 758 insertions(+), 302 deletions(-)
This is the start of the stable review cycle for the 4.4.259 release.
There are 92 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, 04 Mar 2021 19:25:07 +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.259-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.259-rc2
Nikos Tsironis <ntsironis(a)arrikto.com>
dm era: Update in-core bitset after committing the metadata
Peter Zijlstra <peterz(a)infradead.org>
futex: Fix OWNER_DEAD fixup
Nikos Tsironis <ntsironis(a)arrikto.com>
dm era: only resize metadata in preresume
Nikos Tsironis <ntsironis(a)arrikto.com>
dm era: Reinitialize bitset cache before digesting a new writeset
Nikos Tsironis <ntsironis(a)arrikto.com>
dm era: Use correct value size in equality function of writeset tree
Nikos Tsironis <ntsironis(a)arrikto.com>
dm era: Fix bitset memory leaks
Nikos Tsironis <ntsironis(a)arrikto.com>
dm era: Verify the data block size hasn't changed
Nikos Tsironis <ntsironis(a)arrikto.com>
dm era: Recover committed writeset after crash
Bob Peterson <rpeterso(a)redhat.com>
gfs2: Don't skip dlm unlock if glock has an lvb
Al Viro <viro(a)zeniv.linux.org.uk>
sparc32: fix a user-triggerable oops in clear_user()
Chao Yu <yuchao0(a)huawei.com>
f2fs: fix out-of-repair __setattr_copy()
Maxim Kiselev <bigunclemax(a)gmail.com>
gpio: pcf857x: Fix missing first interrupt
Fangrui Song <maskray(a)google.com>
module: Ignore _GLOBAL_OFFSET_TABLE_ when warning for undefined symbols
Dan Williams <dan.j.williams(a)intel.com>
libnvdimm/dimm: Avoid race between probe and available_slots_show()
Yoshihiro Shimoda <yoshihiro.shimoda.uh(a)renesas.com>
usb: renesas_usbhs: Clear pipe running flag in usbhs_pkt_pop()
Muchun Song <songmuchun(a)bytedance.com>
mm: hugetlb: fix a race between freeing and dissolving the page
Jiri Kosina <jkosina(a)suse.cz>
floppy: reintroduce O_NDELAY fix
Sean Christopherson <seanjc(a)google.com>
x86/reboot: Force all cpus to exit VMX root if VMX is supported
Martin Kaiser <martin(a)kaiser.cx>
staging: rtl8188eu: Add Edimax EW-7811UN V2 to device table
Sabyrzhan Tasbolatov <snovitoll(a)gmail.com>
drivers/misc/vmw_vmci: restrict too big queue size in qp_host_alloc_queue
Josef Bacik <josef(a)toxicpanda.com>
btrfs: fix reloc root leak with 0 ref reloc roots on recovery
Jarkko Sakkinen <jarkko(a)kernel.org>
KEYS: trusted: Fix migratable=1 failing
Thinh Nguyen <Thinh.Nguyen(a)synopsys.com>
usb: dwc3: gadget: Fix dep->interval for fullspeed interrupt
Thinh Nguyen <Thinh.Nguyen(a)synopsys.com>
usb: dwc3: gadget: Fix setting of DEPCFG.bInterval_m1
Dan Carpenter <dan.carpenter(a)oracle.com>
USB: serial: mos7720: fix error code in mos7720_write()
Dan Carpenter <dan.carpenter(a)oracle.com>
USB: serial: mos7840: fix error code in mos7840_write()
Lech Perczak <lech.perczak(a)gmail.com>
USB: serial: option: update interface mapping for ZTE P685M
Marcos Paulo de Souza <mpdesouza(a)suse.com>
Input: i8042 - add ASUS Zenbook Flip to noselftest list
Dan Carpenter <dan.carpenter(a)oracle.com>
Input: joydev - prevent potential read overflow in ioctl
Olivier Crête <olivier.crete(a)ocrete.ca>
Input: xpad - add support for PowerA Enhanced Wired Controller for Xbox Series X|S
Mikulas Patocka <mpatocka(a)redhat.com>
blk-settings: align max_sectors on "logical_block_size" boundary
Bart Van Assche <bart.vanassche(a)wdc.com>
block: Move SECTOR_SIZE and SECTOR_SHIFT definitions into <linux/blkdev.h>
Randy Dunlap <rdunlap(a)infradead.org>
scsi: bnx2fc: Fix Kconfig warning & CNIC build errors
Maxime Ripard <maxime(a)cerno.tech>
i2c: brcmstb: Fix brcmstd_send_i2c_cmd condition
Miaohe Lin <linmiaohe(a)huawei.com>
mm/hugetlb: fix potential double free in hugetlb_register_node() error path
Miaohe Lin <linmiaohe(a)huawei.com>
mm/memory.c: fix potential pte_unmap_unlock pte error
Heiner Kallweit <hkallweit1(a)gmail.com>
PCI: Align checking of syscall user config accessors
Jorgen Hansen <jhansen(a)vmware.com>
VMCI: Use set_page_dirty_lock() when unregistering guest memory
Aswath Govindraju <a-govindraju(a)ti.com>
misc: eeprom_93xx46: Add module alias to avoid breaking support for non device tree users
Aswath Govindraju <a-govindraju(a)ti.com>
misc: eeprom_93xx46: Fix module alias to enable module autoprobe
Randy Dunlap <rdunlap(a)infradead.org>
sparc64: only select COMPAT_BINFMT_ELF if BINFMT_ELF is set
Dan Carpenter <dan.carpenter(a)oracle.com>
Input: elo - fix an error code in elo_connect()
Namhyung Kim <namhyung(a)kernel.org>
perf test: Fix unaligned access in sample parsing test
Adrian Hunter <adrian.hunter(a)intel.com>
perf intel-pt: Fix missing CYC processing in PSB
Nathan Lynch <nathanl(a)linux.ibm.com>
powerpc/pseries/dlpar: handle ibm, configure-connector delay status
Dan Carpenter <dan.carpenter(a)oracle.com>
mfd: wm831x-auxadc: Prevent use after free in wm831x_auxadc_read_irq()
Steven Rostedt (VMware) <rostedt(a)goodmis.org>
tracepoint: Do not fail unregistering a probe due to memory failure
Uwe Kleine-König <u.kleine-koenig(a)pengutronix.de>
amba: Fix resource leak for drivers without .remove
Vladimir Murzin <vladimir.murzin(a)arm.com>
ARM: 9046/1: decompressor: Do not clear SCTLR.nTLSMD for ARMv7+ cores
Christophe JAILLET <christophe.jaillet(a)wanadoo.fr>
mmc: usdhi6rol0: Fix a resource leak in the error handling path of the probe
Christophe Leroy <christophe.leroy(a)csgroup.eu>
powerpc/47x: Disable 256k page size
Shay Drory <shayd(a)nvidia.com>
IB/umad: Return EIO in case of when device disassociated
Pan Bian <bianpan2016(a)163.com>
isofs: release buffer head before return
Pan Bian <bianpan2016(a)163.com>
regulator: axp20x: Fix reference cout leak
Tom Rix <trix(a)redhat.com>
clocksource/drivers/mxs_timer: Add missing semicolon when DEBUG is defined
Christophe JAILLET <christophe.jaillet(a)wanadoo.fr>
dmaengine: fsldma: Fix a resource leak in an error handling path of the probe function
Christophe JAILLET <christophe.jaillet(a)wanadoo.fr>
dmaengine: fsldma: Fix a resource leak in the remove function
Randy Dunlap <rdunlap(a)infradead.org>
HID: core: detect and skip invalid inputs to snto32()
Martin Blumenstingl <martin.blumenstingl(a)googlemail.com>
clk: meson: clk-pll: fix initializing the old rate (fallback) for a PLL
Tom Rix <trix(a)redhat.com>
jffs2: fix use after free in jffs2_sum_write_data()
Colin Ian King <colin.king(a)canonical.com>
fs/jfs: fix potential integer overflow on shift of a int
Zhihao Cheng <chengzhihao1(a)huawei.com>
btrfs: clarify error returns values in __load_free_space_cache
Laurent Pinchart <laurent.pinchart(a)ideasonboard.com>
media: uvcvideo: Accept invalid bFormatIndex and bFrameIndex values
Christophe JAILLET <christophe.jaillet(a)wanadoo.fr>
media: cx25821: Fix a bug when reallocating some dma memory
Joe Perches <joe(a)perches.com>
media: lmedm04: Fix misuse of comma
Dan Carpenter <dan.carpenter(a)oracle.com>
ASoC: cs42l56: fix up error handling in probe
Dinghao Liu <dinghao.liu(a)zju.edu.cn>
media: tm6000: Fix memleak in tm6000_start_stream
Dinghao Liu <dinghao.liu(a)zju.edu.cn>
media: media/pci: Fix memleak in empress_init
Nathan Chancellor <natechancellor(a)gmail.com>
MIPS: lantiq: Explicitly compare LTQ_EBU_PCC_ISTAT against 0
Nathan Chancellor <natechancellor(a)gmail.com>
MIPS: c-r4k: Fix section mismatch for loongson2_sc_init
Dan Carpenter <dan.carpenter(a)oracle.com>
gma500: clean up error handling in init
Jialin Zhang <zhangjialin11(a)huawei.com>
drm/gma500: Fix error return code in psb_driver_load()
Randy Dunlap <rdunlap(a)infradead.org>
fbdev: aty: SPARC64 requires FB_ATY_CT
Colin Ian King <colin.king(a)canonical.com>
b43: N-PHY: Fix the update of coef for the PHY revision >= 3case
Juergen Gross <jgross(a)suse.com>
xen/netback: fix spurious event detection for common event case
Edwin Peer <edwin.peer(a)broadcom.com>
bnxt_en: reverse order of TX disable and carrier off
Arnd Bergmann <arnd(a)arndb.de>
ARM: s3c: fix fiq for clang IAS
Guenter Roeck <linux(a)roeck-us.net>
usb: dwc2: Make "trimming xfer length" a debug message
Guenter Roeck <linux(a)roeck-us.net>
usb: dwc2: Abort transaction after errors with unknown reason
Pan Bian <bianpan2016(a)163.com>
Bluetooth: Put HCI device if inquiry procedure interrupts
Pan Bian <bianpan2016(a)163.com>
Bluetooth: drop HCI device reference before return
Krzysztof Kozlowski <krzk(a)kernel.org>
ARM: dts: exynos: correct PMIC interrupt trigger level on Arndale Octa
Krzysztof Kozlowski <krzk(a)kernel.org>
ARM: dts: exynos: correct PMIC interrupt trigger level on Spring
Christopher William Snowhill <chris(a)kode54.net>
Bluetooth: Fix initializing response id after clearing struct
Alexander Lobakin <alobakin(a)pm.me>
MIPS: vmlinux.lds.S: add missing PAGE_ALIGNED_DATA() section
Sumit Garg <sumit.garg(a)linaro.org>
kdb: Make memory allocations more robust
Rong Chen <rong.a.chen(a)intel.com>
scripts/recordmcount.pl: support big endian for ARCH sh
Corinna Vinschen <vinschen(a)redhat.com>
igb: Remove incorrect "unexpected SYS WRAP" log message
Rustam Kovhaev <rkovhaev(a)gmail.com>
ntfs: check for valid standard information attribute
David Vrabel <david.vrabel(a)citrix.com>
xen-netback: delete NAPI instance when queue fails to initialize
Stefan Ursella <stefan.ursella(a)wolfvision.net>
usb: quirks: add quirk to start video capture on ELMO L-12F document camera reliable
Will McVicker <willmcvicker(a)google.com>
HID: make arrays usage and value to be the same
-------------
Diffstat:
Makefile | 4 +-
arch/arm/boot/compressed/head.S | 4 +-
arch/arm/boot/dts/exynos5250-spring.dts | 2 +-
arch/arm/boot/dts/exynos5420-arndale-octa.dts | 2 +-
arch/mips/kernel/vmlinux.lds.S | 1 +
arch/mips/lantiq/irq.c | 2 +-
arch/mips/mm/c-r4k.c | 2 +-
arch/powerpc/Kconfig | 2 +-
arch/powerpc/platforms/pseries/dlpar.c | 7 +-
arch/sparc/Kconfig | 2 +-
arch/sparc/lib/memset.S | 1 +
arch/x86/kernel/reboot.c | 29 +++----
arch/xtensa/platforms/iss/simdisk.c | 1 -
block/blk-settings.c | 12 +++
drivers/amba/bus.c | 20 +++--
drivers/block/brd.c | 1 -
drivers/block/floppy.c | 27 ++++---
drivers/block/rbd.c | 9 ---
drivers/block/zram/zram_drv.h | 1 -
drivers/clk/meson/clk-pll.c | 2 +-
drivers/clocksource/mxs_timer.c | 5 +-
drivers/dma/fsldma.c | 6 ++
drivers/gpio/gpio-pcf857x.c | 2 +-
drivers/gpu/drm/gma500/oaktrail_hdmi_i2c.c | 22 ++---
drivers/gpu/drm/gma500/psb_drv.c | 2 +
drivers/hid/hid-core.c | 9 ++-
drivers/i2c/busses/i2c-brcmstb.c | 2 +-
drivers/ide/ide-cd.c | 8 +-
drivers/ide/ide-cd.h | 6 +-
drivers/infiniband/core/user_mad.c | 7 +-
drivers/input/joydev.c | 7 +-
drivers/input/joystick/xpad.c | 1 +
drivers/input/serio/i8042-x86ia64io.h | 4 +
drivers/input/touchscreen/elo.c | 4 +-
drivers/md/dm-era-target.c | 93 ++++++++++++++--------
drivers/media/pci/cx25821/cx25821-core.c | 4 +-
drivers/media/pci/saa7134/saa7134-empress.c | 5 +-
drivers/media/usb/dvb-usb-v2/lmedm04.c | 2 +-
drivers/media/usb/tm6000/tm6000-dvb.c | 4 +
drivers/media/usb/uvc/uvc_v4l2.c | 18 ++---
drivers/mfd/wm831x-auxadc.c | 3 +-
drivers/misc/eeprom/eeprom_93xx46.c | 1 +
drivers/misc/vmw_vmci/vmci_queue_pair.c | 5 +-
drivers/mmc/host/usdhi6rol0.c | 4 +-
drivers/net/ethernet/broadcom/bnxt/bnxt.c | 3 +-
drivers/net/ethernet/intel/igb/igb_main.c | 2 -
drivers/net/wireless/b43/phy_n.c | 2 +-
drivers/net/xen-netback/interface.c | 9 ++-
drivers/nvdimm/dimm_devs.c | 18 ++++-
drivers/nvdimm/nd.h | 1 -
drivers/pci/syscall.c | 10 +--
drivers/regulator/axp20x-regulator.c | 7 +-
drivers/scsi/bnx2fc/Kconfig | 1 +
drivers/scsi/gdth.h | 3 -
drivers/spi/spi-s3c24xx-fiq.S | 9 +--
drivers/staging/rtl8188eu/os_dep/usb_intf.c | 1 +
drivers/usb/core/quirks.c | 3 +
drivers/usb/dwc2/hcd_intr.c | 14 +++-
drivers/usb/dwc3/gadget.c | 19 ++++-
drivers/usb/renesas_usbhs/fifo.c | 2 +
drivers/usb/serial/mos7720.c | 4 +-
drivers/usb/serial/mos7840.c | 4 +-
drivers/usb/serial/option.c | 3 +-
drivers/video/fbdev/Kconfig | 2 +-
fs/btrfs/free-space-cache.c | 6 +-
fs/btrfs/relocation.c | 4 +-
fs/f2fs/file.c | 3 +-
fs/gfs2/lock_dlm.c | 8 +-
fs/isofs/dir.c | 1 +
fs/isofs/namei.c | 1 +
fs/jffs2/summary.c | 3 +
fs/jfs/jfs_dmap.c | 2 +-
fs/ntfs/inode.c | 6 ++
include/linux/blkdev.h | 42 +++++++---
include/linux/device-mapper.h | 2 -
include/linux/ide.h | 1 -
include/uapi/linux/msdos_fs.h | 2 +
kernel/debug/kdb/kdb_private.h | 2 +-
kernel/futex.c | 7 +-
kernel/module.c | 21 ++++-
kernel/tracepoint.c | 80 +++++++++++++++----
mm/hugetlb.c | 43 +++++++++-
mm/memory.c | 6 +-
net/bluetooth/a2mp.c | 3 +-
net/bluetooth/hci_core.c | 6 +-
scripts/recordmcount.pl | 6 +-
security/keys/trusted.c | 2 +-
sound/soc/codecs/cs42l56.c | 3 +-
tools/perf/tests/sample-parsing.c | 2 +-
.../perf/util/intel-pt-decoder/intel-pt-decoder.c | 3 +
90 files changed, 494 insertions(+), 243 deletions(-)
On Tue, Jan 26, 2021 at 5:52 AM 'Michal Hocko' via kernel-team
<kernel-team(a)android.com> wrote:
>
> On Wed 20-01-21 14:17:39, Jann Horn wrote:
> > On Wed, Jan 13, 2021 at 3:22 PM Michal Hocko <mhocko(a)suse.com> wrote:
> > > On Tue 12-01-21 09:51:24, Suren Baghdasaryan wrote:
> > > > On Tue, Jan 12, 2021 at 9:45 AM Oleg Nesterov <oleg(a)redhat.com> wrote:
> > > > >
> > > > > On 01/12, Michal Hocko wrote:
> > > > > >
> > > > > > On Mon 11-01-21 09:06:22, Suren Baghdasaryan wrote:
> > > > > >
> > > > > > > What we want is the ability for one process to influence another process
> > > > > > > in order to optimize performance across the entire system while leaving
> > > > > > > the security boundary intact.
> > > > > > > Replace PTRACE_MODE_ATTACH with a combination of PTRACE_MODE_READ
> > > > > > > and CAP_SYS_NICE. PTRACE_MODE_READ to prevent leaking ASLR metadata
> > > > > > > and CAP_SYS_NICE for influencing process performance.
> > > > > >
> > > > > > I have to say that ptrace modes are rather obscure to me. So I cannot
> > > > > > really judge whether MODE_READ is sufficient. My understanding has
> > > > > > always been that this is requred to RO access to the address space. But
> > > > > > this operation clearly has a visible side effect. Do we have any actual
> > > > > > documentation for the existing modes?
> > > > > >
> > > > > > I would be really curious to hear from Jann and Oleg (now Cced).
> > > > >
> > > > > Can't comment, sorry. I never understood these security checks and never tried.
> > > > > IIUC only selinux/etc can treat ATTACH/READ differently and I have no idea what
> > > > > is the difference.
> >
> > Yama in particular only does its checks on ATTACH and ignores READ,
> > that's the difference you're probably most likely to encounter on a
> > normal desktop system, since some distros turn Yama on by default.
> > Basically the idea there is that running "gdb -p $pid" or "strace -p
> > $pid" as a normal user will usually fail, but reading /proc/$pid/maps
> > still works; so you can see things like detailed memory usage
> > information and such, but you're not supposed to be able to directly
> > peek into a running SSH client and inject data into the existing SSH
> > connection, or steal the cryptographic keys for the current
> > connection, or something like that.
> >
> > > > I haven't seen a written explanation on ptrace modes but when I
> > > > consulted Jann his explanation was:
> > > >
> > > > PTRACE_MODE_READ means you can inspect metadata about processes with
> > > > the specified domain, across UID boundaries.
> > > > PTRACE_MODE_ATTACH means you can fully impersonate processes with the
> > > > specified domain, across UID boundaries.
> > >
> > > Maybe this would be a good start to document expectations. Some more
> > > practical examples where the difference is visible would be great as
> > > well.
> >
> > Before documenting the behavior, it would be a good idea to figure out
> > what to do with perf_event_open(). That one's weird in that it only
> > requires PTRACE_MODE_READ, but actually allows you to sample stuff
> > like userspace stack and register contents (if perf_event_paranoid is
> > 1 or 2). Maybe for SELinux things (and maybe also for Yama), there
> > should be a level in between that allows fully inspecting the process
> > (for purposes like profiling) but without the ability to corrupt its
> > memory or registers or things like that. Or maybe perf_event_open()
> > should just use the ATTACH mode.
>
> Thanks for the clarification. I still cannot say I would have a good
> mental picture. Having something in Documentation/core-api/ sounds
> really needed. Wrt to perf_event_open it sounds really odd it can do
> more than other places restrict indeed. Something for the respective
> maintainer but I strongly suspect people simply copy the pattern from
> other places because the expected semantic is not really clear.
>
Sorry, back to the matters of this patch. Are there any actionable
items for me to take care of before it can be accepted? The only
request from Andrew to write a man page is being worked on at
https://lore.kernel.org/linux-mm/20210120202337.1481402-1-surenb@google.com/
and I'll follow up with the next version. I also CC'ed stable@ for
this to be included into 5.10 per Andrew's request. That CC was lost
at some point, so CC'ing again.
I do not see anything else on this patch to fix. Please chime in if
there are any more concerns, otherwise I would ask Andrew to take it
into mm-tree and stable@ to apply it to 5.10.
Thanks!
> --
> Michal Hocko
> SUSE Labs
>
> --
> To unsubscribe from this group and stop receiving emails from it, send an email to kernel-team+unsubscribe(a)android.com.
>
The patch below does not apply to the 5.10-stable tree.
If someone wants it applied there, or to any other stable or longterm
tree, then please email the backport, including the original git commit
id to <stable(a)vger.kernel.org>.
thanks,
greg k-h
------------------ original commit in Linus's tree ------------------
>From 718aae916fa6619c57c348beaedd675835cf1aa1 Mon Sep 17 00:00:00 2001
From: Ananth N Mavinakayanahalli <ananth(a)linux.ibm.com>
Date: Mon, 25 Jan 2021 18:36:43 +0530
Subject: [PATCH] powerpc/sstep: Fix incorrect return from analyze_instr()
We currently just percolate the return value from analyze_instr()
to the caller of emulate_step(), especially if it is a -1.
For one particular case (opcode = 4) for instructions that aren't
currently emulated, we are returning 'should not be single-stepped'
while we should have returned 0 which says 'did not emulate, may
have to single-step'.
Fixes: 930d6288a26787 ("powerpc: sstep: Add support for maddhd, maddhdu, maddld instructions")
Signed-off-by: Ananth N Mavinakayanahalli <ananth(a)linux.ibm.com>
Suggested-by: Michael Ellerman <mpe(a)ellerman.id.au>
Tested-by: Naveen N. Rao <naveen.n.rao(a)linux.vnet.ibm.com>
Reviewed-by: Sandipan Das <sandipan(a)linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe(a)ellerman.id.au>
Link: https://lore.kernel.org/r/161157999039.64773.14950289716779364766.stgit@thi…
diff --git a/arch/powerpc/lib/sstep.c b/arch/powerpc/lib/sstep.c
index f859cbbb6375..e96cff845ef7 100644
--- a/arch/powerpc/lib/sstep.c
+++ b/arch/powerpc/lib/sstep.c
@@ -1445,6 +1445,11 @@ int analyse_instr(struct instruction_op *op, const struct pt_regs *regs,
#ifdef __powerpc64__
case 4:
+ /*
+ * There are very many instructions with this primary opcode
+ * introduced in the ISA as early as v2.03. However, the ones
+ * we currently emulate were all introduced with ISA 3.0
+ */
if (!cpu_has_feature(CPU_FTR_ARCH_300))
goto unknown_opcode;
@@ -1472,7 +1477,7 @@ int analyse_instr(struct instruction_op *op, const struct pt_regs *regs,
* There are other instructions from ISA 3.0 with the same
* primary opcode which do not have emulation support yet.
*/
- return -1;
+ goto unknown_opcode;
#endif
case 7: /* mulli */