diff --git a/debian/changelog b/debian/changelog index d4658fcd3..f6625c3ad 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,4 +1,4 @@ -linux (4.19.85-1) UNRELEASED; urgency=medium +linux (4.19.86-1) UNRELEASED; urgency=medium * New upstream stable update: https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.19.68 @@ -1935,6 +1935,236 @@ linux (4.19.85-1) UNRELEASED; urgency=medium - net: phy: mdio-bcm-unimac: mark PM functions as __maybe_unused - memfd: Use radix_tree_deref_slot_protected to avoid the warning. - slcan: Fix memory leak in error path + https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.19.86 + - spi: mediatek: use correct mata->xfer_len when in fifo transfer + - i2c: mediatek: modify threshold passed to i2c_get_dma_safe_msg_buf() + - tee: optee: add missing of_node_put after of_device_is_available + - Revert "OPP: Protect dev_list with opp_table lock" + - net: cdc_ncm: Signedness bug in cdc_ncm_set_dgram_size() + - idr: Fix idr_get_next race with idr_remove + - mm/memory_hotplug: don't access uninitialized memmaps in + shrink_pgdat_span() + - mm/memory_hotplug: fix updating the node span + - [arm64] uaccess: Ensure PAN is re-enabled after unhandled uaccess fault + - fbdev: Ditch fb_edid_add_monspecs + - [i386] bpf, x32: Fix bug for BPF_ALU64 | BPF_NEG + - [i386] bpf, x32: Fix bug with ALU64 {LSH, RSH, ARSH} BPF_X shift by 0 + - [i386] bpf, x32: Fix bug with ALU64 {LSH, RSH, ARSH} BPF_K shift by 0 + - [i386] bpf, x32: Fix bug for BPF_JMP | {BPF_JSGT, BPF_JSLE, BPF_JSLT, + BPF_JSGE} + - net: ovs: fix return type of ndo_start_xmit function + - net: xen-netback: fix return type of ndo_start_xmit function + - [armhf] dts: dra7: Enable workaround for errata i870 in PCIe host mode + - [armhf] dts: omap5: enable OTG role for DWC3 controller + - [arm64] net: hns3: Fix for netdev not up problem when setting mtu + - [arm64] net: hns3: Fix loss of coal configuration while doing reset + - f2fs: return correct errno in f2fs_gc + - [armhf] dts: sun8i: h3-h5: ir register size should be the whole memory + block + - [armhf] dts: sun8i: h3: bpi-m2-plus: Fix address for external RGMII + Ethernet PHY + - tcp: up initial rmem to 128KB and SYN rwin to around 64KB + - SUNRPC: Fix priority queue fairness + - ACPI / LPSS: Make acpi_lpss_find_device() also find PCI devices + - ACPI / LPSS: Resume BYT/CHT I2C controllers from resume_noirq + - f2fs: keep lazytime on remount + - IB/hfi1: Error path MAD response size is incorrect + - IB/hfi1: Ensure ucast_dlid access doesnt exceed bounds + - mt76x2: fix tx power configuration for VHT mcs 9 + - mt76x2: disable WLAN core before probe + - mt76: fix handling ps-poll frames + - [arm64,armhf] iommu/io-pgtable-arm: Fix race handling in split_blk_unmap() + - [arm64,armhf] iommu/arm-smmu-v3: Fix unexpected CMD_SYNC timeout + - [arm64,armhf] kvm: Fix stage2_flush_memslot for 4 level page table + - [arm64] numa: Report correct memblock range for the dummy node + - ath10k: fix vdev-start timeout on error + - rtlwifi: btcoex: Use proper enumerated types for Wi-Fi only interface + - ata: ahci_brcm: Allow using driver or DSL SoCs + - PM / devfreq: Fix devfreq_add_device() when drivers are built as modules. + - PM / devfreq: Fix handling of min/max_freq == 0 + - PM / devfreq: stopping the governor before device_unregister() + - ath9k: fix reporting calculated new FFT upper max + - selftests/tls: Fix recv(MSG_PEEK) & splice() test cases + - usb: gadget: udc: fotg210-udc: Fix a sleep-in-atomic-context bug in + fotg210_get_status() + - usb: dwc3: gadget: Check ENBLSLPM before sending ep command + - nl80211: Fix a GET_KEY reply attribute + - [arm64,armhf] irqchip/irq-mvebu-icu: Fix wrong private data retrieval + - watchdog: core: fix null pointer dereference when releasing cdev + - watchdog: w83627hf_wdt: Support NCT6796D, NCT6797D, NCT6798D + - [ppc64el,powerpc64] Inform the userspace about TCE update failures + - printk: Do not miss new messages when replaying the log + - printk: CON_PRINTBUFFER console registration is a bit racy + - dmaengine: ep93xx: Return proper enum in ep93xx_dma_chan_direction + - dmaengine: timb_dma: Use proper enum in td_prep_slave_sg + - [x86] ALSA: hda: Fix mismatch for register mask and value in ext + controller. + - ext4: fix build error when DX_DEBUG is defined + - clk: keystone: Enable TISCI clocks if K3_ARCH + - sunrpc: Fix connect metrics + - [x86] PCI: Apply VMD's AERSID fixup generically + - mei: samples: fix a signedness bug in amt_host_if_call() + - cxgb4: Use proper enum in cxgb4_dcb_handle_fw_update + - cxgb4: Use proper enum in IEEE_FAUX_SYNC + - [ppc64el,powerpc*] Fix DTL buffer registration + - [ppc64el,powerpc*] Fix how we iterate over the DTL entries + - [ppc64el,powerpc*] xive: Move a dereference below a NULL test + - mtd: rawnand: sh_flctl: Use proper enum for flctl_dma_fifo0_transfer + - PM / hibernate: Check the success of generating md5 digest before + hibernation + - tools: PCI: Fix compilation warnings + - ice: Fix forward to queue group logic + - md: allow metadata updates while suspending an array - fix + - ixgbe: Fix ixgbe TX hangs with XDP_TX beyond queue limit + - i40e: Use proper enum in i40e_ndo_set_vf_link_state + - ixgbe: Fix crash with VFs and flow director on interface flap + - IB/mthca: Fix error return code in __mthca_init_one() + - IB/rxe: avoid srq memory leak + - RDMA/hns: Bugfix for reserved qp number + - RDMA/hns: Submit bad wr when post send wr exception + - RDMA/hns: Bugfix for CM test + - RDMA/hns: Limit the size of extend sge of sq + - IB/mlx4: Avoid implicit enumerated type conversion + - rpmsg: glink: smem: Support rx peak for size less than 4 bytes + - msm/gpu/a6xx: Force of_dma_configure to setup DMA for GMU + - OPP: Return error on error from dev_pm_opp_get_opp_count() + - ACPICA: Never run _REG on system_memory and system_IO + - cpuidle: menu: Fix wakeup statistics updates for polling state + - ASoC: qdsp6: q6asm-dai: checking NULL vs IS_ERR() + - [ppc64el,powerpc*] time: Use clockevents_register_device(), fixing an + issue with large decrementer + - [ppc64el,powerpc64] radix: Explicitly flush ERAT with local LPID + invalidation + - ata: ep93xx: Use proper enums for directions + - qed: Avoid implicit enum conversion in qed_ooo_submit_tx_buffers + - media: rc: ir-rc6-decoder: enable toggle bit for Kathrein RCU-676 remote + - media: pxa_camera: Fix check for pdev->dev.of_node + - media: rcar-vin: fix redeclaration of symbol + - media: i2c: adv748x: Support probing a single output + - [x86] ALSA: hda/sigmatel - Disable automute for Elo VuPoint + - bnxt_en: return proper error when FW returns + HWRM_ERR_CODE_RESOURCE_ACCESS_DENIED + - [ppc64el,powerpc64] Book3S PR: Exiting split hack mode needs to fixup both + PC and LR + - USB: serial: cypress_m8: fix interrupt-out transfer length + - usb: dwc2: disable power_down on rockchip devices + - mtd: physmap_of: Release resources on error + - cpu/SMT: State SMT is disabled even with nosmt and without "=force" + - brcmfmac: reduce timeout for action frame scan + - brcmfmac: fix full timeout waiting for action frame on-channel tx + - qtnfmac: request userspace to do OBSS scanning if FW can not + - qtnfmac: pass sgi rate info flag to wireless core + - qtnfmac: inform wireless core about supported extended capabilities + - qtnfmac: drop error reports for out-of-bounds key indexes + - [armhf] clk: samsung: Use NOIRQ stage for Exynos5433 clocks suspend/resume + - [armhf] clk: samsung: exynos5420: Define CLK_SECKEY gate clock only or + Exynos5420 + - [armhf] clk: samsung: Use clk_hw API for calling clk framework from + clk notifiers + - printk: Correct wrong casting + - NFSv4.x: fix lock recovery during delegation recall + - dmaengine: ioat: fix prototype of ioat_enumerate_channels + - media: ov5640: fix framerate update + - media: cec-gpio: select correct Signal Free Time + - gfs2: slow the deluge of io error messages + - i2c: omap: use core to detect 'no zero length' quirk + - i2c: qup: use core to detect 'no zero length' quirk + - i2c: tegra: use core to detect 'no zero length' quirk + - i2c: zx2967: use core to detect 'no zero length' quirk + - Input: st1232 - set INPUT_PROP_DIRECT property + - Input: silead - try firmware reload after unsuccessful resume + - soc: fsl: bman_portals: defer probe after bman's probe + - net: hns3: Fix for rx vlan id handle to support Rev 0x21 hardware + - tc-testing: fix build of eBPF programs + - remoteproc: Check for NULL firmwares in sysfs interface + - remoteproc: qcom: q6v5: Fix a race condition on fatal crash + - kexec: Allocate decrypted control pages for kdump if SME is enabled + - [x86] olpc: Fix build error with CONFIG_MFD_CS5535=m + - dmaengine: rcar-dmac: set scatter/gather max segment size + - xfrm: use correct size to initialise sp->ovec + - ACPI / SBS: Fix rare oops when removing modules + - iwlwifi: mvm: don't send keys when entering D3 + - xsk: proper AF_XDP socket teardown ordering + - [amd64] fsgsbase: Fix ptrace() to read the FS/GS base accurately + - mmc: renesas_sdhi_internal_dmac: Whitelist r8a774a1 + - mmc: tmio: Fix SCC error detection + - mmc: renesas_sdhi_internal_dmac: set scatter/gather max segment size + - fbdev: sbuslib: use checked version of put_user() + - fbdev: sbuslib: integer overflow in sbusfb_ioctl_helper() + - fbdev: fix broken menu dependencies + - reset: Fix potential use-after-free in __of_reset_control_get() + - bcache: account size of buckets used in uuid write to + ca->meta_sectors_written + - bcache: recal cached_dev_sectors on detach + - [x86] platform: mlx-platform: Properly use mlxplat_mlxcpld_msn201x_items + - media: dw9714: Fix error handling in probe function + - media: dw9807-vcm: Fix probe error handling + - media: cx18: Don't check for address of video_dev + - mtd: spi-nor: cadence-quadspi: Use proper enum for dma_[un]map_single + - mtd: devices: m25p80: Make sure WRITE_EN is issued before each write + - [x86] intel_rdt: Introduce utility to obtain CDP peer + - [x86] intel_rdt: CBM overlap should also check for overlap with CDP peer + - mmc: mmci: expand startbiterr to irqmask and error check + - [s390x] kasan: avoid vdso instrumentation + - [s390x] kasan: avoid instrumentation of early C code + - [s390x] kasan: avoid user access code instrumentation + - [i386] proc/vmcore: Fix i386 build error of missing + copy_oldmem_page_encrypted() + - backlight: lm3639: Unconditionally call led_classdev_unregister + - mfd: ti_am335x_tscadc: Keep ADC interface on if child is wakeup capable + - printk: Give error on attempt to set log buffer length to over 2G + - media: isif: fix a NULL pointer dereference bug + - GFS2: Flush the GFS2 delete workqueue before stopping the kernel threads + - media: cx231xx: fix potential sign-extension overflow on large shift + - media: venus: vdec: fix decoded data size + - [x86] ALSA: hda/ca0132 - Fix input effect controls for desktop cards + - lightnvm: pblk: fix rqd.error return value in pblk_blk_erase_sync + - lightnvm: pblk: fix incorrect min_write_pgs + - lightnvm: pblk: guarantee emeta on line close + - lightnvm: pblk: fix write amplificiation calculation + - lightnvm: pblk: guarantee mw_cunits on read buffer + - lightnvm: do no update csecs and sos on 1.2 + - lightnvm: pblk: fix error handling of pblk_lines_init() + - lightnvm: pblk: consider max hw sectors supported for max_write_pgs + - [x86] kexec: Correct KEXEC_BACKUP_SRC_END off-by-one error + - bpf: btf: Fix a missing check bug + - net: fix generic XDP to handle if eth header was mangled + - gpio: syscon: Fix possible NULL ptr usage + - spi: fsl-lpspi: Prevent FIFO under/overrun by default + - pinctrl: gemini: Mask and set properly + - spi: spidev: Fix OF tree warning logic + - [armel,armhf] 8802/1: Call syscall_trace_exit even when system call + skipped + - [x86] mm: Do not warn about PCI BIOS W+X mappings + - orangefs: rate limit the client not running info message + - pinctrl: gemini: Fix up TVC clock group + - scsi: arcmsr: clean up clang warning on extraneous parentheses + - [x86] hwmon: (k10temp) Support all Family 15h Model 6xh and Model 7xh + processors + - hwmon: (nct6775) Fix names of DIMM temperature sources + - hwmon: (pwm-fan) Silence error on probe deferral + - hwmon: (ina3221) Fix INA3221_CONFIG_MODE macros + - hwmon: (npcm-750-pwm-fan) Change initial pwm target to 255 + - selftests: forwarding: Have lldpad_app_wait_set() wait for unknown, too + - net: sched: avoid writing on noop_qdisc + - netfilter: nft_compat: do not dump private area + - misc: cxl: Fix possible null pointer dereference + - mac80211: minstrel: fix using short preamble CCK rates on HT clients + - mac80211: minstrel: fix CCK rate group streams value + - mac80211: minstrel: fix sampling/reporting of CCK rates in HT mode + - spi: rockchip: initialize dma_slave_config properly + - mlxsw: spectrum_switchdev: Check notification relevance based on upper + device + - [armhf] dts: omap5: Fix dual-role mode on Super-Speed port + - tcp: start receiver buffer autotuning sooner + - ACPI / LPSS: Use acpi_lpss_* instead of acpi_subsys_* functions for + hibernate + - PM / devfreq: Fix static checker warning in try_then_request_governor + - tools: PCI: Fix broken pcitest compilation + - [ppc64el,powerpc*] time: Fix clockevent_decrementer initalisation for + PR KVM + - mmc: tmio: fix SCC error handling to avoid false positive CRC error + - [x86] resctrl: Fix rdt_find_domain() return value and checks [ Romain Perier ] * [armel/rpi] Enable CONFIG_BRCMFMAC_SDIO (Closes: #940530) @@ -1971,6 +2201,12 @@ linux (4.19.85-1) UNRELEASED; urgency=medium [ Benjamin Poirier ] * tools/perf: Add python3 support to scripts (Closes: #944641) + [ Aurelien Jarno ] + * [rt] Refresh 0025-NFSv4-replace-seqcount_t-with-a-seqlock_t.patch (context + changes in 4.19.86) + * [rt] Refresh 0202-net-Qdisc-use-a-seqlock-instead-seqcount.patch (context + changes in 4.19.86) + -- Romain Perier Wed, 28 Aug 2019 13:28:09 +0200 linux (4.19.67-2+deb10u2) buster-security; urgency=high diff --git a/debian/patches-rt/0025-NFSv4-replace-seqcount_t-with-a-seqlock_t.patch b/debian/patches-rt/0025-NFSv4-replace-seqcount_t-with-a-seqlock_t.patch index 1696482b1..b7fd4929c 100644 --- a/debian/patches-rt/0025-NFSv4-replace-seqcount_t-with-a-seqlock_t.patch +++ b/debian/patches-rt/0025-NFSv4-replace-seqcount_t-with-a-seqlock_t.patch @@ -18,6 +18,8 @@ block readers). Reported-by: kernel test robot Signed-off-by: Sebastian Andrzej Siewior +[Aurelien Jarno: Backport to 4.19.86 due to context changes caused by +aa84e0458d853 ("NFSv4.x: fix lock recovery during delegation recall")] --- fs/nfs/delegation.c | 4 ++-- fs/nfs/nfs4_fs.h | 2 +- @@ -37,7 +39,7 @@ index 825a8c52165a..c14f02b41f0d 100644 + seq = read_seqbegin(&sp->so_reclaim_seqlock); err = nfs4_open_delegation_recall(ctx, state, stateid); if (!err) - err = nfs_delegation_claim_locks(ctx, state, stateid); + err = nfs_delegation_claim_locks(state, stateid); - if (!err && read_seqcount_retry(&sp->so_reclaim_seqcount, seq)) + if (!err && read_seqretry(&sp->so_reclaim_seqlock, seq)) err = -EAGAIN; diff --git a/debian/patches-rt/0202-net-Qdisc-use-a-seqlock-instead-seqcount.patch b/debian/patches-rt/0202-net-Qdisc-use-a-seqlock-instead-seqcount.patch index 566128d5d..4dba29a3f 100644 --- a/debian/patches-rt/0202-net-Qdisc-use-a-seqlock-instead-seqcount.patch +++ b/debian/patches-rt/0202-net-Qdisc-use-a-seqlock-instead-seqcount.patch @@ -9,6 +9,8 @@ scheduled out. The seqlock on the other hand will serialize / sleep on the lock while writer is active. Signed-off-by: Sebastian Andrzej Siewior +[Aurelien Jarno: Backport to 4.19.86 due to context changes caused by +253150575cb77 ("net: sched: avoid writing on noop_qdisc")] --- include/linux/seqlock.h | 9 +++++++++ include/net/gen_stats.h | 9 +++++---- @@ -267,9 +269,9 @@ index 0b9c494f64b0..c618e5c5a1b1 100644 .running = SEQCNT_ZERO(noop_qdisc.running), +#endif .busylock = __SPIN_LOCK_UNLOCKED(noop_qdisc.busylock), - }; - EXPORT_SYMBOL(noop_qdisc); -@@ -864,9 +868,17 @@ struct Qdisc *qdisc_alloc(struct netdev_queue *dev_queue, + .gso_skb = { + .next = (struct sk_buff *)&noop_qdisc.gso_skb, +@@ -876,9 +880,17 @@ struct Qdisc *qdisc_alloc(struct netdev_queue *dev_queue, lockdep_set_class(&sch->busylock, dev->qdisc_tx_busylock ?: &qdisc_tx_busylock);