From: Greg Kroah-Hartman Date: Sat, 31 Oct 2020 09:50:51 +0000 (+0100) Subject: 5.4-stable patches X-Git-Tag: v5.4.74~20 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=fc50ad28fe61b8e54b8cd309c423e946062aca2b;p=thirdparty%2Fkernel%2Fstable-queue.git 5.4-stable patches added patches: erofs-avoid-duplicated-permission-check-for-trusted.-xattrs.patch --- diff --git a/queue-5.4/bnxt_en-check-abort-error-state-in-bnxt_open_nic.patch b/queue-5.4/bnxt_en-check-abort-error-state-in-bnxt_open_nic.patch index 6e7ac1398ab..d70a816c4c7 100644 --- a/queue-5.4/bnxt_en-check-abort-error-state-in-bnxt_open_nic.patch +++ b/queue-5.4/bnxt_en-check-abort-error-state-in-bnxt_open_nic.patch @@ -1,7 +1,7 @@ From foo@baz Sat Oct 31 10:12: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.4/bnxt_en-fix-regression-in-workqueue-cleanup-logic-in-bnxt_remove_one.patch b/queue-5.4/bnxt_en-fix-regression-in-workqueue-cleanup-logic-in-bnxt_remove_one.patch index ab90fd9ee7a..6e9a5568750 100644 --- a/queue-5.4/bnxt_en-fix-regression-in-workqueue-cleanup-logic-in-bnxt_remove_one.patch +++ b/queue-5.4/bnxt_en-fix-regression-in-workqueue-cleanup-logic-in-bnxt_remove_one.patch @@ -1,7 +1,7 @@ From foo@baz Sat Oct 31 10:12: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.4/bnxt_en-invoke-cancel_delayed_work_sync-for-pfs-also.patch b/queue-5.4/bnxt_en-invoke-cancel_delayed_work_sync-for-pfs-also.patch index ddd821924b6..47ee5b81cd8 100644 --- a/queue-5.4/bnxt_en-invoke-cancel_delayed_work_sync-for-pfs-also.patch +++ b/queue-5.4/bnxt_en-invoke-cancel_delayed_work_sync-for-pfs-also.patch @@ -1,7 +1,7 @@ From foo@baz Sat Oct 31 10:12: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.4/bnxt_en-re-write-pci-bars-after-pci-fatal-error.patch b/queue-5.4/bnxt_en-re-write-pci-bars-after-pci-fatal-error.patch index a2bb3c120cf..fbde8956caf 100644 --- a/queue-5.4/bnxt_en-re-write-pci-bars-after-pci-fatal-error.patch +++ b/queue-5.4/bnxt_en-re-write-pci-bars-after-pci-fatal-error.patch @@ -1,7 +1,7 @@ From foo@baz Sat Oct 31 10:12: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.4/bnxt_en-send-hwrm_func_reset-fw-command-unconditionally.patch b/queue-5.4/bnxt_en-send-hwrm_func_reset-fw-command-unconditionally.patch index 53c0ea05966..04f33e21866 100644 --- a/queue-5.4/bnxt_en-send-hwrm_func_reset-fw-command-unconditionally.patch +++ b/queue-5.4/bnxt_en-send-hwrm_func_reset-fw-command-unconditionally.patch @@ -1,7 +1,7 @@ From foo@baz Sat Oct 31 10:12: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.4/chelsio-chtls-fix-deadlock-issue.patch b/queue-5.4/chelsio-chtls-fix-deadlock-issue.patch index 234923a1b93..1f5137f3b55 100644 --- a/queue-5.4/chelsio-chtls-fix-deadlock-issue.patch +++ b/queue-5.4/chelsio-chtls-fix-deadlock-issue.patch @@ -1,7 +1,7 @@ From foo@baz Sat Oct 31 10:12: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.4/chelsio-chtls-fix-memory-leaks-in-cpl-handlers.patch b/queue-5.4/chelsio-chtls-fix-memory-leaks-in-cpl-handlers.patch index 38433b69856..8dc3542b38e 100644 --- a/queue-5.4/chelsio-chtls-fix-memory-leaks-in-cpl-handlers.patch +++ b/queue-5.4/chelsio-chtls-fix-memory-leaks-in-cpl-handlers.patch @@ -1,7 +1,7 @@ From foo@baz Sat Oct 31 10:12: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.4/chelsio-chtls-fix-tls-record-info-to-user.patch b/queue-5.4/chelsio-chtls-fix-tls-record-info-to-user.patch index c28eca2bdb2..e5522dfa930 100644 --- a/queue-5.4/chelsio-chtls-fix-tls-record-info-to-user.patch +++ b/queue-5.4/chelsio-chtls-fix-tls-record-info-to-user.patch @@ -1,7 +1,7 @@ From foo@baz Sat Oct 31 10:12: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.4/cxgb4-set-up-filter-action-after-rewrites.patch b/queue-5.4/cxgb4-set-up-filter-action-after-rewrites.patch index 405e433b5e2..5a08873b94f 100644 --- a/queue-5.4/cxgb4-set-up-filter-action-after-rewrites.patch +++ b/queue-5.4/cxgb4-set-up-filter-action-after-rewrites.patch @@ -1,7 +1,7 @@ From foo@baz Sat Oct 31 10:12: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.4/erofs-avoid-duplicated-permission-check-for-trusted.-xattrs.patch b/queue-5.4/erofs-avoid-duplicated-permission-check-for-trusted.-xattrs.patch new file mode 100644 index 00000000000..d39ddca1e1a --- /dev/null +++ b/queue-5.4/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.4/gtp-fix-an-use-before-init-in-gtp_newlink.patch b/queue-5.4/gtp-fix-an-use-before-init-in-gtp_newlink.patch index be793a6ec2e..c761c9f2eb8 100644 --- a/queue-5.4/gtp-fix-an-use-before-init-in-gtp_newlink.patch +++ b/queue-5.4/gtp-fix-an-use-before-init-in-gtp_newlink.patch @@ -1,7 +1,7 @@ From foo@baz Sat Oct 31 10:12: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.4/ibmvnic-fix-ibmvnic_set_mac.patch b/queue-5.4/ibmvnic-fix-ibmvnic_set_mac.patch index 2d7e6fd0b33..ac07e5d192a 100644 --- a/queue-5.4/ibmvnic-fix-ibmvnic_set_mac.patch +++ b/queue-5.4/ibmvnic-fix-ibmvnic_set_mac.patch @@ -1,7 +1,7 @@ From foo@baz Sat Oct 31 10:12: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.4/mlxsw-core-fix-memory-leak-on-module-removal.patch b/queue-5.4/mlxsw-core-fix-memory-leak-on-module-removal.patch index 155aa7d7ef9..da1e1dc16e3 100644 --- a/queue-5.4/mlxsw-core-fix-memory-leak-on-module-removal.patch +++ b/queue-5.4/mlxsw-core-fix-memory-leak-on-module-removal.patch @@ -1,7 +1,7 @@ From foo@baz Sat Oct 31 10:12: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.4/net-hns3-clear-the-cmdq-registers-before-unmapping-bar-region.patch b/queue-5.4/net-hns3-clear-the-cmdq-registers-before-unmapping-bar-region.patch index f7482562144..5c683f2ce76 100644 --- a/queue-5.4/net-hns3-clear-the-cmdq-registers-before-unmapping-bar-region.patch +++ b/queue-5.4/net-hns3-clear-the-cmdq-registers-before-unmapping-bar-region.patch @@ -1,7 +1,7 @@ From foo@baz Sat Oct 31 10:12: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.4/net-sched-act_mpls-add-softdep-on-mpls_gso.ko.patch b/queue-5.4/net-sched-act_mpls-add-softdep-on-mpls_gso.ko.patch index 0bf3ee44b73..ff31739b446 100644 --- a/queue-5.4/net-sched-act_mpls-add-softdep-on-mpls_gso.ko.patch +++ b/queue-5.4/net-sched-act_mpls-add-softdep-on-mpls_gso.ko.patch @@ -1,7 +1,7 @@ From foo@baz Sat Oct 31 10:12: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.4/netem-fix-zero-division-in-tabledist.patch b/queue-5.4/netem-fix-zero-division-in-tabledist.patch index be95cd8b658..42780747e5e 100644 --- a/queue-5.4/netem-fix-zero-division-in-tabledist.patch +++ b/queue-5.4/netem-fix-zero-division-in-tabledist.patch @@ -1,7 +1,7 @@ From foo@baz Sat Oct 31 10:12: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.4/r8169-fix-issue-with-forced-threading-in-combination-with-shared-interrupts.patch b/queue-5.4/r8169-fix-issue-with-forced-threading-in-combination-with-shared-interrupts.patch index cc0a9b80179..47ac03534c6 100644 --- a/queue-5.4/r8169-fix-issue-with-forced-threading-in-combination-with-shared-interrupts.patch +++ b/queue-5.4/r8169-fix-issue-with-forced-threading-in-combination-with-shared-interrupts.patch @@ -1,7 +1,7 @@ From foo@baz Sat Oct 31 10:12: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.4/ravb-fix-bit-fields-checking-in-ravb_hwtstamp_get.patch b/queue-5.4/ravb-fix-bit-fields-checking-in-ravb_hwtstamp_get.patch index 8a4345ac571..d244b75d619 100644 --- a/queue-5.4/ravb-fix-bit-fields-checking-in-ravb_hwtstamp_get.patch +++ b/queue-5.4/ravb-fix-bit-fields-checking-in-ravb_hwtstamp_get.patch @@ -1,7 +1,7 @@ From foo@baz Sat Oct 31 10:12: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.4/series b/queue-5.4/series index a63d7d97c88..029ac468770 100644 --- a/queue-5.4/series +++ b/queue-5.4/series @@ -26,3 +26,4 @@ net-hns3-clear-the-cmdq-registers-before-unmapping-bar-region.patch bnxt_en-re-write-pci-bars-after-pci-fatal-error.patch bnxt_en-fix-regression-in-workqueue-cleanup-logic-in-bnxt_remove_one.patch bnxt_en-invoke-cancel_delayed_work_sync-for-pfs-also.patch +erofs-avoid-duplicated-permission-check-for-trusted.-xattrs.patch diff --git a/queue-5.4/tcp-prevent-low-rmem-stalls-with-so_rcvlowat.patch b/queue-5.4/tcp-prevent-low-rmem-stalls-with-so_rcvlowat.patch index a2b00921ae9..270d6654817 100644 --- a/queue-5.4/tcp-prevent-low-rmem-stalls-with-so_rcvlowat.patch +++ b/queue-5.4/tcp-prevent-low-rmem-stalls-with-so_rcvlowat.patch @@ -1,7 +1,7 @@ From foo@baz Sat Oct 31 10:12: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.4/tipc-fix-memory-leak-caused-by-tipc_buf_append.patch b/queue-5.4/tipc-fix-memory-leak-caused-by-tipc_buf_append.patch index 641d0f591d7..d853aa1e20a 100644 --- a/queue-5.4/tipc-fix-memory-leak-caused-by-tipc_buf_append.patch +++ b/queue-5.4/tipc-fix-memory-leak-caused-by-tipc_buf_append.patch @@ -1,7 +1,7 @@ From foo@baz Sat Oct 31 10:12: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