From: Greg Kroah-Hartman Date: Sat, 31 Oct 2020 09:51:21 +0000 (+0100) Subject: 5.9-stable patches X-Git-Tag: v5.4.74~18 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=94a6e0e7a0c5c43063ff62550d77285f4f705d26;p=thirdparty%2Fkernel%2Fstable-queue.git 5.9-stable patches added patches: erofs-avoid-duplicated-permission-check-for-trusted.-xattrs.patch --- diff --git a/queue-5.9/bnxt_en-check-abort-error-state-in-bnxt_open_nic.patch b/queue-5.9/bnxt_en-check-abort-error-state-in-bnxt_open_nic.patch index ff4ee20dfac..059343ce9dd 100644 --- a/queue-5.9/bnxt_en-check-abort-error-state-in-bnxt_open_nic.patch +++ b/queue-5.9/bnxt_en-check-abort-error-state-in-bnxt_open_nic.patch @@ -1,7 +1,7 @@ From foo@baz Sat Oct 31 09:05:46 AM CET 2020 From: Michael Chan Date: Mon, 26 Oct 2020 00:18:20 -0400 -Subject: [PATCH stable 5.9 01/25] 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.9/bnxt_en-fix-regression-in-workqueue-cleanup-logic-in-bnxt_remove_one.patch b/queue-5.9/bnxt_en-fix-regression-in-workqueue-cleanup-logic-in-bnxt_remove_one.patch index 2b2dee07c83..a8f266e7aea 100644 --- a/queue-5.9/bnxt_en-fix-regression-in-workqueue-cleanup-logic-in-bnxt_remove_one.patch +++ b/queue-5.9/bnxt_en-fix-regression-in-workqueue-cleanup-logic-in-bnxt_remove_one.patch @@ -1,7 +1,7 @@ From foo@baz Sat Oct 31 09:05:46 AM CET 2020 From: Vasundhara Volam Date: Mon, 26 Oct 2020 00:18:17 -0400 -Subject: [PATCH stable 5.9 02/25] 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.9/bnxt_en-invoke-cancel_delayed_work_sync-for-pfs-also.patch b/queue-5.9/bnxt_en-invoke-cancel_delayed_work_sync-for-pfs-also.patch index 53281aacf56..9a20d21e7e8 100644 --- a/queue-5.9/bnxt_en-invoke-cancel_delayed_work_sync-for-pfs-also.patch +++ b/queue-5.9/bnxt_en-invoke-cancel_delayed_work_sync-for-pfs-also.patch @@ -1,7 +1,7 @@ From foo@baz Sat Oct 31 09:05:46 AM CET 2020 From: Vasundhara Volam Date: Mon, 26 Oct 2020 00:18:18 -0400 -Subject: [PATCH stable 5.9 03/25] 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.9/bnxt_en-re-write-pci-bars-after-pci-fatal-error.patch b/queue-5.9/bnxt_en-re-write-pci-bars-after-pci-fatal-error.patch index 1886145dab9..357094dd698 100644 --- a/queue-5.9/bnxt_en-re-write-pci-bars-after-pci-fatal-error.patch +++ b/queue-5.9/bnxt_en-re-write-pci-bars-after-pci-fatal-error.patch @@ -1,7 +1,7 @@ From foo@baz Sat Oct 31 09:05:46 AM CET 2020 From: Vasundhara Volam Date: Mon, 26 Oct 2020 00:18:19 -0400 -Subject: [PATCH stable 5.9 04/25] 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.9/bnxt_en-send-hwrm_func_reset-fw-command-unconditionally.patch b/queue-5.9/bnxt_en-send-hwrm_func_reset-fw-command-unconditionally.patch index c760e276cf9..cd9b4637998 100644 --- a/queue-5.9/bnxt_en-send-hwrm_func_reset-fw-command-unconditionally.patch +++ b/queue-5.9/bnxt_en-send-hwrm_func_reset-fw-command-unconditionally.patch @@ -1,7 +1,7 @@ From foo@baz Sat Oct 31 09:05:46 AM CET 2020 From: Vasundhara Volam Date: Mon, 26 Oct 2020 00:18:21 -0400 -Subject: [PATCH stable 5.9 05/25] 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.9/chelsio-chtls-fix-deadlock-issue.patch b/queue-5.9/chelsio-chtls-fix-deadlock-issue.patch index cde463ded9e..8c62d3af3bd 100644 --- a/queue-5.9/chelsio-chtls-fix-deadlock-issue.patch +++ b/queue-5.9/chelsio-chtls-fix-deadlock-issue.patch @@ -1,7 +1,7 @@ From foo@baz Sat Oct 31 09:05:46 AM CET 2020 From: Vinay Kumar Yadav Date: Mon, 26 Oct 2020 01:05:39 +0530 -Subject: [PATCH stable 5.9 06/25] chelsio/chtls: fix deadlock issue +Subject: chelsio/chtls: fix deadlock issue From: Vinay Kumar Yadav diff --git a/queue-5.9/chelsio-chtls-fix-memory-leaks-in-cpl-handlers.patch b/queue-5.9/chelsio-chtls-fix-memory-leaks-in-cpl-handlers.patch index bb5ea523ecf..8267c33adb7 100644 --- a/queue-5.9/chelsio-chtls-fix-memory-leaks-in-cpl-handlers.patch +++ b/queue-5.9/chelsio-chtls-fix-memory-leaks-in-cpl-handlers.patch @@ -1,7 +1,7 @@ From foo@baz Sat Oct 31 09:05:46 AM CET 2020 From: Vinay Kumar Yadav Date: Mon, 26 Oct 2020 01:12:29 +0530 -Subject: [PATCH stable 5.9 07/25] 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.9/chelsio-chtls-fix-tls-record-info-to-user.patch b/queue-5.9/chelsio-chtls-fix-tls-record-info-to-user.patch index d439939bd84..dff631676d1 100644 --- a/queue-5.9/chelsio-chtls-fix-tls-record-info-to-user.patch +++ b/queue-5.9/chelsio-chtls-fix-tls-record-info-to-user.patch @@ -1,7 +1,7 @@ From foo@baz Sat Oct 31 09:05:46 AM CET 2020 From: Vinay Kumar Yadav Date: Fri, 23 Oct 2020 00:35:57 +0530 -Subject: [PATCH stable 5.9 08/25] 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.9/cxgb4-set-up-filter-action-after-rewrites.patch b/queue-5.9/cxgb4-set-up-filter-action-after-rewrites.patch index 196ecd8c090..07a9a2d6a56 100644 --- a/queue-5.9/cxgb4-set-up-filter-action-after-rewrites.patch +++ b/queue-5.9/cxgb4-set-up-filter-action-after-rewrites.patch @@ -1,7 +1,7 @@ From foo@baz Sat Oct 31 09:05:46 AM CET 2020 From: Raju Rangoju Date: Fri, 23 Oct 2020 17:28:52 +0530 -Subject: [PATCH stable 5.9 09/25] cxgb4: set up filter action after rewrites +Subject: cxgb4: set up filter action after rewrites From: Raju Rangoju diff --git a/queue-5.9/erofs-avoid-duplicated-permission-check-for-trusted.-xattrs.patch b/queue-5.9/erofs-avoid-duplicated-permission-check-for-trusted.-xattrs.patch new file mode 100644 index 00000000000..d39ddca1e1a --- /dev/null +++ b/queue-5.9/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.9/gtp-fix-an-use-before-init-in-gtp_newlink.patch b/queue-5.9/gtp-fix-an-use-before-init-in-gtp_newlink.patch index 388eff6e010..d7e90da575e 100644 --- a/queue-5.9/gtp-fix-an-use-before-init-in-gtp_newlink.patch +++ b/queue-5.9/gtp-fix-an-use-before-init-in-gtp_newlink.patch @@ -1,7 +1,7 @@ From foo@baz Sat Oct 31 09:05:46 AM CET 2020 From: Masahiro Fujiwara Date: Tue, 27 Oct 2020 20:48:46 +0900 -Subject: [PATCH stable 5.9 10/25] 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.9/ibmveth-fix-use-of-ibmveth-in-a-bridge.patch b/queue-5.9/ibmveth-fix-use-of-ibmveth-in-a-bridge.patch index 7e21cdaaa43..d00655a1f17 100644 --- a/queue-5.9/ibmveth-fix-use-of-ibmveth-in-a-bridge.patch +++ b/queue-5.9/ibmveth-fix-use-of-ibmveth-in-a-bridge.patch @@ -1,7 +1,7 @@ From foo@baz Sat Oct 31 09:05:46 AM CET 2020 From: Thomas Bogendoerfer Date: Mon, 26 Oct 2020 11:42:21 +0100 -Subject: [PATCH stable 5.9 11/25] 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.9/ibmvnic-fix-ibmvnic_set_mac.patch b/queue-5.9/ibmvnic-fix-ibmvnic_set_mac.patch index 14c9c897abd..d6d47d75652 100644 --- a/queue-5.9/ibmvnic-fix-ibmvnic_set_mac.patch +++ b/queue-5.9/ibmvnic-fix-ibmvnic_set_mac.patch @@ -1,7 +1,7 @@ From foo@baz Sat Oct 31 09:05:46 AM CET 2020 From: Lijun Pan Date: Tue, 27 Oct 2020 17:04:56 -0500 -Subject: [PATCH stable 5.9 12/25] ibmvnic: fix ibmvnic_set_mac +Subject: ibmvnic: fix ibmvnic_set_mac From: Lijun Pan diff --git a/queue-5.9/mlxsw-core-fix-memory-leak-on-module-removal.patch b/queue-5.9/mlxsw-core-fix-memory-leak-on-module-removal.patch index e66c409d77a..2eb9071ea69 100644 --- a/queue-5.9/mlxsw-core-fix-memory-leak-on-module-removal.patch +++ b/queue-5.9/mlxsw-core-fix-memory-leak-on-module-removal.patch @@ -1,7 +1,7 @@ From foo@baz Sat Oct 31 09:05:46 AM CET 2020 From: Ido Schimmel Date: Sat, 24 Oct 2020 16:37:32 +0300 -Subject: [PATCH stable 5.9 13/25] 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.9/mlxsw-only-advertise-link-modes-supported-by-both-driver-and-device.patch b/queue-5.9/mlxsw-only-advertise-link-modes-supported-by-both-driver-and-device.patch index 7ec1f839036..6af3a00e6c7 100644 --- a/queue-5.9/mlxsw-only-advertise-link-modes-supported-by-both-driver-and-device.patch +++ b/queue-5.9/mlxsw-only-advertise-link-modes-supported-by-both-driver-and-device.patch @@ -1,7 +1,7 @@ From foo@baz Sat Oct 31 09:05:46 AM CET 2020 From: Amit Cohen Date: Sat, 24 Oct 2020 16:37:31 +0300 -Subject: [PATCH stable 5.9 14/25] mlxsw: Only advertise link modes supported by both driver and device +Subject: mlxsw: Only advertise link modes supported by both driver and device From: Amit Cohen diff --git a/queue-5.9/net-hns3-clear-the-cmdq-registers-before-unmapping-bar-region.patch b/queue-5.9/net-hns3-clear-the-cmdq-registers-before-unmapping-bar-region.patch index de53eeb16db..ba8cdbe741b 100644 --- a/queue-5.9/net-hns3-clear-the-cmdq-registers-before-unmapping-bar-region.patch +++ b/queue-5.9/net-hns3-clear-the-cmdq-registers-before-unmapping-bar-region.patch @@ -1,7 +1,7 @@ From foo@baz Sat Oct 31 09:05:46 AM CET 2020 From: Zenghui Yu Date: Fri, 23 Oct 2020 13:15:50 +0800 -Subject: [PATCH stable 5.9 16/25] 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.9/net-ipa-command-payloads-already-mapped.patch b/queue-5.9/net-ipa-command-payloads-already-mapped.patch index 5015d5e057d..639f39ff6bf 100644 --- a/queue-5.9/net-ipa-command-payloads-already-mapped.patch +++ b/queue-5.9/net-ipa-command-payloads-already-mapped.patch @@ -1,7 +1,7 @@ From foo@baz Sat Oct 31 09:05:46 AM CET 2020 From: Alex Elder Date: Wed, 21 Oct 2020 20:00:29 -0500 -Subject: [PATCH stable 5.9 17/25] net: ipa: command payloads already mapped +Subject: net: ipa: command payloads already mapped From: Alex Elder diff --git a/queue-5.9/net-protect-tcf_block_unbind-with-block-lock.patch b/queue-5.9/net-protect-tcf_block_unbind-with-block-lock.patch index c61877ae14d..8bfca6fff9e 100644 --- a/queue-5.9/net-protect-tcf_block_unbind-with-block-lock.patch +++ b/queue-5.9/net-protect-tcf_block_unbind-with-block-lock.patch @@ -1,7 +1,7 @@ From foo@baz Sat Oct 31 09:05:46 AM CET 2020 From: Leon Romanovsky Date: Mon, 26 Oct 2020 14:33:27 +0200 -Subject: [PATCH stable 5.9 25/25] 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.9/net-sched-act_mpls-add-softdep-on-mpls_gso.ko.patch b/queue-5.9/net-sched-act_mpls-add-softdep-on-mpls_gso.ko.patch index 49e70a2ed9a..57b5601c66c 100644 --- a/queue-5.9/net-sched-act_mpls-add-softdep-on-mpls_gso.ko.patch +++ b/queue-5.9/net-sched-act_mpls-add-softdep-on-mpls_gso.ko.patch @@ -1,7 +1,7 @@ From foo@baz Sat Oct 31 09:05:46 AM CET 2020 From: Guillaume Nault Date: Mon, 26 Oct 2020 11:29:45 +0100 -Subject: [PATCH stable 5.9 18/25] 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.9/net-smc-fix-invalid-return-code-in-smcd_new_buf_create.patch b/queue-5.9/net-smc-fix-invalid-return-code-in-smcd_new_buf_create.patch index fc88c327a9f..66164dd550a 100644 --- a/queue-5.9/net-smc-fix-invalid-return-code-in-smcd_new_buf_create.patch +++ b/queue-5.9/net-smc-fix-invalid-return-code-in-smcd_new_buf_create.patch @@ -1,7 +1,7 @@ From foo@baz Sat Oct 31 09:05:46 AM CET 2020 From: Karsten Graul Date: Wed, 14 Oct 2020 19:43:29 +0200 -Subject: [PATCH stable 5.9 23/25] net/smc: fix invalid return code in smcd_new_buf_create() +Subject: net/smc: fix invalid return code in smcd_new_buf_create() From: Karsten Graul diff --git a/queue-5.9/net-smc-fix-suppressed-return-code.patch b/queue-5.9/net-smc-fix-suppressed-return-code.patch index 071813ce168..13b4128cf0e 100644 --- a/queue-5.9/net-smc-fix-suppressed-return-code.patch +++ b/queue-5.9/net-smc-fix-suppressed-return-code.patch @@ -1,7 +1,7 @@ From foo@baz Sat Oct 31 09:05:46 AM CET 2020 From: Karsten Graul Date: Fri, 23 Oct 2020 20:48:29 +0200 -Subject: [PATCH stable 5.9 24/25] net/smc: fix suppressed return code +Subject: net/smc: fix suppressed return code From: Karsten Graul diff --git a/queue-5.9/netem-fix-zero-division-in-tabledist.patch b/queue-5.9/netem-fix-zero-division-in-tabledist.patch index 8df31ea4883..6a48c99519e 100644 --- a/queue-5.9/netem-fix-zero-division-in-tabledist.patch +++ b/queue-5.9/netem-fix-zero-division-in-tabledist.patch @@ -1,7 +1,7 @@ From foo@baz Sat Oct 31 09:05:46 AM CET 2020 From: Aleksandr Nogikh Date: Wed, 28 Oct 2020 17:07:31 +0000 -Subject: [PATCH stable 5.9 15/25] netem: fix zero division in tabledist +Subject: netem: fix zero division in tabledist From: Aleksandr Nogikh diff --git a/queue-5.9/r8169-fix-issue-with-forced-threading-in-combination-with-shared-interrupts.patch b/queue-5.9/r8169-fix-issue-with-forced-threading-in-combination-with-shared-interrupts.patch index c76739838d4..ff6d7c25487 100644 --- a/queue-5.9/r8169-fix-issue-with-forced-threading-in-combination-with-shared-interrupts.patch +++ b/queue-5.9/r8169-fix-issue-with-forced-threading-in-combination-with-shared-interrupts.patch @@ -1,7 +1,7 @@ From foo@baz Sat Oct 31 09:05:46 AM CET 2020 From: Heiner Kallweit Date: Thu, 29 Oct 2020 10:18:53 +0100 -Subject: [PATCH stable 5.9 19/25] 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.9/ravb-fix-bit-fields-checking-in-ravb_hwtstamp_get.patch b/queue-5.9/ravb-fix-bit-fields-checking-in-ravb_hwtstamp_get.patch index 408fc5f20d0..270bc16e8be 100644 --- a/queue-5.9/ravb-fix-bit-fields-checking-in-ravb_hwtstamp_get.patch +++ b/queue-5.9/ravb-fix-bit-fields-checking-in-ravb_hwtstamp_get.patch @@ -1,7 +1,7 @@ From foo@baz Sat Oct 31 09:05:46 AM CET 2020 From: Andrew Gabbasov Date: Mon, 26 Oct 2020 05:21:30 -0500 -Subject: [PATCH stable 5.9 20/25] 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.9/series b/queue-5.9/series index 8a67c5b4db9..ac72908105f 100644 --- a/queue-5.9/series +++ b/queue-5.9/series @@ -49,3 +49,4 @@ tipc-fix-memory-leak-caused-by-tipc_buf_append.patch net-smc-fix-invalid-return-code-in-smcd_new_buf_create.patch net-smc-fix-suppressed-return-code.patch net-protect-tcf_block_unbind-with-block-lock.patch +erofs-avoid-duplicated-permission-check-for-trusted.-xattrs.patch diff --git a/queue-5.9/tcp-prevent-low-rmem-stalls-with-so_rcvlowat.patch b/queue-5.9/tcp-prevent-low-rmem-stalls-with-so_rcvlowat.patch index d5477c1d3ce..04f500fbda4 100644 --- a/queue-5.9/tcp-prevent-low-rmem-stalls-with-so_rcvlowat.patch +++ b/queue-5.9/tcp-prevent-low-rmem-stalls-with-so_rcvlowat.patch @@ -1,7 +1,7 @@ From foo@baz Sat Oct 31 09:05:46 AM CET 2020 From: Arjun Roy Date: Fri, 23 Oct 2020 11:47:09 -0700 -Subject: [PATCH stable 5.9 21/25] 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.9/tipc-fix-memory-leak-caused-by-tipc_buf_append.patch b/queue-5.9/tipc-fix-memory-leak-caused-by-tipc_buf_append.patch index d811f226f0e..398071518b4 100644 --- a/queue-5.9/tipc-fix-memory-leak-caused-by-tipc_buf_append.patch +++ b/queue-5.9/tipc-fix-memory-leak-caused-by-tipc_buf_append.patch @@ -1,7 +1,7 @@ From foo@baz Sat Oct 31 09:05:46 AM CET 2020 From: Tung Nguyen Date: Tue, 27 Oct 2020 10:24:03 +0700 -Subject: [PATCH stable 5.9 22/25] tipc: fix memory leak caused by tipc_buf_append() +Subject: tipc: fix memory leak caused by tipc_buf_append() From: Tung Nguyen