From: Greg Kroah-Hartman Date: Sat, 31 Oct 2020 09:51:06 +0000 (+0100) Subject: 5.8-stable patches X-Git-Tag: v5.4.74~19 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=201c6cda676e3e3eff798e91b950afdafd6d4807;p=thirdparty%2Fkernel%2Fstable-queue.git 5.8-stable patches added patches: erofs-avoid-duplicated-permission-check-for-trusted.-xattrs.patch --- diff --git a/queue-5.8/bnxt_en-check-abort-error-state-in-bnxt_open_nic.patch b/queue-5.8/bnxt_en-check-abort-error-state-in-bnxt_open_nic.patch index 10970ae3742..39d581686f8 100644 --- a/queue-5.8/bnxt_en-check-abort-error-state-in-bnxt_open_nic.patch +++ b/queue-5.8/bnxt_en-check-abort-error-state-in-bnxt_open_nic.patch @@ -1,7 +1,7 @@ From foo@baz Sat Oct 31 09:06:02 AM CET 2020 From: Michael Chan Date: Mon, 26 Oct 2020 00:18:20 -0400 -Subject: [PATCH stable 5.8 01/22] bnxt_en: Check abort error state in bnxt_open_nic(). +Subject: bnxt_en: Check abort error state in bnxt_open_nic(). From: Michael Chan diff --git a/queue-5.8/bnxt_en-fix-regression-in-workqueue-cleanup-logic-in-bnxt_remove_one.patch b/queue-5.8/bnxt_en-fix-regression-in-workqueue-cleanup-logic-in-bnxt_remove_one.patch index d2b931b469d..d9d906413bb 100644 --- a/queue-5.8/bnxt_en-fix-regression-in-workqueue-cleanup-logic-in-bnxt_remove_one.patch +++ b/queue-5.8/bnxt_en-fix-regression-in-workqueue-cleanup-logic-in-bnxt_remove_one.patch @@ -1,7 +1,7 @@ From foo@baz Sat Oct 31 09:06:02 AM CET 2020 From: Vasundhara Volam Date: Mon, 26 Oct 2020 00:18:17 -0400 -Subject: [PATCH stable 5.8 02/22] bnxt_en: Fix regression in workqueue cleanup logic in bnxt_remove_one(). +Subject: bnxt_en: Fix regression in workqueue cleanup logic in bnxt_remove_one(). From: Vasundhara Volam diff --git a/queue-5.8/bnxt_en-invoke-cancel_delayed_work_sync-for-pfs-also.patch b/queue-5.8/bnxt_en-invoke-cancel_delayed_work_sync-for-pfs-also.patch index bc3c2f966a8..9cf221651b3 100644 --- a/queue-5.8/bnxt_en-invoke-cancel_delayed_work_sync-for-pfs-also.patch +++ b/queue-5.8/bnxt_en-invoke-cancel_delayed_work_sync-for-pfs-also.patch @@ -1,7 +1,7 @@ From foo@baz Sat Oct 31 09:06:02 AM CET 2020 From: Vasundhara Volam Date: Mon, 26 Oct 2020 00:18:18 -0400 -Subject: [PATCH stable 5.8 03/22] bnxt_en: Invoke cancel_delayed_work_sync() for PFs also. +Subject: bnxt_en: Invoke cancel_delayed_work_sync() for PFs also. From: Vasundhara Volam diff --git a/queue-5.8/bnxt_en-re-write-pci-bars-after-pci-fatal-error.patch b/queue-5.8/bnxt_en-re-write-pci-bars-after-pci-fatal-error.patch index cc8ef379a4e..d880cec3d69 100644 --- a/queue-5.8/bnxt_en-re-write-pci-bars-after-pci-fatal-error.patch +++ b/queue-5.8/bnxt_en-re-write-pci-bars-after-pci-fatal-error.patch @@ -1,7 +1,7 @@ From foo@baz Sat Oct 31 09:06:02 AM CET 2020 From: Vasundhara Volam Date: Mon, 26 Oct 2020 00:18:19 -0400 -Subject: [PATCH stable 5.8 04/22] bnxt_en: Re-write PCI BARs after PCI fatal error. +Subject: bnxt_en: Re-write PCI BARs after PCI fatal error. From: Vasundhara Volam diff --git a/queue-5.8/bnxt_en-send-hwrm_func_reset-fw-command-unconditionally.patch b/queue-5.8/bnxt_en-send-hwrm_func_reset-fw-command-unconditionally.patch index 9de4ab460ef..67eb031350a 100644 --- a/queue-5.8/bnxt_en-send-hwrm_func_reset-fw-command-unconditionally.patch +++ b/queue-5.8/bnxt_en-send-hwrm_func_reset-fw-command-unconditionally.patch @@ -1,7 +1,7 @@ From foo@baz Sat Oct 31 09:06:02 AM CET 2020 From: Vasundhara Volam Date: Mon, 26 Oct 2020 00:18:21 -0400 -Subject: [PATCH stable 5.8 05/22] bnxt_en: Send HWRM_FUNC_RESET fw command unconditionally. +Subject: bnxt_en: Send HWRM_FUNC_RESET fw command unconditionally. From: Vasundhara Volam diff --git a/queue-5.8/chelsio-chtls-fix-deadlock-issue.patch b/queue-5.8/chelsio-chtls-fix-deadlock-issue.patch index e445ece289a..01c650c071f 100644 --- a/queue-5.8/chelsio-chtls-fix-deadlock-issue.patch +++ b/queue-5.8/chelsio-chtls-fix-deadlock-issue.patch @@ -1,7 +1,7 @@ From foo@baz Sat Oct 31 09:06:02 AM CET 2020 From: Vinay Kumar Yadav Date: Mon, 26 Oct 2020 01:05:39 +0530 -Subject: [PATCH stable 5.8 06/22] chelsio/chtls: fix deadlock issue +Subject: chelsio/chtls: fix deadlock issue From: Vinay Kumar Yadav diff --git a/queue-5.8/chelsio-chtls-fix-memory-leaks-in-cpl-handlers.patch b/queue-5.8/chelsio-chtls-fix-memory-leaks-in-cpl-handlers.patch index f457298acd8..a0ab05b9772 100644 --- a/queue-5.8/chelsio-chtls-fix-memory-leaks-in-cpl-handlers.patch +++ b/queue-5.8/chelsio-chtls-fix-memory-leaks-in-cpl-handlers.patch @@ -1,7 +1,7 @@ From foo@baz Sat Oct 31 09:06:02 AM CET 2020 From: Vinay Kumar Yadav Date: Mon, 26 Oct 2020 01:12:29 +0530 -Subject: [PATCH stable 5.8 07/22] chelsio/chtls: fix memory leaks in CPL handlers +Subject: chelsio/chtls: fix memory leaks in CPL handlers From: Vinay Kumar Yadav diff --git a/queue-5.8/chelsio-chtls-fix-tls-record-info-to-user.patch b/queue-5.8/chelsio-chtls-fix-tls-record-info-to-user.patch index 4c675a59b94..6af988ead3e 100644 --- a/queue-5.8/chelsio-chtls-fix-tls-record-info-to-user.patch +++ b/queue-5.8/chelsio-chtls-fix-tls-record-info-to-user.patch @@ -1,7 +1,7 @@ From foo@baz Sat Oct 31 09:06:02 AM CET 2020 From: Vinay Kumar Yadav Date: Fri, 23 Oct 2020 00:35:57 +0530 -Subject: [PATCH stable 5.8 08/22] chelsio/chtls: fix tls record info to user +Subject: chelsio/chtls: fix tls record info to user From: Vinay Kumar Yadav diff --git a/queue-5.8/cxgb4-set-up-filter-action-after-rewrites.patch b/queue-5.8/cxgb4-set-up-filter-action-after-rewrites.patch index 6a543bd8094..4396c61ab96 100644 --- a/queue-5.8/cxgb4-set-up-filter-action-after-rewrites.patch +++ b/queue-5.8/cxgb4-set-up-filter-action-after-rewrites.patch @@ -1,7 +1,7 @@ From foo@baz Sat Oct 31 09:06:02 AM CET 2020 From: Raju Rangoju Date: Fri, 23 Oct 2020 17:28:52 +0530 -Subject: [PATCH stable 5.8 09/22] cxgb4: set up filter action after rewrites +Subject: cxgb4: set up filter action after rewrites From: Raju Rangoju diff --git a/queue-5.8/erofs-avoid-duplicated-permission-check-for-trusted.-xattrs.patch b/queue-5.8/erofs-avoid-duplicated-permission-check-for-trusted.-xattrs.patch new file mode 100644 index 00000000000..d39ddca1e1a --- /dev/null +++ b/queue-5.8/erofs-avoid-duplicated-permission-check-for-trusted.-xattrs.patch @@ -0,0 +1,39 @@ +From d578b46db69d125a654f509bdc9091d84e924dc8 Mon Sep 17 00:00:00 2001 +From: Gao Xiang +Date: Tue, 11 Aug 2020 15:00:20 +0800 +Subject: erofs: avoid duplicated permission check for "trusted." xattrs + +From: Gao Xiang + +commit d578b46db69d125a654f509bdc9091d84e924dc8 upstream. + +Don't recheck it since xattr_permission() already +checks CAP_SYS_ADMIN capability. + +Just follow 5d3ce4f70172 ("f2fs: avoid duplicated permission check for "trusted." xattrs") + +Reported-by: Hongyu Jin +[ Gao Xiang: since it could cause some complex Android overlay + permission issue as well on android-5.4+, it'd be better to + backport to 5.4+ rather than pure cleanup on mainline. ] +Cc: # 5.4+ +Link: https://lore.kernel.org/r/20200811070020.6339-1-hsiangkao@redhat.com +Reviewed-by: Chao Yu +Signed-off-by: Gao Xiang +Signed-off-by: Greg Kroah-Hartman + +--- + fs/erofs/xattr.c | 2 -- + 1 file changed, 2 deletions(-) + +--- a/fs/erofs/xattr.c ++++ b/fs/erofs/xattr.c +@@ -473,8 +473,6 @@ static int erofs_xattr_generic_get(const + return -EOPNOTSUPP; + break; + case EROFS_XATTR_INDEX_TRUSTED: +- if (!capable(CAP_SYS_ADMIN)) +- return -EPERM; + break; + case EROFS_XATTR_INDEX_SECURITY: + break; diff --git a/queue-5.8/gtp-fix-an-use-before-init-in-gtp_newlink.patch b/queue-5.8/gtp-fix-an-use-before-init-in-gtp_newlink.patch index b0ad30085ad..ec8f5c4841d 100644 --- a/queue-5.8/gtp-fix-an-use-before-init-in-gtp_newlink.patch +++ b/queue-5.8/gtp-fix-an-use-before-init-in-gtp_newlink.patch @@ -1,7 +1,7 @@ From foo@baz Sat Oct 31 09:06:02 AM CET 2020 From: Masahiro Fujiwara Date: Tue, 27 Oct 2020 20:48:46 +0900 -Subject: [PATCH stable 5.8 10/22] gtp: fix an use-before-init in gtp_newlink() +Subject: gtp: fix an use-before-init in gtp_newlink() From: Masahiro Fujiwara diff --git a/queue-5.8/ibmveth-fix-use-of-ibmveth-in-a-bridge.patch b/queue-5.8/ibmveth-fix-use-of-ibmveth-in-a-bridge.patch index 501b3e83741..51a7204777e 100644 --- a/queue-5.8/ibmveth-fix-use-of-ibmveth-in-a-bridge.patch +++ b/queue-5.8/ibmveth-fix-use-of-ibmveth-in-a-bridge.patch @@ -1,7 +1,7 @@ From foo@baz Sat Oct 31 09:06:02 AM CET 2020 From: Thomas Bogendoerfer Date: Mon, 26 Oct 2020 11:42:21 +0100 -Subject: [PATCH stable 5.8 11/22] ibmveth: Fix use of ibmveth in a bridge. +Subject: ibmveth: Fix use of ibmveth in a bridge. From: Thomas Bogendoerfer diff --git a/queue-5.8/ibmvnic-fix-ibmvnic_set_mac.patch b/queue-5.8/ibmvnic-fix-ibmvnic_set_mac.patch index 4b3b971f10a..8f9b61f0b1b 100644 --- a/queue-5.8/ibmvnic-fix-ibmvnic_set_mac.patch +++ b/queue-5.8/ibmvnic-fix-ibmvnic_set_mac.patch @@ -1,7 +1,7 @@ From foo@baz Sat Oct 31 09:06:02 AM CET 2020 From: Lijun Pan Date: Tue, 27 Oct 2020 17:04:56 -0500 -Subject: [PATCH stable 5.8 12/22] ibmvnic: fix ibmvnic_set_mac +Subject: ibmvnic: fix ibmvnic_set_mac From: Lijun Pan diff --git a/queue-5.8/mlxsw-core-fix-memory-leak-on-module-removal.patch b/queue-5.8/mlxsw-core-fix-memory-leak-on-module-removal.patch index 85ab96faac0..6e105e8b3d6 100644 --- a/queue-5.8/mlxsw-core-fix-memory-leak-on-module-removal.patch +++ b/queue-5.8/mlxsw-core-fix-memory-leak-on-module-removal.patch @@ -1,7 +1,7 @@ From foo@baz Sat Oct 31 09:06:02 AM CET 2020 From: Ido Schimmel Date: Sat, 24 Oct 2020 16:37:32 +0300 -Subject: [PATCH stable 5.8 13/22] mlxsw: core: Fix memory leak on module removal +Subject: mlxsw: core: Fix memory leak on module removal From: Ido Schimmel diff --git a/queue-5.8/net-hns3-clear-the-cmdq-registers-before-unmapping-bar-region.patch b/queue-5.8/net-hns3-clear-the-cmdq-registers-before-unmapping-bar-region.patch index 1a6be8bbe4f..73c934e6a79 100644 --- a/queue-5.8/net-hns3-clear-the-cmdq-registers-before-unmapping-bar-region.patch +++ b/queue-5.8/net-hns3-clear-the-cmdq-registers-before-unmapping-bar-region.patch @@ -1,7 +1,7 @@ From foo@baz Sat Oct 31 09:06:02 AM CET 2020 From: Zenghui Yu Date: Fri, 23 Oct 2020 13:15:50 +0800 -Subject: [PATCH stable 5.8 15/22] net: hns3: Clear the CMDQ registers before unmapping BAR region +Subject: net: hns3: Clear the CMDQ registers before unmapping BAR region From: Zenghui Yu diff --git a/queue-5.8/net-ipa-command-payloads-already-mapped.patch b/queue-5.8/net-ipa-command-payloads-already-mapped.patch index 33e829b1bef..b9662ba9609 100644 --- a/queue-5.8/net-ipa-command-payloads-already-mapped.patch +++ b/queue-5.8/net-ipa-command-payloads-already-mapped.patch @@ -1,7 +1,7 @@ From foo@baz Sat Oct 31 09:06:02 AM CET 2020 From: Alex Elder Date: Wed, 21 Oct 2020 20:00:29 -0500 -Subject: [PATCH stable 5.8 16/22] net: ipa: command payloads already mapped +Subject: net: ipa: command payloads already mapped From: Alex Elder diff --git a/queue-5.8/net-protect-tcf_block_unbind-with-block-lock.patch b/queue-5.8/net-protect-tcf_block_unbind-with-block-lock.patch index be1a0cac660..0d0d30ed0b4 100644 --- a/queue-5.8/net-protect-tcf_block_unbind-with-block-lock.patch +++ b/queue-5.8/net-protect-tcf_block_unbind-with-block-lock.patch @@ -1,7 +1,7 @@ From foo@baz Sat Oct 31 09:06:02 AM CET 2020 From: Leon Romanovsky Date: Mon, 26 Oct 2020 14:33:27 +0200 -Subject: [PATCH stable 5.8 22/22] net: protect tcf_block_unbind with block lock +Subject: net: protect tcf_block_unbind with block lock From: Leon Romanovsky diff --git a/queue-5.8/net-sched-act_mpls-add-softdep-on-mpls_gso.ko.patch b/queue-5.8/net-sched-act_mpls-add-softdep-on-mpls_gso.ko.patch index 5edf63ef134..ec548421bfc 100644 --- a/queue-5.8/net-sched-act_mpls-add-softdep-on-mpls_gso.ko.patch +++ b/queue-5.8/net-sched-act_mpls-add-softdep-on-mpls_gso.ko.patch @@ -1,7 +1,7 @@ From foo@baz Sat Oct 31 09:06:02 AM CET 2020 From: Guillaume Nault Date: Mon, 26 Oct 2020 11:29:45 +0100 -Subject: [PATCH stable 5.8 17/22] net/sched: act_mpls: Add softdep on mpls_gso.ko +Subject: net/sched: act_mpls: Add softdep on mpls_gso.ko From: Guillaume Nault diff --git a/queue-5.8/netem-fix-zero-division-in-tabledist.patch b/queue-5.8/netem-fix-zero-division-in-tabledist.patch index f64c0fcbc5d..9abc5672f88 100644 --- a/queue-5.8/netem-fix-zero-division-in-tabledist.patch +++ b/queue-5.8/netem-fix-zero-division-in-tabledist.patch @@ -1,7 +1,7 @@ From foo@baz Sat Oct 31 09:06:02 AM CET 2020 From: Aleksandr Nogikh Date: Wed, 28 Oct 2020 17:07:31 +0000 -Subject: [PATCH stable 5.8 14/22] netem: fix zero division in tabledist +Subject: netem: fix zero division in tabledist From: Aleksandr Nogikh diff --git a/queue-5.8/r8169-fix-issue-with-forced-threading-in-combination-with-shared-interrupts.patch b/queue-5.8/r8169-fix-issue-with-forced-threading-in-combination-with-shared-interrupts.patch index 908f92ea1f4..9f8c3ef2e06 100644 --- a/queue-5.8/r8169-fix-issue-with-forced-threading-in-combination-with-shared-interrupts.patch +++ b/queue-5.8/r8169-fix-issue-with-forced-threading-in-combination-with-shared-interrupts.patch @@ -1,7 +1,7 @@ From foo@baz Sat Oct 31 09:06:02 AM CET 2020 From: Heiner Kallweit Date: Thu, 29 Oct 2020 10:18:53 +0100 -Subject: [PATCH stable 5.8 18/22] r8169: fix issue with forced threading in combination with shared interrupts +Subject: r8169: fix issue with forced threading in combination with shared interrupts From: Heiner Kallweit diff --git a/queue-5.8/ravb-fix-bit-fields-checking-in-ravb_hwtstamp_get.patch b/queue-5.8/ravb-fix-bit-fields-checking-in-ravb_hwtstamp_get.patch index 121cbdf6fb1..7997be783d3 100644 --- a/queue-5.8/ravb-fix-bit-fields-checking-in-ravb_hwtstamp_get.patch +++ b/queue-5.8/ravb-fix-bit-fields-checking-in-ravb_hwtstamp_get.patch @@ -1,7 +1,7 @@ From foo@baz Sat Oct 31 09:06:02 AM CET 2020 From: Andrew Gabbasov Date: Mon, 26 Oct 2020 05:21:30 -0500 -Subject: [PATCH stable 5.8 19/22] ravb: Fix bit fields checking in ravb_hwtstamp_get() +Subject: ravb: Fix bit fields checking in ravb_hwtstamp_get() From: Andrew Gabbasov diff --git a/queue-5.8/series b/queue-5.8/series index becdf1a50a9..55ed5a9ac5d 100644 --- a/queue-5.8/series +++ b/queue-5.8/series @@ -46,3 +46,4 @@ ravb-fix-bit-fields-checking-in-ravb_hwtstamp_get.patch tcp-prevent-low-rmem-stalls-with-so_rcvlowat.patch tipc-fix-memory-leak-caused-by-tipc_buf_append.patch net-protect-tcf_block_unbind-with-block-lock.patch +erofs-avoid-duplicated-permission-check-for-trusted.-xattrs.patch diff --git a/queue-5.8/tcp-prevent-low-rmem-stalls-with-so_rcvlowat.patch b/queue-5.8/tcp-prevent-low-rmem-stalls-with-so_rcvlowat.patch index 239e6229262..2ae4d152810 100644 --- a/queue-5.8/tcp-prevent-low-rmem-stalls-with-so_rcvlowat.patch +++ b/queue-5.8/tcp-prevent-low-rmem-stalls-with-so_rcvlowat.patch @@ -1,7 +1,7 @@ From foo@baz Sat Oct 31 09:06:02 AM CET 2020 From: Arjun Roy Date: Fri, 23 Oct 2020 11:47:09 -0700 -Subject: [PATCH stable 5.8 20/22] tcp: Prevent low rmem stalls with SO_RCVLOWAT. +Subject: tcp: Prevent low rmem stalls with SO_RCVLOWAT. From: Arjun Roy diff --git a/queue-5.8/tipc-fix-memory-leak-caused-by-tipc_buf_append.patch b/queue-5.8/tipc-fix-memory-leak-caused-by-tipc_buf_append.patch index d82ca3a4874..c36081b7399 100644 --- a/queue-5.8/tipc-fix-memory-leak-caused-by-tipc_buf_append.patch +++ b/queue-5.8/tipc-fix-memory-leak-caused-by-tipc_buf_append.patch @@ -1,7 +1,7 @@ From foo@baz Sat Oct 31 09:06:02 AM CET 2020 From: Tung Nguyen Date: Tue, 27 Oct 2020 10:24:03 +0700 -Subject: [PATCH stable 5.8 21/22] tipc: fix memory leak caused by tipc_buf_append() +Subject: tipc: fix memory leak caused by tipc_buf_append() From: Tung Nguyen